google-api-client 0.29.0 → 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/CHANGELOG.md +122 -0
- data/README.md +1 -1
- 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 +27 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- 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 +0 -69
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
- 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/service.rb +113 -113
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- 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/service.rb +8 -8
- 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/service.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- 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/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
- 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 +58 -58
- data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +38 -38
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- 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 +2 -2
- data/generated/google/apis/appengine_v1beta/service.rb +38 -38
- 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 +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 +53 -33
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2/service.rb +26 -26
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
- data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
- 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 +45 -45
- 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/service.rb +57 -56
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/service.rb +3 -3
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
- data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- 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/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
- 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 +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
- data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
- 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/service.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/compute_alpha/classes.rb +29 -0
- data/generated/google/apis/compute_alpha/representations.rb +15 -0
- data/generated/google/apis/compute_alpha/service.rb +625 -623
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +63 -63
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -4
- data/generated/google/apis/container_v1beta1/representations.rb +20 -0
- data/generated/google/apis/container_v1beta1/service.rb +64 -64
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
- 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/service.rb +24 -24
- data/generated/google/apis/content_v2/classes.rb +9 -3
- data/generated/google/apis/content_v2/service.rb +101 -105
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -3
- data/generated/google/apis/content_v2_1/service.rb +89 -93
- 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 +22 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- 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 +2 -2
- data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- 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/service.rb +2 -2
- 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/service.rb +204 -204
- data/generated/google/apis/dialogflow_v2/classes.rb +8 -8
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
- 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 +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- 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 +137 -0
- data/generated/google/apis/docs_v1/representations.rb +57 -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/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +10 -21
- data/generated/google/apis/drive_v2/service.rb +152 -100
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -20
- data/generated/google/apis/drive_v3/service.rb +100 -64
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
- 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 +52 -1
- data/generated/google/apis/file_v1/representations.rb +16 -0
- data/generated/google/apis/file_v1/service.rb +11 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +52 -1
- data/generated/google/apis/file_v1beta1/representations.rb +16 -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/service.rb +5 -5
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebaserules_v1/service.rb +11 -11
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/fitness_v1/service.rb +13 -13
- 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_v1/service.rb +53 -53
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +68 -68
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- 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 +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +48 -0
- data/generated/google/apis/iam_v1/representations.rb +28 -0
- data/generated/google/apis/iam_v1/service.rb +59 -42
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- 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/service.rb +17 -17
- data/generated/google/apis/jobs_v3/service.rb +15 -15
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- 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/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- 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 +6 -0
- 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 +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -1
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +36 -36
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/service.rb +3 -3
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oslogin_v1/service.rb +6 -6
- data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
- data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
- 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/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +10 -10
- data/generated/google/apis/plus_v1/service.rb +9 -9
- data/generated/google/apis/poly_v1/service.rb +4 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- 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/service.rb +20 -20
- data/generated/google/apis/redis_v1/service.rb +19 -19
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/service.rb +17 -17
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
- data/generated/google/apis/run_v1alpha1/service.rb +446 -38
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- 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 +1 -1
- 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 -0
- data/generated/google/apis/script_v1/representations.rb +79 -0
- 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 +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +14 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -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 +40 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +14 -60
- 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 +14 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -29
- 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 +14 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -29
- 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/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/service.rb +5 -5
- data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
- data/generated/google/apis/spanner_v1/classes.rb +51 -9
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +7 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -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 +2 -2
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1/service.rb +52 -52
- 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 +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
- 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 -49
- data/generated/google/apis/tagmanager_v2/service.rb +74 -74
- data/generated/google/apis/tasks_v1/service.rb +14 -14
- data/generated/google/apis/testing_v1/classes.rb +25 -12
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- 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_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +1 -1
- 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 +1 -1
- 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/service.rb +28 -28
- data/generated/google/apis/videointelligence_v1/service.rb +5 -5
- data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2372 -73
- data/generated/google/apis/vision_v1/representations.rb +1643 -651
- data/generated/google/apis/vision_v1/service.rb +98 -35
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
- 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 +2371 -52
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
- 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/service.rb +9 -9
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- 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/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/service.rb +8 -8
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +13 -6
- data/samples/web/.env +0 -2
@@ -77,7 +77,7 @@ module Google
|
|
77
77
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
78
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
79
|
def insert_asset_label(asset_label_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
80
|
-
command =
|
80
|
+
command = make_simple_command(:post, 'assetLabels', options)
|
81
81
|
command.request_representation = Google::Apis::YoutubePartnerV1::AssetLabel::Representation
|
82
82
|
command.request_object = asset_label_object
|
83
83
|
command.response_representation = Google::Apis::YoutubePartnerV1::AssetLabel::Representation
|
@@ -119,7 +119,7 @@ module Google
|
|
119
119
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
120
120
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
121
121
|
def list_asset_labels(label_prefix: nil, on_behalf_of_content_owner: nil, q: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
122
|
-
command =
|
122
|
+
command = make_simple_command(:get, 'assetLabels', options)
|
123
123
|
command.response_representation = Google::Apis::YoutubePartnerV1::AssetLabelListResponse::Representation
|
124
124
|
command.response_class = Google::Apis::YoutubePartnerV1::AssetLabelListResponse
|
125
125
|
command.query['labelPrefix'] = label_prefix unless label_prefix.nil?
|
@@ -161,7 +161,7 @@ module Google
|
|
161
161
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
162
162
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
163
163
|
def get_asset_match_policy(asset_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
164
|
-
command =
|
164
|
+
command = make_simple_command(:get, 'assets/{assetId}/matchPolicy', options)
|
165
165
|
command.response_representation = Google::Apis::YoutubePartnerV1::AssetMatchPolicy::Representation
|
166
166
|
command.response_class = Google::Apis::YoutubePartnerV1::AssetMatchPolicy
|
167
167
|
command.params['assetId'] = asset_id unless asset_id.nil?
|
@@ -204,7 +204,7 @@ module Google
|
|
204
204
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
205
205
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
206
206
|
def patch_asset_match_policy(asset_id, asset_match_policy_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
207
|
-
command =
|
207
|
+
command = make_simple_command(:patch, 'assets/{assetId}/matchPolicy', options)
|
208
208
|
command.request_representation = Google::Apis::YoutubePartnerV1::AssetMatchPolicy::Representation
|
209
209
|
command.request_object = asset_match_policy_object
|
210
210
|
command.response_representation = Google::Apis::YoutubePartnerV1::AssetMatchPolicy::Representation
|
@@ -249,7 +249,7 @@ module Google
|
|
249
249
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
250
250
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
251
251
|
def update_asset_match_policy(asset_id, asset_match_policy_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
252
|
-
command =
|
252
|
+
command = make_simple_command(:put, 'assets/{assetId}/matchPolicy', options)
|
253
253
|
command.request_representation = Google::Apis::YoutubePartnerV1::AssetMatchPolicy::Representation
|
254
254
|
command.request_object = asset_match_policy_object
|
255
255
|
command.response_representation = Google::Apis::YoutubePartnerV1::AssetMatchPolicy::Representation
|
@@ -290,7 +290,7 @@ module Google
|
|
290
290
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
291
291
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
292
292
|
def delete_asset_relationship(asset_relationship_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
293
|
-
command =
|
293
|
+
command = make_simple_command(:delete, 'assetRelationships/{assetRelationshipId}', options)
|
294
294
|
command.params['assetRelationshipId'] = asset_relationship_id unless asset_relationship_id.nil?
|
295
295
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
296
296
|
command.query['fields'] = fields unless fields.nil?
|
@@ -325,7 +325,7 @@ module Google
|
|
325
325
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
326
326
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
327
327
|
def insert_asset_relationship(asset_relationship_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
328
|
-
command =
|
328
|
+
command = make_simple_command(:post, 'assetRelationships', options)
|
329
329
|
command.request_representation = Google::Apis::YoutubePartnerV1::AssetRelationship::Representation
|
330
330
|
command.request_object = asset_relationship_object
|
331
331
|
command.response_representation = Google::Apis::YoutubePartnerV1::AssetRelationship::Representation
|
@@ -371,7 +371,7 @@ module Google
|
|
371
371
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
372
372
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
373
373
|
def list_asset_relationships(asset_id, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
374
|
-
command =
|
374
|
+
command = make_simple_command(:get, 'assetRelationships', options)
|
375
375
|
command.response_representation = Google::Apis::YoutubePartnerV1::AssetRelationshipListResponse::Representation
|
376
376
|
command.response_class = Google::Apis::YoutubePartnerV1::AssetRelationshipListResponse
|
377
377
|
command.query['assetId'] = asset_id unless asset_id.nil?
|
@@ -458,7 +458,7 @@ module Google
|
|
458
458
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
459
459
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
460
460
|
def list_asset_searches(created_after: nil, created_before: nil, has_conflicts: nil, include_any_providedlabel: nil, isrcs: nil, labels: nil, metadata_search_fields: nil, on_behalf_of_content_owner: nil, ownership_restriction: nil, page_token: nil, q: nil, sort: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
461
|
-
command =
|
461
|
+
command = make_simple_command(:get, 'assetSearch', options)
|
462
462
|
command.response_representation = Google::Apis::YoutubePartnerV1::AssetSearchResponse::Representation
|
463
463
|
command.response_class = Google::Apis::YoutubePartnerV1::AssetSearchResponse
|
464
464
|
command.query['createdAfter'] = created_after unless created_after.nil?
|
@@ -518,7 +518,7 @@ module Google
|
|
518
518
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
519
519
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
520
520
|
def list_asset_shares(asset_id, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
521
|
-
command =
|
521
|
+
command = make_simple_command(:get, 'assetShares', options)
|
522
522
|
command.response_representation = Google::Apis::YoutubePartnerV1::AssetShareListResponse::Representation
|
523
523
|
command.response_class = Google::Apis::YoutubePartnerV1::AssetShareListResponse
|
524
524
|
command.query['assetId'] = asset_id unless asset_id.nil?
|
@@ -576,7 +576,7 @@ module Google
|
|
576
576
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
577
577
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
578
578
|
def get_asset(asset_id, fetch_match_policy: nil, fetch_metadata: nil, fetch_ownership: nil, fetch_ownership_conflicts: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
579
|
-
command =
|
579
|
+
command = make_simple_command(:get, 'assets/{assetId}', options)
|
580
580
|
command.response_representation = Google::Apis::YoutubePartnerV1::Asset::Representation
|
581
581
|
command.response_class = Google::Apis::YoutubePartnerV1::Asset
|
582
582
|
command.params['assetId'] = asset_id unless asset_id.nil?
|
@@ -618,7 +618,7 @@ module Google
|
|
618
618
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
619
619
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
620
620
|
def insert_asset(asset_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
621
|
-
command =
|
621
|
+
command = make_simple_command(:post, 'assets', options)
|
622
622
|
command.request_representation = Google::Apis::YoutubePartnerV1::Asset::Representation
|
623
623
|
command.request_object = asset_object
|
624
624
|
command.response_representation = Google::Apis::YoutubePartnerV1::Asset::Representation
|
@@ -684,7 +684,7 @@ module Google
|
|
684
684
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
685
685
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
686
686
|
def list_assets(id, fetch_match_policy: nil, fetch_metadata: nil, fetch_ownership: nil, fetch_ownership_conflicts: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
687
|
-
command =
|
687
|
+
command = make_simple_command(:get, 'assets', options)
|
688
688
|
command.response_representation = Google::Apis::YoutubePartnerV1::AssetListResponse::Representation
|
689
689
|
command.response_class = Google::Apis::YoutubePartnerV1::AssetListResponse
|
690
690
|
command.query['fetchMatchPolicy'] = fetch_match_policy unless fetch_match_policy.nil?
|
@@ -729,7 +729,7 @@ module Google
|
|
729
729
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
730
730
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
731
731
|
def patch_asset(asset_id, asset_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
732
|
-
command =
|
732
|
+
command = make_simple_command(:patch, 'assets/{assetId}', options)
|
733
733
|
command.request_representation = Google::Apis::YoutubePartnerV1::Asset::Representation
|
734
734
|
command.request_object = asset_object
|
735
735
|
command.response_representation = Google::Apis::YoutubePartnerV1::Asset::Representation
|
@@ -771,7 +771,7 @@ module Google
|
|
771
771
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
772
772
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
773
773
|
def update_asset(asset_id, asset_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
774
|
-
command =
|
774
|
+
command = make_simple_command(:put, 'assets/{assetId}', options)
|
775
775
|
command.request_representation = Google::Apis::YoutubePartnerV1::Asset::Representation
|
776
776
|
command.request_object = asset_object
|
777
777
|
command.response_representation = Google::Apis::YoutubePartnerV1::Asset::Representation
|
@@ -812,7 +812,7 @@ module Google
|
|
812
812
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
813
813
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
814
814
|
def delete_campaign(campaign_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
815
|
-
command =
|
815
|
+
command = make_simple_command(:delete, 'campaigns/{campaignId}', options)
|
816
816
|
command.params['campaignId'] = campaign_id unless campaign_id.nil?
|
817
817
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
818
818
|
command.query['fields'] = fields unless fields.nil?
|
@@ -849,7 +849,7 @@ module Google
|
|
849
849
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
850
850
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
851
851
|
def get_campaign(campaign_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
852
|
-
command =
|
852
|
+
command = make_simple_command(:get, 'campaigns/{campaignId}', options)
|
853
853
|
command.response_representation = Google::Apis::YoutubePartnerV1::Campaign::Representation
|
854
854
|
command.response_class = Google::Apis::YoutubePartnerV1::Campaign
|
855
855
|
command.params['campaignId'] = campaign_id unless campaign_id.nil?
|
@@ -886,7 +886,7 @@ module Google
|
|
886
886
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
887
887
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
888
888
|
def insert_campaign(campaign_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
889
|
-
command =
|
889
|
+
command = make_simple_command(:post, 'campaigns', options)
|
890
890
|
command.request_representation = Google::Apis::YoutubePartnerV1::Campaign::Representation
|
891
891
|
command.request_object = campaign_object
|
892
892
|
command.response_representation = Google::Apis::YoutubePartnerV1::Campaign::Representation
|
@@ -928,7 +928,7 @@ module Google
|
|
928
928
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
929
929
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
930
930
|
def list_campaigns(on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
931
|
-
command =
|
931
|
+
command = make_simple_command(:get, 'campaigns', options)
|
932
932
|
command.response_representation = Google::Apis::YoutubePartnerV1::CampaignList::Representation
|
933
933
|
command.response_class = Google::Apis::YoutubePartnerV1::CampaignList
|
934
934
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
@@ -968,7 +968,7 @@ module Google
|
|
968
968
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
969
969
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
970
970
|
def patch_campaign(campaign_id, campaign_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
971
|
-
command =
|
971
|
+
command = make_simple_command(:patch, 'campaigns/{campaignId}', options)
|
972
972
|
command.request_representation = Google::Apis::YoutubePartnerV1::Campaign::Representation
|
973
973
|
command.request_object = campaign_object
|
974
974
|
command.response_representation = Google::Apis::YoutubePartnerV1::Campaign::Representation
|
@@ -1010,7 +1010,7 @@ module Google
|
|
1010
1010
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1011
1011
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1012
1012
|
def update_campaign(campaign_id, campaign_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1013
|
-
command =
|
1013
|
+
command = make_simple_command(:put, 'campaigns/{campaignId}', options)
|
1014
1014
|
command.request_representation = Google::Apis::YoutubePartnerV1::Campaign::Representation
|
1015
1015
|
command.request_object = campaign_object
|
1016
1016
|
command.response_representation = Google::Apis::YoutubePartnerV1::Campaign::Representation
|
@@ -1051,7 +1051,7 @@ module Google
|
|
1051
1051
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1052
1052
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1053
1053
|
def get_claim_history(claim_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1054
|
-
command =
|
1054
|
+
command = make_simple_command(:get, 'claimHistory/{claimId}', options)
|
1055
1055
|
command.response_representation = Google::Apis::YoutubePartnerV1::ClaimHistory::Representation
|
1056
1056
|
command.response_class = Google::Apis::YoutubePartnerV1::ClaimHistory
|
1057
1057
|
command.params['claimId'] = claim_id unless claim_id.nil?
|
@@ -1148,7 +1148,7 @@ module Google
|
|
1148
1148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1149
1149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1150
1150
|
def list_claim_searches(asset_id: nil, content_type: nil, created_after: nil, created_before: nil, inactive_reasons: nil, include_third_party_claims: nil, on_behalf_of_content_owner: nil, origin: nil, page_token: nil, partner_uploaded: nil, q: nil, reference_id: nil, sort: nil, status: nil, status_modified_after: nil, status_modified_before: nil, video_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1151
|
-
command =
|
1151
|
+
command = make_simple_command(:get, 'claimSearch', options)
|
1152
1152
|
command.response_representation = Google::Apis::YoutubePartnerV1::ClaimSearchResponse::Representation
|
1153
1153
|
command.response_class = Google::Apis::YoutubePartnerV1::ClaimSearchResponse
|
1154
1154
|
command.query['assetId'] = asset_id unless asset_id.nil?
|
@@ -1201,7 +1201,7 @@ module Google
|
|
1201
1201
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1202
1202
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1203
1203
|
def get_claim(claim_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1204
|
-
command =
|
1204
|
+
command = make_simple_command(:get, 'claims/{claimId}', options)
|
1205
1205
|
command.response_representation = Google::Apis::YoutubePartnerV1::Claim::Representation
|
1206
1206
|
command.response_class = Google::Apis::YoutubePartnerV1::Claim
|
1207
1207
|
command.params['claimId'] = claim_id unless claim_id.nil?
|
@@ -1245,7 +1245,7 @@ module Google
|
|
1245
1245
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1246
1246
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1247
1247
|
def insert_claim(claim_object = nil, is_manual_claim: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1248
|
-
command =
|
1248
|
+
command = make_simple_command(:post, 'claims', options)
|
1249
1249
|
command.request_representation = Google::Apis::YoutubePartnerV1::Claim::Representation
|
1250
1250
|
command.request_object = claim_object
|
1251
1251
|
command.response_representation = Google::Apis::YoutubePartnerV1::Claim::Representation
|
@@ -1308,7 +1308,7 @@ module Google
|
|
1308
1308
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1309
1309
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1310
1310
|
def list_claims(asset_id: nil, id: nil, on_behalf_of_content_owner: nil, page_token: nil, q: nil, video_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1311
|
-
command =
|
1311
|
+
command = make_simple_command(:get, 'claims', options)
|
1312
1312
|
command.response_representation = Google::Apis::YoutubePartnerV1::ClaimListResponse::Representation
|
1313
1313
|
command.response_class = Google::Apis::YoutubePartnerV1::ClaimListResponse
|
1314
1314
|
command.query['assetId'] = asset_id unless asset_id.nil?
|
@@ -1353,7 +1353,7 @@ module Google
|
|
1353
1353
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1354
1354
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1355
1355
|
def patch_claim(claim_id, claim_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1356
|
-
command =
|
1356
|
+
command = make_simple_command(:patch, 'claims/{claimId}', options)
|
1357
1357
|
command.request_representation = Google::Apis::YoutubePartnerV1::Claim::Representation
|
1358
1358
|
command.request_object = claim_object
|
1359
1359
|
command.response_representation = Google::Apis::YoutubePartnerV1::Claim::Representation
|
@@ -1396,7 +1396,7 @@ module Google
|
|
1396
1396
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1397
1397
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1398
1398
|
def update_claim(claim_id, claim_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1399
|
-
command =
|
1399
|
+
command = make_simple_command(:put, 'claims/{claimId}', options)
|
1400
1400
|
command.request_representation = Google::Apis::YoutubePartnerV1::Claim::Representation
|
1401
1401
|
command.request_object = claim_object
|
1402
1402
|
command.response_representation = Google::Apis::YoutubePartnerV1::Claim::Representation
|
@@ -1435,7 +1435,7 @@ module Google
|
|
1435
1435
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1436
1436
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1437
1437
|
def get_content_owner_advertising_option(on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1438
|
-
command =
|
1438
|
+
command = make_simple_command(:get, 'contentOwnerAdvertisingOptions', options)
|
1439
1439
|
command.response_representation = Google::Apis::YoutubePartnerV1::ContentOwnerAdvertisingOption::Representation
|
1440
1440
|
command.response_class = Google::Apis::YoutubePartnerV1::ContentOwnerAdvertisingOption
|
1441
1441
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
@@ -1472,7 +1472,7 @@ module Google
|
|
1472
1472
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1473
1473
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1474
1474
|
def patch_content_owner_advertising_option(content_owner_advertising_option_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1475
|
-
command =
|
1475
|
+
command = make_simple_command(:patch, 'contentOwnerAdvertisingOptions', options)
|
1476
1476
|
command.request_representation = Google::Apis::YoutubePartnerV1::ContentOwnerAdvertisingOption::Representation
|
1477
1477
|
command.request_object = content_owner_advertising_option_object
|
1478
1478
|
command.response_representation = Google::Apis::YoutubePartnerV1::ContentOwnerAdvertisingOption::Representation
|
@@ -1511,7 +1511,7 @@ module Google
|
|
1511
1511
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1512
1512
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1513
1513
|
def update_content_owner_advertising_option(content_owner_advertising_option_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1514
|
-
command =
|
1514
|
+
command = make_simple_command(:put, 'contentOwnerAdvertisingOptions', options)
|
1515
1515
|
command.request_representation = Google::Apis::YoutubePartnerV1::ContentOwnerAdvertisingOption::Representation
|
1516
1516
|
command.request_object = content_owner_advertising_option_object
|
1517
1517
|
command.response_representation = Google::Apis::YoutubePartnerV1::ContentOwnerAdvertisingOption::Representation
|
@@ -1551,7 +1551,7 @@ module Google
|
|
1551
1551
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1552
1552
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1553
1553
|
def get_content_owner(content_owner_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1554
|
-
command =
|
1554
|
+
command = make_simple_command(:get, 'contentOwners/{contentOwnerId}', options)
|
1555
1555
|
command.response_representation = Google::Apis::YoutubePartnerV1::ContentOwner::Representation
|
1556
1556
|
command.response_class = Google::Apis::YoutubePartnerV1::ContentOwner
|
1557
1557
|
command.params['contentOwnerId'] = content_owner_id unless content_owner_id.nil?
|
@@ -1593,7 +1593,7 @@ module Google
|
|
1593
1593
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1594
1594
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1595
1595
|
def list_content_owners(fetch_mine: nil, id: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1596
|
-
command =
|
1596
|
+
command = make_simple_command(:get, 'contentOwners', options)
|
1597
1597
|
command.response_representation = Google::Apis::YoutubePartnerV1::ContentOwnerListResponse::Representation
|
1598
1598
|
command.response_class = Google::Apis::YoutubePartnerV1::ContentOwnerListResponse
|
1599
1599
|
command.query['fetchMine'] = fetch_mine unless fetch_mine.nil?
|
@@ -1636,7 +1636,7 @@ module Google
|
|
1636
1636
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1637
1637
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1638
1638
|
def insert_live_cuepoint(channel_id, live_cuepoint_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1639
|
-
command =
|
1639
|
+
command = make_simple_command(:post, 'liveCuepoints', options)
|
1640
1640
|
command.request_representation = Google::Apis::YoutubePartnerV1::LiveCuepoint::Representation
|
1641
1641
|
command.request_object = live_cuepoint_object
|
1642
1642
|
command.response_representation = Google::Apis::YoutubePartnerV1::LiveCuepoint::Representation
|
@@ -1678,7 +1678,7 @@ module Google
|
|
1678
1678
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1679
1679
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1680
1680
|
def list_metadata_histories(asset_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1681
|
-
command =
|
1681
|
+
command = make_simple_command(:get, 'metadataHistory', options)
|
1682
1682
|
command.response_representation = Google::Apis::YoutubePartnerV1::MetadataHistoryListResponse::Representation
|
1683
1683
|
command.response_class = Google::Apis::YoutubePartnerV1::MetadataHistoryListResponse
|
1684
1684
|
command.query['assetId'] = asset_id unless asset_id.nil?
|
@@ -1715,7 +1715,7 @@ module Google
|
|
1715
1715
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1716
1716
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1717
1717
|
def delete_order(order_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1718
|
-
command =
|
1718
|
+
command = make_simple_command(:delete, 'orders/{orderId}', options)
|
1719
1719
|
command.params['orderId'] = order_id unless order_id.nil?
|
1720
1720
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
1721
1721
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1749,7 +1749,7 @@ module Google
|
|
1749
1749
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1750
1750
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1751
1751
|
def get_order(order_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1752
|
-
command =
|
1752
|
+
command = make_simple_command(:get, 'orders/{orderId}', options)
|
1753
1753
|
command.response_representation = Google::Apis::YoutubePartnerV1::Order::Representation
|
1754
1754
|
command.response_class = Google::Apis::YoutubePartnerV1::Order
|
1755
1755
|
command.params['orderId'] = order_id unless order_id.nil?
|
@@ -1785,7 +1785,7 @@ module Google
|
|
1785
1785
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1786
1786
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1787
1787
|
def insert_order(order_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1788
|
-
command =
|
1788
|
+
command = make_simple_command(:post, 'orders', options)
|
1789
1789
|
command.request_representation = Google::Apis::YoutubePartnerV1::Order::Representation
|
1790
1790
|
command.request_object = order_object
|
1791
1791
|
command.response_representation = Google::Apis::YoutubePartnerV1::Order::Representation
|
@@ -1851,7 +1851,7 @@ module Google
|
|
1851
1851
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1852
1852
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1853
1853
|
def list_orders(channel_id: nil, content_type: nil, country: nil, custom_id: nil, on_behalf_of_content_owner: nil, page_token: nil, priority: nil, production_house: nil, q: nil, status: nil, video_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1854
|
-
command =
|
1854
|
+
command = make_simple_command(:get, 'orders', options)
|
1855
1855
|
command.response_representation = Google::Apis::YoutubePartnerV1::OrderListResponse::Representation
|
1856
1856
|
command.response_class = Google::Apis::YoutubePartnerV1::OrderListResponse
|
1857
1857
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
@@ -1897,7 +1897,7 @@ module Google
|
|
1897
1897
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1898
1898
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1899
1899
|
def patch_order(order_id, order_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1900
|
-
command =
|
1900
|
+
command = make_simple_command(:patch, 'orders/{orderId}', options)
|
1901
1901
|
command.request_representation = Google::Apis::YoutubePartnerV1::Order::Representation
|
1902
1902
|
command.request_object = order_object
|
1903
1903
|
command.response_representation = Google::Apis::YoutubePartnerV1::Order::Representation
|
@@ -1936,7 +1936,7 @@ module Google
|
|
1936
1936
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1937
1937
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1938
1938
|
def update_order(order_id, order_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1939
|
-
command =
|
1939
|
+
command = make_simple_command(:put, 'orders/{orderId}', options)
|
1940
1940
|
command.request_representation = Google::Apis::YoutubePartnerV1::Order::Representation
|
1941
1941
|
command.request_object = order_object
|
1942
1942
|
command.response_representation = Google::Apis::YoutubePartnerV1::Order::Representation
|
@@ -1978,7 +1978,7 @@ module Google
|
|
1978
1978
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1979
1979
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1980
1980
|
def get_ownership(asset_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1981
|
-
command =
|
1981
|
+
command = make_simple_command(:get, 'assets/{assetId}/ownership', options)
|
1982
1982
|
command.response_representation = Google::Apis::YoutubePartnerV1::RightsOwnership::Representation
|
1983
1983
|
command.response_class = Google::Apis::YoutubePartnerV1::RightsOwnership
|
1984
1984
|
command.params['assetId'] = asset_id unless asset_id.nil?
|
@@ -2024,7 +2024,7 @@ module Google
|
|
2024
2024
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2025
2025
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2026
2026
|
def patch_ownership(asset_id, rights_ownership_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2027
|
-
command =
|
2027
|
+
command = make_simple_command(:patch, 'assets/{assetId}/ownership', options)
|
2028
2028
|
command.request_representation = Google::Apis::YoutubePartnerV1::RightsOwnership::Representation
|
2029
2029
|
command.request_object = rights_ownership_object
|
2030
2030
|
command.response_representation = Google::Apis::YoutubePartnerV1::RightsOwnership::Representation
|
@@ -2071,7 +2071,7 @@ module Google
|
|
2071
2071
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2072
2072
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2073
2073
|
def update_ownership(asset_id, rights_ownership_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2074
|
-
command =
|
2074
|
+
command = make_simple_command(:put, 'assets/{assetId}/ownership', options)
|
2075
2075
|
command.request_representation = Google::Apis::YoutubePartnerV1::RightsOwnership::Representation
|
2076
2076
|
command.request_object = rights_ownership_object
|
2077
2077
|
command.response_representation = Google::Apis::YoutubePartnerV1::RightsOwnership::Representation
|
@@ -2117,7 +2117,7 @@ module Google
|
|
2117
2117
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2118
2118
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2119
2119
|
def list_ownership_histories(asset_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2120
|
-
command =
|
2120
|
+
command = make_simple_command(:get, 'ownershipHistory', options)
|
2121
2121
|
command.response_representation = Google::Apis::YoutubePartnerV1::OwnershipHistoryListResponse::Representation
|
2122
2122
|
command.response_class = Google::Apis::YoutubePartnerV1::OwnershipHistoryListResponse
|
2123
2123
|
command.query['assetId'] = asset_id unless asset_id.nil?
|
@@ -2156,7 +2156,7 @@ module Google
|
|
2156
2156
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2157
2157
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2158
2158
|
def get_package(package_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2159
|
-
command =
|
2159
|
+
command = make_simple_command(:get, 'package/{packageId}', options)
|
2160
2160
|
command.response_representation = Google::Apis::YoutubePartnerV1::Package::Representation
|
2161
2161
|
command.response_class = Google::Apis::YoutubePartnerV1::Package
|
2162
2162
|
command.params['packageId'] = package_id unless package_id.nil?
|
@@ -2193,7 +2193,7 @@ module Google
|
|
2193
2193
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2194
2194
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2195
2195
|
def insert_package(package_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2196
|
-
command =
|
2196
|
+
command = make_simple_command(:post, 'package', options)
|
2197
2197
|
command.request_representation = Google::Apis::YoutubePartnerV1::Package::Representation
|
2198
2198
|
command.request_object = package_object
|
2199
2199
|
command.response_representation = Google::Apis::YoutubePartnerV1::PackageInsertResponse::Representation
|
@@ -2233,7 +2233,7 @@ module Google
|
|
2233
2233
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2234
2234
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2235
2235
|
def get_policy(policy_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2236
|
-
command =
|
2236
|
+
command = make_simple_command(:get, 'policies/{policyId}', options)
|
2237
2237
|
command.response_representation = Google::Apis::YoutubePartnerV1::Policy::Representation
|
2238
2238
|
command.response_class = Google::Apis::YoutubePartnerV1::Policy
|
2239
2239
|
command.params['policyId'] = policy_id unless policy_id.nil?
|
@@ -2270,7 +2270,7 @@ module Google
|
|
2270
2270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2271
2271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2272
2272
|
def insert_policy(policy_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2273
|
-
command =
|
2273
|
+
command = make_simple_command(:post, 'policies', options)
|
2274
2274
|
command.request_representation = Google::Apis::YoutubePartnerV1::Policy::Representation
|
2275
2275
|
command.request_object = policy_object
|
2276
2276
|
command.response_representation = Google::Apis::YoutubePartnerV1::Policy::Representation
|
@@ -2313,7 +2313,7 @@ module Google
|
|
2313
2313
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2314
2314
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2315
2315
|
def list_policies(id: nil, on_behalf_of_content_owner: nil, sort: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2316
|
-
command =
|
2316
|
+
command = make_simple_command(:get, 'policies', options)
|
2317
2317
|
command.response_representation = Google::Apis::YoutubePartnerV1::PolicyList::Representation
|
2318
2318
|
command.response_class = Google::Apis::YoutubePartnerV1::PolicyList
|
2319
2319
|
command.query['id'] = id unless id.nil?
|
@@ -2354,7 +2354,7 @@ module Google
|
|
2354
2354
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2355
2355
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2356
2356
|
def patch_policy(policy_id, policy_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2357
|
-
command =
|
2357
|
+
command = make_simple_command(:patch, 'policies/{policyId}', options)
|
2358
2358
|
command.request_representation = Google::Apis::YoutubePartnerV1::Policy::Representation
|
2359
2359
|
command.request_object = policy_object
|
2360
2360
|
command.response_representation = Google::Apis::YoutubePartnerV1::Policy::Representation
|
@@ -2396,7 +2396,7 @@ module Google
|
|
2396
2396
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2397
2397
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2398
2398
|
def update_policy(policy_id, policy_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2399
|
-
command =
|
2399
|
+
command = make_simple_command(:put, 'policies/{policyId}', options)
|
2400
2400
|
command.request_representation = Google::Apis::YoutubePartnerV1::Policy::Representation
|
2401
2401
|
command.request_object = policy_object
|
2402
2402
|
command.response_representation = Google::Apis::YoutubePartnerV1::Policy::Representation
|
@@ -2437,7 +2437,7 @@ module Google
|
|
2437
2437
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2438
2438
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2439
2439
|
def get_publisher(publisher_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2440
|
-
command =
|
2440
|
+
command = make_simple_command(:get, 'publishers/{publisherId}', options)
|
2441
2441
|
command.response_representation = Google::Apis::YoutubePartnerV1::Publisher::Representation
|
2442
2442
|
command.response_class = Google::Apis::YoutubePartnerV1::Publisher
|
2443
2443
|
command.params['publisherId'] = publisher_id unless publisher_id.nil?
|
@@ -2493,7 +2493,7 @@ module Google
|
|
2493
2493
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2494
2494
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2495
2495
|
def list_publishers(cae_number: nil, id: nil, ipi_number: nil, max_results: nil, name_prefix: nil, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2496
|
-
command =
|
2496
|
+
command = make_simple_command(:get, 'publishers', options)
|
2497
2497
|
command.response_representation = Google::Apis::YoutubePartnerV1::PublisherList::Representation
|
2498
2498
|
command.response_class = Google::Apis::YoutubePartnerV1::PublisherList
|
2499
2499
|
command.query['caeNumber'] = cae_number unless cae_number.nil?
|
@@ -2537,7 +2537,7 @@ module Google
|
|
2537
2537
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2538
2538
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2539
2539
|
def get_reference_conflict(reference_conflict_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2540
|
-
command =
|
2540
|
+
command = make_simple_command(:get, 'referenceConflicts/{referenceConflictId}', options)
|
2541
2541
|
command.response_representation = Google::Apis::YoutubePartnerV1::ReferenceConflict::Representation
|
2542
2542
|
command.response_class = Google::Apis::YoutubePartnerV1::ReferenceConflict
|
2543
2543
|
command.params['referenceConflictId'] = reference_conflict_id unless reference_conflict_id.nil?
|
@@ -2577,7 +2577,7 @@ module Google
|
|
2577
2577
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2578
2578
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2579
2579
|
def list_reference_conflicts(on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2580
|
-
command =
|
2580
|
+
command = make_simple_command(:get, 'referenceConflicts', options)
|
2581
2581
|
command.response_representation = Google::Apis::YoutubePartnerV1::ReferenceConflictListResponse::Representation
|
2582
2582
|
command.response_class = Google::Apis::YoutubePartnerV1::ReferenceConflictListResponse
|
2583
2583
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
@@ -2616,7 +2616,7 @@ module Google
|
|
2616
2616
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2617
2617
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2618
2618
|
def get_reference(reference_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2619
|
-
command =
|
2619
|
+
command = make_simple_command(:get, 'references/{referenceId}', options)
|
2620
2620
|
command.response_representation = Google::Apis::YoutubePartnerV1::Reference::Representation
|
2621
2621
|
command.response_class = Google::Apis::YoutubePartnerV1::Reference
|
2622
2622
|
command.params['referenceId'] = reference_id unless reference_id.nil?
|
@@ -2670,7 +2670,7 @@ module Google
|
|
2670
2670
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2671
2671
|
def insert_reference(reference_object = nil, claim_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)
|
2672
2672
|
if upload_source.nil?
|
2673
|
-
command =
|
2673
|
+
command = make_simple_command(:post, 'references', options)
|
2674
2674
|
else
|
2675
2675
|
command = make_upload_command(:post, 'references', options)
|
2676
2676
|
command.upload_source = upload_source
|
@@ -2724,7 +2724,7 @@ module Google
|
|
2724
2724
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2725
2725
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2726
2726
|
def list_references(asset_id: nil, id: nil, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2727
|
-
command =
|
2727
|
+
command = make_simple_command(:get, 'references', options)
|
2728
2728
|
command.response_representation = Google::Apis::YoutubePartnerV1::ReferenceListResponse::Representation
|
2729
2729
|
command.response_class = Google::Apis::YoutubePartnerV1::ReferenceListResponse
|
2730
2730
|
command.query['assetId'] = asset_id unless asset_id.nil?
|
@@ -2771,7 +2771,7 @@ module Google
|
|
2771
2771
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2772
2772
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2773
2773
|
def patch_reference(reference_id, reference_object = nil, on_behalf_of_content_owner: nil, release_claims: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2774
|
-
command =
|
2774
|
+
command = make_simple_command(:patch, 'references/{referenceId}', options)
|
2775
2775
|
command.request_representation = Google::Apis::YoutubePartnerV1::Reference::Representation
|
2776
2776
|
command.request_object = reference_object
|
2777
2777
|
command.response_representation = Google::Apis::YoutubePartnerV1::Reference::Representation
|
@@ -2819,7 +2819,7 @@ module Google
|
|
2819
2819
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2820
2820
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2821
2821
|
def update_reference(reference_id, reference_object = nil, on_behalf_of_content_owner: nil, release_claims: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2822
|
-
command =
|
2822
|
+
command = make_simple_command(:put, 'references/{referenceId}', options)
|
2823
2823
|
command.request_representation = Google::Apis::YoutubePartnerV1::Reference::Representation
|
2824
2824
|
command.request_object = reference_object
|
2825
2825
|
command.response_representation = Google::Apis::YoutubePartnerV1::Reference::Representation
|
@@ -2862,7 +2862,7 @@ module Google
|
|
2862
2862
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2863
2863
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2864
2864
|
def list_spreadsheet_templates(locale: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2865
|
-
command =
|
2865
|
+
command = make_simple_command(:get, 'spreadsheetTemplate', options)
|
2866
2866
|
command.response_representation = Google::Apis::YoutubePartnerV1::SpreadsheetTemplateListResponse::Representation
|
2867
2867
|
command.response_class = Google::Apis::YoutubePartnerV1::SpreadsheetTemplateListResponse
|
2868
2868
|
command.query['locale'] = locale unless locale.nil?
|
@@ -2898,7 +2898,7 @@ module Google
|
|
2898
2898
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2899
2899
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2900
2900
|
def list_uploaders(on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2901
|
-
command =
|
2901
|
+
command = make_simple_command(:get, 'uploader', options)
|
2902
2902
|
command.response_representation = Google::Apis::YoutubePartnerV1::UploaderListResponse::Representation
|
2903
2903
|
command.response_class = Google::Apis::YoutubePartnerV1::UploaderListResponse
|
2904
2904
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
@@ -2934,7 +2934,7 @@ module Google
|
|
2934
2934
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2935
2935
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2936
2936
|
def validate_validator(validate_request_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2937
|
-
command =
|
2937
|
+
command = make_simple_command(:post, 'validator', options)
|
2938
2938
|
command.request_representation = Google::Apis::YoutubePartnerV1::ValidateRequest::Representation
|
2939
2939
|
command.request_object = validate_request_object
|
2940
2940
|
command.response_representation = Google::Apis::YoutubePartnerV1::ValidateResponse::Representation
|
@@ -2972,7 +2972,7 @@ module Google
|
|
2972
2972
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2973
2973
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2974
2974
|
def validate_validator_async(validate_async_request_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2975
|
-
command =
|
2975
|
+
command = make_simple_command(:post, 'validatorAsync', options)
|
2976
2976
|
command.request_representation = Google::Apis::YoutubePartnerV1::ValidateAsyncRequest::Representation
|
2977
2977
|
command.request_object = validate_async_request_object
|
2978
2978
|
command.response_representation = Google::Apis::YoutubePartnerV1::ValidateAsyncResponse::Representation
|
@@ -3010,7 +3010,7 @@ module Google
|
|
3010
3010
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3011
3011
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3012
3012
|
def validate_validator_async_status(validate_status_request_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3013
|
-
command =
|
3013
|
+
command = make_simple_command(:post, 'validatorAsyncStatus', options)
|
3014
3014
|
command.request_representation = Google::Apis::YoutubePartnerV1::ValidateStatusRequest::Representation
|
3015
3015
|
command.request_object = validate_status_request_object
|
3016
3016
|
command.response_representation = Google::Apis::YoutubePartnerV1::ValidateStatusResponse::Representation
|
@@ -3050,7 +3050,7 @@ module Google
|
|
3050
3050
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3051
3051
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3052
3052
|
def get_video_advertising_option(video_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3053
|
-
command =
|
3053
|
+
command = make_simple_command(:get, 'videoAdvertisingOptions/{videoId}', options)
|
3054
3054
|
command.response_representation = Google::Apis::YoutubePartnerV1::VideoAdvertisingOption::Representation
|
3055
3055
|
command.response_class = Google::Apis::YoutubePartnerV1::VideoAdvertisingOption
|
3056
3056
|
command.params['videoId'] = video_id unless video_id.nil?
|
@@ -3090,7 +3090,7 @@ module Google
|
|
3090
3090
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3091
3091
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3092
3092
|
def get_video_advertising_option_enabled_ads(video_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3093
|
-
command =
|
3093
|
+
command = make_simple_command(:get, 'videoAdvertisingOptions/{videoId}/getEnabledAds', options)
|
3094
3094
|
command.response_representation = Google::Apis::YoutubePartnerV1::VideoAdvertisingOptionGetEnabledAdsResponse::Representation
|
3095
3095
|
command.response_class = Google::Apis::YoutubePartnerV1::VideoAdvertisingOptionGetEnabledAdsResponse
|
3096
3096
|
command.params['videoId'] = video_id unless video_id.nil?
|
@@ -3131,7 +3131,7 @@ module Google
|
|
3131
3131
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3132
3132
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3133
3133
|
def patch_video_advertising_option(video_id, video_advertising_option_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3134
|
-
command =
|
3134
|
+
command = make_simple_command(:patch, 'videoAdvertisingOptions/{videoId}', options)
|
3135
3135
|
command.request_representation = Google::Apis::YoutubePartnerV1::VideoAdvertisingOption::Representation
|
3136
3136
|
command.request_object = video_advertising_option_object
|
3137
3137
|
command.response_representation = Google::Apis::YoutubePartnerV1::VideoAdvertisingOption::Representation
|
@@ -3173,7 +3173,7 @@ module Google
|
|
3173
3173
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3174
3174
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3175
3175
|
def update_video_advertising_option(video_id, video_advertising_option_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3176
|
-
command =
|
3176
|
+
command = make_simple_command(:put, 'videoAdvertisingOptions/{videoId}', options)
|
3177
3177
|
command.request_representation = Google::Apis::YoutubePartnerV1::VideoAdvertisingOption::Representation
|
3178
3178
|
command.request_object = video_advertising_option_object
|
3179
3179
|
command.response_representation = Google::Apis::YoutubePartnerV1::VideoAdvertisingOption::Representation
|
@@ -3214,7 +3214,7 @@ module Google
|
|
3214
3214
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3215
3215
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3216
3216
|
def delete_whitelist(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3217
|
-
command =
|
3217
|
+
command = make_simple_command(:delete, 'whitelists/{id}', options)
|
3218
3218
|
command.params['id'] = id unless id.nil?
|
3219
3219
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
3220
3220
|
command.query['fields'] = fields unless fields.nil?
|
@@ -3251,7 +3251,7 @@ module Google
|
|
3251
3251
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3252
3252
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3253
3253
|
def get_whitelist(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3254
|
-
command =
|
3254
|
+
command = make_simple_command(:get, 'whitelists/{id}', options)
|
3255
3255
|
command.response_representation = Google::Apis::YoutubePartnerV1::Whitelist::Representation
|
3256
3256
|
command.response_class = Google::Apis::YoutubePartnerV1::Whitelist
|
3257
3257
|
command.params['id'] = id unless id.nil?
|
@@ -3291,7 +3291,7 @@ module Google
|
|
3291
3291
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3292
3292
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3293
3293
|
def insert_whitelist(whitelist_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3294
|
-
command =
|
3294
|
+
command = make_simple_command(:post, 'whitelists', options)
|
3295
3295
|
command.request_representation = Google::Apis::YoutubePartnerV1::Whitelist::Representation
|
3296
3296
|
command.request_object = whitelist_object
|
3297
3297
|
command.response_representation = Google::Apis::YoutubePartnerV1::Whitelist::Representation
|
@@ -3335,7 +3335,7 @@ module Google
|
|
3335
3335
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3336
3336
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3337
3337
|
def list_whitelists(id: nil, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3338
|
-
command =
|
3338
|
+
command = make_simple_command(:get, 'whitelists', options)
|
3339
3339
|
command.response_representation = Google::Apis::YoutubePartnerV1::WhitelistListResponse::Representation
|
3340
3340
|
command.response_class = Google::Apis::YoutubePartnerV1::WhitelistListResponse
|
3341
3341
|
command.query['id'] = id unless id.nil?
|