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
@@ -1,570 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/core/base_service'
|
16
|
-
require 'google/apis/core/json_representation'
|
17
|
-
require 'google/apis/core/hashable'
|
18
|
-
require 'google/apis/errors'
|
19
|
-
|
20
|
-
module Google
|
21
|
-
module Apis
|
22
|
-
module LoggingV2beta1
|
23
|
-
# Stackdriver Logging API
|
24
|
-
#
|
25
|
-
# Writes log entries and manages your Logging configuration.
|
26
|
-
#
|
27
|
-
# @example
|
28
|
-
# require 'google/apis/logging_v2beta1'
|
29
|
-
#
|
30
|
-
# Logging = Google::Apis::LoggingV2beta1 # Alias the module
|
31
|
-
# service = Logging::LoggingService.new
|
32
|
-
#
|
33
|
-
# @see https://cloud.google.com/logging/docs/
|
34
|
-
class LoggingService < Google::Apis::Core::BaseService
|
35
|
-
# @return [String]
|
36
|
-
# API key. Your API key identifies your project and provides you with API access,
|
37
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
-
attr_accessor :key
|
39
|
-
|
40
|
-
# @return [String]
|
41
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
|
-
attr_accessor :quota_user
|
44
|
-
|
45
|
-
def initialize
|
46
|
-
super('https://logging.googleapis.com/', '')
|
47
|
-
@batch_path = 'batch'
|
48
|
-
end
|
49
|
-
|
50
|
-
# Lists log entries. Use this method to retrieve log entries that originated
|
51
|
-
# from a project/folder/organization/billing account. For ways to export log
|
52
|
-
# entries, see Exporting Logs.
|
53
|
-
# @param [Google::Apis::LoggingV2beta1::ListLogEntriesRequest] list_log_entries_request_object
|
54
|
-
# @param [String] fields
|
55
|
-
# Selector specifying which fields to include in a partial response.
|
56
|
-
# @param [String] quota_user
|
57
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
58
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
59
|
-
# @param [Google::Apis::RequestOptions] options
|
60
|
-
# Request-specific options
|
61
|
-
#
|
62
|
-
# @yield [result, err] Result & error if block supplied
|
63
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::ListLogEntriesResponse] parsed result object
|
64
|
-
# @yieldparam err [StandardError] error object if request failed
|
65
|
-
#
|
66
|
-
# @return [Google::Apis::LoggingV2beta1::ListLogEntriesResponse]
|
67
|
-
#
|
68
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
69
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
70
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
71
|
-
def list_entry_log_entries(list_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
72
|
-
command = make_simple_command(:post, 'v2beta1/entries:list', options)
|
73
|
-
command.request_representation = Google::Apis::LoggingV2beta1::ListLogEntriesRequest::Representation
|
74
|
-
command.request_object = list_log_entries_request_object
|
75
|
-
command.response_representation = Google::Apis::LoggingV2beta1::ListLogEntriesResponse::Representation
|
76
|
-
command.response_class = Google::Apis::LoggingV2beta1::ListLogEntriesResponse
|
77
|
-
command.query['fields'] = fields unless fields.nil?
|
78
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
79
|
-
execute_or_queue_command(command, &block)
|
80
|
-
end
|
81
|
-
|
82
|
-
# Writes log entries to Logging. This API method is the only way to send log
|
83
|
-
# entries to Logging. This method is used, directly or indirectly, by the
|
84
|
-
# Logging agent (fluentd) and all logging libraries configured to use Logging. A
|
85
|
-
# single request may contain log entries for a maximum of 1000 different
|
86
|
-
# resources (projects, organizations, billing accounts or folders)
|
87
|
-
# @param [Google::Apis::LoggingV2beta1::WriteLogEntriesRequest] write_log_entries_request_object
|
88
|
-
# @param [String] fields
|
89
|
-
# Selector specifying which fields to include in a partial response.
|
90
|
-
# @param [String] quota_user
|
91
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
92
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
93
|
-
# @param [Google::Apis::RequestOptions] options
|
94
|
-
# Request-specific options
|
95
|
-
#
|
96
|
-
# @yield [result, err] Result & error if block supplied
|
97
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::WriteLogEntriesResponse] parsed result object
|
98
|
-
# @yieldparam err [StandardError] error object if request failed
|
99
|
-
#
|
100
|
-
# @return [Google::Apis::LoggingV2beta1::WriteLogEntriesResponse]
|
101
|
-
#
|
102
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
103
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
104
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
105
|
-
def write_entry_log_entries(write_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
106
|
-
command = make_simple_command(:post, 'v2beta1/entries:write', options)
|
107
|
-
command.request_representation = Google::Apis::LoggingV2beta1::WriteLogEntriesRequest::Representation
|
108
|
-
command.request_object = write_log_entries_request_object
|
109
|
-
command.response_representation = Google::Apis::LoggingV2beta1::WriteLogEntriesResponse::Representation
|
110
|
-
command.response_class = Google::Apis::LoggingV2beta1::WriteLogEntriesResponse
|
111
|
-
command.query['fields'] = fields unless fields.nil?
|
112
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
113
|
-
execute_or_queue_command(command, &block)
|
114
|
-
end
|
115
|
-
|
116
|
-
# Lists the descriptors for monitored resource types used by Logging.
|
117
|
-
# @param [Fixnum] page_size
|
118
|
-
# Optional. The maximum number of results to return from this request. Non-
|
119
|
-
# positive values are ignored. The presence of nextPageToken in the response
|
120
|
-
# indicates that more results might be available.
|
121
|
-
# @param [String] page_token
|
122
|
-
# Optional. If present, then retrieve the next batch of results from the
|
123
|
-
# preceding call to this method. pageToken must be the value of nextPageToken
|
124
|
-
# from the previous response. The values of other method parameters should be
|
125
|
-
# identical to those in the previous call.
|
126
|
-
# @param [String] fields
|
127
|
-
# Selector specifying which fields to include in a partial response.
|
128
|
-
# @param [String] quota_user
|
129
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
130
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
131
|
-
# @param [Google::Apis::RequestOptions] options
|
132
|
-
# Request-specific options
|
133
|
-
#
|
134
|
-
# @yield [result, err] Result & error if block supplied
|
135
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::ListMonitoredResourceDescriptorsResponse] parsed result object
|
136
|
-
# @yieldparam err [StandardError] error object if request failed
|
137
|
-
#
|
138
|
-
# @return [Google::Apis::LoggingV2beta1::ListMonitoredResourceDescriptorsResponse]
|
139
|
-
#
|
140
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
141
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
142
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
143
|
-
def list_monitored_resource_descriptors(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
144
|
-
command = make_simple_command(:get, 'v2beta1/monitoredResourceDescriptors', options)
|
145
|
-
command.response_representation = Google::Apis::LoggingV2beta1::ListMonitoredResourceDescriptorsResponse::Representation
|
146
|
-
command.response_class = Google::Apis::LoggingV2beta1::ListMonitoredResourceDescriptorsResponse
|
147
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
148
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
149
|
-
command.query['fields'] = fields unless fields.nil?
|
150
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
151
|
-
execute_or_queue_command(command, &block)
|
152
|
-
end
|
153
|
-
|
154
|
-
# Creates a logs-based metric.
|
155
|
-
# @param [String] parent
|
156
|
-
# The resource name of the project in which to create the metric:
|
157
|
-
# "projects/[PROJECT_ID]"
|
158
|
-
# The new metric must be provided in the request.
|
159
|
-
# @param [Google::Apis::LoggingV2beta1::LogMetric] log_metric_object
|
160
|
-
# @param [String] fields
|
161
|
-
# Selector specifying which fields to include in a partial response.
|
162
|
-
# @param [String] quota_user
|
163
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
164
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
165
|
-
# @param [Google::Apis::RequestOptions] options
|
166
|
-
# Request-specific options
|
167
|
-
#
|
168
|
-
# @yield [result, err] Result & error if block supplied
|
169
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::LogMetric] parsed result object
|
170
|
-
# @yieldparam err [StandardError] error object if request failed
|
171
|
-
#
|
172
|
-
# @return [Google::Apis::LoggingV2beta1::LogMetric]
|
173
|
-
#
|
174
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
175
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
176
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
177
|
-
def create_project_metric(parent, log_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
178
|
-
command = make_simple_command(:post, 'v2beta1/{+parent}/metrics', options)
|
179
|
-
command.request_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation
|
180
|
-
command.request_object = log_metric_object
|
181
|
-
command.response_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation
|
182
|
-
command.response_class = Google::Apis::LoggingV2beta1::LogMetric
|
183
|
-
command.params['parent'] = parent unless parent.nil?
|
184
|
-
command.query['fields'] = fields unless fields.nil?
|
185
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
186
|
-
execute_or_queue_command(command, &block)
|
187
|
-
end
|
188
|
-
|
189
|
-
# Deletes a logs-based metric.
|
190
|
-
# @param [String] metric_name
|
191
|
-
# The resource name of the metric to delete:
|
192
|
-
# "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
|
193
|
-
# @param [String] fields
|
194
|
-
# Selector specifying which fields to include in a partial response.
|
195
|
-
# @param [String] quota_user
|
196
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
197
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
198
|
-
# @param [Google::Apis::RequestOptions] options
|
199
|
-
# Request-specific options
|
200
|
-
#
|
201
|
-
# @yield [result, err] Result & error if block supplied
|
202
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::Empty] parsed result object
|
203
|
-
# @yieldparam err [StandardError] error object if request failed
|
204
|
-
#
|
205
|
-
# @return [Google::Apis::LoggingV2beta1::Empty]
|
206
|
-
#
|
207
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
208
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
209
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
210
|
-
def delete_project_metric(metric_name, fields: nil, quota_user: nil, options: nil, &block)
|
211
|
-
command = make_simple_command(:delete, 'v2beta1/{+metricName}', options)
|
212
|
-
command.response_representation = Google::Apis::LoggingV2beta1::Empty::Representation
|
213
|
-
command.response_class = Google::Apis::LoggingV2beta1::Empty
|
214
|
-
command.params['metricName'] = metric_name unless metric_name.nil?
|
215
|
-
command.query['fields'] = fields unless fields.nil?
|
216
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
217
|
-
execute_or_queue_command(command, &block)
|
218
|
-
end
|
219
|
-
|
220
|
-
# Gets a logs-based metric.
|
221
|
-
# @param [String] metric_name
|
222
|
-
# The resource name of the desired metric:
|
223
|
-
# "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
|
224
|
-
# @param [String] fields
|
225
|
-
# Selector specifying which fields to include in a partial response.
|
226
|
-
# @param [String] quota_user
|
227
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
228
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
229
|
-
# @param [Google::Apis::RequestOptions] options
|
230
|
-
# Request-specific options
|
231
|
-
#
|
232
|
-
# @yield [result, err] Result & error if block supplied
|
233
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::LogMetric] parsed result object
|
234
|
-
# @yieldparam err [StandardError] error object if request failed
|
235
|
-
#
|
236
|
-
# @return [Google::Apis::LoggingV2beta1::LogMetric]
|
237
|
-
#
|
238
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
239
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
240
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
241
|
-
def get_project_metric(metric_name, fields: nil, quota_user: nil, options: nil, &block)
|
242
|
-
command = make_simple_command(:get, 'v2beta1/{+metricName}', options)
|
243
|
-
command.response_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation
|
244
|
-
command.response_class = Google::Apis::LoggingV2beta1::LogMetric
|
245
|
-
command.params['metricName'] = metric_name unless metric_name.nil?
|
246
|
-
command.query['fields'] = fields unless fields.nil?
|
247
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
248
|
-
execute_or_queue_command(command, &block)
|
249
|
-
end
|
250
|
-
|
251
|
-
# Lists logs-based metrics.
|
252
|
-
# @param [String] parent
|
253
|
-
# Required. The name of the project containing the metrics:
|
254
|
-
# "projects/[PROJECT_ID]"
|
255
|
-
# @param [Fixnum] page_size
|
256
|
-
# Optional. The maximum number of results to return from this request. Non-
|
257
|
-
# positive values are ignored. The presence of nextPageToken in the response
|
258
|
-
# indicates that more results might be available.
|
259
|
-
# @param [String] page_token
|
260
|
-
# Optional. If present, then retrieve the next batch of results from the
|
261
|
-
# preceding call to this method. pageToken must be the value of nextPageToken
|
262
|
-
# from the previous response. The values of other method parameters should be
|
263
|
-
# identical to those in the previous call.
|
264
|
-
# @param [String] fields
|
265
|
-
# Selector specifying which fields to include in a partial response.
|
266
|
-
# @param [String] quota_user
|
267
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
268
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
269
|
-
# @param [Google::Apis::RequestOptions] options
|
270
|
-
# Request-specific options
|
271
|
-
#
|
272
|
-
# @yield [result, err] Result & error if block supplied
|
273
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::ListLogMetricsResponse] parsed result object
|
274
|
-
# @yieldparam err [StandardError] error object if request failed
|
275
|
-
#
|
276
|
-
# @return [Google::Apis::LoggingV2beta1::ListLogMetricsResponse]
|
277
|
-
#
|
278
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
279
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
280
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
281
|
-
def list_project_metrics(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
282
|
-
command = make_simple_command(:get, 'v2beta1/{+parent}/metrics', options)
|
283
|
-
command.response_representation = Google::Apis::LoggingV2beta1::ListLogMetricsResponse::Representation
|
284
|
-
command.response_class = Google::Apis::LoggingV2beta1::ListLogMetricsResponse
|
285
|
-
command.params['parent'] = parent unless parent.nil?
|
286
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
287
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
288
|
-
command.query['fields'] = fields unless fields.nil?
|
289
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
290
|
-
execute_or_queue_command(command, &block)
|
291
|
-
end
|
292
|
-
|
293
|
-
# Creates or updates a logs-based metric.
|
294
|
-
# @param [String] metric_name
|
295
|
-
# The resource name of the metric to update:
|
296
|
-
# "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
|
297
|
-
# The updated metric must be provided in the request and it's name field must be
|
298
|
-
# the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a
|
299
|
-
# new metric is created.
|
300
|
-
# @param [Google::Apis::LoggingV2beta1::LogMetric] log_metric_object
|
301
|
-
# @param [String] fields
|
302
|
-
# Selector specifying which fields to include in a partial response.
|
303
|
-
# @param [String] quota_user
|
304
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
305
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
306
|
-
# @param [Google::Apis::RequestOptions] options
|
307
|
-
# Request-specific options
|
308
|
-
#
|
309
|
-
# @yield [result, err] Result & error if block supplied
|
310
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::LogMetric] parsed result object
|
311
|
-
# @yieldparam err [StandardError] error object if request failed
|
312
|
-
#
|
313
|
-
# @return [Google::Apis::LoggingV2beta1::LogMetric]
|
314
|
-
#
|
315
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
316
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
317
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
318
|
-
def update_project_metric(metric_name, log_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
319
|
-
command = make_simple_command(:put, 'v2beta1/{+metricName}', options)
|
320
|
-
command.request_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation
|
321
|
-
command.request_object = log_metric_object
|
322
|
-
command.response_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation
|
323
|
-
command.response_class = Google::Apis::LoggingV2beta1::LogMetric
|
324
|
-
command.params['metricName'] = metric_name unless metric_name.nil?
|
325
|
-
command.query['fields'] = fields unless fields.nil?
|
326
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
327
|
-
execute_or_queue_command(command, &block)
|
328
|
-
end
|
329
|
-
|
330
|
-
# Creates a sink that exports specified log entries to a destination. The export
|
331
|
-
# of newly-ingested log entries begins immediately, unless the sink's
|
332
|
-
# writer_identity is not permitted to write to the destination. A sink can
|
333
|
-
# export log entries only from the resource owning the sink.
|
334
|
-
# @param [String] parent
|
335
|
-
# Required. The resource in which to create the sink:
|
336
|
-
# "projects/[PROJECT_ID]"
|
337
|
-
# "organizations/[ORGANIZATION_ID]"
|
338
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
339
|
-
# "folders/[FOLDER_ID]"
|
340
|
-
# Examples: "projects/my-logging-project", "organizations/123456789".
|
341
|
-
# @param [Google::Apis::LoggingV2beta1::LogSink] log_sink_object
|
342
|
-
# @param [Boolean] unique_writer_identity
|
343
|
-
# Optional. Determines the kind of IAM identity returned as writer_identity in
|
344
|
-
# the new sink. If this value is omitted or set to false, and if the sink's
|
345
|
-
# parent is a project, then the value returned as writer_identity is the same
|
346
|
-
# group or service account used by Logging before the addition of writer
|
347
|
-
# identities to this API. The sink's destination must be in the same project as
|
348
|
-
# the sink itself.If this field is set to true, or if the sink is owned by a non-
|
349
|
-
# project resource such as an organization, then the value of writer_identity
|
350
|
-
# will be a unique service account used only for exports from the new sink. For
|
351
|
-
# more information, see writer_identity in LogSink.
|
352
|
-
# @param [String] fields
|
353
|
-
# Selector specifying which fields to include in a partial response.
|
354
|
-
# @param [String] quota_user
|
355
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
356
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
357
|
-
# @param [Google::Apis::RequestOptions] options
|
358
|
-
# Request-specific options
|
359
|
-
#
|
360
|
-
# @yield [result, err] Result & error if block supplied
|
361
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::LogSink] parsed result object
|
362
|
-
# @yieldparam err [StandardError] error object if request failed
|
363
|
-
#
|
364
|
-
# @return [Google::Apis::LoggingV2beta1::LogSink]
|
365
|
-
#
|
366
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
367
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
368
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
369
|
-
def create_project_sink(parent, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block)
|
370
|
-
command = make_simple_command(:post, 'v2beta1/{+parent}/sinks', options)
|
371
|
-
command.request_representation = Google::Apis::LoggingV2beta1::LogSink::Representation
|
372
|
-
command.request_object = log_sink_object
|
373
|
-
command.response_representation = Google::Apis::LoggingV2beta1::LogSink::Representation
|
374
|
-
command.response_class = Google::Apis::LoggingV2beta1::LogSink
|
375
|
-
command.params['parent'] = parent unless parent.nil?
|
376
|
-
command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil?
|
377
|
-
command.query['fields'] = fields unless fields.nil?
|
378
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
379
|
-
execute_or_queue_command(command, &block)
|
380
|
-
end
|
381
|
-
|
382
|
-
# Deletes a sink. If the sink has a unique writer_identity, then that service
|
383
|
-
# account is also deleted.
|
384
|
-
# @param [String] sink_name
|
385
|
-
# Required. The full resource name of the sink to delete, including the parent
|
386
|
-
# resource and the sink identifier:
|
387
|
-
# "projects/[PROJECT_ID]/sinks/[SINK_ID]"
|
388
|
-
# "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
|
389
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
390
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
391
|
-
# Example: "projects/my-project-id/sinks/my-sink-id".
|
392
|
-
# @param [String] fields
|
393
|
-
# Selector specifying which fields to include in a partial response.
|
394
|
-
# @param [String] quota_user
|
395
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
396
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
397
|
-
# @param [Google::Apis::RequestOptions] options
|
398
|
-
# Request-specific options
|
399
|
-
#
|
400
|
-
# @yield [result, err] Result & error if block supplied
|
401
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::Empty] parsed result object
|
402
|
-
# @yieldparam err [StandardError] error object if request failed
|
403
|
-
#
|
404
|
-
# @return [Google::Apis::LoggingV2beta1::Empty]
|
405
|
-
#
|
406
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
407
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
408
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
409
|
-
def delete_project_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block)
|
410
|
-
command = make_simple_command(:delete, 'v2beta1/{+sinkName}', options)
|
411
|
-
command.response_representation = Google::Apis::LoggingV2beta1::Empty::Representation
|
412
|
-
command.response_class = Google::Apis::LoggingV2beta1::Empty
|
413
|
-
command.params['sinkName'] = sink_name unless sink_name.nil?
|
414
|
-
command.query['fields'] = fields unless fields.nil?
|
415
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
416
|
-
execute_or_queue_command(command, &block)
|
417
|
-
end
|
418
|
-
|
419
|
-
# Gets a sink.
|
420
|
-
# @param [String] sink_name
|
421
|
-
# Required. The resource name of the sink:
|
422
|
-
# "projects/[PROJECT_ID]/sinks/[SINK_ID]"
|
423
|
-
# "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
|
424
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
425
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
426
|
-
# Example: "projects/my-project-id/sinks/my-sink-id".
|
427
|
-
# @param [String] fields
|
428
|
-
# Selector specifying which fields to include in a partial response.
|
429
|
-
# @param [String] quota_user
|
430
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
431
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
432
|
-
# @param [Google::Apis::RequestOptions] options
|
433
|
-
# Request-specific options
|
434
|
-
#
|
435
|
-
# @yield [result, err] Result & error if block supplied
|
436
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::LogSink] parsed result object
|
437
|
-
# @yieldparam err [StandardError] error object if request failed
|
438
|
-
#
|
439
|
-
# @return [Google::Apis::LoggingV2beta1::LogSink]
|
440
|
-
#
|
441
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
442
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
443
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
444
|
-
def get_project_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block)
|
445
|
-
command = make_simple_command(:get, 'v2beta1/{+sinkName}', options)
|
446
|
-
command.response_representation = Google::Apis::LoggingV2beta1::LogSink::Representation
|
447
|
-
command.response_class = Google::Apis::LoggingV2beta1::LogSink
|
448
|
-
command.params['sinkName'] = sink_name unless sink_name.nil?
|
449
|
-
command.query['fields'] = fields unless fields.nil?
|
450
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
451
|
-
execute_or_queue_command(command, &block)
|
452
|
-
end
|
453
|
-
|
454
|
-
# Lists sinks.
|
455
|
-
# @param [String] parent
|
456
|
-
# Required. The parent resource whose sinks are to be listed:
|
457
|
-
# "projects/[PROJECT_ID]"
|
458
|
-
# "organizations/[ORGANIZATION_ID]"
|
459
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
460
|
-
# "folders/[FOLDER_ID]"
|
461
|
-
# @param [Fixnum] page_size
|
462
|
-
# Optional. The maximum number of results to return from this request. Non-
|
463
|
-
# positive values are ignored. The presence of nextPageToken in the response
|
464
|
-
# indicates that more results might be available.
|
465
|
-
# @param [String] page_token
|
466
|
-
# Optional. If present, then retrieve the next batch of results from the
|
467
|
-
# preceding call to this method. pageToken must be the value of nextPageToken
|
468
|
-
# from the previous response. The values of other method parameters should be
|
469
|
-
# identical to those in the previous call.
|
470
|
-
# @param [String] fields
|
471
|
-
# Selector specifying which fields to include in a partial response.
|
472
|
-
# @param [String] quota_user
|
473
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
474
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
475
|
-
# @param [Google::Apis::RequestOptions] options
|
476
|
-
# Request-specific options
|
477
|
-
#
|
478
|
-
# @yield [result, err] Result & error if block supplied
|
479
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::ListSinksResponse] parsed result object
|
480
|
-
# @yieldparam err [StandardError] error object if request failed
|
481
|
-
#
|
482
|
-
# @return [Google::Apis::LoggingV2beta1::ListSinksResponse]
|
483
|
-
#
|
484
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
485
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
486
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
487
|
-
def list_project_sinks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
488
|
-
command = make_simple_command(:get, 'v2beta1/{+parent}/sinks', options)
|
489
|
-
command.response_representation = Google::Apis::LoggingV2beta1::ListSinksResponse::Representation
|
490
|
-
command.response_class = Google::Apis::LoggingV2beta1::ListSinksResponse
|
491
|
-
command.params['parent'] = parent unless parent.nil?
|
492
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
493
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
494
|
-
command.query['fields'] = fields unless fields.nil?
|
495
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
496
|
-
execute_or_queue_command(command, &block)
|
497
|
-
end
|
498
|
-
|
499
|
-
# Updates a sink. This method replaces the following fields in the existing sink
|
500
|
-
# with values from the new sink: destination, and filter.The updated sink might
|
501
|
-
# also have a new writer_identity; see the unique_writer_identity field.
|
502
|
-
# @param [String] sink_name
|
503
|
-
# Required. The full resource name of the sink to update, including the parent
|
504
|
-
# resource and the sink identifier:
|
505
|
-
# "projects/[PROJECT_ID]/sinks/[SINK_ID]"
|
506
|
-
# "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
|
507
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
508
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
509
|
-
# Example: "projects/my-project-id/sinks/my-sink-id".
|
510
|
-
# @param [Google::Apis::LoggingV2beta1::LogSink] log_sink_object
|
511
|
-
# @param [Boolean] unique_writer_identity
|
512
|
-
# Optional. See sinks.create for a description of this field. When updating a
|
513
|
-
# sink, the effect of this field on the value of writer_identity in the updated
|
514
|
-
# sink depends on both the old and new values of this field:
|
515
|
-
# If the old and new values of this field are both false or both true, then
|
516
|
-
# there is no change to the sink's writer_identity.
|
517
|
-
# If the old value is false and the new value is true, then writer_identity is
|
518
|
-
# changed to a unique service account.
|
519
|
-
# It is an error if the old value is true and the new value is set to false or
|
520
|
-
# defaulted to false.
|
521
|
-
# @param [String] update_mask
|
522
|
-
# Optional. Field mask that specifies the fields in sink that need an update. A
|
523
|
-
# sink field will be overwritten if, and only if, it is in the update mask. name
|
524
|
-
# and output only fields cannot be updated.An empty updateMask is temporarily
|
525
|
-
# treated as using the following mask for backwards compatibility purposes:
|
526
|
-
# destination,filter,includeChildren At some point in the future, behavior will
|
527
|
-
# be removed and specifying an empty updateMask will be an error.For a detailed
|
528
|
-
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
529
|
-
# reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
|
530
|
-
# @param [String] fields
|
531
|
-
# Selector specifying which fields to include in a partial response.
|
532
|
-
# @param [String] quota_user
|
533
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
534
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
535
|
-
# @param [Google::Apis::RequestOptions] options
|
536
|
-
# Request-specific options
|
537
|
-
#
|
538
|
-
# @yield [result, err] Result & error if block supplied
|
539
|
-
# @yieldparam result [Google::Apis::LoggingV2beta1::LogSink] parsed result object
|
540
|
-
# @yieldparam err [StandardError] error object if request failed
|
541
|
-
#
|
542
|
-
# @return [Google::Apis::LoggingV2beta1::LogSink]
|
543
|
-
#
|
544
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
545
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
546
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
547
|
-
def update_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
548
|
-
command = make_simple_command(:put, 'v2beta1/{+sinkName}', options)
|
549
|
-
command.request_representation = Google::Apis::LoggingV2beta1::LogSink::Representation
|
550
|
-
command.request_object = log_sink_object
|
551
|
-
command.response_representation = Google::Apis::LoggingV2beta1::LogSink::Representation
|
552
|
-
command.response_class = Google::Apis::LoggingV2beta1::LogSink
|
553
|
-
command.params['sinkName'] = sink_name unless sink_name.nil?
|
554
|
-
command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil?
|
555
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
556
|
-
command.query['fields'] = fields unless fields.nil?
|
557
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
558
|
-
execute_or_queue_command(command, &block)
|
559
|
-
end
|
560
|
-
|
561
|
-
protected
|
562
|
-
|
563
|
-
def apply_command_defaults(command)
|
564
|
-
command.query['key'] = key unless key.nil?
|
565
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
566
|
-
end
|
567
|
-
end
|
568
|
-
end
|
569
|
-
end
|
570
|
-
end
|
@@ -1,46 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/logging_v2beta1/service.rb'
|
16
|
-
require 'google/apis/logging_v2beta1/classes.rb'
|
17
|
-
require 'google/apis/logging_v2beta1/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Stackdriver Logging API
|
22
|
-
#
|
23
|
-
# Writes log entries and manages your Logging configuration.
|
24
|
-
#
|
25
|
-
# @see https://cloud.google.com/logging/docs/
|
26
|
-
module LoggingV2beta1
|
27
|
-
VERSION = 'V2beta1'
|
28
|
-
REVISION = '20190115'
|
29
|
-
|
30
|
-
# View and manage your data across Google Cloud Platform services
|
31
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
32
|
-
|
33
|
-
# View your data across Google Cloud Platform services
|
34
|
-
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
35
|
-
|
36
|
-
# Administrate log data for your projects
|
37
|
-
AUTH_LOGGING_ADMIN = 'https://www.googleapis.com/auth/logging.admin'
|
38
|
-
|
39
|
-
# View log data for your projects
|
40
|
-
AUTH_LOGGING_READ = 'https://www.googleapis.com/auth/logging.read'
|
41
|
-
|
42
|
-
# Submit log data for your projects
|
43
|
-
AUTH_LOGGING_WRITE = 'https://www.googleapis.com/auth/logging.write'
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|