google-api-client 0.41.1 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +352 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +199 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +356 -339
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +272 -152
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +1898 -1067
- data/generated/google/apis/apigee_v1/representations.rb +542 -0
- data/generated/google/apis/apigee_v1/service.rb +1895 -1090
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +130 -0
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +71 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +645 -900
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1_1.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -43
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +402 -48
- data/generated/google/apis/compute_alpha/representations.rb +103 -0
- data/generated/google/apis/compute_alpha/service.rb +38 -36
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +371 -41
- data/generated/google/apis/compute_beta/representations.rb +94 -0
- data/generated/google/apis/compute_beta/service.rb +347 -36
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +397 -40
- data/generated/google/apis/compute_v1/representations.rb +110 -0
- data/generated/google/apis/compute_v1/service.rb +341 -48
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +129 -2
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +136 -17
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +17 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +19 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +461 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -93
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +207 -330
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +236 -325
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1341 -1513
- data/generated/google/apis/dialogflow_v2/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1419 -1591
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +780 -1022
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1776 -1728
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -929
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +10 -6
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +77 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +82 -2
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +180 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +213 -1155
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
- data/generated/google/apis/gameservices_v1/classes.rb +2175 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1432 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +260 -288
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +301 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +230 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +72 -13
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +146 -16
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +355 -437
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +78 -96
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +365 -442
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -109
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +361 -441
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -93
- data/generated/google/apis/{groupsmigration_v1.rb → memcache_v1.rb} +11 -11
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -503
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +23 -17
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +97 -47
- data/generated/google/apis/monitoring_v3/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3/service.rb +13 -9
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +798 -2
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +45 -28
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2017 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +271 -84
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +143 -35
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +50 -2
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +80 -6
- data/generated/google/apis/testing_v1/representations.rb +33 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1868
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1456 -1134
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +1225 -1274
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -27
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
|
@@ -22,6 +22,18 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module YoutubeV3
|
|
24
24
|
|
|
25
|
+
class AbuseReport
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class AbuseType
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
25
37
|
class AccessPolicy
|
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
39
|
|
|
@@ -166,6 +178,12 @@ module Google
|
|
|
166
178
|
include Google::Apis::Core::JsonObjectSupport
|
|
167
179
|
end
|
|
168
180
|
|
|
181
|
+
class ChannelCard
|
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
+
|
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
+
end
|
|
186
|
+
|
|
169
187
|
class ChannelContentDetails
|
|
170
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
189
|
|
|
@@ -274,6 +292,12 @@ module Google
|
|
|
274
292
|
include Google::Apis::Core::JsonObjectSupport
|
|
275
293
|
end
|
|
276
294
|
|
|
295
|
+
class ChannelToStoreLinkDetails
|
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
|
+
|
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
299
|
+
end
|
|
300
|
+
|
|
277
301
|
class ChannelTopicDetails
|
|
278
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
303
|
|
|
@@ -334,6 +358,12 @@ module Google
|
|
|
334
358
|
include Google::Apis::Core::JsonObjectSupport
|
|
335
359
|
end
|
|
336
360
|
|
|
361
|
+
class Entity
|
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
|
+
|
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
365
|
+
end
|
|
366
|
+
|
|
337
367
|
class GeoPoint
|
|
338
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
369
|
|
|
@@ -400,6 +430,36 @@ module Google
|
|
|
400
430
|
include Google::Apis::Core::JsonObjectSupport
|
|
401
431
|
end
|
|
402
432
|
|
|
433
|
+
class InfoCard
|
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
435
|
+
|
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
class InfoCardSnippet
|
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
441
|
+
|
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
class InfoCardSnippetTeaser
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
+
|
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
class InfoCards
|
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
|
+
|
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
455
|
+
end
|
|
456
|
+
|
|
457
|
+
class InfocardListResponse
|
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
459
|
+
|
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
461
|
+
end
|
|
462
|
+
|
|
403
463
|
class IngestionInfo
|
|
404
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
405
465
|
|
|
@@ -442,6 +502,18 @@ module Google
|
|
|
442
502
|
include Google::Apis::Core::JsonObjectSupport
|
|
443
503
|
end
|
|
444
504
|
|
|
505
|
+
class LinkCard
|
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
507
|
+
|
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
509
|
+
end
|
|
510
|
+
|
|
511
|
+
class LinkCardUploadedImage
|
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
513
|
+
|
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
515
|
+
end
|
|
516
|
+
|
|
445
517
|
class LiveBroadcast
|
|
446
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
519
|
|
|
@@ -700,6 +772,12 @@ module Google
|
|
|
700
772
|
include Google::Apis::Core::JsonObjectSupport
|
|
701
773
|
end
|
|
702
774
|
|
|
775
|
+
class PlaylistCard
|
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
777
|
+
|
|
778
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
779
|
+
end
|
|
780
|
+
|
|
703
781
|
class PlaylistContentDetails
|
|
704
782
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
705
783
|
|
|
@@ -784,6 +862,12 @@ module Google
|
|
|
784
862
|
include Google::Apis::Core::JsonObjectSupport
|
|
785
863
|
end
|
|
786
864
|
|
|
865
|
+
class RelatedEntity
|
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
867
|
+
|
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
869
|
+
end
|
|
870
|
+
|
|
787
871
|
class ResourceId
|
|
788
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
789
873
|
|
|
@@ -892,6 +976,24 @@ module Google
|
|
|
892
976
|
include Google::Apis::Core::JsonObjectSupport
|
|
893
977
|
end
|
|
894
978
|
|
|
979
|
+
class ThirdPartyLink
|
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
981
|
+
|
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
983
|
+
end
|
|
984
|
+
|
|
985
|
+
class ThirdPartyLinkSnippet
|
|
986
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
987
|
+
|
|
988
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
989
|
+
end
|
|
990
|
+
|
|
991
|
+
class ThirdPartyLinkStatus
|
|
992
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
993
|
+
|
|
994
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
995
|
+
end
|
|
996
|
+
|
|
895
997
|
class Thumbnail
|
|
896
998
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
897
999
|
|
|
@@ -958,6 +1060,12 @@ module Google
|
|
|
958
1060
|
include Google::Apis::Core::JsonObjectSupport
|
|
959
1061
|
end
|
|
960
1062
|
|
|
1063
|
+
class VideoCard
|
|
1064
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1065
|
+
|
|
1066
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1067
|
+
end
|
|
1068
|
+
|
|
961
1069
|
class VideoCategory
|
|
962
1070
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
963
1071
|
|
|
@@ -1114,6 +1222,26 @@ module Google
|
|
|
1114
1222
|
include Google::Apis::Core::JsonObjectSupport
|
|
1115
1223
|
end
|
|
1116
1224
|
|
|
1225
|
+
class AbuseReport
|
|
1226
|
+
# @private
|
|
1227
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1228
|
+
collection :abuse_types, as: 'abuseTypes', class: Google::Apis::YoutubeV3::AbuseType, decorator: Google::Apis::YoutubeV3::AbuseType::Representation
|
|
1229
|
+
|
|
1230
|
+
property :description, as: 'description'
|
|
1231
|
+
collection :related_entities, as: 'relatedEntities', class: Google::Apis::YoutubeV3::RelatedEntity, decorator: Google::Apis::YoutubeV3::RelatedEntity::Representation
|
|
1232
|
+
|
|
1233
|
+
property :subject, as: 'subject', class: Google::Apis::YoutubeV3::Entity, decorator: Google::Apis::YoutubeV3::Entity::Representation
|
|
1234
|
+
|
|
1235
|
+
end
|
|
1236
|
+
end
|
|
1237
|
+
|
|
1238
|
+
class AbuseType
|
|
1239
|
+
# @private
|
|
1240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1241
|
+
property :id, as: 'id'
|
|
1242
|
+
end
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1117
1245
|
class AccessPolicy
|
|
1118
1246
|
# @private
|
|
1119
1247
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1417,6 +1545,14 @@ module Google
|
|
|
1417
1545
|
end
|
|
1418
1546
|
end
|
|
1419
1547
|
|
|
1548
|
+
class ChannelCard
|
|
1549
|
+
# @private
|
|
1550
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1551
|
+
property :channel_id, as: 'channelId'
|
|
1552
|
+
property :custom_message, as: 'customMessage'
|
|
1553
|
+
end
|
|
1554
|
+
end
|
|
1555
|
+
|
|
1420
1556
|
class ChannelContentDetails
|
|
1421
1557
|
# @private
|
|
1422
1558
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1621,6 +1757,14 @@ module Google
|
|
|
1621
1757
|
end
|
|
1622
1758
|
end
|
|
1623
1759
|
|
|
1760
|
+
class ChannelToStoreLinkDetails
|
|
1761
|
+
# @private
|
|
1762
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1763
|
+
property :store_name, as: 'storeName'
|
|
1764
|
+
property :store_url, as: 'storeUrl'
|
|
1765
|
+
end
|
|
1766
|
+
end
|
|
1767
|
+
|
|
1624
1768
|
class ChannelTopicDetails
|
|
1625
1769
|
# @private
|
|
1626
1770
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1814,6 +1958,15 @@ module Google
|
|
|
1814
1958
|
end
|
|
1815
1959
|
end
|
|
1816
1960
|
|
|
1961
|
+
class Entity
|
|
1962
|
+
# @private
|
|
1963
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1964
|
+
property :id, as: 'id'
|
|
1965
|
+
property :type_id, as: 'typeId'
|
|
1966
|
+
property :url, as: 'url'
|
|
1967
|
+
end
|
|
1968
|
+
end
|
|
1969
|
+
|
|
1817
1970
|
class GeoPoint
|
|
1818
1971
|
# @private
|
|
1819
1972
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1955,6 +2108,59 @@ module Google
|
|
|
1955
2108
|
end
|
|
1956
2109
|
end
|
|
1957
2110
|
|
|
2111
|
+
class InfoCard
|
|
2112
|
+
# @private
|
|
2113
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2114
|
+
property :etag, as: 'etag'
|
|
2115
|
+
property :id, as: 'id'
|
|
2116
|
+
property :kind, as: 'kind'
|
|
2117
|
+
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::InfoCardSnippet, decorator: Google::Apis::YoutubeV3::InfoCardSnippet::Representation
|
|
2118
|
+
|
|
2119
|
+
end
|
|
2120
|
+
end
|
|
2121
|
+
|
|
2122
|
+
class InfoCardSnippet
|
|
2123
|
+
# @private
|
|
2124
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2125
|
+
property :channel_infocard, as: 'channelInfocard', class: Google::Apis::YoutubeV3::ChannelCard, decorator: Google::Apis::YoutubeV3::ChannelCard::Representation
|
|
2126
|
+
|
|
2127
|
+
property :link_infocard, as: 'linkInfocard', class: Google::Apis::YoutubeV3::LinkCard, decorator: Google::Apis::YoutubeV3::LinkCard::Representation
|
|
2128
|
+
|
|
2129
|
+
property :playlist_infocard, as: 'playlistInfocard', class: Google::Apis::YoutubeV3::PlaylistCard, decorator: Google::Apis::YoutubeV3::PlaylistCard::Representation
|
|
2130
|
+
|
|
2131
|
+
property :teaser, as: 'teaser', class: Google::Apis::YoutubeV3::InfoCardSnippetTeaser, decorator: Google::Apis::YoutubeV3::InfoCardSnippetTeaser::Representation
|
|
2132
|
+
|
|
2133
|
+
property :video_infocard, as: 'videoInfocard', class: Google::Apis::YoutubeV3::VideoCard, decorator: Google::Apis::YoutubeV3::VideoCard::Representation
|
|
2134
|
+
|
|
2135
|
+
end
|
|
2136
|
+
end
|
|
2137
|
+
|
|
2138
|
+
class InfoCardSnippetTeaser
|
|
2139
|
+
# @private
|
|
2140
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2141
|
+
property :teaser_start_offset, as: 'teaserStartOffset'
|
|
2142
|
+
property :teaser_text, as: 'teaserText'
|
|
2143
|
+
end
|
|
2144
|
+
end
|
|
2145
|
+
|
|
2146
|
+
class InfoCards
|
|
2147
|
+
# @private
|
|
2148
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2149
|
+
collection :items, as: 'items', class: Google::Apis::YoutubeV3::InfoCard, decorator: Google::Apis::YoutubeV3::InfoCard::Representation
|
|
2150
|
+
|
|
2151
|
+
end
|
|
2152
|
+
end
|
|
2153
|
+
|
|
2154
|
+
class InfocardListResponse
|
|
2155
|
+
# @private
|
|
2156
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2157
|
+
property :etag, as: 'etag'
|
|
2158
|
+
collection :items, as: 'items', class: Google::Apis::YoutubeV3::InfoCard, decorator: Google::Apis::YoutubeV3::InfoCard::Representation
|
|
2159
|
+
|
|
2160
|
+
property :kind, as: 'kind'
|
|
2161
|
+
end
|
|
2162
|
+
end
|
|
2163
|
+
|
|
1958
2164
|
class IngestionInfo
|
|
1959
2165
|
# @private
|
|
1960
2166
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2023,6 +2229,26 @@ module Google
|
|
|
2023
2229
|
end
|
|
2024
2230
|
end
|
|
2025
2231
|
|
|
2232
|
+
class LinkCard
|
|
2233
|
+
# @private
|
|
2234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2235
|
+
property :custom_link_text, as: 'customLinkText'
|
|
2236
|
+
property :external_image_url, as: 'externalImageUrl'
|
|
2237
|
+
property :target_url, as: 'targetUrl'
|
|
2238
|
+
property :title, as: 'title'
|
|
2239
|
+
property :uploaded_image, as: 'uploadedImage', class: Google::Apis::YoutubeV3::LinkCardUploadedImage, decorator: Google::Apis::YoutubeV3::LinkCardUploadedImage::Representation
|
|
2240
|
+
|
|
2241
|
+
end
|
|
2242
|
+
end
|
|
2243
|
+
|
|
2244
|
+
class LinkCardUploadedImage
|
|
2245
|
+
# @private
|
|
2246
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2247
|
+
property :image_file, as: 'imageFile'
|
|
2248
|
+
property :version, :numeric_string => true, as: 'version'
|
|
2249
|
+
end
|
|
2250
|
+
end
|
|
2251
|
+
|
|
2026
2252
|
class LiveBroadcast
|
|
2027
2253
|
# @private
|
|
2028
2254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2552,6 +2778,15 @@ module Google
|
|
|
2552
2778
|
end
|
|
2553
2779
|
end
|
|
2554
2780
|
|
|
2781
|
+
class PlaylistCard
|
|
2782
|
+
# @private
|
|
2783
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2784
|
+
property :custom_message, as: 'customMessage'
|
|
2785
|
+
property :playlist_id, as: 'playlistId'
|
|
2786
|
+
property :start_video_id, as: 'startVideoId'
|
|
2787
|
+
end
|
|
2788
|
+
end
|
|
2789
|
+
|
|
2555
2790
|
class PlaylistContentDetails
|
|
2556
2791
|
# @private
|
|
2557
2792
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2714,6 +2949,14 @@ module Google
|
|
|
2714
2949
|
end
|
|
2715
2950
|
end
|
|
2716
2951
|
|
|
2952
|
+
class RelatedEntity
|
|
2953
|
+
# @private
|
|
2954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2955
|
+
property :entity, as: 'entity', class: Google::Apis::YoutubeV3::Entity, decorator: Google::Apis::YoutubeV3::Entity::Representation
|
|
2956
|
+
|
|
2957
|
+
end
|
|
2958
|
+
end
|
|
2959
|
+
|
|
2717
2960
|
class ResourceId
|
|
2718
2961
|
# @private
|
|
2719
2962
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2933,6 +3176,7 @@ module Google
|
|
|
2933
3176
|
class TestItem
|
|
2934
3177
|
# @private
|
|
2935
3178
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3179
|
+
property :gaia, :numeric_string => true, as: 'gaia'
|
|
2936
3180
|
property :id, as: 'id'
|
|
2937
3181
|
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::TestItemTestItemSnippet, decorator: Google::Apis::YoutubeV3::TestItemTestItemSnippet::Representation
|
|
2938
3182
|
|
|
@@ -2945,6 +3189,35 @@ module Google
|
|
|
2945
3189
|
end
|
|
2946
3190
|
end
|
|
2947
3191
|
|
|
3192
|
+
class ThirdPartyLink
|
|
3193
|
+
# @private
|
|
3194
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3195
|
+
property :etag, as: 'etag'
|
|
3196
|
+
property :kind, as: 'kind'
|
|
3197
|
+
property :linking_token, as: 'linkingToken'
|
|
3198
|
+
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::ThirdPartyLinkSnippet, decorator: Google::Apis::YoutubeV3::ThirdPartyLinkSnippet::Representation
|
|
3199
|
+
|
|
3200
|
+
property :status, as: 'status', class: Google::Apis::YoutubeV3::ThirdPartyLinkStatus, decorator: Google::Apis::YoutubeV3::ThirdPartyLinkStatus::Representation
|
|
3201
|
+
|
|
3202
|
+
end
|
|
3203
|
+
end
|
|
3204
|
+
|
|
3205
|
+
class ThirdPartyLinkSnippet
|
|
3206
|
+
# @private
|
|
3207
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3208
|
+
property :channel_to_store_link, as: 'channelToStoreLink', class: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails, decorator: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails::Representation
|
|
3209
|
+
|
|
3210
|
+
property :type, as: 'type'
|
|
3211
|
+
end
|
|
3212
|
+
end
|
|
3213
|
+
|
|
3214
|
+
class ThirdPartyLinkStatus
|
|
3215
|
+
# @private
|
|
3216
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3217
|
+
property :link_status, as: 'linkStatus'
|
|
3218
|
+
end
|
|
3219
|
+
end
|
|
3220
|
+
|
|
2948
3221
|
class Thumbnail
|
|
2949
3222
|
# @private
|
|
2950
3223
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3087,6 +3360,15 @@ module Google
|
|
|
3087
3360
|
end
|
|
3088
3361
|
end
|
|
3089
3362
|
|
|
3363
|
+
class VideoCard
|
|
3364
|
+
# @private
|
|
3365
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3366
|
+
property :custom_message, as: 'customMessage'
|
|
3367
|
+
property :playback_start_offset, as: 'playbackStartOffset'
|
|
3368
|
+
property :video_id, as: 'videoId'
|
|
3369
|
+
end
|
|
3370
|
+
end
|
|
3371
|
+
|
|
3090
3372
|
class VideoCategory
|
|
3091
3373
|
# @private
|
|
3092
3374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -48,28 +48,60 @@ module Google
|
|
|
48
48
|
@batch_path = 'batch/youtube'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
+
# Inserts a new resource into this collection.
|
|
52
|
+
# @param [Array<String>, String] part
|
|
53
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
54
|
+
# properties that the write operation will set as well as the properties that
|
|
55
|
+
# the API response will include.
|
|
56
|
+
# @param [Google::Apis::YoutubeV3::AbuseReport] abuse_report_object
|
|
57
|
+
# @param [String] fields
|
|
58
|
+
# Selector specifying which fields to include in a partial response.
|
|
59
|
+
# @param [String] quota_user
|
|
60
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
61
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
62
|
+
# @param [Google::Apis::RequestOptions] options
|
|
63
|
+
# Request-specific options
|
|
64
|
+
#
|
|
65
|
+
# @yield [result, err] Result & error if block supplied
|
|
66
|
+
# @yieldparam result [Google::Apis::YoutubeV3::AbuseReport] parsed result object
|
|
67
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
68
|
+
#
|
|
69
|
+
# @return [Google::Apis::YoutubeV3::AbuseReport]
|
|
70
|
+
#
|
|
71
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
72
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
73
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
74
|
+
def insert_abuse_report(part, abuse_report_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
75
|
+
command = make_simple_command(:post, 'youtube/v3/abuseReports', options)
|
|
76
|
+
command.request_representation = Google::Apis::YoutubeV3::AbuseReport::Representation
|
|
77
|
+
command.request_object = abuse_report_object
|
|
78
|
+
command.response_representation = Google::Apis::YoutubeV3::AbuseReport::Representation
|
|
79
|
+
command.response_class = Google::Apis::YoutubeV3::AbuseReport
|
|
80
|
+
command.query['part'] = part unless part.nil?
|
|
81
|
+
command.query['fields'] = fields unless fields.nil?
|
|
82
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
83
|
+
execute_or_queue_command(command, &block)
|
|
84
|
+
end
|
|
85
|
+
|
|
51
86
|
# Retrieves a list of resources, possibly filtered.
|
|
52
87
|
# @param [Array<String>, String] part
|
|
53
|
-
# The
|
|
54
|
-
#
|
|
55
|
-
# properties that the API response will include.<br><br>If the parameter
|
|
88
|
+
# The *part* parameter specifies a comma-separated list of one or more activity
|
|
89
|
+
# resource properties that the API response will include. If the parameter
|
|
56
90
|
# identifies a property that contains child properties, the child properties
|
|
57
|
-
# will be included in the response. For example, in an
|
|
58
|
-
#
|
|
59
|
-
#
|
|
60
|
-
#
|
|
61
|
-
# response will also contain all of those nested properties.
|
|
91
|
+
# will be included in the response. For example, in an activity resource, the
|
|
92
|
+
# snippet property contains other properties that identify the type of activity,
|
|
93
|
+
# a display title for the activity, and so forth. If you set *part=snippet*, the
|
|
94
|
+
# API response will also contain all of those nested properties.
|
|
62
95
|
# @param [String] channel_id
|
|
63
96
|
# @param [Boolean] home
|
|
64
97
|
# @param [Fixnum] max_results
|
|
65
|
-
# The
|
|
66
|
-
#
|
|
98
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
99
|
+
# be returned in the result set.
|
|
67
100
|
# @param [Boolean] mine
|
|
68
101
|
# @param [String] page_token
|
|
69
|
-
# The
|
|
70
|
-
#
|
|
71
|
-
#
|
|
72
|
-
# identify other pages that could be retrieved.
|
|
102
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
103
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
104
|
+
# properties identify other pages that could be retrieved.
|
|
73
105
|
# @param [String] published_after
|
|
74
106
|
# @param [String] published_before
|
|
75
107
|
# @param [String] region_code
|
|
@@ -113,17 +145,15 @@ module Google
|
|
|
113
145
|
# @param [String] on_behalf_of
|
|
114
146
|
# ID of the Google+ Page for the channel that the request is be on behalf of
|
|
115
147
|
# @param [String] on_behalf_of_content_owner
|
|
116
|
-
#
|
|
117
|
-
#
|
|
118
|
-
#
|
|
119
|
-
#
|
|
120
|
-
#
|
|
121
|
-
#
|
|
122
|
-
#
|
|
123
|
-
#
|
|
124
|
-
#
|
|
125
|
-
# channel. The actual CMS account that the user authenticates with must be
|
|
126
|
-
# linked to the specified YouTube content owner.
|
|
148
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
149
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
150
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
151
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
152
|
+
# intended for YouTube content partners that own and manage many different
|
|
153
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
154
|
+
# to all their video and channel data, without having to provide authentication
|
|
155
|
+
# credentials for each individual channel. The actual CMS account that the user
|
|
156
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
127
157
|
# @param [String] fields
|
|
128
158
|
# Selector specifying which fields to include in a partial response.
|
|
129
159
|
# @param [String] quota_user
|
|
@@ -157,23 +187,19 @@ module Google
|
|
|
157
187
|
# @param [String] on_behalf_of
|
|
158
188
|
# ID of the Google+ Page for the channel that the request is be on behalf of
|
|
159
189
|
# @param [String] on_behalf_of_content_owner
|
|
160
|
-
#
|
|
161
|
-
#
|
|
162
|
-
#
|
|
163
|
-
#
|
|
164
|
-
#
|
|
165
|
-
#
|
|
166
|
-
#
|
|
167
|
-
#
|
|
168
|
-
#
|
|
169
|
-
# channel. The actual CMS account that the user authenticates with must be
|
|
170
|
-
# linked to the specified YouTube content owner.
|
|
190
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
191
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
192
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
193
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
194
|
+
# intended for YouTube content partners that own and manage many different
|
|
195
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
196
|
+
# to all their video and channel data, without having to provide authentication
|
|
197
|
+
# credentials for each individual channel. The actual CMS account that the user
|
|
198
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
171
199
|
# @param [String] tfmt
|
|
172
|
-
# Convert the captions into this format. Supported options are
|
|
173
|
-
# sbv, srt, and vtt.
|
|
200
|
+
# Convert the captions into this format. Supported options are sbv, srt, and vtt.
|
|
174
201
|
# @param [String] tlang
|
|
175
|
-
# tlang is the language code; machine translate the captions into
|
|
176
|
-
# this language.
|
|
202
|
+
# tlang is the language code; machine translate the captions into this language.
|
|
177
203
|
# @param [String] fields
|
|
178
204
|
# Selector specifying which fields to include in a partial response.
|
|
179
205
|
# @param [String] quota_user
|
|
@@ -212,27 +238,24 @@ module Google
|
|
|
212
238
|
|
|
213
239
|
# Inserts a new resource into this collection.
|
|
214
240
|
# @param [Array<String>, String] part
|
|
215
|
-
# The
|
|
216
|
-
#
|
|
217
|
-
# the parameter value to <code>snippet</code>.
|
|
241
|
+
# The *part* parameter specifies the caption resource parts that the API
|
|
242
|
+
# response will include. Set the parameter value to snippet.
|
|
218
243
|
# @param [Google::Apis::YoutubeV3::Caption] caption_object
|
|
219
244
|
# @param [String] on_behalf_of
|
|
220
245
|
# ID of the Google+ Page for the channel that the request is be on behalf of
|
|
221
246
|
# @param [String] on_behalf_of_content_owner
|
|
222
|
-
#
|
|
223
|
-
#
|
|
224
|
-
#
|
|
225
|
-
#
|
|
226
|
-
#
|
|
227
|
-
#
|
|
228
|
-
#
|
|
229
|
-
#
|
|
230
|
-
#
|
|
231
|
-
# channel. The actual CMS account that the user authenticates with must be
|
|
232
|
-
# linked to the specified YouTube content owner.
|
|
247
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
248
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
249
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
250
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
251
|
+
# intended for YouTube content partners that own and manage many different
|
|
252
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
253
|
+
# to all their video and channel data, without having to provide authentication
|
|
254
|
+
# credentials for each individual channel. The actual CMS account that the user
|
|
255
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
233
256
|
# @param [Boolean] sync
|
|
234
|
-
# Extra parameter to allow automatically syncing the uploaded
|
|
235
|
-
#
|
|
257
|
+
# Extra parameter to allow automatically syncing the uploaded caption/transcript
|
|
258
|
+
# with the audio.
|
|
236
259
|
# @param [String] fields
|
|
237
260
|
# Selector specifying which fields to include in a partial response.
|
|
238
261
|
# @param [String] quota_user
|
|
@@ -279,27 +302,23 @@ module Google
|
|
|
279
302
|
# @param [String] video_id
|
|
280
303
|
# Returns the captions for the specified video.
|
|
281
304
|
# @param [Array<String>, String] part
|
|
282
|
-
# The
|
|
283
|
-
#
|
|
284
|
-
#
|
|
285
|
-
# can include in the parameter value are <code>id</code> and
|
|
286
|
-
# <code>snippet</code>.
|
|
305
|
+
# The *part* parameter specifies a comma-separated list of one or more caption
|
|
306
|
+
# resource parts that the API response will include. The part names that you can
|
|
307
|
+
# include in the parameter value are id and snippet.
|
|
287
308
|
# @param [Array<String>, String] id
|
|
288
309
|
# Returns the captions with the given IDs for Stubby or Apiary.
|
|
289
310
|
# @param [String] on_behalf_of
|
|
290
311
|
# ID of the Google+ Page for the channel that the request is on behalf of.
|
|
291
312
|
# @param [String] on_behalf_of_content_owner
|
|
292
|
-
#
|
|
293
|
-
#
|
|
294
|
-
#
|
|
295
|
-
#
|
|
296
|
-
#
|
|
297
|
-
#
|
|
298
|
-
#
|
|
299
|
-
#
|
|
300
|
-
#
|
|
301
|
-
# channel. The actual CMS account that the user authenticates with must be
|
|
302
|
-
# linked to the specified YouTube content owner.
|
|
313
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
314
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
315
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
316
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
317
|
+
# intended for YouTube content partners that own and manage many different
|
|
318
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
319
|
+
# to all their video and channel data, without having to provide authentication
|
|
320
|
+
# credentials for each individual channel. The actual CMS account that the user
|
|
321
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
303
322
|
# @param [String] fields
|
|
304
323
|
# Selector specifying which fields to include in a partial response.
|
|
305
324
|
# @param [String] quota_user
|
|
@@ -333,29 +352,25 @@ module Google
|
|
|
333
352
|
|
|
334
353
|
# Updates an existing resource.
|
|
335
354
|
# @param [Array<String>, String] part
|
|
336
|
-
# The
|
|
337
|
-
#
|
|
338
|
-
#
|
|
339
|
-
# can include in the parameter value are <code>id</code> and
|
|
340
|
-
# <code>snippet</code>.
|
|
355
|
+
# The *part* parameter specifies a comma-separated list of one or more caption
|
|
356
|
+
# resource parts that the API response will include. The part names that you can
|
|
357
|
+
# include in the parameter value are id and snippet.
|
|
341
358
|
# @param [Google::Apis::YoutubeV3::Caption] caption_object
|
|
342
359
|
# @param [String] on_behalf_of
|
|
343
360
|
# ID of the Google+ Page for the channel that the request is on behalf of.
|
|
344
361
|
# @param [String] on_behalf_of_content_owner
|
|
345
|
-
#
|
|
346
|
-
#
|
|
347
|
-
#
|
|
348
|
-
#
|
|
349
|
-
#
|
|
350
|
-
#
|
|
351
|
-
#
|
|
352
|
-
#
|
|
353
|
-
#
|
|
354
|
-
# channel. The actual CMS account that the user authenticates with must be
|
|
355
|
-
# linked to the specified YouTube content owner.
|
|
362
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
363
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
364
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
365
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
366
|
+
# intended for YouTube content partners that own and manage many different
|
|
367
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
368
|
+
# to all their video and channel data, without having to provide authentication
|
|
369
|
+
# credentials for each individual channel. The actual CMS account that the user
|
|
370
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
356
371
|
# @param [Boolean] sync
|
|
357
|
-
# Extra parameter to allow automatically syncing the uploaded
|
|
358
|
-
#
|
|
372
|
+
# Extra parameter to allow automatically syncing the uploaded caption/transcript
|
|
373
|
+
# with the audio.
|
|
359
374
|
# @param [String] fields
|
|
360
375
|
# Selector specifying which fields to include in a partial response.
|
|
361
376
|
# @param [String] quota_user
|
|
@@ -404,37 +419,30 @@ module Google
|
|
|
404
419
|
# Unused, channel_id is currently derived from the security context of the
|
|
405
420
|
# requestor.
|
|
406
421
|
# @param [String] on_behalf_of_content_owner
|
|
407
|
-
#
|
|
408
|
-
#
|
|
409
|
-
#
|
|
410
|
-
#
|
|
411
|
-
#
|
|
412
|
-
#
|
|
413
|
-
#
|
|
414
|
-
#
|
|
415
|
-
#
|
|
416
|
-
# channel. The actual CMS account that the user authenticates with must be
|
|
417
|
-
# linked to the specified YouTube content owner.
|
|
422
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
423
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
424
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
425
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
426
|
+
# intended for YouTube content partners that own and manage many different
|
|
427
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
428
|
+
# to all their video and channel data, without having to provide authentication
|
|
429
|
+
# credentials for each individual channel. The actual CMS account that the user
|
|
430
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
418
431
|
# @param [String] on_behalf_of_content_owner_channel
|
|
419
|
-
# This parameter can only be used in a properly
|
|
420
|
-
#
|
|
421
|
-
#
|
|
422
|
-
#
|
|
423
|
-
#
|
|
424
|
-
#
|
|
425
|
-
#
|
|
426
|
-
#
|
|
427
|
-
#
|
|
428
|
-
#
|
|
429
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
430
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
431
|
-
# specifies must be linked to the content owner that the
|
|
432
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
432
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
433
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
434
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
435
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
436
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
437
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
438
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
439
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
440
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
441
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
433
442
|
# parameter is intended for YouTube content partners that own and manage many
|
|
434
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
435
|
-
#
|
|
436
|
-
#
|
|
437
|
-
# separate channel.
|
|
443
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
444
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
445
|
+
# without having to provide authentication credentials for each separate channel.
|
|
438
446
|
# @param [String] fields
|
|
439
447
|
# Selector specifying which fields to include in a partial response.
|
|
440
448
|
# @param [String] quota_user
|
|
@@ -479,18 +487,15 @@ module Google
|
|
|
479
487
|
# Deletes a resource.
|
|
480
488
|
# @param [String] id
|
|
481
489
|
# @param [String] on_behalf_of_content_owner
|
|
482
|
-
#
|
|
483
|
-
#
|
|
484
|
-
#
|
|
485
|
-
#
|
|
486
|
-
#
|
|
487
|
-
#
|
|
488
|
-
#
|
|
489
|
-
#
|
|
490
|
-
#
|
|
491
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
492
|
-
# account that the user authenticates with must be linked to the specified
|
|
493
|
-
# YouTube content owner.
|
|
490
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
491
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
492
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
493
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
494
|
+
# intended for YouTube content partners that own and manage many different
|
|
495
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
496
|
+
# to all their video and channel data, without having to provide authentication
|
|
497
|
+
# credentials for each individual channel. The CMS account that the user
|
|
498
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
494
499
|
# @param [String] fields
|
|
495
500
|
# Selector specifying which fields to include in a partial response.
|
|
496
501
|
# @param [String] quota_user
|
|
@@ -519,45 +524,36 @@ module Google
|
|
|
519
524
|
|
|
520
525
|
# Inserts a new resource into this collection.
|
|
521
526
|
# @param [Array<String>, String] part
|
|
522
|
-
# The
|
|
523
|
-
#
|
|
524
|
-
#
|
|
525
|
-
#
|
|
526
|
-
# parameter value are <code>snippet</code> and <code>contentDetails</code>.
|
|
527
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
528
|
+
# properties that the write operation will set as well as the properties that
|
|
529
|
+
# the API response will include. The part names that you can include in the
|
|
530
|
+
# parameter value are snippet and contentDetails.
|
|
527
531
|
# @param [Google::Apis::YoutubeV3::ChannelSection] channel_section_object
|
|
528
532
|
# @param [String] on_behalf_of_content_owner
|
|
529
|
-
#
|
|
530
|
-
#
|
|
531
|
-
#
|
|
532
|
-
#
|
|
533
|
-
#
|
|
534
|
-
#
|
|
535
|
-
#
|
|
536
|
-
#
|
|
537
|
-
#
|
|
538
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
539
|
-
# account that the user authenticates with must be linked to the specified
|
|
540
|
-
# YouTube content owner.
|
|
533
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
534
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
535
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
536
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
537
|
+
# intended for YouTube content partners that own and manage many different
|
|
538
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
539
|
+
# to all their video and channel data, without having to provide authentication
|
|
540
|
+
# credentials for each individual channel. The CMS account that the user
|
|
541
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
541
542
|
# @param [String] on_behalf_of_content_owner_channel
|
|
542
|
-
# This parameter can only be used in a properly
|
|
543
|
-
#
|
|
544
|
-
#
|
|
545
|
-
#
|
|
546
|
-
#
|
|
547
|
-
#
|
|
548
|
-
#
|
|
549
|
-
#
|
|
550
|
-
#
|
|
551
|
-
#
|
|
552
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
553
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
554
|
-
# specifies must be linked to the content owner that the
|
|
555
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
543
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
544
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
545
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
546
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
547
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
548
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
549
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
550
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
551
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
552
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
556
553
|
# parameter is intended for YouTube content partners that own and manage many
|
|
557
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
558
|
-
#
|
|
559
|
-
#
|
|
560
|
-
# separate channel.
|
|
554
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
555
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
556
|
+
# without having to provide authentication credentials for each separate channel.
|
|
561
557
|
# @param [String] fields
|
|
562
558
|
# Selector specifying which fields to include in a partial response.
|
|
563
559
|
# @param [String] quota_user
|
|
@@ -591,17 +587,14 @@ module Google
|
|
|
591
587
|
|
|
592
588
|
# Retrieves a list of resources, possibly filtered.
|
|
593
589
|
# @param [Array<String>, String] part
|
|
594
|
-
# The
|
|
595
|
-
#
|
|
596
|
-
#
|
|
597
|
-
#
|
|
598
|
-
#
|
|
599
|
-
#
|
|
600
|
-
#
|
|
601
|
-
#
|
|
602
|
-
# contains other properties, such as a display title for the channelSection.
|
|
603
|
-
# If you set <code><strong>part=snippet</strong></code>, the API response
|
|
604
|
-
# will also contain all of those nested properties.
|
|
590
|
+
# The *part* parameter specifies a comma-separated list of one or more
|
|
591
|
+
# channelSection resource properties that the API response will include. The
|
|
592
|
+
# part names that you can include in the parameter value are id, snippet, and
|
|
593
|
+
# contentDetails. If the parameter identifies a property that contains child
|
|
594
|
+
# properties, the child properties will be included in the response. For example,
|
|
595
|
+
# in a channelSection resource, the snippet property contains other properties,
|
|
596
|
+
# such as a display title for the channelSection. If you set *part=snippet*, the
|
|
597
|
+
# API response will also contain all of those nested properties.
|
|
605
598
|
# @param [String] channel_id
|
|
606
599
|
# Return the ChannelSections owned by the specified channel ID.
|
|
607
600
|
# @param [String] hl
|
|
@@ -611,18 +604,15 @@ module Google
|
|
|
611
604
|
# @param [Boolean] mine
|
|
612
605
|
# Return the ChannelSections owned by the authenticated user.
|
|
613
606
|
# @param [String] on_behalf_of_content_owner
|
|
614
|
-
#
|
|
615
|
-
#
|
|
616
|
-
#
|
|
617
|
-
#
|
|
618
|
-
#
|
|
619
|
-
#
|
|
620
|
-
#
|
|
621
|
-
#
|
|
622
|
-
#
|
|
623
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
624
|
-
# account that the user authenticates with must be linked to the specified
|
|
625
|
-
# YouTube content owner.
|
|
607
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
608
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
609
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
610
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
611
|
+
# intended for YouTube content partners that own and manage many different
|
|
612
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
613
|
+
# to all their video and channel data, without having to provide authentication
|
|
614
|
+
# credentials for each individual channel. The CMS account that the user
|
|
615
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
626
616
|
# @param [String] fields
|
|
627
617
|
# Selector specifying which fields to include in a partial response.
|
|
628
618
|
# @param [String] quota_user
|
|
@@ -657,25 +647,21 @@ module Google
|
|
|
657
647
|
|
|
658
648
|
# Updates an existing resource.
|
|
659
649
|
# @param [Array<String>, String] part
|
|
660
|
-
# The
|
|
661
|
-
#
|
|
662
|
-
#
|
|
663
|
-
#
|
|
664
|
-
# parameter value are <code>snippet</code> and <code>contentDetails</code>.
|
|
650
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
651
|
+
# properties that the write operation will set as well as the properties that
|
|
652
|
+
# the API response will include. The part names that you can include in the
|
|
653
|
+
# parameter value are snippet and contentDetails.
|
|
665
654
|
# @param [Google::Apis::YoutubeV3::ChannelSection] channel_section_object
|
|
666
655
|
# @param [String] on_behalf_of_content_owner
|
|
667
|
-
#
|
|
668
|
-
#
|
|
669
|
-
#
|
|
670
|
-
#
|
|
671
|
-
#
|
|
672
|
-
#
|
|
673
|
-
#
|
|
674
|
-
#
|
|
675
|
-
#
|
|
676
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
677
|
-
# account that the user authenticates with must be linked to the specified
|
|
678
|
-
# YouTube content owner.
|
|
656
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
657
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
658
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
659
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
660
|
+
# intended for YouTube content partners that own and manage many different
|
|
661
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
662
|
+
# to all their video and channel data, without having to provide authentication
|
|
663
|
+
# credentials for each individual channel. The CMS account that the user
|
|
664
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
679
665
|
# @param [String] fields
|
|
680
666
|
# Selector specifying which fields to include in a partial response.
|
|
681
667
|
# @param [String] quota_user
|
|
@@ -708,15 +694,13 @@ module Google
|
|
|
708
694
|
|
|
709
695
|
# Retrieves a list of resources, possibly filtered.
|
|
710
696
|
# @param [Array<String>, String] part
|
|
711
|
-
# The
|
|
712
|
-
#
|
|
713
|
-
# properties that the API response will include.<br><br>If the parameter
|
|
697
|
+
# The *part* parameter specifies a comma-separated list of one or more channel
|
|
698
|
+
# resource properties that the API response will include. If the parameter
|
|
714
699
|
# identifies a property that contains child properties, the child properties
|
|
715
|
-
# will be included in the response. For example, in a
|
|
716
|
-
#
|
|
717
|
-
# properties
|
|
718
|
-
#
|
|
719
|
-
# will also contain all of those nested properties.
|
|
700
|
+
# will be included in the response. For example, in a channel resource, the
|
|
701
|
+
# contentDetails property contains other properties, such as the uploads
|
|
702
|
+
# properties. As such, if you set *part=contentDetails*, the API response will
|
|
703
|
+
# also contain all of those nested properties.
|
|
720
704
|
# @param [String] category_id
|
|
721
705
|
# Return the channels within the specified guide category ID.
|
|
722
706
|
# @param [String] for_username
|
|
@@ -724,38 +708,34 @@ module Google
|
|
|
724
708
|
# @param [String] hl
|
|
725
709
|
# Stands for "host language". Specifies the localization language of the
|
|
726
710
|
# metadata to be filled into snippet.localized. The field is filled with the
|
|
727
|
-
# default metadata if there is no localization in the specified language.
|
|
728
|
-
#
|
|
729
|
-
#
|
|
711
|
+
# default metadata if there is no localization in the specified language. The
|
|
712
|
+
# parameter value must be a language code included in the list returned by the
|
|
713
|
+
# i18nLanguages.list method (e.g. en_US, es_MX).
|
|
730
714
|
# @param [Array<String>, String] id
|
|
731
715
|
# Return the channels with the specified IDs.
|
|
732
716
|
# @param [Boolean] managed_by_me
|
|
733
717
|
# Return the channels managed by the authenticated user.
|
|
734
718
|
# @param [Fixnum] max_results
|
|
735
|
-
# The
|
|
736
|
-
#
|
|
719
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
720
|
+
# be returned in the result set.
|
|
737
721
|
# @param [Boolean] mine
|
|
738
722
|
# Return the ids of channels owned by the authenticated user.
|
|
739
723
|
# @param [Boolean] my_subscribers
|
|
740
724
|
# Return the channels subscribed to the authenticated user
|
|
741
725
|
# @param [String] on_behalf_of_content_owner
|
|
742
|
-
#
|
|
743
|
-
#
|
|
744
|
-
#
|
|
745
|
-
#
|
|
746
|
-
#
|
|
747
|
-
#
|
|
748
|
-
#
|
|
749
|
-
#
|
|
750
|
-
#
|
|
751
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
752
|
-
# account that the user authenticates with must be linked to the specified
|
|
753
|
-
# YouTube content owner.
|
|
726
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
727
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
728
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
729
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
730
|
+
# intended for YouTube content partners that own and manage many different
|
|
731
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
732
|
+
# to all their video and channel data, without having to provide authentication
|
|
733
|
+
# credentials for each individual channel. The CMS account that the user
|
|
734
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
754
735
|
# @param [String] page_token
|
|
755
|
-
# The
|
|
756
|
-
#
|
|
757
|
-
#
|
|
758
|
-
# identify other pages that could be retrieved.
|
|
736
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
737
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
738
|
+
# properties identify other pages that could be retrieved.
|
|
759
739
|
# @param [String] fields
|
|
760
740
|
# Selector specifying which fields to include in a partial response.
|
|
761
741
|
# @param [String] quota_user
|
|
@@ -795,26 +775,23 @@ module Google
|
|
|
795
775
|
|
|
796
776
|
# Updates an existing resource.
|
|
797
777
|
# @param [Array<String>, String] part
|
|
798
|
-
# The
|
|
799
|
-
#
|
|
800
|
-
#
|
|
801
|
-
#
|
|
802
|
-
#
|
|
803
|
-
#
|
|
804
|
-
#
|
|
805
|
-
# values for all of the mutable properties that are contained in any parts
|
|
806
|
-
# that the parameter value specifies.
|
|
778
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
779
|
+
# properties that the write operation will set as well as the properties that
|
|
780
|
+
# the API response will include. The API currently only allows the parameter
|
|
781
|
+
# value to be set to either brandingSettings or invideoPromotion. (You cannot
|
|
782
|
+
# update both of those parts with a single request.) Note that this method
|
|
783
|
+
# overrides the existing values for all of the mutable properties that are
|
|
784
|
+
# contained in any parts that the parameter value specifies.
|
|
807
785
|
# @param [Google::Apis::YoutubeV3::Channel] channel_object
|
|
808
786
|
# @param [String] on_behalf_of_content_owner
|
|
809
|
-
# The
|
|
810
|
-
#
|
|
811
|
-
#
|
|
812
|
-
# YouTube
|
|
813
|
-
#
|
|
814
|
-
#
|
|
815
|
-
#
|
|
816
|
-
#
|
|
817
|
-
# owner.
|
|
787
|
+
# The *onBehalfOfContentOwner* parameter indicates that the authenticated user
|
|
788
|
+
# is acting on behalf of the content owner specified in the parameter value.
|
|
789
|
+
# This parameter is intended for YouTube content partners that own and manage
|
|
790
|
+
# many different YouTube channels. It allows content owners to authenticate once
|
|
791
|
+
# and get access to all their video and channel data, without having to provide
|
|
792
|
+
# authentication credentials for each individual channel. The actual CMS account
|
|
793
|
+
# that the user authenticates with needs to be linked to the specified YouTube
|
|
794
|
+
# content owner.
|
|
818
795
|
# @param [String] fields
|
|
819
796
|
# Selector specifying which fields to include in a partial response.
|
|
820
797
|
# @param [String] quota_user
|
|
@@ -847,10 +824,9 @@ module Google
|
|
|
847
824
|
|
|
848
825
|
# Inserts a new resource into this collection.
|
|
849
826
|
# @param [Array<String>, String] part
|
|
850
|
-
# The
|
|
851
|
-
#
|
|
852
|
-
#
|
|
853
|
-
# units.
|
|
827
|
+
# The *part* parameter identifies the properties that the API response will
|
|
828
|
+
# include. Set the parameter value to snippet. The snippet part has a quota cost
|
|
829
|
+
# of 2 units.
|
|
854
830
|
# @param [Google::Apis::YoutubeV3::CommentThread] comment_thread_object
|
|
855
831
|
# @param [String] fields
|
|
856
832
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -883,33 +859,31 @@ module Google
|
|
|
883
859
|
|
|
884
860
|
# Retrieves a list of resources, possibly filtered.
|
|
885
861
|
# @param [Array<String>, String] part
|
|
886
|
-
# The
|
|
887
|
-
#
|
|
888
|
-
# properties that the API response will include.
|
|
862
|
+
# The *part* parameter specifies a comma-separated list of one or more
|
|
863
|
+
# commentThread resource properties that the API response will include.
|
|
889
864
|
# @param [String] all_threads_related_to_channel_id
|
|
890
|
-
# Returns the comment threads of all videos of the channel and the
|
|
891
|
-
#
|
|
865
|
+
# Returns the comment threads of all videos of the channel and the channel
|
|
866
|
+
# comments as well.
|
|
892
867
|
# @param [String] channel_id
|
|
893
|
-
# Returns the comment threads for all the channel comments (ie does not
|
|
894
|
-
#
|
|
868
|
+
# Returns the comment threads for all the channel comments (ie does not include
|
|
869
|
+
# comments left on videos).
|
|
895
870
|
# @param [Array<String>, String] id
|
|
896
871
|
# Returns the comment threads with the given IDs for Stubby or Apiary.
|
|
897
872
|
# @param [Fixnum] max_results
|
|
898
|
-
# The
|
|
899
|
-
#
|
|
873
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
874
|
+
# be returned in the result set.
|
|
900
875
|
# @param [String] moderation_status
|
|
901
|
-
# Limits the returned comment threads to those with the specified
|
|
902
|
-
#
|
|
903
|
-
#
|
|
876
|
+
# Limits the returned comment threads to those with the specified moderation
|
|
877
|
+
# status. Not compatible with the 'id' filter. Valid values: published,
|
|
878
|
+
# heldForReview, likelySpam.
|
|
904
879
|
# @param [String] order
|
|
905
880
|
# @param [String] page_token
|
|
906
|
-
# The
|
|
907
|
-
#
|
|
908
|
-
#
|
|
909
|
-
# identify other pages that could be retrieved.
|
|
881
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
882
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
883
|
+
# properties identify other pages that could be retrieved.
|
|
910
884
|
# @param [String] search_terms
|
|
911
|
-
# Limits the returned comment threads to those matching the specified
|
|
912
|
-
#
|
|
885
|
+
# Limits the returned comment threads to those matching the specified key words.
|
|
886
|
+
# Not compatible with the 'id' filter.
|
|
913
887
|
# @param [String] text_format
|
|
914
888
|
# The requested text format for the returned comments.
|
|
915
889
|
# @param [String] video_id
|
|
@@ -953,11 +927,10 @@ module Google
|
|
|
953
927
|
|
|
954
928
|
# Updates an existing resource.
|
|
955
929
|
# @param [Array<String>, String] part
|
|
956
|
-
# The
|
|
957
|
-
#
|
|
958
|
-
# the
|
|
959
|
-
#
|
|
960
|
-
# all of the properties that the API request can update.
|
|
930
|
+
# The *part* parameter specifies a comma-separated list of commentThread
|
|
931
|
+
# resource properties that the API response will include. You must at least
|
|
932
|
+
# include the snippet part in the parameter value since that part contains all
|
|
933
|
+
# of the properties that the API request can update.
|
|
961
934
|
# @param [Google::Apis::YoutubeV3::CommentThread] comment_thread_object
|
|
962
935
|
# @param [String] fields
|
|
963
936
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1017,10 +990,9 @@ module Google
|
|
|
1017
990
|
|
|
1018
991
|
# Inserts a new resource into this collection.
|
|
1019
992
|
# @param [Array<String>, String] part
|
|
1020
|
-
# The
|
|
1021
|
-
#
|
|
1022
|
-
#
|
|
1023
|
-
# units.
|
|
993
|
+
# The *part* parameter identifies the properties that the API response will
|
|
994
|
+
# include. Set the parameter value to snippet. The snippet part has a quota cost
|
|
995
|
+
# of 2 units.
|
|
1024
996
|
# @param [Google::Apis::YoutubeV3::Comment] comment_object
|
|
1025
997
|
# @param [String] fields
|
|
1026
998
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1053,24 +1025,21 @@ module Google
|
|
|
1053
1025
|
|
|
1054
1026
|
# Retrieves a list of resources, possibly filtered.
|
|
1055
1027
|
# @param [Array<String>, String] part
|
|
1056
|
-
# The
|
|
1057
|
-
#
|
|
1058
|
-
# properties that the API response will include.
|
|
1028
|
+
# The *part* parameter specifies a comma-separated list of one or more comment
|
|
1029
|
+
# resource properties that the API response will include.
|
|
1059
1030
|
# @param [Array<String>, String] id
|
|
1060
1031
|
# Returns the comments with the given IDs for One Platform.
|
|
1061
1032
|
# @param [Fixnum] max_results
|
|
1062
|
-
# The
|
|
1063
|
-
#
|
|
1033
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
1034
|
+
# be returned in the result set.
|
|
1064
1035
|
# @param [String] page_token
|
|
1065
|
-
# The
|
|
1066
|
-
#
|
|
1067
|
-
#
|
|
1068
|
-
# identify other pages that could be retrieved.
|
|
1036
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
1037
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
1038
|
+
# properties identify other pages that could be retrieved.
|
|
1069
1039
|
# @param [String] parent_id
|
|
1070
|
-
# Returns replies to the specified comment.
|
|
1071
|
-
#
|
|
1072
|
-
# to
|
|
1073
|
-
# the future.
|
|
1040
|
+
# Returns replies to the specified comment. Note, currently YouTube features
|
|
1041
|
+
# only one level of replies (ie replies to top level comments). However replies
|
|
1042
|
+
# to replies may be supported in the future.
|
|
1074
1043
|
# @param [String] text_format
|
|
1075
1044
|
# The requested text format for the returned comments.
|
|
1076
1045
|
# @param [String] fields
|
|
@@ -1105,8 +1074,8 @@ module Google
|
|
|
1105
1074
|
execute_or_queue_command(command, &block)
|
|
1106
1075
|
end
|
|
1107
1076
|
|
|
1108
|
-
# Expresses the caller's opinion that one or more comments should be flagged
|
|
1109
|
-
#
|
|
1077
|
+
# Expresses the caller's opinion that one or more comments should be flagged as
|
|
1078
|
+
# spam.
|
|
1110
1079
|
# @param [Array<String>, String] id
|
|
1111
1080
|
# Flags the comments with the given IDs as spam in the caller's opinion.
|
|
1112
1081
|
# @param [String] fields
|
|
@@ -1138,16 +1107,15 @@ module Google
|
|
|
1138
1107
|
# @param [Array<String>, String] id
|
|
1139
1108
|
# Modifies the moderation status of the comments with the given IDs
|
|
1140
1109
|
# @param [String] moderation_status
|
|
1141
|
-
# Specifies the requested moderation status. Note, comments can be in
|
|
1142
|
-
#
|
|
1143
|
-
#
|
|
1144
|
-
#
|
|
1145
|
-
#
|
|
1110
|
+
# Specifies the requested moderation status. Note, comments can be in statuses,
|
|
1111
|
+
# which are not available through this call. For example, this call does not
|
|
1112
|
+
# allow to mark a comment as 'likely spam'. Valid values:
|
|
1113
|
+
# MODERATION_STATUS_PUBLISHED, MODERATION_STATUS_HELD_FOR_REVIEW,
|
|
1114
|
+
# MODERATION_STATUS_REJECTED.
|
|
1146
1115
|
# @param [Boolean] ban_author
|
|
1147
|
-
# If set to true the author of the comment gets added to the ban list.
|
|
1148
|
-
#
|
|
1149
|
-
#
|
|
1150
|
-
# Only valid in combination with STATUS_REJECTED.
|
|
1116
|
+
# If set to true the author of the comment gets added to the ban list. This
|
|
1117
|
+
# means all future comments of the author will autmomatically be rejected. Only
|
|
1118
|
+
# valid in combination with STATUS_REJECTED.
|
|
1151
1119
|
# @param [String] fields
|
|
1152
1120
|
# Selector specifying which fields to include in a partial response.
|
|
1153
1121
|
# @param [String] quota_user
|
|
@@ -1177,10 +1145,9 @@ module Google
|
|
|
1177
1145
|
|
|
1178
1146
|
# Updates an existing resource.
|
|
1179
1147
|
# @param [Array<String>, String] part
|
|
1180
|
-
# The
|
|
1181
|
-
#
|
|
1182
|
-
#
|
|
1183
|
-
# all of the properties that the API request can update.
|
|
1148
|
+
# The *part* parameter identifies the properties that the API response will
|
|
1149
|
+
# include. You must at least include the snippet part in the parameter value
|
|
1150
|
+
# since that part contains all of the properties that the API request can update.
|
|
1184
1151
|
# @param [Google::Apis::YoutubeV3::Comment] comment_object
|
|
1185
1152
|
# @param [String] fields
|
|
1186
1153
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1213,9 +1180,8 @@ module Google
|
|
|
1213
1180
|
|
|
1214
1181
|
# Retrieves a list of guide categories.
|
|
1215
1182
|
# @param [Array<String>, String] part
|
|
1216
|
-
# The
|
|
1217
|
-
#
|
|
1218
|
-
# include. Set the parameter value to <code>snippet</code>.
|
|
1183
|
+
# The *part* parameter specifies the guideCategory resource properties that the
|
|
1184
|
+
# API response will include. Set the parameter value to snippet.
|
|
1219
1185
|
# @param [String] hl
|
|
1220
1186
|
# @param [Array<String>, String] id
|
|
1221
1187
|
# Return the guide categories with the given IDs.
|
|
@@ -1253,9 +1219,8 @@ module Google
|
|
|
1253
1219
|
|
|
1254
1220
|
# Retrieves a list of resources, possibly filtered.
|
|
1255
1221
|
# @param [Array<String>, String] part
|
|
1256
|
-
# The
|
|
1257
|
-
#
|
|
1258
|
-
# include. Set the parameter value to <code>snippet</code>.
|
|
1222
|
+
# The *part* parameter specifies the i18nLanguage resource properties that the
|
|
1223
|
+
# API response will include. Set the parameter value to snippet.
|
|
1259
1224
|
# @param [String] hl
|
|
1260
1225
|
# @param [String] fields
|
|
1261
1226
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1287,9 +1252,8 @@ module Google
|
|
|
1287
1252
|
|
|
1288
1253
|
# Retrieves a list of resources, possibly filtered.
|
|
1289
1254
|
# @param [Array<String>, String] part
|
|
1290
|
-
# The
|
|
1291
|
-
#
|
|
1292
|
-
# include. Set the parameter value to <code>snippet</code>.
|
|
1255
|
+
# The *part* parameter specifies the i18nRegion resource properties that the API
|
|
1256
|
+
# response will include. Set the parameter value to snippet.
|
|
1293
1257
|
# @param [String] hl
|
|
1294
1258
|
# @param [String] fields
|
|
1295
1259
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1323,44 +1287,35 @@ module Google
|
|
|
1323
1287
|
# @param [String] id
|
|
1324
1288
|
# Broadcast to bind to the stream
|
|
1325
1289
|
# @param [Array<String>, String] part
|
|
1326
|
-
# The
|
|
1327
|
-
#
|
|
1328
|
-
#
|
|
1329
|
-
#
|
|
1330
|
-
# <code>snippet</code>, <code>contentDetails</code>, and <code>status</code>.
|
|
1290
|
+
# The *part* parameter specifies a comma-separated list of one or more
|
|
1291
|
+
# liveBroadcast resource properties that the API response will include. The part
|
|
1292
|
+
# names that you can include in the parameter value are id, snippet,
|
|
1293
|
+
# contentDetails, and status.
|
|
1331
1294
|
# @param [String] on_behalf_of_content_owner
|
|
1332
|
-
#
|
|
1333
|
-
#
|
|
1334
|
-
#
|
|
1335
|
-
#
|
|
1336
|
-
#
|
|
1337
|
-
#
|
|
1338
|
-
#
|
|
1339
|
-
#
|
|
1340
|
-
#
|
|
1341
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
1342
|
-
# account that the user authenticates with must be linked to the specified
|
|
1343
|
-
# YouTube content owner.
|
|
1295
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
1296
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
1297
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
1298
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
1299
|
+
# intended for YouTube content partners that own and manage many different
|
|
1300
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
1301
|
+
# to all their video and channel data, without having to provide authentication
|
|
1302
|
+
# credentials for each individual channel. The CMS account that the user
|
|
1303
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
1344
1304
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1345
|
-
# This parameter can only be used in a properly
|
|
1346
|
-
#
|
|
1347
|
-
#
|
|
1348
|
-
#
|
|
1349
|
-
#
|
|
1350
|
-
#
|
|
1351
|
-
#
|
|
1352
|
-
#
|
|
1353
|
-
#
|
|
1354
|
-
#
|
|
1355
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
1356
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
1357
|
-
# specifies must be linked to the content owner that the
|
|
1358
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
1305
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
1306
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
1307
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1308
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
1309
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
1310
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
1311
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
1312
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
1313
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
1314
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
1359
1315
|
# parameter is intended for YouTube content partners that own and manage many
|
|
1360
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
1361
|
-
#
|
|
1362
|
-
#
|
|
1363
|
-
# separate channel.
|
|
1316
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
1317
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
1318
|
+
# without having to provide authentication credentials for each separate channel.
|
|
1364
1319
|
# @param [String] stream_id
|
|
1365
1320
|
# Stream to bind, if not set unbind the current one.
|
|
1366
1321
|
# @param [String] fields
|
|
@@ -1394,61 +1349,51 @@ module Google
|
|
|
1394
1349
|
execute_or_queue_command(command, &block)
|
|
1395
1350
|
end
|
|
1396
1351
|
|
|
1397
|
-
# Slate and recording control of the live broadcast.
|
|
1398
|
-
#
|
|
1399
|
-
#
|
|
1352
|
+
# Slate and recording control of the live broadcast. Support actions: slate on/
|
|
1353
|
+
# off, recording start/stop/pause/resume. Design doc: goto/yt-api-liveBroadcast-
|
|
1354
|
+
# control
|
|
1400
1355
|
# @param [String] id
|
|
1401
1356
|
# Broadcast to operate.
|
|
1402
1357
|
# @param [Array<String>, String] part
|
|
1403
|
-
# The
|
|
1404
|
-
#
|
|
1405
|
-
#
|
|
1406
|
-
#
|
|
1407
|
-
# <code>snippet</code>, <code>contentDetails</code>, and <code>status</code>.
|
|
1358
|
+
# The *part* parameter specifies a comma-separated list of one or more
|
|
1359
|
+
# liveBroadcast resource properties that the API response will include. The part
|
|
1360
|
+
# names that you can include in the parameter value are id, snippet,
|
|
1361
|
+
# contentDetails, and status.
|
|
1408
1362
|
# @param [Boolean] display_slate
|
|
1409
1363
|
# Whether display or hide slate.
|
|
1410
1364
|
# @param [Fixnum] offset_time_ms
|
|
1411
|
-
# The exact time when the actions (e.g. slate on) are executed.
|
|
1412
|
-
#
|
|
1413
|
-
#
|
|
1414
|
-
#
|
|
1415
|
-
# otherwise an error will be returned.
|
|
1365
|
+
# The exact time when the actions (e.g. slate on) are executed. It is an offset
|
|
1366
|
+
# from the first frame of the monitor stream. If not set, it means "now" or ASAP.
|
|
1367
|
+
# This field should not be set if the monitor stream is disabled, otherwise an
|
|
1368
|
+
# error will be returned.
|
|
1416
1369
|
# @param [String] on_behalf_of_content_owner
|
|
1417
|
-
#
|
|
1418
|
-
#
|
|
1419
|
-
#
|
|
1420
|
-
#
|
|
1421
|
-
#
|
|
1422
|
-
#
|
|
1423
|
-
#
|
|
1424
|
-
#
|
|
1425
|
-
#
|
|
1426
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
1427
|
-
# account that the user authenticates with must be linked to the specified
|
|
1428
|
-
# YouTube content owner.
|
|
1370
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
1371
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
1372
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
1373
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
1374
|
+
# intended for YouTube content partners that own and manage many different
|
|
1375
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
1376
|
+
# to all their video and channel data, without having to provide authentication
|
|
1377
|
+
# credentials for each individual channel. The CMS account that the user
|
|
1378
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
1429
1379
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1430
|
-
# This parameter can only be used in a properly
|
|
1431
|
-
#
|
|
1432
|
-
#
|
|
1433
|
-
#
|
|
1434
|
-
#
|
|
1435
|
-
#
|
|
1436
|
-
#
|
|
1437
|
-
#
|
|
1438
|
-
#
|
|
1439
|
-
#
|
|
1440
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
1441
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
1442
|
-
# specifies must be linked to the content owner that the
|
|
1443
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
1380
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
1381
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
1382
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1383
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
1384
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
1385
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
1386
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
1387
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
1388
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
1389
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
1444
1390
|
# parameter is intended for YouTube content partners that own and manage many
|
|
1445
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
1446
|
-
#
|
|
1447
|
-
#
|
|
1448
|
-
# separate channel.
|
|
1391
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
1392
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
1393
|
+
# without having to provide authentication credentials for each separate channel.
|
|
1449
1394
|
# @param [String] walltime
|
|
1450
|
-
# The wall clock time at which the action should be executed.
|
|
1451
|
-
#
|
|
1395
|
+
# The wall clock time at which the action should be executed. Only one of
|
|
1396
|
+
# offset_time_ms and walltime may be set at a time.
|
|
1452
1397
|
# @param [String] fields
|
|
1453
1398
|
# Selector specifying which fields to include in a partial response.
|
|
1454
1399
|
# @param [String] quota_user
|
|
@@ -1484,39 +1429,32 @@ module Google
|
|
|
1484
1429
|
|
|
1485
1430
|
# Delete a given broadcast.
|
|
1486
1431
|
# @param [String] id
|
|
1432
|
+
# Broadcast to delete.
|
|
1487
1433
|
# @param [String] on_behalf_of_content_owner
|
|
1488
|
-
#
|
|
1489
|
-
#
|
|
1490
|
-
#
|
|
1491
|
-
#
|
|
1492
|
-
#
|
|
1493
|
-
#
|
|
1494
|
-
#
|
|
1495
|
-
#
|
|
1496
|
-
#
|
|
1497
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
1498
|
-
# account that the user authenticates with must be linked to the specified
|
|
1499
|
-
# YouTube content owner.
|
|
1434
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
1435
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
1436
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
1437
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
1438
|
+
# intended for YouTube content partners that own and manage many different
|
|
1439
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
1440
|
+
# to all their video and channel data, without having to provide authentication
|
|
1441
|
+
# credentials for each individual channel. The CMS account that the user
|
|
1442
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
1500
1443
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1501
|
-
# This parameter can only be used in a properly
|
|
1502
|
-
#
|
|
1503
|
-
#
|
|
1504
|
-
#
|
|
1505
|
-
#
|
|
1506
|
-
#
|
|
1507
|
-
#
|
|
1508
|
-
#
|
|
1509
|
-
#
|
|
1510
|
-
#
|
|
1511
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
1512
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
1513
|
-
# specifies must be linked to the content owner that the
|
|
1514
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
1444
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
1445
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
1446
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1447
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
1448
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
1449
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
1450
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
1451
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
1452
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
1453
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
1515
1454
|
# parameter is intended for YouTube content partners that own and manage many
|
|
1516
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
1517
|
-
#
|
|
1518
|
-
#
|
|
1519
|
-
# separate channel.
|
|
1455
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
1456
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
1457
|
+
# without having to provide authentication credentials for each separate channel.
|
|
1520
1458
|
# @param [String] fields
|
|
1521
1459
|
# Selector specifying which fields to include in a partial response.
|
|
1522
1460
|
# @param [String] quota_user
|
|
@@ -1546,46 +1484,36 @@ module Google
|
|
|
1546
1484
|
|
|
1547
1485
|
# Inserts a new stream for the authenticated user.
|
|
1548
1486
|
# @param [Array<String>, String] part
|
|
1549
|
-
# The
|
|
1550
|
-
#
|
|
1551
|
-
#
|
|
1552
|
-
#
|
|
1553
|
-
# the parameter value are <code>id</code>, <code>snippet</code>,
|
|
1554
|
-
# <code>contentDetails</code>, and <code>status</code>.
|
|
1487
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
1488
|
+
# properties that the write operation will set as well as the properties that
|
|
1489
|
+
# the API response will include. The part properties that you can include in the
|
|
1490
|
+
# parameter value are id, snippet, contentDetails, and status.
|
|
1555
1491
|
# @param [Google::Apis::YoutubeV3::LiveBroadcast] live_broadcast_object
|
|
1556
1492
|
# @param [String] on_behalf_of_content_owner
|
|
1557
|
-
#
|
|
1558
|
-
#
|
|
1559
|
-
#
|
|
1560
|
-
#
|
|
1561
|
-
#
|
|
1562
|
-
#
|
|
1563
|
-
#
|
|
1564
|
-
#
|
|
1565
|
-
#
|
|
1566
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
1567
|
-
# account that the user authenticates with must be linked to the specified
|
|
1568
|
-
# YouTube content owner.
|
|
1493
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
1494
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
1495
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
1496
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
1497
|
+
# intended for YouTube content partners that own and manage many different
|
|
1498
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
1499
|
+
# to all their video and channel data, without having to provide authentication
|
|
1500
|
+
# credentials for each individual channel. The CMS account that the user
|
|
1501
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
1569
1502
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1570
|
-
# This parameter can only be used in a properly
|
|
1571
|
-
#
|
|
1572
|
-
#
|
|
1573
|
-
#
|
|
1574
|
-
#
|
|
1575
|
-
#
|
|
1576
|
-
#
|
|
1577
|
-
#
|
|
1578
|
-
#
|
|
1579
|
-
#
|
|
1580
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
1581
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
1582
|
-
# specifies must be linked to the content owner that the
|
|
1583
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
1503
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
1504
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
1505
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1506
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
1507
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
1508
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
1509
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
1510
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
1511
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
1512
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
1584
1513
|
# parameter is intended for YouTube content partners that own and manage many
|
|
1585
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
1586
|
-
#
|
|
1587
|
-
#
|
|
1588
|
-
# separate channel.
|
|
1514
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
1515
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
1516
|
+
# without having to provide authentication credentials for each separate channel.
|
|
1589
1517
|
# @param [String] fields
|
|
1590
1518
|
# Selector specifying which fields to include in a partial response.
|
|
1591
1519
|
# @param [String] quota_user
|
|
@@ -1619,11 +1547,10 @@ module Google
|
|
|
1619
1547
|
|
|
1620
1548
|
# Retrieve the list of broadcasts associated with the given channel.
|
|
1621
1549
|
# @param [Array<String>, String] part
|
|
1622
|
-
# The
|
|
1623
|
-
#
|
|
1624
|
-
#
|
|
1625
|
-
#
|
|
1626
|
-
# <code>snippet</code>, <code>contentDetails</code>, and <code>status</code>.
|
|
1550
|
+
# The *part* parameter specifies a comma-separated list of one or more
|
|
1551
|
+
# liveBroadcast resource properties that the API response will include. The part
|
|
1552
|
+
# names that you can include in the parameter value are id, snippet,
|
|
1553
|
+
# contentDetails, and status.
|
|
1627
1554
|
# @param [String] broadcast_status
|
|
1628
1555
|
# Return broadcasts with a certain status, e.g. active broadcasts.
|
|
1629
1556
|
# @param [String] broadcast_type
|
|
@@ -1631,47 +1558,38 @@ module Google
|
|
|
1631
1558
|
# @param [Array<String>, String] id
|
|
1632
1559
|
# Return broadcasts with the given ids from Stubby or Apiary.
|
|
1633
1560
|
# @param [Fixnum] max_results
|
|
1634
|
-
# The
|
|
1635
|
-
#
|
|
1561
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
1562
|
+
# be returned in the result set.
|
|
1636
1563
|
# @param [Boolean] mine
|
|
1637
1564
|
# @param [String] on_behalf_of_content_owner
|
|
1638
|
-
#
|
|
1639
|
-
#
|
|
1640
|
-
#
|
|
1641
|
-
#
|
|
1642
|
-
#
|
|
1643
|
-
#
|
|
1644
|
-
#
|
|
1645
|
-
#
|
|
1646
|
-
#
|
|
1647
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
1648
|
-
# account that the user authenticates with must be linked to the specified
|
|
1649
|
-
# YouTube content owner.
|
|
1565
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
1566
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
1567
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
1568
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
1569
|
+
# intended for YouTube content partners that own and manage many different
|
|
1570
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
1571
|
+
# to all their video and channel data, without having to provide authentication
|
|
1572
|
+
# credentials for each individual channel. The CMS account that the user
|
|
1573
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
1650
1574
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1651
|
-
# This parameter can only be used in a properly
|
|
1652
|
-
#
|
|
1653
|
-
#
|
|
1654
|
-
#
|
|
1655
|
-
#
|
|
1656
|
-
#
|
|
1657
|
-
#
|
|
1658
|
-
#
|
|
1659
|
-
#
|
|
1660
|
-
#
|
|
1661
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
1662
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
1663
|
-
# specifies must be linked to the content owner that the
|
|
1664
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
1575
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
1576
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
1577
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1578
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
1579
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
1580
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
1581
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
1582
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
1583
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
1584
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
1665
1585
|
# parameter is intended for YouTube content partners that own and manage many
|
|
1666
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
1667
|
-
#
|
|
1668
|
-
#
|
|
1669
|
-
# separate channel.
|
|
1586
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
1587
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
1588
|
+
# without having to provide authentication credentials for each separate channel.
|
|
1670
1589
|
# @param [String] page_token
|
|
1671
|
-
# The
|
|
1672
|
-
#
|
|
1673
|
-
#
|
|
1674
|
-
# identify other pages that could be retrieved.
|
|
1590
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
1591
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
1592
|
+
# properties identify other pages that could be retrieved.
|
|
1675
1593
|
# @param [String] fields
|
|
1676
1594
|
# Selector specifying which fields to include in a partial response.
|
|
1677
1595
|
# @param [String] quota_user
|
|
@@ -1713,44 +1631,35 @@ module Google
|
|
|
1713
1631
|
# @param [String] broadcast_status
|
|
1714
1632
|
# The status to which the broadcast is going to transition.
|
|
1715
1633
|
# @param [Array<String>, String] part
|
|
1716
|
-
# The
|
|
1717
|
-
#
|
|
1718
|
-
#
|
|
1719
|
-
#
|
|
1720
|
-
# <code>snippet</code>, <code>contentDetails</code>, and <code>status</code>.
|
|
1634
|
+
# The *part* parameter specifies a comma-separated list of one or more
|
|
1635
|
+
# liveBroadcast resource properties that the API response will include. The part
|
|
1636
|
+
# names that you can include in the parameter value are id, snippet,
|
|
1637
|
+
# contentDetails, and status.
|
|
1721
1638
|
# @param [String] on_behalf_of_content_owner
|
|
1722
|
-
#
|
|
1723
|
-
#
|
|
1724
|
-
#
|
|
1725
|
-
#
|
|
1726
|
-
#
|
|
1727
|
-
#
|
|
1728
|
-
#
|
|
1729
|
-
#
|
|
1730
|
-
#
|
|
1731
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
1732
|
-
# account that the user authenticates with must be linked to the specified
|
|
1733
|
-
# YouTube content owner.
|
|
1639
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
1640
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
1641
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
1642
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
1643
|
+
# intended for YouTube content partners that own and manage many different
|
|
1644
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
1645
|
+
# to all their video and channel data, without having to provide authentication
|
|
1646
|
+
# credentials for each individual channel. The CMS account that the user
|
|
1647
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
1734
1648
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1735
|
-
# This parameter can only be used in a properly
|
|
1736
|
-
#
|
|
1737
|
-
#
|
|
1738
|
-
#
|
|
1739
|
-
#
|
|
1740
|
-
#
|
|
1741
|
-
#
|
|
1742
|
-
#
|
|
1743
|
-
#
|
|
1744
|
-
#
|
|
1745
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
1746
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
1747
|
-
# specifies must be linked to the content owner that the
|
|
1748
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
1649
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
1650
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
1651
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1652
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
1653
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
1654
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
1655
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
1656
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
1657
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
1658
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
1749
1659
|
# parameter is intended for YouTube content partners that own and manage many
|
|
1750
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
1751
|
-
#
|
|
1752
|
-
#
|
|
1753
|
-
# separate channel.
|
|
1660
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
1661
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
1662
|
+
# without having to provide authentication credentials for each separate channel.
|
|
1754
1663
|
# @param [String] fields
|
|
1755
1664
|
# Selector specifying which fields to include in a partial response.
|
|
1756
1665
|
# @param [String] quota_user
|
|
@@ -1784,56 +1693,44 @@ module Google
|
|
|
1784
1693
|
|
|
1785
1694
|
# Updates an existing broadcast for the authenticated user.
|
|
1786
1695
|
# @param [Array<String>, String] part
|
|
1787
|
-
# The
|
|
1788
|
-
#
|
|
1789
|
-
#
|
|
1790
|
-
#
|
|
1791
|
-
# the parameter value are <code>id</code>, <code>snippet</code>,
|
|
1792
|
-
# <code>contentDetails</code>, and <code>status</code>.<br><br>Note that this
|
|
1696
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
1697
|
+
# properties that the write operation will set as well as the properties that
|
|
1698
|
+
# the API response will include. The part properties that you can include in the
|
|
1699
|
+
# parameter value are id, snippet, contentDetails, and status. Note that this
|
|
1793
1700
|
# method will override the existing values for all of the mutable properties
|
|
1794
1701
|
# that are contained in any parts that the parameter value specifies. For
|
|
1795
|
-
# example, a
|
|
1796
|
-
#
|
|
1797
|
-
#
|
|
1798
|
-
#
|
|
1799
|
-
#
|
|
1800
|
-
#
|
|
1801
|
-
# specify a value, the existing privacy setting will be removed and the
|
|
1802
|
-
# broadcast will revert to the default privacy setting.
|
|
1702
|
+
# example, a broadcast's privacy status is defined in the status part. As such,
|
|
1703
|
+
# if your request is updating a private or unlisted broadcast, and the request's
|
|
1704
|
+
# part parameter value includes the status part, the broadcast's privacy setting
|
|
1705
|
+
# will be updated to whatever value the request body specifies. If the request
|
|
1706
|
+
# body does not specify a value, the existing privacy setting will be removed
|
|
1707
|
+
# and the broadcast will revert to the default privacy setting.
|
|
1803
1708
|
# @param [Google::Apis::YoutubeV3::LiveBroadcast] live_broadcast_object
|
|
1804
1709
|
# @param [String] on_behalf_of_content_owner
|
|
1805
|
-
#
|
|
1806
|
-
#
|
|
1807
|
-
#
|
|
1808
|
-
#
|
|
1809
|
-
#
|
|
1810
|
-
#
|
|
1811
|
-
#
|
|
1812
|
-
#
|
|
1813
|
-
#
|
|
1814
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
1815
|
-
# account that the user authenticates with must be linked to the specified
|
|
1816
|
-
# YouTube content owner.
|
|
1710
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
1711
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
1712
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
1713
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
1714
|
+
# intended for YouTube content partners that own and manage many different
|
|
1715
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
1716
|
+
# to all their video and channel data, without having to provide authentication
|
|
1717
|
+
# credentials for each individual channel. The CMS account that the user
|
|
1718
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
1817
1719
|
# @param [String] on_behalf_of_content_owner_channel
|
|
1818
|
-
# This parameter can only be used in a properly
|
|
1819
|
-
#
|
|
1820
|
-
#
|
|
1821
|
-
#
|
|
1822
|
-
#
|
|
1823
|
-
#
|
|
1824
|
-
#
|
|
1825
|
-
#
|
|
1826
|
-
#
|
|
1827
|
-
#
|
|
1828
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
1829
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
1830
|
-
# specifies must be linked to the content owner that the
|
|
1831
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
1720
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
1721
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
1722
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
1723
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
1724
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
1725
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
1726
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
1727
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
1728
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
1729
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
1832
1730
|
# parameter is intended for YouTube content partners that own and manage many
|
|
1833
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
1834
|
-
#
|
|
1835
|
-
#
|
|
1836
|
-
# separate channel.
|
|
1731
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
1732
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
1733
|
+
# without having to provide authentication credentials for each separate channel.
|
|
1837
1734
|
# @param [String] fields
|
|
1838
1735
|
# Selector specifying which fields to include in a partial response.
|
|
1839
1736
|
# @param [String] quota_user
|
|
@@ -1894,10 +1791,9 @@ module Google
|
|
|
1894
1791
|
|
|
1895
1792
|
# Inserts a new resource into this collection.
|
|
1896
1793
|
# @param [Array<String>, String] part
|
|
1897
|
-
# The
|
|
1898
|
-
#
|
|
1899
|
-
#
|
|
1900
|
-
# parameter value to <code>snippet</code>.
|
|
1794
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
1795
|
+
# properties that the write operation will set as well as the properties that
|
|
1796
|
+
# the API response returns. Set the parameter value to snippet.
|
|
1901
1797
|
# @param [Google::Apis::YoutubeV3::LiveChatBan] live_chat_ban_object
|
|
1902
1798
|
# @param [String] fields
|
|
1903
1799
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1957,10 +1853,9 @@ module Google
|
|
|
1957
1853
|
|
|
1958
1854
|
# Inserts a new resource into this collection.
|
|
1959
1855
|
# @param [Array<String>, String] part
|
|
1960
|
-
# The
|
|
1961
|
-
#
|
|
1962
|
-
#
|
|
1963
|
-
# <code>snippet</code>.
|
|
1856
|
+
# The *part* parameter serves two purposes. It identifies the properties that
|
|
1857
|
+
# the write operation will set as well as the properties that the API response
|
|
1858
|
+
# will include. Set the parameter value to snippet.
|
|
1964
1859
|
# @param [Google::Apis::YoutubeV3::LiveChatMessage] live_chat_message_object
|
|
1965
1860
|
# @param [String] fields
|
|
1966
1861
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1995,23 +1890,20 @@ module Google
|
|
|
1995
1890
|
# @param [String] live_chat_id
|
|
1996
1891
|
# The id of the live chat for which comments should be returned.
|
|
1997
1892
|
# @param [Array<String>, String] part
|
|
1998
|
-
# The
|
|
1999
|
-
#
|
|
2000
|
-
# include. Supported values are <code>id</code> and <code>snippet</code>.
|
|
1893
|
+
# The *part* parameter specifies the liveChatComment resource parts that the API
|
|
1894
|
+
# response will include. Supported values are id and snippet.
|
|
2001
1895
|
# @param [String] hl
|
|
2002
|
-
# Specifies the localization language in which the system messages
|
|
2003
|
-
#
|
|
1896
|
+
# Specifies the localization language in which the system messages should be
|
|
1897
|
+
# returned.
|
|
2004
1898
|
# @param [Fixnum] max_results
|
|
2005
|
-
# The
|
|
2006
|
-
#
|
|
1899
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
1900
|
+
# be returned in the result set.
|
|
2007
1901
|
# @param [String] page_token
|
|
2008
|
-
# The
|
|
2009
|
-
#
|
|
2010
|
-
#
|
|
2011
|
-
# retrieved.
|
|
1902
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
1903
|
+
# should be returned. In an API response, the nextPageToken property identify
|
|
1904
|
+
# other pages that could be retrieved.
|
|
2012
1905
|
# @param [Fixnum] profile_image_size
|
|
2013
|
-
# Specifies the size of the profile image that should be
|
|
2014
|
-
# returned for each user.
|
|
1906
|
+
# Specifies the size of the profile image that should be returned for each user.
|
|
2015
1907
|
# @param [String] fields
|
|
2016
1908
|
# Selector specifying which fields to include in a partial response.
|
|
2017
1909
|
# @param [String] quota_user
|
|
@@ -2073,10 +1965,9 @@ module Google
|
|
|
2073
1965
|
|
|
2074
1966
|
# Inserts a new resource into this collection.
|
|
2075
1967
|
# @param [Array<String>, String] part
|
|
2076
|
-
# The
|
|
2077
|
-
#
|
|
2078
|
-
#
|
|
2079
|
-
# parameter value to <code>snippet</code>.
|
|
1968
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
1969
|
+
# properties that the write operation will set as well as the properties that
|
|
1970
|
+
# the API response returns. Set the parameter value to snippet.
|
|
2080
1971
|
# @param [Google::Apis::YoutubeV3::LiveChatModerator] live_chat_moderator_object
|
|
2081
1972
|
# @param [String] fields
|
|
2082
1973
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2111,17 +2002,15 @@ module Google
|
|
|
2111
2002
|
# @param [String] live_chat_id
|
|
2112
2003
|
# The id of the live chat for which moderators should be returned.
|
|
2113
2004
|
# @param [Array<String>, String] part
|
|
2114
|
-
# The
|
|
2115
|
-
#
|
|
2116
|
-
# include. Supported values are <code>id</code> and <code>snippet</code>.
|
|
2005
|
+
# The *part* parameter specifies the liveChatModerator resource parts that the
|
|
2006
|
+
# API response will include. Supported values are id and snippet.
|
|
2117
2007
|
# @param [Fixnum] max_results
|
|
2118
|
-
# The
|
|
2119
|
-
#
|
|
2008
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
2009
|
+
# be returned in the result set.
|
|
2120
2010
|
# @param [String] page_token
|
|
2121
|
-
# The
|
|
2122
|
-
#
|
|
2123
|
-
#
|
|
2124
|
-
# identify other pages that could be retrieved.
|
|
2011
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
2012
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
2013
|
+
# properties identify other pages that could be retrieved.
|
|
2125
2014
|
# @param [String] fields
|
|
2126
2015
|
# Selector specifying which fields to include in a partial response.
|
|
2127
2016
|
# @param [String] quota_user
|
|
@@ -2155,38 +2044,30 @@ module Google
|
|
|
2155
2044
|
# Deletes an existing stream for the authenticated user.
|
|
2156
2045
|
# @param [String] id
|
|
2157
2046
|
# @param [String] on_behalf_of_content_owner
|
|
2158
|
-
#
|
|
2159
|
-
#
|
|
2160
|
-
#
|
|
2161
|
-
#
|
|
2162
|
-
#
|
|
2163
|
-
#
|
|
2164
|
-
#
|
|
2165
|
-
#
|
|
2166
|
-
#
|
|
2167
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
2168
|
-
# account that the user authenticates with must be linked to the specified
|
|
2169
|
-
# YouTube content owner.
|
|
2047
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2048
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2049
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2050
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2051
|
+
# intended for YouTube content partners that own and manage many different
|
|
2052
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2053
|
+
# to all their video and channel data, without having to provide authentication
|
|
2054
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2055
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
2170
2056
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2171
|
-
# This parameter can only be used in a properly
|
|
2172
|
-
#
|
|
2173
|
-
#
|
|
2174
|
-
#
|
|
2175
|
-
#
|
|
2176
|
-
#
|
|
2177
|
-
#
|
|
2178
|
-
#
|
|
2179
|
-
#
|
|
2180
|
-
#
|
|
2181
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
2182
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
2183
|
-
# specifies must be linked to the content owner that the
|
|
2184
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
2057
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
2058
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
2059
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2060
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
2061
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
2062
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
2063
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
2064
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
2065
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
2066
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
2185
2067
|
# parameter is intended for YouTube content partners that own and manage many
|
|
2186
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
2187
|
-
#
|
|
2188
|
-
#
|
|
2189
|
-
# separate channel.
|
|
2068
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
2069
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
2070
|
+
# without having to provide authentication credentials for each separate channel.
|
|
2190
2071
|
# @param [String] fields
|
|
2191
2072
|
# Selector specifying which fields to include in a partial response.
|
|
2192
2073
|
# @param [String] quota_user
|
|
@@ -2216,46 +2097,36 @@ module Google
|
|
|
2216
2097
|
|
|
2217
2098
|
# Inserts a new stream for the authenticated user.
|
|
2218
2099
|
# @param [Array<String>, String] part
|
|
2219
|
-
# The
|
|
2220
|
-
#
|
|
2221
|
-
#
|
|
2222
|
-
#
|
|
2223
|
-
# the parameter value are <code>id</code>, <code>snippet</code>,
|
|
2224
|
-
# <code>cdn</code>, and <code>status</code>.
|
|
2100
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
2101
|
+
# properties that the write operation will set as well as the properties that
|
|
2102
|
+
# the API response will include. The part properties that you can include in the
|
|
2103
|
+
# parameter value are id, snippet, cdn, and status.
|
|
2225
2104
|
# @param [Google::Apis::YoutubeV3::LiveStream] live_stream_object
|
|
2226
2105
|
# @param [String] on_behalf_of_content_owner
|
|
2227
|
-
#
|
|
2228
|
-
#
|
|
2229
|
-
#
|
|
2230
|
-
#
|
|
2231
|
-
#
|
|
2232
|
-
#
|
|
2233
|
-
#
|
|
2234
|
-
#
|
|
2235
|
-
#
|
|
2236
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
2237
|
-
# account that the user authenticates with must be linked to the specified
|
|
2238
|
-
# YouTube content owner.
|
|
2106
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2107
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2108
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2109
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2110
|
+
# intended for YouTube content partners that own and manage many different
|
|
2111
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2112
|
+
# to all their video and channel data, without having to provide authentication
|
|
2113
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2114
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
2239
2115
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2240
|
-
# This parameter can only be used in a properly
|
|
2241
|
-
#
|
|
2242
|
-
#
|
|
2243
|
-
#
|
|
2244
|
-
#
|
|
2245
|
-
#
|
|
2246
|
-
#
|
|
2247
|
-
#
|
|
2248
|
-
#
|
|
2249
|
-
#
|
|
2250
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
2251
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
2252
|
-
# specifies must be linked to the content owner that the
|
|
2253
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
2116
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
2117
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
2118
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2119
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
2120
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
2121
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
2122
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
2123
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
2124
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
2125
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
2254
2126
|
# parameter is intended for YouTube content partners that own and manage many
|
|
2255
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
2256
|
-
#
|
|
2257
|
-
#
|
|
2258
|
-
# separate channel.
|
|
2127
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
2128
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
2129
|
+
# without having to provide authentication credentials for each separate channel.
|
|
2259
2130
|
# @param [String] fields
|
|
2260
2131
|
# Selector specifying which fields to include in a partial response.
|
|
2261
2132
|
# @param [String] quota_user
|
|
@@ -2289,55 +2160,45 @@ module Google
|
|
|
2289
2160
|
|
|
2290
2161
|
# Retrieve the list of streams associated with the given channel. --
|
|
2291
2162
|
# @param [Array<String>, String] part
|
|
2292
|
-
# The
|
|
2293
|
-
#
|
|
2294
|
-
#
|
|
2295
|
-
#
|
|
2296
|
-
# <code>snippet</code>, <code>cdn</code>, and <code>status</code>.
|
|
2163
|
+
# The *part* parameter specifies a comma-separated list of one or more
|
|
2164
|
+
# liveStream resource properties that the API response will include. The part
|
|
2165
|
+
# names that you can include in the parameter value are id, snippet, cdn, and
|
|
2166
|
+
# status.
|
|
2297
2167
|
# @param [Array<String>, String] id
|
|
2298
2168
|
# Return LiveStreams with the given ids from Stubby or Apiary.
|
|
2299
2169
|
# @param [Fixnum] max_results
|
|
2300
|
-
# The
|
|
2301
|
-
#
|
|
2170
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
2171
|
+
# be returned in the result set.
|
|
2302
2172
|
# @param [Boolean] mine
|
|
2303
2173
|
# @param [String] on_behalf_of_content_owner
|
|
2304
|
-
#
|
|
2305
|
-
#
|
|
2306
|
-
#
|
|
2307
|
-
#
|
|
2308
|
-
#
|
|
2309
|
-
#
|
|
2310
|
-
#
|
|
2311
|
-
#
|
|
2312
|
-
#
|
|
2313
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
2314
|
-
# account that the user authenticates with must be linked to the specified
|
|
2315
|
-
# YouTube content owner.
|
|
2174
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2175
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2176
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2177
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2178
|
+
# intended for YouTube content partners that own and manage many different
|
|
2179
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2180
|
+
# to all their video and channel data, without having to provide authentication
|
|
2181
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2182
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
2316
2183
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2317
|
-
# This parameter can only be used in a properly
|
|
2318
|
-
#
|
|
2319
|
-
#
|
|
2320
|
-
#
|
|
2321
|
-
#
|
|
2322
|
-
#
|
|
2323
|
-
#
|
|
2324
|
-
#
|
|
2325
|
-
#
|
|
2326
|
-
#
|
|
2327
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
2328
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
2329
|
-
# specifies must be linked to the content owner that the
|
|
2330
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
2184
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
2185
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
2186
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2187
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
2188
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
2189
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
2190
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
2191
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
2192
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
2193
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
2331
2194
|
# parameter is intended for YouTube content partners that own and manage many
|
|
2332
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
2333
|
-
#
|
|
2334
|
-
#
|
|
2335
|
-
# separate channel.
|
|
2195
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
2196
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
2197
|
+
# without having to provide authentication credentials for each separate channel.
|
|
2336
2198
|
# @param [String] page_token
|
|
2337
|
-
# The
|
|
2338
|
-
#
|
|
2339
|
-
#
|
|
2340
|
-
# identify other pages that could be retrieved.
|
|
2199
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
2200
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
2201
|
+
# properties identify other pages that could be retrieved.
|
|
2341
2202
|
# @param [String] fields
|
|
2342
2203
|
# Selector specifying which fields to include in a partial response.
|
|
2343
2204
|
# @param [String] quota_user
|
|
@@ -2373,50 +2234,40 @@ module Google
|
|
|
2373
2234
|
|
|
2374
2235
|
# Updates an existing stream for the authenticated user.
|
|
2375
2236
|
# @param [Array<String>, String] part
|
|
2376
|
-
# The
|
|
2377
|
-
#
|
|
2378
|
-
#
|
|
2379
|
-
#
|
|
2380
|
-
# the
|
|
2381
|
-
#
|
|
2382
|
-
#
|
|
2383
|
-
#
|
|
2384
|
-
# request body does not specify a value for a mutable property, the existing
|
|
2385
|
-
# value for that property will be removed.
|
|
2237
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
2238
|
+
# properties that the write operation will set as well as the properties that
|
|
2239
|
+
# the API response will include. The part properties that you can include in the
|
|
2240
|
+
# parameter value are id, snippet, cdn, and status. Note that this method will
|
|
2241
|
+
# override the existing values for all of the mutable properties that are
|
|
2242
|
+
# contained in any parts that the parameter value specifies. If the request body
|
|
2243
|
+
# does not specify a value for a mutable property, the existing value for that
|
|
2244
|
+
# property will be removed.
|
|
2386
2245
|
# @param [Google::Apis::YoutubeV3::LiveStream] live_stream_object
|
|
2387
2246
|
# @param [String] on_behalf_of_content_owner
|
|
2388
|
-
#
|
|
2389
|
-
#
|
|
2390
|
-
#
|
|
2391
|
-
#
|
|
2392
|
-
#
|
|
2393
|
-
#
|
|
2394
|
-
#
|
|
2395
|
-
#
|
|
2396
|
-
#
|
|
2397
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
2398
|
-
# account that the user authenticates with must be linked to the specified
|
|
2399
|
-
# YouTube content owner.
|
|
2247
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2248
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2249
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2250
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2251
|
+
# intended for YouTube content partners that own and manage many different
|
|
2252
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2253
|
+
# to all their video and channel data, without having to provide authentication
|
|
2254
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2255
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
2400
2256
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2401
|
-
# This parameter can only be used in a properly
|
|
2402
|
-
#
|
|
2403
|
-
#
|
|
2404
|
-
#
|
|
2405
|
-
#
|
|
2406
|
-
#
|
|
2407
|
-
#
|
|
2408
|
-
#
|
|
2409
|
-
#
|
|
2410
|
-
#
|
|
2411
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
2412
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
2413
|
-
# specifies must be linked to the content owner that the
|
|
2414
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
2257
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
2258
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
2259
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2260
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
2261
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
2262
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
2263
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
2264
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
2265
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
2266
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
2415
2267
|
# parameter is intended for YouTube content partners that own and manage many
|
|
2416
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
2417
|
-
#
|
|
2418
|
-
#
|
|
2419
|
-
# separate channel.
|
|
2268
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
2269
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
2270
|
+
# without having to provide authentication credentials for each separate channel.
|
|
2420
2271
|
# @param [String] fields
|
|
2421
2272
|
# Selector specifying which fields to include in a partial response.
|
|
2422
2273
|
# @param [String] quota_user
|
|
@@ -2450,24 +2301,22 @@ module Google
|
|
|
2450
2301
|
|
|
2451
2302
|
# Retrieves a list of members that match the request criteria for a channel.
|
|
2452
2303
|
# @param [Array<String>, String] part
|
|
2453
|
-
# The
|
|
2454
|
-
#
|
|
2455
|
-
# the parameter value to <code>snippet</code>.
|
|
2304
|
+
# The *part* parameter specifies the member resource parts that the API response
|
|
2305
|
+
# will include. Set the parameter value to snippet.
|
|
2456
2306
|
# @param [String] filter_by_member_channel_id
|
|
2457
|
-
# Comma separated list of channel IDs. Only data about members that are part
|
|
2458
|
-
#
|
|
2307
|
+
# Comma separated list of channel IDs. Only data about members that are part of
|
|
2308
|
+
# this list will be included in the response.
|
|
2459
2309
|
# @param [String] has_access_to_level
|
|
2460
2310
|
# Filter members in the results set to the ones that have access to a level.
|
|
2461
2311
|
# @param [Fixnum] max_results
|
|
2462
|
-
# The
|
|
2463
|
-
#
|
|
2312
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
2313
|
+
# be returned in the result set.
|
|
2464
2314
|
# @param [String] mode
|
|
2465
2315
|
# Parameter that specifies which channel members to return.
|
|
2466
2316
|
# @param [String] page_token
|
|
2467
|
-
# The
|
|
2468
|
-
#
|
|
2469
|
-
#
|
|
2470
|
-
# identify other pages that could be retrieved.
|
|
2317
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
2318
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
2319
|
+
# properties identify other pages that could be retrieved.
|
|
2471
2320
|
# @param [String] fields
|
|
2472
2321
|
# Selector specifying which fields to include in a partial response.
|
|
2473
2322
|
# @param [String] quota_user
|
|
@@ -2502,9 +2351,8 @@ module Google
|
|
|
2502
2351
|
|
|
2503
2352
|
# Retrieves a list of all pricing levels offered by a creator to the fans.
|
|
2504
2353
|
# @param [Array<String>, String] part
|
|
2505
|
-
# The
|
|
2506
|
-
#
|
|
2507
|
-
# include. Supported values are <code>id</code> and <code>snippet</code>.
|
|
2354
|
+
# The *part* parameter specifies the membershipsLevel resource parts that the
|
|
2355
|
+
# API response will include. Supported values are id and snippet.
|
|
2508
2356
|
# @param [String] fields
|
|
2509
2357
|
# Selector specifying which fields to include in a partial response.
|
|
2510
2358
|
# @param [String] quota_user
|
|
@@ -2535,18 +2383,15 @@ module Google
|
|
|
2535
2383
|
# Deletes a resource.
|
|
2536
2384
|
# @param [String] id
|
|
2537
2385
|
# @param [String] on_behalf_of_content_owner
|
|
2538
|
-
#
|
|
2539
|
-
#
|
|
2540
|
-
#
|
|
2541
|
-
#
|
|
2542
|
-
#
|
|
2543
|
-
#
|
|
2544
|
-
#
|
|
2545
|
-
#
|
|
2546
|
-
#
|
|
2547
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
2548
|
-
# account that the user authenticates with must be linked to the specified
|
|
2549
|
-
# YouTube content owner.
|
|
2386
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2387
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2388
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2389
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2390
|
+
# intended for YouTube content partners that own and manage many different
|
|
2391
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2392
|
+
# to all their video and channel data, without having to provide authentication
|
|
2393
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2394
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
2550
2395
|
# @param [String] fields
|
|
2551
2396
|
# Selector specifying which fields to include in a partial response.
|
|
2552
2397
|
# @param [String] quota_user
|
|
@@ -2575,23 +2420,20 @@ module Google
|
|
|
2575
2420
|
|
|
2576
2421
|
# Inserts a new resource into this collection.
|
|
2577
2422
|
# @param [Array<String>, String] part
|
|
2578
|
-
# The
|
|
2579
|
-
#
|
|
2580
|
-
#
|
|
2423
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
2424
|
+
# properties that the write operation will set as well as the properties that
|
|
2425
|
+
# the API response will include.
|
|
2581
2426
|
# @param [Google::Apis::YoutubeV3::PlaylistItem] playlist_item_object
|
|
2582
2427
|
# @param [String] on_behalf_of_content_owner
|
|
2583
|
-
#
|
|
2584
|
-
#
|
|
2585
|
-
#
|
|
2586
|
-
#
|
|
2587
|
-
#
|
|
2588
|
-
#
|
|
2589
|
-
#
|
|
2590
|
-
#
|
|
2591
|
-
#
|
|
2592
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
2593
|
-
# account that the user authenticates with must be linked to the specified
|
|
2594
|
-
# YouTube content owner.
|
|
2428
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2429
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2430
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2431
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2432
|
+
# intended for YouTube content partners that own and manage many different
|
|
2433
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2434
|
+
# to all their video and channel data, without having to provide authentication
|
|
2435
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2436
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
2595
2437
|
# @param [String] fields
|
|
2596
2438
|
# Selector specifying which fields to include in a partial response.
|
|
2597
2439
|
# @param [String] quota_user
|
|
@@ -2624,39 +2466,31 @@ module Google
|
|
|
2624
2466
|
|
|
2625
2467
|
# Retrieves a list of resources, possibly filtered.
|
|
2626
2468
|
# @param [Array<String>, String] part
|
|
2627
|
-
# The
|
|
2628
|
-
#
|
|
2629
|
-
#
|
|
2630
|
-
#
|
|
2631
|
-
#
|
|
2632
|
-
#
|
|
2633
|
-
#
|
|
2634
|
-
# <code>description</code>, <code>position</code>, and
|
|
2635
|
-
# <code>resourceId</code> properties. As such, if you set
|
|
2636
|
-
# <code><strong>part=snippet</strong></code>, the API response will contain
|
|
2637
|
-
# all of those properties.
|
|
2469
|
+
# The *part* parameter specifies a comma-separated list of one or more
|
|
2470
|
+
# playlistItem resource properties that the API response will include. If the
|
|
2471
|
+
# parameter identifies a property that contains child properties, the child
|
|
2472
|
+
# properties will be included in the response. For example, in a playlistItem
|
|
2473
|
+
# resource, the snippet property contains numerous fields, including the title,
|
|
2474
|
+
# description, position, and resourceId properties. As such, if you set *part=
|
|
2475
|
+
# snippet*, the API response will contain all of those properties.
|
|
2638
2476
|
# @param [Array<String>, String] id
|
|
2639
2477
|
# @param [Fixnum] max_results
|
|
2640
|
-
# The
|
|
2641
|
-
#
|
|
2478
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
2479
|
+
# be returned in the result set.
|
|
2642
2480
|
# @param [String] on_behalf_of_content_owner
|
|
2643
|
-
#
|
|
2644
|
-
#
|
|
2645
|
-
#
|
|
2646
|
-
#
|
|
2647
|
-
#
|
|
2648
|
-
#
|
|
2649
|
-
#
|
|
2650
|
-
#
|
|
2651
|
-
#
|
|
2652
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
2653
|
-
# account that the user authenticates with must be linked to the specified
|
|
2654
|
-
# YouTube content owner.
|
|
2481
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2482
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2483
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2484
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2485
|
+
# intended for YouTube content partners that own and manage many different
|
|
2486
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2487
|
+
# to all their video and channel data, without having to provide authentication
|
|
2488
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2489
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
2655
2490
|
# @param [String] page_token
|
|
2656
|
-
# The
|
|
2657
|
-
#
|
|
2658
|
-
#
|
|
2659
|
-
# identify other pages that could be retrieved.
|
|
2491
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
2492
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
2493
|
+
# properties identify other pages that could be retrieved.
|
|
2660
2494
|
# @param [String] playlist_id
|
|
2661
2495
|
# Return the playlist items within the given playlist.
|
|
2662
2496
|
# @param [String] video_id
|
|
@@ -2696,34 +2530,29 @@ module Google
|
|
|
2696
2530
|
|
|
2697
2531
|
# Updates an existing resource.
|
|
2698
2532
|
# @param [Array<String>, String] part
|
|
2699
|
-
# The
|
|
2700
|
-
#
|
|
2701
|
-
#
|
|
2702
|
-
#
|
|
2703
|
-
#
|
|
2704
|
-
#
|
|
2705
|
-
#
|
|
2706
|
-
#
|
|
2707
|
-
#
|
|
2708
|
-
#
|
|
2709
|
-
#
|
|
2710
|
-
# will be
|
|
2711
|
-
# request body does not specify values, the existing start and end times will
|
|
2712
|
-
# be removed and replaced with the default settings.
|
|
2533
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
2534
|
+
# properties that the write operation will set as well as the properties that
|
|
2535
|
+
# the API response will include. Note that this method will override the
|
|
2536
|
+
# existing values for all of the mutable properties that are contained in any
|
|
2537
|
+
# parts that the parameter value specifies. For example, a playlist item can
|
|
2538
|
+
# specify a start time and end time, which identify the times portion of the
|
|
2539
|
+
# video that should play when users watch the video in the playlist. If your
|
|
2540
|
+
# request is updating a playlist item that sets these values, and the request's
|
|
2541
|
+
# part parameter value includes the contentDetails part, the playlist item's
|
|
2542
|
+
# start and end times will be updated to whatever value the request body
|
|
2543
|
+
# specifies. If the request body does not specify values, the existing start and
|
|
2544
|
+
# end times will be removed and replaced with the default settings.
|
|
2713
2545
|
# @param [Google::Apis::YoutubeV3::PlaylistItem] playlist_item_object
|
|
2714
2546
|
# @param [String] on_behalf_of_content_owner
|
|
2715
|
-
#
|
|
2716
|
-
#
|
|
2717
|
-
#
|
|
2718
|
-
#
|
|
2719
|
-
#
|
|
2720
|
-
#
|
|
2721
|
-
#
|
|
2722
|
-
#
|
|
2723
|
-
#
|
|
2724
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
2725
|
-
# account that the user authenticates with must be linked to the specified
|
|
2726
|
-
# YouTube content owner.
|
|
2547
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2548
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2549
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2550
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2551
|
+
# intended for YouTube content partners that own and manage many different
|
|
2552
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2553
|
+
# to all their video and channel data, without having to provide authentication
|
|
2554
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2555
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
2727
2556
|
# @param [String] fields
|
|
2728
2557
|
# Selector specifying which fields to include in a partial response.
|
|
2729
2558
|
# @param [String] quota_user
|
|
@@ -2757,18 +2586,15 @@ module Google
|
|
|
2757
2586
|
# Deletes a resource.
|
|
2758
2587
|
# @param [String] id
|
|
2759
2588
|
# @param [String] on_behalf_of_content_owner
|
|
2760
|
-
#
|
|
2761
|
-
#
|
|
2762
|
-
#
|
|
2763
|
-
#
|
|
2764
|
-
#
|
|
2765
|
-
#
|
|
2766
|
-
#
|
|
2767
|
-
#
|
|
2768
|
-
#
|
|
2769
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
2770
|
-
# account that the user authenticates with must be linked to the specified
|
|
2771
|
-
# YouTube content owner.
|
|
2589
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2590
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2591
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2592
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2593
|
+
# intended for YouTube content partners that own and manage many different
|
|
2594
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2595
|
+
# to all their video and channel data, without having to provide authentication
|
|
2596
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2597
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
2772
2598
|
# @param [String] fields
|
|
2773
2599
|
# Selector specifying which fields to include in a partial response.
|
|
2774
2600
|
# @param [String] quota_user
|
|
@@ -2797,43 +2623,35 @@ module Google
|
|
|
2797
2623
|
|
|
2798
2624
|
# Inserts a new resource into this collection.
|
|
2799
2625
|
# @param [Array<String>, String] part
|
|
2800
|
-
# The
|
|
2801
|
-
#
|
|
2802
|
-
#
|
|
2626
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
2627
|
+
# properties that the write operation will set as well as the properties that
|
|
2628
|
+
# the API response will include.
|
|
2803
2629
|
# @param [Google::Apis::YoutubeV3::Playlist] playlist_object
|
|
2804
2630
|
# @param [String] on_behalf_of_content_owner
|
|
2805
|
-
#
|
|
2806
|
-
#
|
|
2807
|
-
#
|
|
2808
|
-
#
|
|
2809
|
-
#
|
|
2810
|
-
#
|
|
2811
|
-
#
|
|
2812
|
-
#
|
|
2813
|
-
#
|
|
2814
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
2815
|
-
# account that the user authenticates with must be linked to the specified
|
|
2816
|
-
# YouTube content owner.
|
|
2631
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2632
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2633
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2634
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2635
|
+
# intended for YouTube content partners that own and manage many different
|
|
2636
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2637
|
+
# to all their video and channel data, without having to provide authentication
|
|
2638
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2639
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
2817
2640
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2818
|
-
# This parameter can only be used in a properly
|
|
2819
|
-
#
|
|
2820
|
-
#
|
|
2821
|
-
#
|
|
2822
|
-
#
|
|
2823
|
-
#
|
|
2824
|
-
#
|
|
2825
|
-
#
|
|
2826
|
-
#
|
|
2827
|
-
#
|
|
2828
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
2829
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
2830
|
-
# specifies must be linked to the content owner that the
|
|
2831
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
2641
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
2642
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
2643
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2644
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
2645
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
2646
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
2647
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
2648
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
2649
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
2650
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
2832
2651
|
# parameter is intended for YouTube content partners that own and manage many
|
|
2833
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
2834
|
-
#
|
|
2835
|
-
#
|
|
2836
|
-
# separate channel.
|
|
2652
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
2653
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
2654
|
+
# without having to provide authentication credentials for each separate channel.
|
|
2837
2655
|
# @param [String] fields
|
|
2838
2656
|
# Selector specifying which fields to include in a partial response.
|
|
2839
2657
|
# @param [String] quota_user
|
|
@@ -2867,16 +2685,13 @@ module Google
|
|
|
2867
2685
|
|
|
2868
2686
|
# Retrieves a list of resources, possibly filtered.
|
|
2869
2687
|
# @param [Array<String>, String] part
|
|
2870
|
-
# The
|
|
2871
|
-
#
|
|
2872
|
-
# properties that the API response will include.<br><br>If the parameter
|
|
2688
|
+
# The *part* parameter specifies a comma-separated list of one or more playlist
|
|
2689
|
+
# resource properties that the API response will include. If the parameter
|
|
2873
2690
|
# identifies a property that contains child properties, the child properties
|
|
2874
|
-
# will be included in the response. For example, in a
|
|
2875
|
-
#
|
|
2876
|
-
#
|
|
2877
|
-
#
|
|
2878
|
-
# <code><strong>part=snippet</strong></code>, the API response will contain
|
|
2879
|
-
# all of those properties.
|
|
2691
|
+
# will be included in the response. For example, in a playlist resource, the
|
|
2692
|
+
# snippet property contains properties like author, title, description, tags,
|
|
2693
|
+
# and timeCreated. As such, if you set *part=snippet*, the API response will
|
|
2694
|
+
# contain all of those properties.
|
|
2880
2695
|
# @param [String] channel_id
|
|
2881
2696
|
# Return the playlists owned by the specified channel ID.
|
|
2882
2697
|
# @param [String] hl
|
|
@@ -2884,48 +2699,39 @@ module Google
|
|
|
2884
2699
|
# @param [Array<String>, String] id
|
|
2885
2700
|
# Return the playlists with the given IDs for Stubby or Apiary.
|
|
2886
2701
|
# @param [Fixnum] max_results
|
|
2887
|
-
# The
|
|
2888
|
-
#
|
|
2702
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
2703
|
+
# be returned in the result set.
|
|
2889
2704
|
# @param [Boolean] mine
|
|
2890
2705
|
# Return the playlists owned by the authenticated user.
|
|
2891
2706
|
# @param [String] on_behalf_of_content_owner
|
|
2892
|
-
#
|
|
2893
|
-
#
|
|
2894
|
-
#
|
|
2895
|
-
#
|
|
2896
|
-
#
|
|
2897
|
-
#
|
|
2898
|
-
#
|
|
2899
|
-
#
|
|
2900
|
-
#
|
|
2901
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
2902
|
-
# account that the user authenticates with must be linked to the specified
|
|
2903
|
-
# YouTube content owner.
|
|
2707
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2708
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2709
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2710
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2711
|
+
# intended for YouTube content partners that own and manage many different
|
|
2712
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2713
|
+
# to all their video and channel data, without having to provide authentication
|
|
2714
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2715
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
2904
2716
|
# @param [String] on_behalf_of_content_owner_channel
|
|
2905
|
-
# This parameter can only be used in a properly
|
|
2906
|
-
#
|
|
2907
|
-
#
|
|
2908
|
-
#
|
|
2909
|
-
#
|
|
2910
|
-
#
|
|
2911
|
-
#
|
|
2912
|
-
#
|
|
2913
|
-
#
|
|
2914
|
-
#
|
|
2915
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
2916
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
2917
|
-
# specifies must be linked to the content owner that the
|
|
2918
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
2717
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
2718
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
2719
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
2720
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
2721
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
2722
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
2723
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
2724
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
2725
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
2726
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
2919
2727
|
# parameter is intended for YouTube content partners that own and manage many
|
|
2920
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
2921
|
-
#
|
|
2922
|
-
#
|
|
2923
|
-
# separate channel.
|
|
2728
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
2729
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
2730
|
+
# without having to provide authentication credentials for each separate channel.
|
|
2924
2731
|
# @param [String] page_token
|
|
2925
|
-
# The
|
|
2926
|
-
#
|
|
2927
|
-
#
|
|
2928
|
-
# identify other pages that could be retrieved.
|
|
2732
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
2733
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
2734
|
+
# properties identify other pages that could be retrieved.
|
|
2929
2735
|
# @param [String] fields
|
|
2930
2736
|
# Selector specifying which fields to include in a partial response.
|
|
2931
2737
|
# @param [String] quota_user
|
|
@@ -2963,30 +2769,25 @@ module Google
|
|
|
2963
2769
|
|
|
2964
2770
|
# Updates an existing resource.
|
|
2965
2771
|
# @param [Array<String>, String] part
|
|
2966
|
-
# The
|
|
2967
|
-
#
|
|
2968
|
-
#
|
|
2969
|
-
#
|
|
2970
|
-
#
|
|
2971
|
-
#
|
|
2972
|
-
#
|
|
2973
|
-
#
|
|
2974
|
-
# value for the <code>snippet.description</code> property, the playlist's
|
|
2975
|
-
# existing description will be deleted.
|
|
2772
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
2773
|
+
# properties that the write operation will set as well as the properties that
|
|
2774
|
+
# the API response will include. Note that this method will override the
|
|
2775
|
+
# existing values for mutable properties that are contained in any parts that
|
|
2776
|
+
# the request body specifies. For example, a playlist's description is contained
|
|
2777
|
+
# in the snippet part, which must be included in the request body. If the
|
|
2778
|
+
# request does not specify a value for the snippet.description property, the
|
|
2779
|
+
# playlist's existing description will be deleted.
|
|
2976
2780
|
# @param [Google::Apis::YoutubeV3::Playlist] playlist_object
|
|
2977
2781
|
# @param [String] on_behalf_of_content_owner
|
|
2978
|
-
#
|
|
2979
|
-
#
|
|
2980
|
-
#
|
|
2981
|
-
#
|
|
2982
|
-
#
|
|
2983
|
-
#
|
|
2984
|
-
#
|
|
2985
|
-
#
|
|
2986
|
-
#
|
|
2987
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
2988
|
-
# account that the user authenticates with must be linked to the specified
|
|
2989
|
-
# YouTube content owner.
|
|
2782
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2783
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2784
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2785
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2786
|
+
# intended for YouTube content partners that own and manage many different
|
|
2787
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2788
|
+
# to all their video and channel data, without having to provide authentication
|
|
2789
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2790
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
2990
2791
|
# @param [String] fields
|
|
2991
2792
|
# Selector specifying which fields to include in a partial response.
|
|
2992
2793
|
# @param [String] quota_user
|
|
@@ -3019,10 +2820,9 @@ module Google
|
|
|
3019
2820
|
|
|
3020
2821
|
# Retrieves a list of search resources
|
|
3021
2822
|
# @param [Array<String>, String] part
|
|
3022
|
-
# The
|
|
3023
|
-
#
|
|
3024
|
-
#
|
|
3025
|
-
# <code>snippet</code>.
|
|
2823
|
+
# The *part* parameter specifies a comma-separated list of one or more search
|
|
2824
|
+
# resource properties that the API response will include. Set the parameter
|
|
2825
|
+
# value to snippet.
|
|
3026
2826
|
# @param [String] channel_id
|
|
3027
2827
|
# Filter on resources belonging to this channelId.
|
|
3028
2828
|
# @param [String] channel_type
|
|
@@ -3032,8 +2832,8 @@ module Google
|
|
|
3032
2832
|
# @param [Boolean] for_content_owner
|
|
3033
2833
|
# Search owned by a content owner.
|
|
3034
2834
|
# @param [Boolean] for_developer
|
|
3035
|
-
# Restrict the search to only retrieve videos uploaded using the project id
|
|
3036
|
-
#
|
|
2835
|
+
# Restrict the search to only retrieve videos uploaded using the project id of
|
|
2836
|
+
# the authenticated user.
|
|
3037
2837
|
# @param [Boolean] for_mine
|
|
3038
2838
|
# Search for the private videos of the authenticated user.
|
|
3039
2839
|
# @param [String] location
|
|
@@ -3041,28 +2841,24 @@ module Google
|
|
|
3041
2841
|
# @param [String] location_radius
|
|
3042
2842
|
# Filter on distance from the location (specified above).
|
|
3043
2843
|
# @param [Fixnum] max_results
|
|
3044
|
-
# The
|
|
3045
|
-
#
|
|
2844
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
2845
|
+
# be returned in the result set.
|
|
3046
2846
|
# @param [String] on_behalf_of_content_owner
|
|
3047
|
-
#
|
|
3048
|
-
#
|
|
3049
|
-
#
|
|
3050
|
-
#
|
|
3051
|
-
#
|
|
3052
|
-
#
|
|
3053
|
-
#
|
|
3054
|
-
#
|
|
3055
|
-
#
|
|
3056
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
3057
|
-
# account that the user authenticates with must be linked to the specified
|
|
3058
|
-
# YouTube content owner.
|
|
2847
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
2848
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
2849
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
2850
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
2851
|
+
# intended for YouTube content partners that own and manage many different
|
|
2852
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
2853
|
+
# to all their video and channel data, without having to provide authentication
|
|
2854
|
+
# credentials for each individual channel. The CMS account that the user
|
|
2855
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
3059
2856
|
# @param [String] order
|
|
3060
2857
|
# Sort order of the results.
|
|
3061
2858
|
# @param [String] page_token
|
|
3062
|
-
# The
|
|
3063
|
-
#
|
|
3064
|
-
#
|
|
3065
|
-
# identify other pages that could be retrieved.
|
|
2859
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
2860
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
2861
|
+
# properties identify other pages that could be retrieved.
|
|
3066
2862
|
# @param [String] published_after
|
|
3067
2863
|
# Filter on resources published after this date.
|
|
3068
2864
|
# @param [String] published_before
|
|
@@ -3076,8 +2872,8 @@ module Google
|
|
|
3076
2872
|
# @param [String] relevance_language
|
|
3077
2873
|
# Return results relevant to this language.
|
|
3078
2874
|
# @param [String] safe_search
|
|
3079
|
-
# Indicates whether the search results should include restricted content as
|
|
3080
|
-
#
|
|
2875
|
+
# Indicates whether the search results should include restricted content as well
|
|
2876
|
+
# as standard content.
|
|
3081
2877
|
# @param [String] topic_id
|
|
3082
2878
|
# Restrict results to a particular topic.
|
|
3083
2879
|
# @param [Array<String>, String] type
|
|
@@ -3157,22 +2953,19 @@ module Google
|
|
|
3157
2953
|
execute_or_queue_command(command, &block)
|
|
3158
2954
|
end
|
|
3159
2955
|
|
|
3160
|
-
# Retrieves a list of sponsors that match the request criteria for a
|
|
3161
|
-
# channel.
|
|
2956
|
+
# Retrieves a list of sponsors that match the request criteria for a channel.
|
|
3162
2957
|
# @param [Array<String>, String] part
|
|
3163
|
-
# The
|
|
3164
|
-
#
|
|
3165
|
-
# Supported values are <code>id</code> and <code>snippet</code>.
|
|
2958
|
+
# The *part* parameter specifies the sponsor resource parts that the API
|
|
2959
|
+
# response will include. Supported values are id and snippet.
|
|
3166
2960
|
# @param [String] filter
|
|
3167
2961
|
# Parameter that specifies which channel sponsors to return.
|
|
3168
2962
|
# @param [Fixnum] max_results
|
|
3169
|
-
# The
|
|
3170
|
-
#
|
|
2963
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
2964
|
+
# be returned in the result set.
|
|
3171
2965
|
# @param [String] page_token
|
|
3172
|
-
# The
|
|
3173
|
-
#
|
|
3174
|
-
#
|
|
3175
|
-
# identify other pages that could be retrieved.
|
|
2966
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
2967
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
2968
|
+
# properties identify other pages that could be retrieved.
|
|
3176
2969
|
# @param [String] fields
|
|
3177
2970
|
# Selector specifying which fields to include in a partial response.
|
|
3178
2971
|
# @param [String] quota_user
|
|
@@ -3232,9 +3025,9 @@ module Google
|
|
|
3232
3025
|
|
|
3233
3026
|
# Inserts a new resource into this collection.
|
|
3234
3027
|
# @param [Array<String>, String] part
|
|
3235
|
-
# The
|
|
3236
|
-
#
|
|
3237
|
-
#
|
|
3028
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
3029
|
+
# properties that the write operation will set as well as the properties that
|
|
3030
|
+
# the API response will include.
|
|
3238
3031
|
# @param [Google::Apis::YoutubeV3::Subscription] subscription_object
|
|
3239
3032
|
# @param [String] fields
|
|
3240
3033
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3267,14 +3060,12 @@ module Google
|
|
|
3267
3060
|
|
|
3268
3061
|
# Retrieves a list of resources, possibly filtered.
|
|
3269
3062
|
# @param [Array<String>, String] part
|
|
3270
|
-
# The
|
|
3271
|
-
#
|
|
3272
|
-
#
|
|
3273
|
-
#
|
|
3274
|
-
#
|
|
3275
|
-
#
|
|
3276
|
-
# contains other properties, such as a display title for the subscription. If
|
|
3277
|
-
# you set <code><strong>part=snippet</strong></code>, the API response will
|
|
3063
|
+
# The *part* parameter specifies a comma-separated list of one or more
|
|
3064
|
+
# subscription resource properties that the API response will include. If the
|
|
3065
|
+
# parameter identifies a property that contains child properties, the child
|
|
3066
|
+
# properties will be included in the response. For example, in a subscription
|
|
3067
|
+
# resource, the snippet property contains other properties, such as a display
|
|
3068
|
+
# title for the subscription. If you set *part=snippet*, the API response will
|
|
3278
3069
|
# also contain all of those nested properties.
|
|
3279
3070
|
# @param [String] channel_id
|
|
3280
3071
|
# Return the subscriptions of the given channel owner.
|
|
@@ -3284,53 +3075,44 @@ module Google
|
|
|
3284
3075
|
# @param [Array<String>, String] id
|
|
3285
3076
|
# Return the subscriptions with the given IDs for Stubby or Apiary.
|
|
3286
3077
|
# @param [Fixnum] max_results
|
|
3287
|
-
# The
|
|
3288
|
-
#
|
|
3078
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
3079
|
+
# be returned in the result set.
|
|
3289
3080
|
# @param [Boolean] mine
|
|
3290
3081
|
# Flag for returning the subscriptions of the authenticated user.
|
|
3291
3082
|
# @param [Boolean] my_recent_subscribers
|
|
3292
3083
|
# @param [Boolean] my_subscribers
|
|
3293
3084
|
# Return the subscribers of the given channel owner.
|
|
3294
3085
|
# @param [String] on_behalf_of_content_owner
|
|
3295
|
-
#
|
|
3296
|
-
#
|
|
3297
|
-
#
|
|
3298
|
-
#
|
|
3299
|
-
#
|
|
3300
|
-
#
|
|
3301
|
-
#
|
|
3302
|
-
#
|
|
3303
|
-
#
|
|
3304
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
3305
|
-
# account that the user authenticates with must be linked to the specified
|
|
3306
|
-
# YouTube content owner.
|
|
3086
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
3087
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
3088
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
3089
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
3090
|
+
# intended for YouTube content partners that own and manage many different
|
|
3091
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
3092
|
+
# to all their video and channel data, without having to provide authentication
|
|
3093
|
+
# credentials for each individual channel. The CMS account that the user
|
|
3094
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
3307
3095
|
# @param [String] on_behalf_of_content_owner_channel
|
|
3308
|
-
# This parameter can only be used in a properly
|
|
3309
|
-
#
|
|
3310
|
-
#
|
|
3311
|
-
#
|
|
3312
|
-
#
|
|
3313
|
-
#
|
|
3314
|
-
#
|
|
3315
|
-
#
|
|
3316
|
-
#
|
|
3317
|
-
#
|
|
3318
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
3319
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
3320
|
-
# specifies must be linked to the content owner that the
|
|
3321
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
3096
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
3097
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
3098
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
3099
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
3100
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
3101
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
3102
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
3103
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
3104
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
3105
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
3322
3106
|
# parameter is intended for YouTube content partners that own and manage many
|
|
3323
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
3324
|
-
#
|
|
3325
|
-
#
|
|
3326
|
-
# separate channel.
|
|
3107
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
3108
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
3109
|
+
# without having to provide authentication credentials for each separate channel.
|
|
3327
3110
|
# @param [String] order
|
|
3328
3111
|
# The order of the returned subscriptions
|
|
3329
3112
|
# @param [String] page_token
|
|
3330
|
-
# The
|
|
3331
|
-
#
|
|
3332
|
-
#
|
|
3333
|
-
# identify other pages that could be retrieved.
|
|
3113
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
3114
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
3115
|
+
# properties identify other pages that could be retrieved.
|
|
3334
3116
|
# @param [String] fields
|
|
3335
3117
|
# Selector specifying which fields to include in a partial response.
|
|
3336
3118
|
# @param [String] quota_user
|
|
@@ -3371,19 +3153,17 @@ module Google
|
|
|
3371
3153
|
|
|
3372
3154
|
# Retrieves a list of resources, possibly filtered.
|
|
3373
3155
|
# @param [Array<String>, String] part
|
|
3374
|
-
# The
|
|
3375
|
-
#
|
|
3376
|
-
# include. Supported values are <code>id</code> and <code>snippet</code>.
|
|
3156
|
+
# The *part* parameter specifies the superChatEvent resource parts that the API
|
|
3157
|
+
# response will include. Supported values are id and snippet.
|
|
3377
3158
|
# @param [String] hl
|
|
3378
3159
|
# Return rendered funding amounts in specified language.
|
|
3379
3160
|
# @param [Fixnum] max_results
|
|
3380
|
-
# The
|
|
3381
|
-
#
|
|
3161
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
3162
|
+
# be returned in the result set.
|
|
3382
3163
|
# @param [String] page_token
|
|
3383
|
-
# The
|
|
3384
|
-
#
|
|
3385
|
-
#
|
|
3386
|
-
# identify other pages that could be retrieved.
|
|
3164
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
3165
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
3166
|
+
# properties identify other pages that could be retrieved.
|
|
3387
3167
|
# @param [String] fields
|
|
3388
3168
|
# Selector specifying which fields to include in a partial response.
|
|
3389
3169
|
# @param [String] quota_user
|
|
@@ -3414,24 +3194,194 @@ module Google
|
|
|
3414
3194
|
execute_or_queue_command(command, &block)
|
|
3415
3195
|
end
|
|
3416
3196
|
|
|
3417
|
-
#
|
|
3418
|
-
#
|
|
3419
|
-
#
|
|
3197
|
+
# POST method.
|
|
3198
|
+
# @param [Array<String>, String] part
|
|
3199
|
+
# @param [Google::Apis::YoutubeV3::TestItem] test_item_object
|
|
3200
|
+
# @param [String] fields
|
|
3201
|
+
# Selector specifying which fields to include in a partial response.
|
|
3202
|
+
# @param [String] quota_user
|
|
3203
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3204
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3205
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3206
|
+
# Request-specific options
|
|
3207
|
+
#
|
|
3208
|
+
# @yield [result, err] Result & error if block supplied
|
|
3209
|
+
# @yieldparam result [Google::Apis::YoutubeV3::TestItem] parsed result object
|
|
3210
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3211
|
+
#
|
|
3212
|
+
# @return [Google::Apis::YoutubeV3::TestItem]
|
|
3213
|
+
#
|
|
3214
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3215
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3216
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3217
|
+
def insert_test(part, test_item_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3218
|
+
command = make_simple_command(:post, 'youtube/v3/tests', options)
|
|
3219
|
+
command.request_representation = Google::Apis::YoutubeV3::TestItem::Representation
|
|
3220
|
+
command.request_object = test_item_object
|
|
3221
|
+
command.response_representation = Google::Apis::YoutubeV3::TestItem::Representation
|
|
3222
|
+
command.response_class = Google::Apis::YoutubeV3::TestItem
|
|
3223
|
+
command.query['part'] = part unless part.nil?
|
|
3224
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3225
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3226
|
+
execute_or_queue_command(command, &block)
|
|
3227
|
+
end
|
|
3228
|
+
|
|
3229
|
+
# Deletes a resource.
|
|
3230
|
+
# @param [String] linking_token
|
|
3231
|
+
# Delete the partner links with the given linking token.
|
|
3232
|
+
# @param [String] type
|
|
3233
|
+
# Type of the link to be deleted.
|
|
3234
|
+
# @param [Array<String>, String] part
|
|
3235
|
+
# Do not use. Required for compatibility.
|
|
3236
|
+
# @param [String] fields
|
|
3237
|
+
# Selector specifying which fields to include in a partial response.
|
|
3238
|
+
# @param [String] quota_user
|
|
3239
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3240
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3241
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3242
|
+
# Request-specific options
|
|
3243
|
+
#
|
|
3244
|
+
# @yield [result, err] Result & error if block supplied
|
|
3245
|
+
# @yieldparam result [NilClass] No result returned for this method
|
|
3246
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3247
|
+
#
|
|
3248
|
+
# @return [void]
|
|
3249
|
+
#
|
|
3250
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3251
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3252
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3253
|
+
def delete_third_party_link(linking_token, type, part: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3254
|
+
command = make_simple_command(:delete, 'youtube/v3/thirdPartyLinks', options)
|
|
3255
|
+
command.query['linkingToken'] = linking_token unless linking_token.nil?
|
|
3256
|
+
command.query['part'] = part unless part.nil?
|
|
3257
|
+
command.query['type'] = type unless type.nil?
|
|
3258
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3259
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3260
|
+
execute_or_queue_command(command, &block)
|
|
3261
|
+
end
|
|
3262
|
+
|
|
3263
|
+
# Inserts a new resource into this collection.
|
|
3264
|
+
# @param [Array<String>, String] part
|
|
3265
|
+
# The *part* parameter specifies the thirdPartyLink resource parts that the API
|
|
3266
|
+
# request and response will include. Supported values are linkingToken, status,
|
|
3267
|
+
# and snippet.
|
|
3268
|
+
# @param [Google::Apis::YoutubeV3::ThirdPartyLink] third_party_link_object
|
|
3269
|
+
# @param [String] fields
|
|
3270
|
+
# Selector specifying which fields to include in a partial response.
|
|
3271
|
+
# @param [String] quota_user
|
|
3272
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3273
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3274
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3275
|
+
# Request-specific options
|
|
3276
|
+
#
|
|
3277
|
+
# @yield [result, err] Result & error if block supplied
|
|
3278
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
|
|
3279
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3280
|
+
#
|
|
3281
|
+
# @return [Google::Apis::YoutubeV3::ThirdPartyLink]
|
|
3282
|
+
#
|
|
3283
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3284
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3285
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3286
|
+
def insert_third_party_link(part, third_party_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3287
|
+
command = make_simple_command(:post, 'youtube/v3/thirdPartyLinks', options)
|
|
3288
|
+
command.request_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
|
3289
|
+
command.request_object = third_party_link_object
|
|
3290
|
+
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
|
3291
|
+
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
|
|
3292
|
+
command.query['part'] = part unless part.nil?
|
|
3293
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3294
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3295
|
+
execute_or_queue_command(command, &block)
|
|
3296
|
+
end
|
|
3297
|
+
|
|
3298
|
+
# Retrieves a list of resources, possibly filtered.
|
|
3299
|
+
# @param [Array<String>, String] part
|
|
3300
|
+
# The *part* parameter specifies the thirdPartyLink resource parts that the API
|
|
3301
|
+
# response will include. Supported values are linkingToken, status, and snippet.
|
|
3302
|
+
# @param [String] linking_token
|
|
3303
|
+
# Get a third party link with the given linking token.
|
|
3304
|
+
# @param [String] type
|
|
3305
|
+
# Get a third party link of the given type.
|
|
3306
|
+
# @param [String] fields
|
|
3307
|
+
# Selector specifying which fields to include in a partial response.
|
|
3308
|
+
# @param [String] quota_user
|
|
3309
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3310
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3311
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3312
|
+
# Request-specific options
|
|
3313
|
+
#
|
|
3314
|
+
# @yield [result, err] Result & error if block supplied
|
|
3315
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
|
|
3316
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3317
|
+
#
|
|
3318
|
+
# @return [Google::Apis::YoutubeV3::ThirdPartyLink]
|
|
3319
|
+
#
|
|
3320
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3321
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3322
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3323
|
+
def list_third_party_links(part, linking_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3324
|
+
command = make_simple_command(:get, 'youtube/v3/thirdPartyLinks', options)
|
|
3325
|
+
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
|
3326
|
+
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
|
|
3327
|
+
command.query['linkingToken'] = linking_token unless linking_token.nil?
|
|
3328
|
+
command.query['part'] = part unless part.nil?
|
|
3329
|
+
command.query['type'] = type unless type.nil?
|
|
3330
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3331
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3332
|
+
execute_or_queue_command(command, &block)
|
|
3333
|
+
end
|
|
3334
|
+
|
|
3335
|
+
# Updates an existing resource.
|
|
3336
|
+
# @param [Array<String>, String] part
|
|
3337
|
+
# The *part* parameter specifies the thirdPartyLink resource parts that the API
|
|
3338
|
+
# request and response will include. Supported values are linkingToken, status,
|
|
3339
|
+
# and snippet.
|
|
3340
|
+
# @param [Google::Apis::YoutubeV3::ThirdPartyLink] third_party_link_object
|
|
3341
|
+
# @param [String] fields
|
|
3342
|
+
# Selector specifying which fields to include in a partial response.
|
|
3343
|
+
# @param [String] quota_user
|
|
3344
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3345
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3346
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3347
|
+
# Request-specific options
|
|
3348
|
+
#
|
|
3349
|
+
# @yield [result, err] Result & error if block supplied
|
|
3350
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
|
|
3351
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3352
|
+
#
|
|
3353
|
+
# @return [Google::Apis::YoutubeV3::ThirdPartyLink]
|
|
3354
|
+
#
|
|
3355
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3356
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3357
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3358
|
+
def update_third_party_link(part, third_party_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3359
|
+
command = make_simple_command(:put, 'youtube/v3/thirdPartyLinks', options)
|
|
3360
|
+
command.request_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
|
3361
|
+
command.request_object = third_party_link_object
|
|
3362
|
+
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
|
3363
|
+
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
|
|
3364
|
+
command.query['part'] = part unless part.nil?
|
|
3365
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3366
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3367
|
+
execute_or_queue_command(command, &block)
|
|
3368
|
+
end
|
|
3369
|
+
|
|
3370
|
+
# As this is not an insert in a strict sense (it supports uploading/setting of a
|
|
3371
|
+
# thumbnail for multiple videos, which doesn't result in creation of a single
|
|
3372
|
+
# resource), I use a custom verb here.
|
|
3420
3373
|
# @param [String] video_id
|
|
3421
3374
|
# Returns the Thumbnail with the given video IDs for Stubby or Apiary.
|
|
3422
3375
|
# @param [String] on_behalf_of_content_owner
|
|
3423
|
-
#
|
|
3424
|
-
#
|
|
3425
|
-
#
|
|
3426
|
-
#
|
|
3427
|
-
#
|
|
3428
|
-
#
|
|
3429
|
-
#
|
|
3430
|
-
#
|
|
3431
|
-
#
|
|
3432
|
-
# provide authentication credentials for each individual channel. The actual
|
|
3433
|
-
# CMS account that the user authenticates with must be linked to the
|
|
3434
|
-
# specified YouTube content owner.
|
|
3376
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
3377
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
3378
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
3379
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
3380
|
+
# intended for YouTube content partners that own and manage many different
|
|
3381
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
3382
|
+
# to all their video and channel data, without having to provide authentication
|
|
3383
|
+
# credentials for each individual channel. The actual CMS account that the user
|
|
3384
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
3435
3385
|
# @param [String] fields
|
|
3436
3386
|
# Selector specifying which fields to include in a partial response.
|
|
3437
3387
|
# @param [String] quota_user
|
|
@@ -3472,9 +3422,8 @@ module Google
|
|
|
3472
3422
|
|
|
3473
3423
|
# Retrieves a list of resources, possibly filtered.
|
|
3474
3424
|
# @param [Array<String>, String] part
|
|
3475
|
-
# The
|
|
3476
|
-
#
|
|
3477
|
-
# include. Supported values are <code>id</code> and <code>snippet</code>.
|
|
3425
|
+
# The *part* parameter specifies the videoCategory resource parts that the API
|
|
3426
|
+
# response will include. Supported values are id and snippet.
|
|
3478
3427
|
# @param [String] hl
|
|
3479
3428
|
# @param [String] fields
|
|
3480
3429
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -3506,9 +3455,8 @@ module Google
|
|
|
3506
3455
|
|
|
3507
3456
|
# Retrieves a list of resources, possibly filtered.
|
|
3508
3457
|
# @param [Array<String>, String] part
|
|
3509
|
-
# The
|
|
3510
|
-
#
|
|
3511
|
-
# include. Set the parameter value to <code>snippet</code>.
|
|
3458
|
+
# The *part* parameter specifies the videoCategory resource properties that the
|
|
3459
|
+
# API response will include. Set the parameter value to snippet.
|
|
3512
3460
|
# @param [String] hl
|
|
3513
3461
|
# @param [Array<String>, String] id
|
|
3514
3462
|
# Returns the video categories with the given IDs for Stubby or Apiary.
|
|
@@ -3546,18 +3494,15 @@ module Google
|
|
|
3546
3494
|
# Deletes a resource.
|
|
3547
3495
|
# @param [String] id
|
|
3548
3496
|
# @param [String] on_behalf_of_content_owner
|
|
3549
|
-
#
|
|
3550
|
-
#
|
|
3551
|
-
#
|
|
3552
|
-
#
|
|
3553
|
-
#
|
|
3554
|
-
#
|
|
3555
|
-
#
|
|
3556
|
-
#
|
|
3557
|
-
#
|
|
3558
|
-
# provide authentication credentials for each individual channel. The actual
|
|
3559
|
-
# CMS account that the user authenticates with must be linked to the
|
|
3560
|
-
# specified YouTube content owner.
|
|
3497
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
3498
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
3499
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
3500
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
3501
|
+
# intended for YouTube content partners that own and manage many different
|
|
3502
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
3503
|
+
# to all their video and channel data, without having to provide authentication
|
|
3504
|
+
# credentials for each individual channel. The actual CMS account that the user
|
|
3505
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
3561
3506
|
# @param [String] fields
|
|
3562
3507
|
# Selector specifying which fields to include in a partial response.
|
|
3563
3508
|
# @param [String] quota_user
|
|
@@ -3588,18 +3533,15 @@ module Google
|
|
|
3588
3533
|
# videos.
|
|
3589
3534
|
# @param [Array<String>, String] id
|
|
3590
3535
|
# @param [String] on_behalf_of_content_owner
|
|
3591
|
-
#
|
|
3592
|
-
#
|
|
3593
|
-
#
|
|
3594
|
-
#
|
|
3595
|
-
#
|
|
3596
|
-
#
|
|
3597
|
-
#
|
|
3598
|
-
#
|
|
3599
|
-
#
|
|
3600
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
3601
|
-
# account that the user authenticates with must be linked to the specified
|
|
3602
|
-
# YouTube content owner.
|
|
3536
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
3537
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
3538
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
3539
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
3540
|
+
# intended for YouTube content partners that own and manage many different
|
|
3541
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
3542
|
+
# to all their video and channel data, without having to provide authentication
|
|
3543
|
+
# credentials for each individual channel. The CMS account that the user
|
|
3544
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
3603
3545
|
# @param [String] fields
|
|
3604
3546
|
# Selector specifying which fields to include in a partial response.
|
|
3605
3547
|
# @param [String] quota_user
|
|
@@ -3630,16 +3572,14 @@ module Google
|
|
|
3630
3572
|
|
|
3631
3573
|
# Inserts a new resource into this collection.
|
|
3632
3574
|
# @param [Array<String>, String] part
|
|
3633
|
-
# The
|
|
3634
|
-
#
|
|
3635
|
-
#
|
|
3636
|
-
#
|
|
3637
|
-
#
|
|
3638
|
-
#
|
|
3639
|
-
#
|
|
3640
|
-
#
|
|
3641
|
-
# contain mutable values, that <code>part</code> will still be included in
|
|
3642
|
-
# the API response.
|
|
3575
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
3576
|
+
# properties that the write operation will set as well as the properties that
|
|
3577
|
+
# the API response will include. Note that not all parts contain properties that
|
|
3578
|
+
# can be set when inserting or updating a video. For example, the statistics
|
|
3579
|
+
# object encapsulates statistics that YouTube calculates for a video and does
|
|
3580
|
+
# not contain values that you can set or modify. If the parameter value
|
|
3581
|
+
# specifies a part that does not contain mutable values, that part will still be
|
|
3582
|
+
# included in the API response.
|
|
3643
3583
|
# @param [Google::Apis::YoutubeV3::Video] video_object
|
|
3644
3584
|
# @param [Boolean] auto_levels
|
|
3645
3585
|
# Should auto-levels be applied to the upload.
|
|
@@ -3647,38 +3587,30 @@ module Google
|
|
|
3647
3587
|
# Notify the channel subscribers about the new video. As default, the
|
|
3648
3588
|
# notification is enabled.
|
|
3649
3589
|
# @param [String] on_behalf_of_content_owner
|
|
3650
|
-
#
|
|
3651
|
-
#
|
|
3652
|
-
#
|
|
3653
|
-
#
|
|
3654
|
-
#
|
|
3655
|
-
#
|
|
3656
|
-
#
|
|
3657
|
-
#
|
|
3658
|
-
#
|
|
3659
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
3660
|
-
# account that the user authenticates with must be linked to the specified
|
|
3661
|
-
# YouTube content owner.
|
|
3590
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
3591
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
3592
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
3593
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
3594
|
+
# intended for YouTube content partners that own and manage many different
|
|
3595
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
3596
|
+
# to all their video and channel data, without having to provide authentication
|
|
3597
|
+
# credentials for each individual channel. The CMS account that the user
|
|
3598
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
3662
3599
|
# @param [String] on_behalf_of_content_owner_channel
|
|
3663
|
-
# This parameter can only be used in a properly
|
|
3664
|
-
#
|
|
3665
|
-
#
|
|
3666
|
-
#
|
|
3667
|
-
#
|
|
3668
|
-
#
|
|
3669
|
-
#
|
|
3670
|
-
#
|
|
3671
|
-
#
|
|
3672
|
-
#
|
|
3673
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies. Finally, the
|
|
3674
|
-
# channel that the <code>onBehalfOfContentOwnerChannel</code> parameter value
|
|
3675
|
-
# specifies must be linked to the content owner that the
|
|
3676
|
-
# <code>onBehalfOfContentOwner</code> parameter specifies.<br><br>This
|
|
3600
|
+
# This parameter can only be used in a properly authorized request. *Note:* This
|
|
3601
|
+
# parameter is intended exclusively for YouTube content partners. The *
|
|
3602
|
+
# onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
|
|
3603
|
+
# the channel to which a video is being added. This parameter is required when a
|
|
3604
|
+
# request specifies a value for the onBehalfOfContentOwner parameter, and it can
|
|
3605
|
+
# only be used in conjunction with that parameter. In addition, the request must
|
|
3606
|
+
# be authorized using a CMS account that is linked to the content owner that the
|
|
3607
|
+
# onBehalfOfContentOwner parameter specifies. Finally, the channel that the
|
|
3608
|
+
# onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
|
|
3609
|
+
# content owner that the onBehalfOfContentOwner parameter specifies. This
|
|
3677
3610
|
# parameter is intended for YouTube content partners that own and manage many
|
|
3678
|
-
# different YouTube channels. It allows content owners to authenticate once
|
|
3679
|
-
#
|
|
3680
|
-
#
|
|
3681
|
-
# separate channel.
|
|
3611
|
+
# different YouTube channels. It allows content owners to authenticate once and
|
|
3612
|
+
# perform actions on behalf of the channel specified in the parameter value,
|
|
3613
|
+
# without having to provide authentication credentials for each separate channel.
|
|
3682
3614
|
# @param [Boolean] stabilize
|
|
3683
3615
|
# Should stabilize be applied to the upload.
|
|
3684
3616
|
# @param [String] fields
|
|
@@ -3727,63 +3659,52 @@ module Google
|
|
|
3727
3659
|
|
|
3728
3660
|
# Retrieves a list of resources, possibly filtered.
|
|
3729
3661
|
# @param [Array<String>, String] part
|
|
3730
|
-
# The
|
|
3731
|
-
#
|
|
3732
|
-
#
|
|
3733
|
-
#
|
|
3734
|
-
#
|
|
3735
|
-
#
|
|
3736
|
-
#
|
|
3737
|
-
# <code>categoryId</code> properties. As such, if you set
|
|
3738
|
-
# <code><strong>part=snippet</strong></code>, the API response will contain
|
|
3739
|
-
# all of those properties.
|
|
3662
|
+
# The *part* parameter specifies a comma-separated list of one or more video
|
|
3663
|
+
# resource properties that the API response will include. If the parameter
|
|
3664
|
+
# identifies a property that contains child properties, the child properties
|
|
3665
|
+
# will be included in the response. For example, in a video resource, the
|
|
3666
|
+
# snippet property contains the channelId, title, description, tags, and
|
|
3667
|
+
# categoryId properties. As such, if you set *part=snippet*, the API response
|
|
3668
|
+
# will contain all of those properties.
|
|
3740
3669
|
# @param [String] chart
|
|
3741
3670
|
# Return the videos that are in the specified chart.
|
|
3742
3671
|
# @param [String] hl
|
|
3743
3672
|
# Stands for "host language". Specifies the localization language of the
|
|
3744
3673
|
# metadata to be filled into snippet.localized. The field is filled with the
|
|
3745
|
-
# default metadata if there is no localization in the specified language.
|
|
3746
|
-
#
|
|
3747
|
-
#
|
|
3674
|
+
# default metadata if there is no localization in the specified language. The
|
|
3675
|
+
# parameter value must be a language code included in the list returned by the
|
|
3676
|
+
# i18nLanguages.list method (e.g. en_US, es_MX).
|
|
3748
3677
|
# @param [Array<String>, String] id
|
|
3749
3678
|
# Return videos with the given ids.
|
|
3750
3679
|
# @param [String] locale
|
|
3751
3680
|
# @param [Fixnum] max_height
|
|
3752
3681
|
# @param [Fixnum] max_results
|
|
3753
|
-
# The
|
|
3754
|
-
#
|
|
3755
|
-
#
|
|
3756
|
-
# conjunction with the
|
|
3757
|
-
# <code><a href="#chart">chart</a></code> parameters, but it is not supported
|
|
3758
|
-
# for use in conjunction with the <code><a href="#id">id</a></code>
|
|
3759
|
-
# parameter.
|
|
3682
|
+
# The *maxResults* parameter specifies the maximum number of items that should
|
|
3683
|
+
# be returned in the result set. *Note:* This parameter is supported for use in
|
|
3684
|
+
# conjunction with the myRating and chart parameters, but it is not supported
|
|
3685
|
+
# for use in conjunction with the id parameter.
|
|
3760
3686
|
# @param [Fixnum] max_width
|
|
3761
3687
|
# Return the player with maximum height specified in
|
|
3762
3688
|
# @param [String] my_rating
|
|
3763
|
-
# Return videos liked/disliked by the authenticated user.
|
|
3764
|
-
#
|
|
3689
|
+
# Return videos liked/disliked by the authenticated user. Does not support
|
|
3690
|
+
# RateType.RATED_TYPE_NONE.
|
|
3765
3691
|
# @param [String] on_behalf_of_content_owner
|
|
3766
|
-
#
|
|
3767
|
-
#
|
|
3768
|
-
#
|
|
3769
|
-
#
|
|
3770
|
-
#
|
|
3771
|
-
#
|
|
3772
|
-
#
|
|
3773
|
-
#
|
|
3774
|
-
#
|
|
3775
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
3776
|
-
# account that the user authenticates with must be linked to the specified
|
|
3777
|
-
# YouTube content owner.
|
|
3692
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
3693
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
3694
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
3695
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
3696
|
+
# intended for YouTube content partners that own and manage many different
|
|
3697
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
3698
|
+
# to all their video and channel data, without having to provide authentication
|
|
3699
|
+
# credentials for each individual channel. The CMS account that the user
|
|
3700
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
3778
3701
|
# @param [String] page_token
|
|
3779
|
-
# The
|
|
3780
|
-
#
|
|
3781
|
-
#
|
|
3782
|
-
#
|
|
3783
|
-
#
|
|
3784
|
-
#
|
|
3785
|
-
# href="#chart">chart</a></code> parameters, but it is not supported for use
|
|
3786
|
-
# in conjunction with the <code><a href="#id">id</a></code> parameter.
|
|
3702
|
+
# The *pageToken* parameter identifies a specific page in the result set that
|
|
3703
|
+
# should be returned. In an API response, the nextPageToken and prevPageToken
|
|
3704
|
+
# properties identify other pages that could be retrieved. *Note:* This
|
|
3705
|
+
# parameter is supported for use in conjunction with the myRating and chart
|
|
3706
|
+
# parameters, but it is not supported for use in conjunction with the id
|
|
3707
|
+
# parameter.
|
|
3787
3708
|
# @param [String] region_code
|
|
3788
3709
|
# Use a chart that is specific to the specified region
|
|
3789
3710
|
# @param [String] video_category_id
|
|
@@ -3859,18 +3780,15 @@ module Google
|
|
|
3859
3780
|
# Report abuse for a video.
|
|
3860
3781
|
# @param [Google::Apis::YoutubeV3::VideoAbuseReport] video_abuse_report_object
|
|
3861
3782
|
# @param [String] on_behalf_of_content_owner
|
|
3862
|
-
#
|
|
3863
|
-
#
|
|
3864
|
-
#
|
|
3865
|
-
#
|
|
3866
|
-
#
|
|
3867
|
-
#
|
|
3868
|
-
#
|
|
3869
|
-
#
|
|
3870
|
-
#
|
|
3871
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
3872
|
-
# account that the user authenticates with must be linked to the specified
|
|
3873
|
-
# YouTube content owner.
|
|
3783
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
3784
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
3785
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
3786
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
3787
|
+
# intended for YouTube content partners that own and manage many different
|
|
3788
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
3789
|
+
# to all their video and channel data, without having to provide authentication
|
|
3790
|
+
# credentials for each individual channel. The CMS account that the user
|
|
3791
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
3874
3792
|
# @param [String] fields
|
|
3875
3793
|
# Selector specifying which fields to include in a partial response.
|
|
3876
3794
|
# @param [String] quota_user
|
|
@@ -3900,40 +3818,33 @@ module Google
|
|
|
3900
3818
|
|
|
3901
3819
|
# Updates an existing resource.
|
|
3902
3820
|
# @param [Array<String>, String] part
|
|
3903
|
-
# The
|
|
3904
|
-
#
|
|
3905
|
-
#
|
|
3906
|
-
#
|
|
3907
|
-
#
|
|
3908
|
-
#
|
|
3909
|
-
# video's
|
|
3910
|
-
#
|
|
3911
|
-
#
|
|
3912
|
-
# the
|
|
3913
|
-
#
|
|
3914
|
-
#
|
|
3915
|
-
#
|
|
3916
|
-
#
|
|
3917
|
-
#
|
|
3918
|
-
#
|
|
3919
|
-
# calculates for a video and does not contain values that you can set or
|
|
3920
|
-
# modify. If the parameter value specifies a <code>part</code> that does not
|
|
3921
|
-
# contain mutable values, that <code>part</code> will still be included in
|
|
3922
|
-
# the API response.
|
|
3821
|
+
# The *part* parameter serves two purposes in this operation. It identifies the
|
|
3822
|
+
# properties that the write operation will set as well as the properties that
|
|
3823
|
+
# the API response will include. Note that this method will override the
|
|
3824
|
+
# existing values for all of the mutable properties that are contained in any
|
|
3825
|
+
# parts that the parameter value specifies. For example, a video's privacy
|
|
3826
|
+
# setting is contained in the status part. As such, if your request is updating
|
|
3827
|
+
# a private video, and the request's part parameter value includes the status
|
|
3828
|
+
# part, the video's privacy setting will be updated to whatever value the
|
|
3829
|
+
# request body specifies. If the request body does not specify a value, the
|
|
3830
|
+
# existing privacy setting will be removed and the video will revert to the
|
|
3831
|
+
# default privacy setting. In addition, not all parts contain properties that
|
|
3832
|
+
# can be set when inserting or updating a video. For example, the statistics
|
|
3833
|
+
# object encapsulates statistics that YouTube calculates for a video and does
|
|
3834
|
+
# not contain values that you can set or modify. If the parameter value
|
|
3835
|
+
# specifies a part that does not contain mutable values, that part will still be
|
|
3836
|
+
# included in the API response.
|
|
3923
3837
|
# @param [Google::Apis::YoutubeV3::Video] video_object
|
|
3924
3838
|
# @param [String] on_behalf_of_content_owner
|
|
3925
|
-
#
|
|
3926
|
-
#
|
|
3927
|
-
#
|
|
3928
|
-
#
|
|
3929
|
-
#
|
|
3930
|
-
#
|
|
3931
|
-
#
|
|
3932
|
-
#
|
|
3933
|
-
#
|
|
3934
|
-
# provide authentication credentials for each individual channel. The actual
|
|
3935
|
-
# CMS account that the user authenticates with must be linked to the
|
|
3936
|
-
# specified YouTube content owner.
|
|
3839
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
3840
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
3841
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
3842
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
3843
|
+
# intended for YouTube content partners that own and manage many different
|
|
3844
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
3845
|
+
# to all their video and channel data, without having to provide authentication
|
|
3846
|
+
# credentials for each individual channel. The actual CMS account that the user
|
|
3847
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
3937
3848
|
# @param [String] fields
|
|
3938
3849
|
# Selector specifying which fields to include in a partial response.
|
|
3939
3850
|
# @param [String] quota_user
|
|
@@ -3968,18 +3879,15 @@ module Google
|
|
|
3968
3879
|
# @param [String] channel_id
|
|
3969
3880
|
# @param [Google::Apis::YoutubeV3::InvideoBranding] invideo_branding_object
|
|
3970
3881
|
# @param [String] on_behalf_of_content_owner
|
|
3971
|
-
#
|
|
3972
|
-
#
|
|
3973
|
-
#
|
|
3974
|
-
#
|
|
3975
|
-
#
|
|
3976
|
-
#
|
|
3977
|
-
#
|
|
3978
|
-
#
|
|
3979
|
-
#
|
|
3980
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
3981
|
-
# account that the user authenticates with must be linked to the specified
|
|
3982
|
-
# YouTube content owner.
|
|
3882
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
3883
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
3884
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
3885
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
3886
|
+
# intended for YouTube content partners that own and manage many different
|
|
3887
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
3888
|
+
# to all their video and channel data, without having to provide authentication
|
|
3889
|
+
# credentials for each individual channel. The CMS account that the user
|
|
3890
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
3983
3891
|
# @param [String] fields
|
|
3984
3892
|
# Selector specifying which fields to include in a partial response.
|
|
3985
3893
|
# @param [String] quota_user
|
|
@@ -4021,18 +3929,15 @@ module Google
|
|
|
4021
3929
|
# Allows removal of channel watermark.
|
|
4022
3930
|
# @param [String] channel_id
|
|
4023
3931
|
# @param [String] on_behalf_of_content_owner
|
|
4024
|
-
#
|
|
4025
|
-
#
|
|
4026
|
-
#
|
|
4027
|
-
#
|
|
4028
|
-
#
|
|
4029
|
-
#
|
|
4030
|
-
#
|
|
4031
|
-
#
|
|
4032
|
-
#
|
|
4033
|
-
# provide authentication credentials for each individual channel. The CMS
|
|
4034
|
-
# account that the user authenticates with must be linked to the specified
|
|
4035
|
-
# YouTube content owner.
|
|
3932
|
+
# *Note:* This parameter is intended exclusively for YouTube content partners.
|
|
3933
|
+
# The *onBehalfOfContentOwner* parameter indicates that the request's
|
|
3934
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
|
3935
|
+
# of the content owner specified in the parameter value. This parameter is
|
|
3936
|
+
# intended for YouTube content partners that own and manage many different
|
|
3937
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
|
3938
|
+
# to all their video and channel data, without having to provide authentication
|
|
3939
|
+
# credentials for each individual channel. The CMS account that the user
|
|
3940
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
|
4036
3941
|
# @param [String] fields
|
|
4037
3942
|
# Selector specifying which fields to include in a partial response.
|
|
4038
3943
|
# @param [String] quota_user
|
|
@@ -4059,9 +3964,17 @@ module Google
|
|
|
4059
3964
|
execute_or_queue_command(command, &block)
|
|
4060
3965
|
end
|
|
4061
3966
|
|
|
4062
|
-
#
|
|
4063
|
-
#
|
|
3967
|
+
# Updates infocards for a given video. Note: * If the card id is not provided, a
|
|
3968
|
+
# new card will be created. * If the card id is provided, that card will be
|
|
3969
|
+
# updated. * Existing cards will be discarded if they're not included in the
|
|
3970
|
+
# request.
|
|
4064
3971
|
# @param [Array<String>, String] part
|
|
3972
|
+
# The properties to update.
|
|
3973
|
+
# @param [Google::Apis::YoutubeV3::InfoCards] info_cards_object
|
|
3974
|
+
# @param [String] on_behalf_of_content_owner
|
|
3975
|
+
# Content owner of the video.
|
|
3976
|
+
# @param [String] video_id
|
|
3977
|
+
# Encrypted id of the video.
|
|
4065
3978
|
# @param [String] fields
|
|
4066
3979
|
# Selector specifying which fields to include in a partial response.
|
|
4067
3980
|
# @param [String] quota_user
|
|
@@ -4071,21 +3984,59 @@ module Google
|
|
|
4071
3984
|
# Request-specific options
|
|
4072
3985
|
#
|
|
4073
3986
|
# @yield [result, err] Result & error if block supplied
|
|
4074
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
|
3987
|
+
# @yieldparam result [Google::Apis::YoutubeV3::InfoCards] parsed result object
|
|
4075
3988
|
# @yieldparam err [StandardError] error object if request failed
|
|
4076
3989
|
#
|
|
4077
|
-
# @return [Google::Apis::YoutubeV3::
|
|
3990
|
+
# @return [Google::Apis::YoutubeV3::InfoCards]
|
|
4078
3991
|
#
|
|
4079
3992
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4080
3993
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4081
3994
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4082
|
-
def
|
|
4083
|
-
command = make_simple_command(:post, 'youtube/v3/
|
|
4084
|
-
command.request_representation = Google::Apis::YoutubeV3::
|
|
4085
|
-
command.request_object =
|
|
4086
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
|
4087
|
-
command.response_class = Google::Apis::YoutubeV3::
|
|
3995
|
+
def infocards_youtube_v3(part, info_cards_object = nil, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3996
|
+
command = make_simple_command(:post, 'youtube/v3/infocards', options)
|
|
3997
|
+
command.request_representation = Google::Apis::YoutubeV3::InfoCards::Representation
|
|
3998
|
+
command.request_object = info_cards_object
|
|
3999
|
+
command.response_representation = Google::Apis::YoutubeV3::InfoCards::Representation
|
|
4000
|
+
command.response_class = Google::Apis::YoutubeV3::InfoCards
|
|
4001
|
+
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
|
4088
4002
|
command.query['part'] = part unless part.nil?
|
|
4003
|
+
command.query['videoId'] = video_id unless video_id.nil?
|
|
4004
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4005
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4006
|
+
execute_or_queue_command(command, &block)
|
|
4007
|
+
end
|
|
4008
|
+
|
|
4009
|
+
# Retrieves all infocards for a given video.
|
|
4010
|
+
# @param [Array<String>, String] part
|
|
4011
|
+
# The properties to return.
|
|
4012
|
+
# @param [String] on_behalf_of_content_owner
|
|
4013
|
+
# Content owner of the video.
|
|
4014
|
+
# @param [String] video_id
|
|
4015
|
+
# Encrypted id of the video.
|
|
4016
|
+
# @param [String] fields
|
|
4017
|
+
# Selector specifying which fields to include in a partial response.
|
|
4018
|
+
# @param [String] quota_user
|
|
4019
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4020
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4021
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4022
|
+
# Request-specific options
|
|
4023
|
+
#
|
|
4024
|
+
# @yield [result, err] Result & error if block supplied
|
|
4025
|
+
# @yieldparam result [Google::Apis::YoutubeV3::InfocardListResponse] parsed result object
|
|
4026
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4027
|
+
#
|
|
4028
|
+
# @return [Google::Apis::YoutubeV3::InfocardListResponse]
|
|
4029
|
+
#
|
|
4030
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4031
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4032
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4033
|
+
def list_youtube_v3_infocards(part, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4034
|
+
command = make_simple_command(:get, 'youtube/v3/infocards', options)
|
|
4035
|
+
command.response_representation = Google::Apis::YoutubeV3::InfocardListResponse::Representation
|
|
4036
|
+
command.response_class = Google::Apis::YoutubeV3::InfocardListResponse
|
|
4037
|
+
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
|
4038
|
+
command.query['part'] = part unless part.nil?
|
|
4039
|
+
command.query['videoId'] = video_id unless video_id.nil?
|
|
4089
4040
|
command.query['fields'] = fields unless fields.nil?
|
|
4090
4041
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4091
4042
|
execute_or_queue_command(command, &block)
|