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
@@ -84,7 +84,7 @@ module Google
|
|
84
84
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
85
85
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
86
86
|
def insert_activity(part, activity_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
87
|
-
command =
|
87
|
+
command = make_simple_command(:post, 'activities', options)
|
88
88
|
command.request_representation = Google::Apis::YoutubeV3::Activity::Representation
|
89
89
|
command.request_object = activity_object
|
90
90
|
command.response_representation = Google::Apis::YoutubeV3::Activity::Representation
|
@@ -162,7 +162,7 @@ module Google
|
|
162
162
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
163
163
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
164
164
|
def list_activities(part, channel_id: nil, home: nil, max_results: nil, mine: nil, page_token: nil, published_after: nil, published_before: nil, region_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
165
|
-
command =
|
165
|
+
command = make_simple_command(:get, 'activities', options)
|
166
166
|
command.response_representation = Google::Apis::YoutubeV3::ListActivitiesResponse::Representation
|
167
167
|
command.response_class = Google::Apis::YoutubeV3::ListActivitiesResponse
|
168
168
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
@@ -216,7 +216,7 @@ module Google
|
|
216
216
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
217
217
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
218
218
|
def delete_caption(id, on_behalf_of: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
219
|
-
command =
|
219
|
+
command = make_simple_command(:delete, 'captions', options)
|
220
220
|
command.query['id'] = id unless id.nil?
|
221
221
|
command.query['onBehalfOf'] = on_behalf_of unless on_behalf_of.nil?
|
222
222
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
@@ -278,7 +278,7 @@ module Google
|
|
278
278
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
279
279
|
def download_caption(id, on_behalf_of: nil, on_behalf_of_content_owner: nil, tfmt: nil, tlang: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
280
280
|
if download_dest.nil?
|
281
|
-
command =
|
281
|
+
command = make_simple_command(:get, 'captions/{id}', options)
|
282
282
|
else
|
283
283
|
command = make_download_command(:get, 'captions/{id}', options)
|
284
284
|
command.download_dest = download_dest
|
@@ -344,7 +344,7 @@ module Google
|
|
344
344
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
345
345
|
def insert_caption(part, caption_object = nil, on_behalf_of: nil, on_behalf_of_content_owner: nil, sync: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
346
346
|
if upload_source.nil?
|
347
|
-
command =
|
347
|
+
command = make_simple_command(:post, 'captions', options)
|
348
348
|
else
|
349
349
|
command = make_upload_command(:post, 'captions', options)
|
350
350
|
command.upload_source = upload_source
|
@@ -410,7 +410,7 @@ module Google
|
|
410
410
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
411
411
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
412
412
|
def list_captions(part, video_id, id: nil, on_behalf_of: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
413
|
-
command =
|
413
|
+
command = make_simple_command(:get, 'captions', options)
|
414
414
|
command.response_representation = Google::Apis::YoutubeV3::ListCaptionsResponse::Representation
|
415
415
|
command.response_class = Google::Apis::YoutubeV3::ListCaptionsResponse
|
416
416
|
command.query['id'] = id unless id.nil?
|
@@ -476,7 +476,7 @@ module Google
|
|
476
476
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
477
477
|
def update_caption(part, caption_object = nil, on_behalf_of: nil, on_behalf_of_content_owner: nil, sync: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
478
478
|
if upload_source.nil?
|
479
|
-
command =
|
479
|
+
command = make_simple_command(:put, 'captions', options)
|
480
480
|
else
|
481
481
|
command = make_upload_command(:put, 'captions', options)
|
482
482
|
command.upload_source = upload_source
|
@@ -551,7 +551,7 @@ module Google
|
|
551
551
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
552
552
|
def insert_channel_banner(channel_banner_resource_object = nil, channel_id: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
553
553
|
if upload_source.nil?
|
554
|
-
command =
|
554
|
+
command = make_simple_command(:post, 'channelBanners/insert', options)
|
555
555
|
else
|
556
556
|
command = make_upload_command(:post, 'channelBanners/insert', options)
|
557
557
|
command.upload_source = upload_source
|
@@ -604,7 +604,7 @@ module Google
|
|
604
604
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
605
605
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
606
606
|
def delete_channel_section(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
607
|
-
command =
|
607
|
+
command = make_simple_command(:delete, 'channelSections', options)
|
608
608
|
command.query['id'] = id unless id.nil?
|
609
609
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
610
610
|
command.query['fields'] = fields unless fields.nil?
|
@@ -667,7 +667,7 @@ module Google
|
|
667
667
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
668
668
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
669
669
|
def insert_channel_section(part, channel_section_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
670
|
-
command =
|
670
|
+
command = make_simple_command(:post, 'channelSections', options)
|
671
671
|
command.request_representation = Google::Apis::YoutubeV3::ChannelSection::Representation
|
672
672
|
command.request_object = channel_section_object
|
673
673
|
command.response_representation = Google::Apis::YoutubeV3::ChannelSection::Representation
|
@@ -741,7 +741,7 @@ module Google
|
|
741
741
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
742
742
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
743
743
|
def list_channel_sections(part, channel_id: nil, hl: nil, id: nil, mine: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
744
|
-
command =
|
744
|
+
command = make_simple_command(:get, 'channelSections', options)
|
745
745
|
command.response_representation = Google::Apis::YoutubeV3::ListChannelSectionsResponse::Representation
|
746
746
|
command.response_class = Google::Apis::YoutubeV3::ListChannelSectionsResponse
|
747
747
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
@@ -794,7 +794,7 @@ module Google
|
|
794
794
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
795
795
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
796
796
|
def update_channel_section(part, channel_section_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
797
|
-
command =
|
797
|
+
command = make_simple_command(:put, 'channelSections', options)
|
798
798
|
command.request_representation = Google::Apis::YoutubeV3::ChannelSection::Representation
|
799
799
|
command.request_object = channel_section_object
|
800
800
|
command.response_representation = Google::Apis::YoutubeV3::ChannelSection::Representation
|
@@ -879,7 +879,7 @@ module Google
|
|
879
879
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
880
880
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
881
881
|
def list_channels(part, category_id: nil, for_username: nil, hl: nil, id: nil, managed_by_me: nil, max_results: nil, mine: nil, my_subscribers: nil, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
882
|
-
command =
|
882
|
+
command = make_simple_command(:get, 'channels', options)
|
883
883
|
command.response_representation = Google::Apis::YoutubeV3::ListChannelsResponse::Representation
|
884
884
|
command.response_class = Google::Apis::YoutubeV3::ListChannelsResponse
|
885
885
|
command.query['categoryId'] = category_id unless category_id.nil?
|
@@ -941,7 +941,7 @@ module Google
|
|
941
941
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
942
942
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
943
943
|
def update_channel(part, channel_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
944
|
-
command =
|
944
|
+
command = make_simple_command(:put, 'channels', options)
|
945
945
|
command.request_representation = Google::Apis::YoutubeV3::Channel::Representation
|
946
946
|
command.request_object = channel_object
|
947
947
|
command.response_representation = Google::Apis::YoutubeV3::Channel::Representation
|
@@ -981,7 +981,7 @@ module Google
|
|
981
981
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
982
982
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
983
983
|
def insert_comment_thread(part, comment_thread_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
984
|
-
command =
|
984
|
+
command = make_simple_command(:post, 'commentThreads', options)
|
985
985
|
command.request_representation = Google::Apis::YoutubeV3::CommentThread::Representation
|
986
986
|
command.request_object = comment_thread_object
|
987
987
|
command.response_representation = Google::Apis::YoutubeV3::CommentThread::Representation
|
@@ -1061,7 +1061,7 @@ module Google
|
|
1061
1061
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1062
1062
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1063
1063
|
def list_comment_threads(part, all_threads_related_to_channel_id: nil, channel_id: nil, id: nil, max_results: nil, moderation_status: nil, order: nil, page_token: nil, search_terms: nil, text_format: nil, video_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1064
|
-
command =
|
1064
|
+
command = make_simple_command(:get, 'commentThreads', options)
|
1065
1065
|
command.response_representation = Google::Apis::YoutubeV3::ListCommentThreadsResponse::Representation
|
1066
1066
|
command.response_class = Google::Apis::YoutubeV3::ListCommentThreadsResponse
|
1067
1067
|
command.query['allThreadsRelatedToChannelId'] = all_threads_related_to_channel_id unless all_threads_related_to_channel_id.nil?
|
@@ -1108,7 +1108,7 @@ module Google
|
|
1108
1108
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1109
1109
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1110
1110
|
def update_comment_thread(part, comment_thread_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1111
|
-
command =
|
1111
|
+
command = make_simple_command(:put, 'commentThreads', options)
|
1112
1112
|
command.request_representation = Google::Apis::YoutubeV3::CommentThread::Representation
|
1113
1113
|
command.request_object = comment_thread_object
|
1114
1114
|
command.response_representation = Google::Apis::YoutubeV3::CommentThread::Representation
|
@@ -1144,7 +1144,7 @@ module Google
|
|
1144
1144
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1145
1145
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1146
1146
|
def delete_comment(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1147
|
-
command =
|
1147
|
+
command = make_simple_command(:delete, 'comments', options)
|
1148
1148
|
command.query['id'] = id unless id.nil?
|
1149
1149
|
command.query['fields'] = fields unless fields.nil?
|
1150
1150
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1179,7 +1179,7 @@ module Google
|
|
1179
1179
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1180
1180
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1181
1181
|
def insert_comment(part, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1182
|
-
command =
|
1182
|
+
command = make_simple_command(:post, 'comments', options)
|
1183
1183
|
command.request_representation = Google::Apis::YoutubeV3::Comment::Representation
|
1184
1184
|
command.request_object = comment_object
|
1185
1185
|
command.response_representation = Google::Apis::YoutubeV3::Comment::Representation
|
@@ -1238,7 +1238,7 @@ module Google
|
|
1238
1238
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1239
1239
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1240
1240
|
def list_comments(part, id: nil, max_results: nil, page_token: nil, parent_id: nil, text_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1241
|
-
command =
|
1241
|
+
command = make_simple_command(:get, 'comments', options)
|
1242
1242
|
command.response_representation = Google::Apis::YoutubeV3::ListCommentsResponse::Representation
|
1243
1243
|
command.response_class = Google::Apis::YoutubeV3::ListCommentsResponse
|
1244
1244
|
command.query['id'] = id unless id.nil?
|
@@ -1278,7 +1278,7 @@ module Google
|
|
1278
1278
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1279
1279
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1280
1280
|
def mark_comment_as_spam(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1281
|
-
command =
|
1281
|
+
command = make_simple_command(:post, 'comments/markAsSpam', options)
|
1282
1282
|
command.query['id'] = id unless id.nil?
|
1283
1283
|
command.query['fields'] = fields unless fields.nil?
|
1284
1284
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1319,7 +1319,7 @@ module Google
|
|
1319
1319
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1320
1320
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1321
1321
|
def set_comment_moderation_status(id, moderation_status, ban_author: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1322
|
-
command =
|
1322
|
+
command = make_simple_command(:post, 'comments/setModerationStatus', options)
|
1323
1323
|
command.query['banAuthor'] = ban_author unless ban_author.nil?
|
1324
1324
|
command.query['id'] = id unless id.nil?
|
1325
1325
|
command.query['moderationStatus'] = moderation_status unless moderation_status.nil?
|
@@ -1355,7 +1355,7 @@ module Google
|
|
1355
1355
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1356
1356
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1357
1357
|
def update_comment(part, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1358
|
-
command =
|
1358
|
+
command = make_simple_command(:put, 'comments', options)
|
1359
1359
|
command.request_representation = Google::Apis::YoutubeV3::Comment::Representation
|
1360
1360
|
command.request_object = comment_object
|
1361
1361
|
command.response_representation = Google::Apis::YoutubeV3::Comment::Representation
|
@@ -1403,7 +1403,7 @@ module Google
|
|
1403
1403
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1404
1404
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1405
1405
|
def list_guide_categories(part, hl: nil, id: nil, region_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1406
|
-
command =
|
1406
|
+
command = make_simple_command(:get, 'guideCategories', options)
|
1407
1407
|
command.response_representation = Google::Apis::YoutubeV3::ListGuideCategoriesResponse::Representation
|
1408
1408
|
command.response_class = Google::Apis::YoutubeV3::ListGuideCategoriesResponse
|
1409
1409
|
command.query['hl'] = hl unless hl.nil?
|
@@ -1443,7 +1443,7 @@ module Google
|
|
1443
1443
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1444
1444
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1445
1445
|
def list_i18n_languages(part, hl: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1446
|
-
command =
|
1446
|
+
command = make_simple_command(:get, 'i18nLanguages', options)
|
1447
1447
|
command.response_representation = Google::Apis::YoutubeV3::ListI18nLanguagesResponse::Representation
|
1448
1448
|
command.response_class = Google::Apis::YoutubeV3::ListI18nLanguagesResponse
|
1449
1449
|
command.query['hl'] = hl unless hl.nil?
|
@@ -1481,7 +1481,7 @@ module Google
|
|
1481
1481
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1482
1482
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1483
1483
|
def list_i18n_regions(part, hl: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1484
|
-
command =
|
1484
|
+
command = make_simple_command(:get, 'i18nRegions', options)
|
1485
1485
|
command.response_representation = Google::Apis::YoutubeV3::ListI18nRegionsResponse::Representation
|
1486
1486
|
command.response_class = Google::Apis::YoutubeV3::ListI18nRegionsResponse
|
1487
1487
|
command.query['hl'] = hl unless hl.nil?
|
@@ -1553,7 +1553,7 @@ module Google
|
|
1553
1553
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1554
1554
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1555
1555
|
def bind_live_broadcast(id, part, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, stream_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1556
|
-
command =
|
1556
|
+
command = make_simple_command(:post, 'liveBroadcasts/bind', options)
|
1557
1557
|
command.response_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
|
1558
1558
|
command.response_class = Google::Apis::YoutubeV3::LiveBroadcast
|
1559
1559
|
command.query['id'] = id unless id.nil?
|
@@ -1641,7 +1641,7 @@ module Google
|
|
1641
1641
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1642
1642
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1643
1643
|
def control_live_broadcast(id, part, display_slate: nil, offset_time_ms: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, walltime: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1644
|
-
command =
|
1644
|
+
command = make_simple_command(:post, 'liveBroadcasts/control', options)
|
1645
1645
|
command.response_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
|
1646
1646
|
command.response_class = Google::Apis::YoutubeV3::LiveBroadcast
|
1647
1647
|
command.query['displaySlate'] = display_slate unless display_slate.nil?
|
@@ -1707,7 +1707,7 @@ module Google
|
|
1707
1707
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1708
1708
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1709
1709
|
def delete_live_broadcast(id, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1710
|
-
command =
|
1710
|
+
command = make_simple_command(:delete, 'liveBroadcasts', options)
|
1711
1711
|
command.query['id'] = id unless id.nil?
|
1712
1712
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
1713
1713
|
command.query['onBehalfOfContentOwnerChannel'] = on_behalf_of_content_owner_channel unless on_behalf_of_content_owner_channel.nil?
|
@@ -1771,7 +1771,7 @@ module Google
|
|
1771
1771
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1772
1772
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1773
1773
|
def insert_live_broadcast(part, live_broadcast_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1774
|
-
command =
|
1774
|
+
command = make_simple_command(:post, 'liveBroadcasts', options)
|
1775
1775
|
command.request_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
|
1776
1776
|
command.request_object = live_broadcast_object
|
1777
1777
|
command.response_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
|
@@ -1859,7 +1859,7 @@ module Google
|
|
1859
1859
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1860
1860
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1861
1861
|
def list_live_broadcasts(part, broadcast_status: nil, broadcast_type: nil, id: nil, max_results: nil, mine: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1862
|
-
command =
|
1862
|
+
command = make_simple_command(:get, 'liveBroadcasts', options)
|
1863
1863
|
command.response_representation = Google::Apis::YoutubeV3::ListLiveBroadcastsResponse::Representation
|
1864
1864
|
command.response_class = Google::Apis::YoutubeV3::ListLiveBroadcastsResponse
|
1865
1865
|
command.query['broadcastStatus'] = broadcast_status unless broadcast_status.nil?
|
@@ -1942,7 +1942,7 @@ module Google
|
|
1942
1942
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1943
1943
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1944
1944
|
def transition_live_broadcast(broadcast_status, id, part, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1945
|
-
command =
|
1945
|
+
command = make_simple_command(:post, 'liveBroadcasts/transition', options)
|
1946
1946
|
command.response_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
|
1947
1947
|
command.response_class = Google::Apis::YoutubeV3::LiveBroadcast
|
1948
1948
|
command.query['broadcastStatus'] = broadcast_status unless broadcast_status.nil?
|
@@ -2019,7 +2019,7 @@ module Google
|
|
2019
2019
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2020
2020
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2021
2021
|
def update_live_broadcast(part, live_broadcast_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2022
|
-
command =
|
2022
|
+
command = make_simple_command(:put, 'liveBroadcasts', options)
|
2023
2023
|
command.request_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
|
2024
2024
|
command.request_object = live_broadcast_object
|
2025
2025
|
command.response_representation = Google::Apis::YoutubeV3::LiveBroadcast::Representation
|
@@ -2057,7 +2057,7 @@ module Google
|
|
2057
2057
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2058
2058
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2059
2059
|
def delete_live_chat_ban(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2060
|
-
command =
|
2060
|
+
command = make_simple_command(:delete, 'liveChat/bans', options)
|
2061
2061
|
command.query['id'] = id unless id.nil?
|
2062
2062
|
command.query['fields'] = fields unless fields.nil?
|
2063
2063
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2091,7 +2091,7 @@ module Google
|
|
2091
2091
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2092
2092
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2093
2093
|
def insert_live_chat_ban(part, live_chat_ban_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2094
|
-
command =
|
2094
|
+
command = make_simple_command(:post, 'liveChat/bans', options)
|
2095
2095
|
command.request_representation = Google::Apis::YoutubeV3::LiveChatBan::Representation
|
2096
2096
|
command.request_object = live_chat_ban_object
|
2097
2097
|
command.response_representation = Google::Apis::YoutubeV3::LiveChatBan::Representation
|
@@ -2127,7 +2127,7 @@ module Google
|
|
2127
2127
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2128
2128
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2129
2129
|
def delete_live_chat_message(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2130
|
-
command =
|
2130
|
+
command = make_simple_command(:delete, 'liveChat/messages', options)
|
2131
2131
|
command.query['id'] = id unless id.nil?
|
2132
2132
|
command.query['fields'] = fields unless fields.nil?
|
2133
2133
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2161,7 +2161,7 @@ module Google
|
|
2161
2161
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2162
2162
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2163
2163
|
def insert_live_chat_message(part, live_chat_message_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2164
|
-
command =
|
2164
|
+
command = make_simple_command(:post, 'liveChat/messages', options)
|
2165
2165
|
command.request_representation = Google::Apis::YoutubeV3::LiveChatMessage::Representation
|
2166
2166
|
command.request_object = live_chat_message_object
|
2167
2167
|
command.response_representation = Google::Apis::YoutubeV3::LiveChatMessage::Representation
|
@@ -2219,7 +2219,7 @@ module Google
|
|
2219
2219
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2220
2220
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2221
2221
|
def list_live_chat_messages(live_chat_id, part, hl: nil, max_results: nil, page_token: nil, profile_image_size: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2222
|
-
command =
|
2222
|
+
command = make_simple_command(:get, 'liveChat/messages', options)
|
2223
2223
|
command.response_representation = Google::Apis::YoutubeV3::LiveChatMessageListResponse::Representation
|
2224
2224
|
command.response_class = Google::Apis::YoutubeV3::LiveChatMessageListResponse
|
2225
2225
|
command.query['hl'] = hl unless hl.nil?
|
@@ -2258,7 +2258,7 @@ module Google
|
|
2258
2258
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2259
2259
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2260
2260
|
def delete_live_chat_moderator(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2261
|
-
command =
|
2261
|
+
command = make_simple_command(:delete, 'liveChat/moderators', options)
|
2262
2262
|
command.query['id'] = id unless id.nil?
|
2263
2263
|
command.query['fields'] = fields unless fields.nil?
|
2264
2264
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2292,7 +2292,7 @@ module Google
|
|
2292
2292
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2293
2293
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2294
2294
|
def insert_live_chat_moderator(part, live_chat_moderator_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2295
|
-
command =
|
2295
|
+
command = make_simple_command(:post, 'liveChat/moderators', options)
|
2296
2296
|
command.request_representation = Google::Apis::YoutubeV3::LiveChatModerator::Representation
|
2297
2297
|
command.request_object = live_chat_moderator_object
|
2298
2298
|
command.response_representation = Google::Apis::YoutubeV3::LiveChatModerator::Representation
|
@@ -2338,7 +2338,7 @@ module Google
|
|
2338
2338
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2339
2339
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2340
2340
|
def list_live_chat_moderators(live_chat_id, part, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2341
|
-
command =
|
2341
|
+
command = make_simple_command(:get, 'liveChat/moderators', options)
|
2342
2342
|
command.response_representation = Google::Apis::YoutubeV3::LiveChatModeratorListResponse::Representation
|
2343
2343
|
command.response_class = Google::Apis::YoutubeV3::LiveChatModeratorListResponse
|
2344
2344
|
command.query['liveChatId'] = live_chat_id unless live_chat_id.nil?
|
@@ -2401,7 +2401,7 @@ module Google
|
|
2401
2401
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2402
2402
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2403
2403
|
def delete_live_stream(id, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2404
|
-
command =
|
2404
|
+
command = make_simple_command(:delete, 'liveStreams', options)
|
2405
2405
|
command.query['id'] = id unless id.nil?
|
2406
2406
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
2407
2407
|
command.query['onBehalfOfContentOwnerChannel'] = on_behalf_of_content_owner_channel unless on_behalf_of_content_owner_channel.nil?
|
@@ -2466,7 +2466,7 @@ module Google
|
|
2466
2466
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2467
2467
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2468
2468
|
def insert_live_stream(part, live_stream_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2469
|
-
command =
|
2469
|
+
command = make_simple_command(:post, 'liveStreams', options)
|
2470
2470
|
command.request_representation = Google::Apis::YoutubeV3::LiveStream::Representation
|
2471
2471
|
command.request_object = live_stream_object
|
2472
2472
|
command.response_representation = Google::Apis::YoutubeV3::LiveStream::Representation
|
@@ -2546,7 +2546,7 @@ module Google
|
|
2546
2546
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2547
2547
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2548
2548
|
def list_live_streams(part, id: nil, max_results: nil, mine: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2549
|
-
command =
|
2549
|
+
command = make_simple_command(:get, 'liveStreams', options)
|
2550
2550
|
command.response_representation = Google::Apis::YoutubeV3::ListLiveStreamsResponse::Representation
|
2551
2551
|
command.response_class = Google::Apis::YoutubeV3::ListLiveStreamsResponse
|
2552
2552
|
command.query['id'] = id unless id.nil?
|
@@ -2621,7 +2621,7 @@ module Google
|
|
2621
2621
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2622
2622
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2623
2623
|
def update_live_stream(part, live_stream_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2624
|
-
command =
|
2624
|
+
command = make_simple_command(:put, 'liveStreams', options)
|
2625
2625
|
command.request_representation = Google::Apis::YoutubeV3::LiveStream::Representation
|
2626
2626
|
command.request_object = live_stream_object
|
2627
2627
|
command.response_representation = Google::Apis::YoutubeV3::LiveStream::Representation
|
@@ -2670,7 +2670,7 @@ module Google
|
|
2670
2670
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2671
2671
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2672
2672
|
def delete_playlist_item(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2673
|
-
command =
|
2673
|
+
command = make_simple_command(:delete, 'playlistItems', options)
|
2674
2674
|
command.query['id'] = id unless id.nil?
|
2675
2675
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
2676
2676
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2715,7 +2715,7 @@ module Google
|
|
2715
2715
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2716
2716
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2717
2717
|
def insert_playlist_item(part, playlist_item_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2718
|
-
command =
|
2718
|
+
command = make_simple_command(:post, 'playlistItems', options)
|
2719
2719
|
command.request_representation = Google::Apis::YoutubeV3::PlaylistItem::Representation
|
2720
2720
|
command.request_object = playlist_item_object
|
2721
2721
|
command.response_representation = Google::Apis::YoutubeV3::PlaylistItem::Representation
|
@@ -2788,7 +2788,7 @@ module Google
|
|
2788
2788
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2789
2789
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2790
2790
|
def list_playlist_items(part, id: nil, max_results: nil, on_behalf_of_content_owner: nil, page_token: nil, playlist_id: nil, video_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2791
|
-
command =
|
2791
|
+
command = make_simple_command(:get, 'playlistItems', options)
|
2792
2792
|
command.response_representation = Google::Apis::YoutubeV3::ListPlaylistItemsResponse::Representation
|
2793
2793
|
command.response_class = Google::Apis::YoutubeV3::ListPlaylistItemsResponse
|
2794
2794
|
command.query['id'] = id unless id.nil?
|
@@ -2851,7 +2851,7 @@ module Google
|
|
2851
2851
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2852
2852
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2853
2853
|
def update_playlist_item(part, playlist_item_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2854
|
-
command =
|
2854
|
+
command = make_simple_command(:put, 'playlistItems', options)
|
2855
2855
|
command.request_representation = Google::Apis::YoutubeV3::PlaylistItem::Representation
|
2856
2856
|
command.request_object = playlist_item_object
|
2857
2857
|
command.response_representation = Google::Apis::YoutubeV3::PlaylistItem::Representation
|
@@ -2899,7 +2899,7 @@ module Google
|
|
2899
2899
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2900
2900
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2901
2901
|
def delete_playlist(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2902
|
-
command =
|
2902
|
+
command = make_simple_command(:delete, 'playlists', options)
|
2903
2903
|
command.query['id'] = id unless id.nil?
|
2904
2904
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
2905
2905
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2960,7 +2960,7 @@ module Google
|
|
2960
2960
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2961
2961
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2962
2962
|
def insert_playlist(part, playlist_object = nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2963
|
-
command =
|
2963
|
+
command = make_simple_command(:post, 'playlists', options)
|
2964
2964
|
command.request_representation = Google::Apis::YoutubeV3::Playlist::Representation
|
2965
2965
|
command.request_object = playlist_object
|
2966
2966
|
command.response_representation = Google::Apis::YoutubeV3::Playlist::Representation
|
@@ -3051,7 +3051,7 @@ module Google
|
|
3051
3051
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3052
3052
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3053
3053
|
def list_playlists(part, channel_id: nil, hl: nil, id: nil, max_results: nil, mine: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3054
|
-
command =
|
3054
|
+
command = make_simple_command(:get, 'playlists', options)
|
3055
3055
|
command.response_representation = Google::Apis::YoutubeV3::ListPlaylistResponse::Representation
|
3056
3056
|
command.response_class = Google::Apis::YoutubeV3::ListPlaylistResponse
|
3057
3057
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
@@ -3112,7 +3112,7 @@ module Google
|
|
3112
3112
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3113
3113
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3114
3114
|
def update_playlist(part, playlist_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3115
|
-
command =
|
3115
|
+
command = make_simple_command(:put, 'playlists', options)
|
3116
3116
|
command.request_representation = Google::Apis::YoutubeV3::Playlist::Representation
|
3117
3117
|
command.request_object = playlist_object
|
3118
3118
|
command.response_representation = Google::Apis::YoutubeV3::Playlist::Representation
|
@@ -3302,7 +3302,7 @@ module Google
|
|
3302
3302
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3303
3303
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3304
3304
|
def list_searches(part, channel_id: nil, channel_type: nil, event_type: nil, for_content_owner: nil, for_developer: nil, for_mine: nil, location: nil, location_radius: nil, max_results: nil, on_behalf_of_content_owner: nil, order: nil, page_token: nil, published_after: nil, published_before: nil, q: nil, region_code: nil, related_to_video_id: nil, relevance_language: nil, safe_search: nil, topic_id: nil, type: nil, video_caption: nil, video_category_id: nil, video_definition: nil, video_dimension: nil, video_duration: nil, video_embeddable: nil, video_license: nil, video_syndicated: nil, video_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3305
|
-
command =
|
3305
|
+
command = make_simple_command(:get, 'search', options)
|
3306
3306
|
command.response_representation = Google::Apis::YoutubeV3::SearchListsResponse::Representation
|
3307
3307
|
command.response_class = Google::Apis::YoutubeV3::SearchListsResponse
|
3308
3308
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
@@ -3375,7 +3375,7 @@ module Google
|
|
3375
3375
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3376
3376
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3377
3377
|
def list_sponsors(part, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3378
|
-
command =
|
3378
|
+
command = make_simple_command(:get, 'sponsors', options)
|
3379
3379
|
command.response_representation = Google::Apis::YoutubeV3::SponsorListResponse::Representation
|
3380
3380
|
command.response_class = Google::Apis::YoutubeV3::SponsorListResponse
|
3381
3381
|
command.query['filter'] = filter unless filter.nil?
|
@@ -3413,7 +3413,7 @@ module Google
|
|
3413
3413
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3414
3414
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3415
3415
|
def delete_subscription(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3416
|
-
command =
|
3416
|
+
command = make_simple_command(:delete, 'subscriptions', options)
|
3417
3417
|
command.query['id'] = id unless id.nil?
|
3418
3418
|
command.query['fields'] = fields unless fields.nil?
|
3419
3419
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -3447,7 +3447,7 @@ module Google
|
|
3447
3447
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3448
3448
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3449
3449
|
def insert_subscription(part, subscription_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3450
|
-
command =
|
3450
|
+
command = make_simple_command(:post, 'subscriptions', options)
|
3451
3451
|
command.request_representation = Google::Apis::YoutubeV3::Subscription::Representation
|
3452
3452
|
command.request_object = subscription_object
|
3453
3453
|
command.response_representation = Google::Apis::YoutubeV3::Subscription::Representation
|
@@ -3543,7 +3543,7 @@ module Google
|
|
3543
3543
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3544
3544
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3545
3545
|
def list_subscriptions(part, channel_id: nil, for_channel_id: nil, id: nil, max_results: nil, mine: nil, my_recent_subscribers: nil, my_subscribers: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, order: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3546
|
-
command =
|
3546
|
+
command = make_simple_command(:get, 'subscriptions', options)
|
3547
3547
|
command.response_representation = Google::Apis::YoutubeV3::ListSubscriptionResponse::Representation
|
3548
3548
|
command.response_class = Google::Apis::YoutubeV3::ListSubscriptionResponse
|
3549
3549
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
@@ -3604,7 +3604,7 @@ module Google
|
|
3604
3604
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3605
3605
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3606
3606
|
def list_super_chat_events(part, hl: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3607
|
-
command =
|
3607
|
+
command = make_simple_command(:get, 'superChatEvents', options)
|
3608
3608
|
command.response_representation = Google::Apis::YoutubeV3::SuperChatEventListResponse::Representation
|
3609
3609
|
command.response_class = Google::Apis::YoutubeV3::SuperChatEventListResponse
|
3610
3610
|
command.query['hl'] = hl unless hl.nil?
|
@@ -3656,7 +3656,7 @@ module Google
|
|
3656
3656
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3657
3657
|
def set_thumbnail(video_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
3658
3658
|
if upload_source.nil?
|
3659
|
-
command =
|
3659
|
+
command = make_simple_command(:post, 'thumbnails/set', options)
|
3660
3660
|
else
|
3661
3661
|
command = make_upload_command(:post, 'thumbnails/set', options)
|
3662
3662
|
command.upload_source = upload_source
|
@@ -3699,7 +3699,7 @@ module Google
|
|
3699
3699
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3700
3700
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3701
3701
|
def list_video_abuse_report_reasons(part, hl: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3702
|
-
command =
|
3702
|
+
command = make_simple_command(:get, 'videoAbuseReportReasons', options)
|
3703
3703
|
command.response_representation = Google::Apis::YoutubeV3::ListVideoAbuseReportReasonResponse::Representation
|
3704
3704
|
command.response_class = Google::Apis::YoutubeV3::ListVideoAbuseReportReasonResponse
|
3705
3705
|
command.query['hl'] = hl unless hl.nil?
|
@@ -3744,7 +3744,7 @@ module Google
|
|
3744
3744
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3745
3745
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3746
3746
|
def list_video_categories(part, hl: nil, id: nil, region_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3747
|
-
command =
|
3747
|
+
command = make_simple_command(:get, 'videoCategories', options)
|
3748
3748
|
command.response_representation = Google::Apis::YoutubeV3::ListVideoCategoryResponse::Representation
|
3749
3749
|
command.response_class = Google::Apis::YoutubeV3::ListVideoCategoryResponse
|
3750
3750
|
command.query['hl'] = hl unless hl.nil?
|
@@ -3791,7 +3791,7 @@ module Google
|
|
3791
3791
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3792
3792
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3793
3793
|
def delete_video(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3794
|
-
command =
|
3794
|
+
command = make_simple_command(:delete, 'videos', options)
|
3795
3795
|
command.query['id'] = id unless id.nil?
|
3796
3796
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
3797
3797
|
command.query['fields'] = fields unless fields.nil?
|
@@ -3836,7 +3836,7 @@ module Google
|
|
3836
3836
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3837
3837
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3838
3838
|
def get_video_rating(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3839
|
-
command =
|
3839
|
+
command = make_simple_command(:get, 'videos/getRating', options)
|
3840
3840
|
command.response_representation = Google::Apis::YoutubeV3::GetVideoRatingResponse::Representation
|
3841
3841
|
command.response_class = Google::Apis::YoutubeV3::GetVideoRatingResponse
|
3842
3842
|
command.query['id'] = id unless id.nil?
|
@@ -3922,7 +3922,7 @@ module Google
|
|
3922
3922
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3923
3923
|
def insert_video(part, video_object = nil, auto_levels: nil, notify_subscribers: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, stabilize: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
3924
3924
|
if upload_source.nil?
|
3925
|
-
command =
|
3925
|
+
command = make_simple_command(:post, 'videos', options)
|
3926
3926
|
else
|
3927
3927
|
command = make_upload_command(:post, 'videos', options)
|
3928
3928
|
command.upload_source = upload_source
|
@@ -4033,7 +4033,7 @@ module Google
|
|
4033
4033
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4034
4034
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4035
4035
|
def list_videos(part, chart: nil, hl: nil, id: nil, locale: nil, max_height: nil, max_results: nil, max_width: nil, my_rating: nil, on_behalf_of_content_owner: nil, page_token: nil, region_code: nil, video_category_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4036
|
-
command =
|
4036
|
+
command = make_simple_command(:get, 'videos', options)
|
4037
4037
|
command.response_representation = Google::Apis::YoutubeV3::ListVideosResponse::Representation
|
4038
4038
|
command.response_class = Google::Apis::YoutubeV3::ListVideosResponse
|
4039
4039
|
command.query['chart'] = chart unless chart.nil?
|
@@ -4081,7 +4081,7 @@ module Google
|
|
4081
4081
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4082
4082
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4083
4083
|
def rate_video(id, rating, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4084
|
-
command =
|
4084
|
+
command = make_simple_command(:post, 'videos/rate', options)
|
4085
4085
|
command.query['id'] = id unless id.nil?
|
4086
4086
|
command.query['rating'] = rating unless rating.nil?
|
4087
4087
|
command.query['fields'] = fields unless fields.nil?
|
@@ -4122,7 +4122,7 @@ module Google
|
|
4122
4122
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4123
4123
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4124
4124
|
def report_video_abuse(video_abuse_report_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4125
|
-
command =
|
4125
|
+
command = make_simple_command(:post, 'videos/reportAbuse', options)
|
4126
4126
|
command.request_representation = Google::Apis::YoutubeV3::VideoAbuseReport::Representation
|
4127
4127
|
command.request_object = video_abuse_report_object
|
4128
4128
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
@@ -4182,7 +4182,7 @@ module Google
|
|
4182
4182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4183
4183
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4184
4184
|
def update_video(part, video_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4185
|
-
command =
|
4185
|
+
command = make_simple_command(:put, 'videos', options)
|
4186
4186
|
command.request_representation = Google::Apis::YoutubeV3::Video::Representation
|
4187
4187
|
command.request_object = video_object
|
4188
4188
|
command.response_representation = Google::Apis::YoutubeV3::Video::Representation
|
@@ -4235,7 +4235,7 @@ module Google
|
|
4235
4235
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4236
4236
|
def set_watermark(channel_id, invideo_branding_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
4237
4237
|
if upload_source.nil?
|
4238
|
-
command =
|
4238
|
+
command = make_simple_command(:post, 'watermarks/set', options)
|
4239
4239
|
else
|
4240
4240
|
command = make_upload_command(:post, 'watermarks/set', options)
|
4241
4241
|
command.upload_source = upload_source
|
@@ -4285,7 +4285,7 @@ module Google
|
|
4285
4285
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4286
4286
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4287
4287
|
def unset_watermark(channel_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4288
|
-
command =
|
4288
|
+
command = make_simple_command(:post, 'watermarks/unset', options)
|
4289
4289
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
4290
4290
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
4291
4291
|
command.query['fields'] = fields unless fields.nil?
|