google-api-client 0.28.4 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -34
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +460 -0
- data/README.md +1 -1
- data/Rakefile +31 -0
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +101 -2
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -100
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1/service.rb +45 -39
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta/service.rb +45 -39
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +5 -4
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
- data/generated/google/apis/bigquery_v2/representations.rb +414 -26
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
- data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +47 -47
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +276 -51
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
- data/generated/google/apis/cloudasset_v1/service.rb +191 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
- data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
- data/generated/google/apis/compute_alpha/representations.rb +1337 -219
- data/generated/google/apis/compute_alpha/service.rb +4259 -2728
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4254 -2781
- data/generated/google/apis/compute_beta/representations.rb +853 -283
- data/generated/google/apis/compute_beta/service.rb +7077 -5955
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1259 -93
- data/generated/google/apis/compute_v1/representations.rb +450 -1
- data/generated/google/apis/compute_v1/service.rb +1085 -400
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +201 -22
- data/generated/google/apis/container_v1/representations.rb +69 -0
- data/generated/google/apis/container_v1/service.rb +151 -102
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +215 -25
- data/generated/google/apis/container_v1beta1/representations.rb +86 -0
- data/generated/google/apis/container_v1beta1/service.rb +106 -106
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +218 -101
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +189 -152
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +387 -216
- data/generated/google/apis/content_v2_1/representations.rb +131 -56
- data/generated/google/apis/content_v2_1/service.rb +190 -107
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
- data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +27 -22
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2/service.rb +76 -60
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +116 -45
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +85 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +83 -1
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +265 -47
- data/generated/google/apis/docs_v1/representations.rb +96 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +601 -80
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +574 -164
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -75
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +483 -116
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +646 -11
- data/generated/google/apis/file_v1/representations.rb +207 -0
- data/generated/google/apis/file_v1/service.rb +196 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +461 -19
- data/generated/google/apis/file_v1beta1/representations.rb +137 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firebaserules_v1/service.rb +12 -12
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +4 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -58
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/games_v1.rb +3 -3
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +142 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +4 -4
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/iam_v1/classes.rb +171 -1
- data/generated/google/apis/iam_v1/representations.rb +95 -0
- data/generated/google/apis/iam_v1/service.rb +249 -39
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/classes.rb +16 -17
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +14 -8
- data/generated/google/apis/jobs_v3/service.rb +16 -17
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
- data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +8 -7
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +8 -3
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +240 -52
- data/generated/google/apis/ml_v1/representations.rb +25 -2
- data/generated/google/apis/ml_v1/service.rb +36 -36
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +22 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -1
- data/generated/google/apis/monitoring_v3/service.rb +42 -37
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +3 -162
- data/generated/google/apis/oauth2_v1.rb +3 -6
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oauth2_v2.rb +3 -6
- data/generated/google/apis/oslogin_v1/service.rb +8 -7
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +38 -29
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +18 -13
- data/generated/google/apis/people_v1.rb +2 -5
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +18 -392
- data/generated/google/apis/plus_domains_v1.rb +4 -10
- data/generated/google/apis/plus_v1/service.rb +16 -16
- data/generated/google/apis/plus_v1.rb +4 -4
- data/generated/google/apis/poly_v1/classes.rb +8 -6
- data/generated/google/apis/poly_v1/service.rb +15 -12
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +55 -39
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +46 -69
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -10
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +51 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +18 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +73 -0
- data/generated/google/apis/run_v1/representations.rb +43 -0
- data/generated/google/apis/run_v1/service.rb +90 -0
- data/generated/google/apis/run_v1.rb +35 -0
- data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
- data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
- data/generated/google/apis/run_v1alpha1.rb +35 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -6
- data/generated/google/apis/script_v1/representations.rb +79 -1
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
- data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
- data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +231 -17
- data/generated/google/apis/spanner_v1/representations.rb +66 -0
- data/generated/google/apis/spanner_v1/service.rb +92 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +110 -13
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1/service.rb +9 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +201 -4
- data/generated/google/apis/storage_v1/representations.rb +76 -1
- data/generated/google/apis/storage_v1/service.rb +488 -93
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
- data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
- data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -95
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +287 -249
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/testing_v1/classes.rb +44 -39
- data/generated/google/apis/testing_v1/representations.rb +3 -1
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
- data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/classes.rb +44 -18
- data/generated/google/apis/vault_v1/representations.rb +4 -0
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +7 -6
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/vision_v1/classes.rb +4397 -124
- data/generated/google/apis/vision_v1/representations.rb +2366 -541
- data/generated/google/apis/vision_v1/service.rb +160 -33
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +9 -180
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +86 -17
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
- data/samples/web/.env +0 -2
@@ -69,7 +69,7 @@ module Google
|
|
69
69
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
70
70
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
71
71
|
def get_project_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
72
|
-
command =
|
72
|
+
command = make_simple_command(:get, 'v1/{+name}/config', options)
|
73
73
|
command.response_representation = Google::Apis::SourcerepoV1::ProjectConfig::Representation
|
74
74
|
command.response_class = Google::Apis::SourcerepoV1::ProjectConfig
|
75
75
|
command.params['name'] = name unless name.nil?
|
@@ -101,7 +101,7 @@ module Google
|
|
101
101
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
102
102
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
103
103
|
def update_project_config(name, update_project_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
104
|
-
command =
|
104
|
+
command = make_simple_command(:patch, 'v1/{+name}/config', options)
|
105
105
|
command.request_representation = Google::Apis::SourcerepoV1::UpdateProjectConfigRequest::Representation
|
106
106
|
command.request_object = update_project_config_request_object
|
107
107
|
command.response_representation = Google::Apis::SourcerepoV1::ProjectConfig::Representation
|
@@ -137,7 +137,7 @@ module Google
|
|
137
137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
138
138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
139
139
|
def create_project_repo(parent, repo_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
140
|
-
command =
|
140
|
+
command = make_simple_command(:post, 'v1/{+parent}/repos', options)
|
141
141
|
command.request_representation = Google::Apis::SourcerepoV1::Repo::Representation
|
142
142
|
command.request_object = repo_object
|
143
143
|
command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
|
@@ -170,7 +170,7 @@ module Google
|
|
170
170
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
171
171
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
172
172
|
def delete_project_repo(name, fields: nil, quota_user: nil, options: nil, &block)
|
173
|
-
command =
|
173
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
174
174
|
command.response_representation = Google::Apis::SourcerepoV1::Empty::Representation
|
175
175
|
command.response_class = Google::Apis::SourcerepoV1::Empty
|
176
176
|
command.params['name'] = name unless name.nil?
|
@@ -201,7 +201,7 @@ module Google
|
|
201
201
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
202
202
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
203
203
|
def get_project_repo(name, fields: nil, quota_user: nil, options: nil, &block)
|
204
|
-
command =
|
204
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
205
205
|
command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
|
206
206
|
command.response_class = Google::Apis::SourcerepoV1::Repo
|
207
207
|
command.params['name'] = name unless name.nil?
|
@@ -234,7 +234,7 @@ module Google
|
|
234
234
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
235
235
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
236
236
|
def get_project_repo_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
237
|
-
command =
|
237
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
238
238
|
command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
|
239
239
|
command.response_class = Google::Apis::SourcerepoV1::Policy
|
240
240
|
command.params['resource'] = resource unless resource.nil?
|
@@ -273,7 +273,7 @@ module Google
|
|
273
273
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
274
274
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
275
275
|
def list_project_repos(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
276
|
-
command =
|
276
|
+
command = make_simple_command(:get, 'v1/{+name}/repos', options)
|
277
277
|
command.response_representation = Google::Apis::SourcerepoV1::ListReposResponse::Representation
|
278
278
|
command.response_class = Google::Apis::SourcerepoV1::ListReposResponse
|
279
279
|
command.params['name'] = name unless name.nil?
|
@@ -307,7 +307,7 @@ module Google
|
|
307
307
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
308
308
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
309
309
|
def patch_project_repo(name, update_repo_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
310
|
-
command =
|
310
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
311
311
|
command.request_representation = Google::Apis::SourcerepoV1::UpdateRepoRequest::Representation
|
312
312
|
command.request_object = update_repo_request_object
|
313
313
|
command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
|
@@ -342,7 +342,7 @@ module Google
|
|
342
342
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
343
343
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
344
344
|
def set_repo_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
345
|
-
command =
|
345
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
346
346
|
command.request_representation = Google::Apis::SourcerepoV1::SetIamPolicyRequest::Representation
|
347
347
|
command.request_object = set_iam_policy_request_object
|
348
348
|
command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
|
@@ -353,6 +353,41 @@ module Google
|
|
353
353
|
execute_or_queue_command(command, &block)
|
354
354
|
end
|
355
355
|
|
356
|
+
# Synchronize a connected repo.
|
357
|
+
# The response contains SyncRepoMetadata in the metadata field.
|
358
|
+
# @param [String] name
|
359
|
+
# The name of the repo to synchronize. Values are of the form
|
360
|
+
# `projects/<project>/repos/<repo>`.
|
361
|
+
# @param [Google::Apis::SourcerepoV1::SyncRepoRequest] sync_repo_request_object
|
362
|
+
# @param [String] fields
|
363
|
+
# Selector specifying which fields to include in a partial response.
|
364
|
+
# @param [String] quota_user
|
365
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
366
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
367
|
+
# @param [Google::Apis::RequestOptions] options
|
368
|
+
# Request-specific options
|
369
|
+
#
|
370
|
+
# @yield [result, err] Result & error if block supplied
|
371
|
+
# @yieldparam result [Google::Apis::SourcerepoV1::Operation] parsed result object
|
372
|
+
# @yieldparam err [StandardError] error object if request failed
|
373
|
+
#
|
374
|
+
# @return [Google::Apis::SourcerepoV1::Operation]
|
375
|
+
#
|
376
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
377
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
378
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
379
|
+
def sync_repo(name, sync_repo_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
380
|
+
command = make_simple_command(:post, 'v1/{+name}:sync', options)
|
381
|
+
command.request_representation = Google::Apis::SourcerepoV1::SyncRepoRequest::Representation
|
382
|
+
command.request_object = sync_repo_request_object
|
383
|
+
command.response_representation = Google::Apis::SourcerepoV1::Operation::Representation
|
384
|
+
command.response_class = Google::Apis::SourcerepoV1::Operation
|
385
|
+
command.params['name'] = name unless name.nil?
|
386
|
+
command.query['fields'] = fields unless fields.nil?
|
387
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
388
|
+
execute_or_queue_command(command, &block)
|
389
|
+
end
|
390
|
+
|
356
391
|
# Returns permissions that a caller has on the specified resource.
|
357
392
|
# If the resource does not exist, this will return an empty set of
|
358
393
|
# permissions, not a NOT_FOUND error.
|
@@ -378,7 +413,7 @@ module Google
|
|
378
413
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
379
414
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
380
415
|
def test_repo_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
381
|
-
command =
|
416
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
382
417
|
command.request_representation = Google::Apis::SourcerepoV1::TestIamPermissionsRequest::Representation
|
383
418
|
command.request_object = test_iam_permissions_request_object
|
384
419
|
command.response_representation = Google::Apis::SourcerepoV1::TestIamPermissionsResponse::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/source-repositories/docs/apis
|
26
26
|
module SourcerepoV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190419'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -279,7 +279,7 @@ module Google
|
|
279
279
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
280
280
|
# * `group:`emailid``: An email address that represents a Google group.
|
281
281
|
# For example, `admins@example.com`.
|
282
|
-
# * `domain:`domain``:
|
282
|
+
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
283
283
|
# users of that domain. For example, `google.com` or `example.com`.
|
284
284
|
# Corresponds to the JSON property `members`
|
285
285
|
# @return [Array<String>]
|
@@ -716,7 +716,7 @@ module Google
|
|
716
716
|
attr_accessor :instance
|
717
717
|
|
718
718
|
# Required. The ID of the instance to create. Valid identifiers are of the
|
719
|
-
# form `a-z*[a-z0-9]` and must be between
|
719
|
+
# form `a-z*[a-z0-9]` and must be between 2 and 64 characters in
|
720
720
|
# length.
|
721
721
|
# Corresponds to the JSON property `instanceId`
|
722
722
|
# @return [String]
|
@@ -830,6 +830,130 @@ module Google
|
|
830
830
|
end
|
831
831
|
end
|
832
832
|
|
833
|
+
# The request for ExecuteBatchDml
|
834
|
+
class ExecuteBatchDmlRequest
|
835
|
+
include Google::Apis::Core::Hashable
|
836
|
+
|
837
|
+
# A per-transaction sequence number used to identify this request. This is
|
838
|
+
# used in the same space as the seqno in
|
839
|
+
# ExecuteSqlRequest. See more details
|
840
|
+
# in ExecuteSqlRequest.
|
841
|
+
# Corresponds to the JSON property `seqno`
|
842
|
+
# @return [Fixnum]
|
843
|
+
attr_accessor :seqno
|
844
|
+
|
845
|
+
# The list of statements to execute in this batch. Statements are executed
|
846
|
+
# serially, such that the effects of statement i are visible to statement
|
847
|
+
# i+1. Each statement must be a DML statement. Execution will stop at the
|
848
|
+
# first failed statement; the remaining statements will not run.
|
849
|
+
# REQUIRES: `statements_size()` > 0.
|
850
|
+
# Corresponds to the JSON property `statements`
|
851
|
+
# @return [Array<Google::Apis::SpannerV1::Statement>]
|
852
|
+
attr_accessor :statements
|
853
|
+
|
854
|
+
# This message is used to select the transaction in which a
|
855
|
+
# Read or
|
856
|
+
# ExecuteSql call runs.
|
857
|
+
# See TransactionOptions for more information about transactions.
|
858
|
+
# Corresponds to the JSON property `transaction`
|
859
|
+
# @return [Google::Apis::SpannerV1::TransactionSelector]
|
860
|
+
attr_accessor :transaction
|
861
|
+
|
862
|
+
def initialize(**args)
|
863
|
+
update!(**args)
|
864
|
+
end
|
865
|
+
|
866
|
+
# Update properties of this object
|
867
|
+
def update!(**args)
|
868
|
+
@seqno = args[:seqno] if args.key?(:seqno)
|
869
|
+
@statements = args[:statements] if args.key?(:statements)
|
870
|
+
@transaction = args[:transaction] if args.key?(:transaction)
|
871
|
+
end
|
872
|
+
end
|
873
|
+
|
874
|
+
# The response for ExecuteBatchDml. Contains a list
|
875
|
+
# of ResultSet, one for each DML statement that has successfully executed.
|
876
|
+
# If a statement fails, the error is returned as part of the response payload.
|
877
|
+
# Clients can determine whether all DML statements have run successfully, or if
|
878
|
+
# a statement failed, using one of the following approaches:
|
879
|
+
# 1. Check if `'status'` field is `OkStatus`.
|
880
|
+
# 2. Check if `result_sets_size()` equals the number of statements in
|
881
|
+
# ExecuteBatchDmlRequest.
|
882
|
+
# Example 1: A request with 5 DML statements, all executed successfully.
|
883
|
+
# Result: A response with 5 ResultSets, one for each statement in the same
|
884
|
+
# order, and an `OkStatus`.
|
885
|
+
# Example 2: A request with 5 DML statements. The 3rd statement has a syntax
|
886
|
+
# error.
|
887
|
+
# Result: A response with 2 ResultSets, for the first 2 statements that
|
888
|
+
# run successfully, and a syntax error (`INVALID_ARGUMENT`) status. From
|
889
|
+
# `result_set_size()` client can determine that the 3rd statement has failed.
|
890
|
+
class ExecuteBatchDmlResponse
|
891
|
+
include Google::Apis::Core::Hashable
|
892
|
+
|
893
|
+
# ResultSets, one for each statement in the request that ran successfully, in
|
894
|
+
# the same order as the statements in the request. Each ResultSet will
|
895
|
+
# not contain any rows. The ResultSetStats in each ResultSet will
|
896
|
+
# contain the number of rows modified by the statement.
|
897
|
+
# Only the first ResultSet in the response contains a valid
|
898
|
+
# ResultSetMetadata.
|
899
|
+
# Corresponds to the JSON property `resultSets`
|
900
|
+
# @return [Array<Google::Apis::SpannerV1::ResultSet>]
|
901
|
+
attr_accessor :result_sets
|
902
|
+
|
903
|
+
# The `Status` type defines a logical error model that is suitable for
|
904
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
905
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
906
|
+
# - Simple to use and understand for most users
|
907
|
+
# - Flexible enough to meet unexpected needs
|
908
|
+
# # Overview
|
909
|
+
# The `Status` message contains three pieces of data: error code, error
|
910
|
+
# message, and error details. The error code should be an enum value of
|
911
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
912
|
+
# error message should be a developer-facing English message that helps
|
913
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
914
|
+
# error message is needed, put the localized message in the error details or
|
915
|
+
# localize it in the client. The optional error details may contain arbitrary
|
916
|
+
# information about the error. There is a predefined set of error detail types
|
917
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
918
|
+
# # Language mapping
|
919
|
+
# The `Status` message is the logical representation of the error model, but it
|
920
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
921
|
+
# exposed in different client libraries and different wire protocols, it can be
|
922
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
923
|
+
# in Java, but more likely mapped to some error codes in C.
|
924
|
+
# # Other uses
|
925
|
+
# The error model and the `Status` message can be used in a variety of
|
926
|
+
# environments, either with or without APIs, to provide a
|
927
|
+
# consistent developer experience across different environments.
|
928
|
+
# Example uses of this error model include:
|
929
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
930
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
931
|
+
# errors.
|
932
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
933
|
+
# have a `Status` message for error reporting.
|
934
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
935
|
+
# `Status` message should be used directly inside batch response, one for
|
936
|
+
# each error sub-response.
|
937
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
938
|
+
# results in its response, the status of those operations should be
|
939
|
+
# represented directly using the `Status` message.
|
940
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
941
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
942
|
+
# Corresponds to the JSON property `status`
|
943
|
+
# @return [Google::Apis::SpannerV1::Status]
|
944
|
+
attr_accessor :status
|
945
|
+
|
946
|
+
def initialize(**args)
|
947
|
+
update!(**args)
|
948
|
+
end
|
949
|
+
|
950
|
+
# Update properties of this object
|
951
|
+
def update!(**args)
|
952
|
+
@result_sets = args[:result_sets] if args.key?(:result_sets)
|
953
|
+
@status = args[:status] if args.key?(:status)
|
954
|
+
end
|
955
|
+
end
|
956
|
+
|
833
957
|
# The request for ExecuteSql and
|
834
958
|
# ExecuteStreamingSql.
|
835
959
|
class ExecuteSqlRequest
|
@@ -1085,15 +1209,15 @@ module Google
|
|
1085
1209
|
# Required. A unique identifier for the instance, which cannot be changed
|
1086
1210
|
# after the instance is created. Values are of the form
|
1087
1211
|
# `projects/<project>/instances/a-z*[a-z0-9]`. The final
|
1088
|
-
# segment of the name must be between
|
1212
|
+
# segment of the name must be between 2 and 64 characters in length.
|
1089
1213
|
# Corresponds to the JSON property `name`
|
1090
1214
|
# @return [String]
|
1091
1215
|
attr_accessor :name
|
1092
1216
|
|
1093
1217
|
# Required. The number of nodes allocated to this instance. This may be zero
|
1094
1218
|
# in API responses for instances that are not yet in state `READY`.
|
1095
|
-
# See [the
|
1096
|
-
# node_count)
|
1219
|
+
# See [the
|
1220
|
+
# documentation](https://cloud.google.com/spanner/docs/instances#node_count)
|
1097
1221
|
# for more information about nodes.
|
1098
1222
|
# Corresponds to the JSON property `nodeCount`
|
1099
1223
|
# @return [Fixnum]
|
@@ -1140,6 +1264,12 @@ module Google
|
|
1140
1264
|
# @return [String]
|
1141
1265
|
attr_accessor :name
|
1142
1266
|
|
1267
|
+
# The geographic placement of nodes in this instance configuration and their
|
1268
|
+
# replication properties.
|
1269
|
+
# Corresponds to the JSON property `replicas`
|
1270
|
+
# @return [Array<Google::Apis::SpannerV1::ReplicaInfo>]
|
1271
|
+
attr_accessor :replicas
|
1272
|
+
|
1143
1273
|
def initialize(**args)
|
1144
1274
|
update!(**args)
|
1145
1275
|
end
|
@@ -1148,6 +1278,7 @@ module Google
|
|
1148
1278
|
def update!(**args)
|
1149
1279
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1150
1280
|
@name = args[:name] if args.key?(:name)
|
1281
|
+
@replicas = args[:replicas] if args.key?(:replicas)
|
1151
1282
|
end
|
1152
1283
|
end
|
1153
1284
|
|
@@ -1156,7 +1287,8 @@ module Google
|
|
1156
1287
|
# closed, indicating if the range includes rows with that key.
|
1157
1288
|
# Keys are represented by lists, where the ith value in the list
|
1158
1289
|
# corresponds to the ith component of the table or index primary key.
|
1159
|
-
# Individual values are encoded as described
|
1290
|
+
# Individual values are encoded as described
|
1291
|
+
# here.
|
1160
1292
|
# For example, consider the following table definition:
|
1161
1293
|
# CREATE TABLE UserEvents (
|
1162
1294
|
# UserName STRING(MAX),
|
@@ -1488,14 +1620,14 @@ module Google
|
|
1488
1620
|
attr_accessor :done
|
1489
1621
|
alias_method :done?, :done
|
1490
1622
|
|
1491
|
-
# The `Status` type defines a logical error model that is suitable for
|
1492
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
1493
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
1623
|
+
# The `Status` type defines a logical error model that is suitable for
|
1624
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
1625
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
1494
1626
|
# - Simple to use and understand for most users
|
1495
1627
|
# - Flexible enough to meet unexpected needs
|
1496
1628
|
# # Overview
|
1497
|
-
# The `Status` message contains three pieces of data: error code, error
|
1498
|
-
# and error details. The error code should be an enum value of
|
1629
|
+
# The `Status` message contains three pieces of data: error code, error
|
1630
|
+
# message, and error details. The error code should be an enum value of
|
1499
1631
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
1500
1632
|
# error message should be a developer-facing English message that helps
|
1501
1633
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
@@ -1541,7 +1673,7 @@ module Google
|
|
1541
1673
|
|
1542
1674
|
# The server-assigned name, which is only unique within the same service that
|
1543
1675
|
# originally returns it. If you use the default HTTP mapping, the
|
1544
|
-
# `name` should
|
1676
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
1545
1677
|
# Corresponds to the JSON property `name`
|
1546
1678
|
# @return [String]
|
1547
1679
|
attr_accessor :name
|
@@ -2265,6 +2397,41 @@ module Google
|
|
2265
2397
|
end
|
2266
2398
|
end
|
2267
2399
|
|
2400
|
+
#
|
2401
|
+
class ReplicaInfo
|
2402
|
+
include Google::Apis::Core::Hashable
|
2403
|
+
|
2404
|
+
# If true, this location is designated as the default leader location where
|
2405
|
+
# leader replicas are placed. See the [region types
|
2406
|
+
# documentation](https://cloud.google.com/spanner/docs/instances#region_types)
|
2407
|
+
# for more details.
|
2408
|
+
# Corresponds to the JSON property `defaultLeaderLocation`
|
2409
|
+
# @return [Boolean]
|
2410
|
+
attr_accessor :default_leader_location
|
2411
|
+
alias_method :default_leader_location?, :default_leader_location
|
2412
|
+
|
2413
|
+
# The location of the serving resources, e.g. "us-central1".
|
2414
|
+
# Corresponds to the JSON property `location`
|
2415
|
+
# @return [String]
|
2416
|
+
attr_accessor :location
|
2417
|
+
|
2418
|
+
# The type of replica.
|
2419
|
+
# Corresponds to the JSON property `type`
|
2420
|
+
# @return [String]
|
2421
|
+
attr_accessor :type
|
2422
|
+
|
2423
|
+
def initialize(**args)
|
2424
|
+
update!(**args)
|
2425
|
+
end
|
2426
|
+
|
2427
|
+
# Update properties of this object
|
2428
|
+
def update!(**args)
|
2429
|
+
@default_leader_location = args[:default_leader_location] if args.key?(:default_leader_location)
|
2430
|
+
@location = args[:location] if args.key?(:location)
|
2431
|
+
@type = args[:type] if args.key?(:type)
|
2432
|
+
end
|
2433
|
+
end
|
2434
|
+
|
2268
2435
|
# Results from Read or
|
2269
2436
|
# ExecuteSql.
|
2270
2437
|
class ResultSet
|
@@ -2522,14 +2689,61 @@ module Google
|
|
2522
2689
|
end
|
2523
2690
|
end
|
2524
2691
|
|
2525
|
-
#
|
2526
|
-
|
2527
|
-
|
2692
|
+
# A single DML statement.
|
2693
|
+
class Statement
|
2694
|
+
include Google::Apis::Core::Hashable
|
2695
|
+
|
2696
|
+
# It is not always possible for Cloud Spanner to infer the right SQL type
|
2697
|
+
# from a JSON value. For example, values of type `BYTES` and values
|
2698
|
+
# of type `STRING` both appear in params as JSON strings.
|
2699
|
+
# In these cases, `param_types` can be used to specify the exact
|
2700
|
+
# SQL type for some or all of the SQL statement parameters. See the
|
2701
|
+
# definition of Type for more information
|
2702
|
+
# about SQL types.
|
2703
|
+
# Corresponds to the JSON property `paramTypes`
|
2704
|
+
# @return [Hash<String,Google::Apis::SpannerV1::Type>]
|
2705
|
+
attr_accessor :param_types
|
2706
|
+
|
2707
|
+
# The DML string can contain parameter placeholders. A parameter
|
2708
|
+
# placeholder consists of `'@'` followed by the parameter
|
2709
|
+
# name. Parameter names consist of any combination of letters,
|
2710
|
+
# numbers, and underscores.
|
2711
|
+
# Parameters can appear anywhere that a literal value is expected. The
|
2712
|
+
# same parameter name can be used more than once, for example:
|
2713
|
+
# `"WHERE id > @msg_id AND id < @msg_id + 100"`
|
2714
|
+
# It is an error to execute an SQL statement with unbound parameters.
|
2715
|
+
# Parameter values are specified using `params`, which is a JSON
|
2716
|
+
# object whose keys are parameter names, and whose values are the
|
2717
|
+
# corresponding parameter values.
|
2718
|
+
# Corresponds to the JSON property `params`
|
2719
|
+
# @return [Hash<String,Object>]
|
2720
|
+
attr_accessor :params
|
2721
|
+
|
2722
|
+
# Required. The DML string.
|
2723
|
+
# Corresponds to the JSON property `sql`
|
2724
|
+
# @return [String]
|
2725
|
+
attr_accessor :sql
|
2726
|
+
|
2727
|
+
def initialize(**args)
|
2728
|
+
update!(**args)
|
2729
|
+
end
|
2730
|
+
|
2731
|
+
# Update properties of this object
|
2732
|
+
def update!(**args)
|
2733
|
+
@param_types = args[:param_types] if args.key?(:param_types)
|
2734
|
+
@params = args[:params] if args.key?(:params)
|
2735
|
+
@sql = args[:sql] if args.key?(:sql)
|
2736
|
+
end
|
2737
|
+
end
|
2738
|
+
|
2739
|
+
# The `Status` type defines a logical error model that is suitable for
|
2740
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
2741
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
2528
2742
|
# - Simple to use and understand for most users
|
2529
2743
|
# - Flexible enough to meet unexpected needs
|
2530
2744
|
# # Overview
|
2531
|
-
# The `Status` message contains three pieces of data: error code, error
|
2532
|
-
# and error details. The error code should be an enum value of
|
2745
|
+
# The `Status` message contains three pieces of data: error code, error
|
2746
|
+
# message, and error details. The error code should be an enum value of
|
2533
2747
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
2534
2748
|
# error message should be a developer-facing English message that helps
|
2535
2749
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
@@ -100,6 +100,18 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class ExecuteBatchDmlRequest
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class ExecuteBatchDmlResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
103
115
|
class ExecuteSqlRequest
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
117
|
|
@@ -274,6 +286,12 @@ module Google
|
|
274
286
|
include Google::Apis::Core::JsonObjectSupport
|
275
287
|
end
|
276
288
|
|
289
|
+
class ReplicaInfo
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
277
295
|
class ResultSet
|
278
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
297
|
|
@@ -316,6 +334,12 @@ module Google
|
|
316
334
|
include Google::Apis::Core::JsonObjectSupport
|
317
335
|
end
|
318
336
|
|
337
|
+
class Statement
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
319
343
|
class Status
|
320
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
345
|
|
@@ -505,6 +529,27 @@ module Google
|
|
505
529
|
end
|
506
530
|
end
|
507
531
|
|
532
|
+
class ExecuteBatchDmlRequest
|
533
|
+
# @private
|
534
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
535
|
+
property :seqno, :numeric_string => true, as: 'seqno'
|
536
|
+
collection :statements, as: 'statements', class: Google::Apis::SpannerV1::Statement, decorator: Google::Apis::SpannerV1::Statement::Representation
|
537
|
+
|
538
|
+
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
|
539
|
+
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
543
|
+
class ExecuteBatchDmlResponse
|
544
|
+
# @private
|
545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
546
|
+
collection :result_sets, as: 'resultSets', class: Google::Apis::SpannerV1::ResultSet, decorator: Google::Apis::SpannerV1::ResultSet::Representation
|
547
|
+
|
548
|
+
property :status, as: 'status', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
|
549
|
+
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
508
553
|
class ExecuteSqlRequest
|
509
554
|
# @private
|
510
555
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -570,6 +615,8 @@ module Google
|
|
570
615
|
class Representation < Google::Apis::Core::JsonRepresentation
|
571
616
|
property :display_name, as: 'displayName'
|
572
617
|
property :name, as: 'name'
|
618
|
+
collection :replicas, as: 'replicas', class: Google::Apis::SpannerV1::ReplicaInfo, decorator: Google::Apis::SpannerV1::ReplicaInfo::Representation
|
619
|
+
|
573
620
|
end
|
574
621
|
end
|
575
622
|
|
@@ -810,6 +857,15 @@ module Google
|
|
810
857
|
end
|
811
858
|
end
|
812
859
|
|
860
|
+
class ReplicaInfo
|
861
|
+
# @private
|
862
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
863
|
+
property :default_leader_location, as: 'defaultLeaderLocation'
|
864
|
+
property :location, as: 'location'
|
865
|
+
property :type, as: 'type'
|
866
|
+
end
|
867
|
+
end
|
868
|
+
|
813
869
|
class ResultSet
|
814
870
|
# @private
|
815
871
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -879,6 +935,16 @@ module Google
|
|
879
935
|
end
|
880
936
|
end
|
881
937
|
|
938
|
+
class Statement
|
939
|
+
# @private
|
940
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
941
|
+
hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
|
942
|
+
|
943
|
+
hash :params, as: 'params'
|
944
|
+
property :sql, as: 'sql'
|
945
|
+
end
|
946
|
+
end
|
947
|
+
|
882
948
|
class Status
|
883
949
|
# @private
|
884
950
|
class Representation < Google::Apis::Core::JsonRepresentation
|