google-api-client 0.42.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 +205 -0
- 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/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 +193 -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 +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +739 -1192
- data/generated/google/apis/apigee_v1/representations.rb +1 -2
- data/generated/google/apis/apigee_v1/service.rb +885 -1126
- 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/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/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 +355 -0
- 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 +97 -118
- 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 +19 -0
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +39 -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/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- 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/cloudasset_v1p5beta1.rb +34 -0
- 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_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- 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 +0 -45
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- 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 +11 -0
- 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 +11 -0
- 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/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +350 -20
- data/generated/google/apis/compute_alpha/representations.rb +100 -0
- data/generated/google/apis/compute_alpha/service.rb +15 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +39 -14
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +15 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +65 -42
- data/generated/google/apis/compute_v1/representations.rb +18 -15
- data/generated/google/apis/compute_v1/service.rb +63 -19
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +26 -0
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +15 -0
- 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 +15 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -488
- data/generated/google/apis/customsearch_v1/service.rb +186 -343
- 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 +2 -1
- 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 -94
- 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 +192 -316
- 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 +198 -317
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- 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 +1301 -1539
- data/generated/google/apis/dialogflow_v2/representations.rb +15 -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 +1379 -1619
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -990
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1775 -1731
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -926
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -4
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -7
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
- 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 +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- 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/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/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- 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 -145
- 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/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 +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +2 -2
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- 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 +257 -285
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +26 -14
- 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 +87 -16
- 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 +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → memcache_v1.rb} +10 -9
- 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 +41 -502
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- 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 +36 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +796 -0
- 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 +75 -0
- 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 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +21 -0
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- 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 +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- 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/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 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -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_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 +49 -1
- 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/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- 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 +63 -0
- data/generated/google/apis/testing_v1/representations.rb +32 -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 -1870
- 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 -1790
- 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 -1790
- 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 +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +943 -1175
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3/service.rb +1007 -1316
- 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 +19 -11
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- 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
|
@@ -82,15 +82,15 @@ module Google
|
|
|
82
82
|
class AccessPolicy
|
|
83
83
|
include Google::Apis::Core::Hashable
|
|
84
84
|
|
|
85
|
-
# The value of
|
|
86
|
-
#
|
|
85
|
+
# The value of allowed indicates whether the access to the policy is allowed or
|
|
86
|
+
# denied by default.
|
|
87
87
|
# Corresponds to the JSON property `allowed`
|
|
88
88
|
# @return [Boolean]
|
|
89
89
|
attr_accessor :allowed
|
|
90
90
|
alias_method :allowed?, :allowed
|
|
91
91
|
|
|
92
|
-
# A list of region codes that identify countries where the default policy do
|
|
93
|
-
#
|
|
92
|
+
# A list of region codes that identify countries where the default policy do not
|
|
93
|
+
# apply.
|
|
94
94
|
# Corresponds to the JSON property `exception`
|
|
95
95
|
# @return [Array<String>]
|
|
96
96
|
attr_accessor :exception
|
|
@@ -106,14 +106,13 @@ module Google
|
|
|
106
106
|
end
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
# An
|
|
110
|
-
#
|
|
111
|
-
#
|
|
112
|
-
# a video,
|
|
113
|
-
#
|
|
114
|
-
# resource
|
|
115
|
-
#
|
|
116
|
-
# the video that was rated or uploaded.
|
|
109
|
+
# An *activity* resource contains information about an action that a particular
|
|
110
|
+
# channel, or user, has taken on YouTube.The actions reported in activity feeds
|
|
111
|
+
# include rating a video, sharing a video, marking a video as a favorite,
|
|
112
|
+
# commenting on a video, uploading a video, and so forth. Each activity resource
|
|
113
|
+
# identifies the type of action, the channel associated with the action, and the
|
|
114
|
+
# resource(s) associated with the action, such as the video that was rated or
|
|
115
|
+
# uploaded.
|
|
117
116
|
class Activity
|
|
118
117
|
include Google::Apis::Core::Hashable
|
|
119
118
|
|
|
@@ -133,15 +132,14 @@ module Google
|
|
|
133
132
|
# @return [String]
|
|
134
133
|
attr_accessor :id
|
|
135
134
|
|
|
136
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
137
|
-
#
|
|
135
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
136
|
+
# activity".
|
|
138
137
|
# Corresponds to the JSON property `kind`
|
|
139
138
|
# @return [String]
|
|
140
139
|
attr_accessor :kind
|
|
141
140
|
|
|
142
141
|
# Basic details about an activity, including title, description, thumbnails,
|
|
143
|
-
# activity type and group.
|
|
144
|
-
# Next ID: 12
|
|
142
|
+
# activity type and group. Next ID: 12
|
|
145
143
|
# Corresponds to the JSON property `snippet`
|
|
146
144
|
# @return [Google::Apis::YoutubeV3::ActivitySnippet]
|
|
147
145
|
attr_accessor :snippet
|
|
@@ -375,8 +373,8 @@ module Google
|
|
|
375
373
|
# @return [String]
|
|
376
374
|
attr_accessor :ad_tag
|
|
377
375
|
|
|
378
|
-
# The URL the client should ping to indicate that the user clicked through
|
|
379
|
-
#
|
|
376
|
+
# The URL the client should ping to indicate that the user clicked through on
|
|
377
|
+
# this promoted item.
|
|
380
378
|
# Corresponds to the JSON property `clickTrackingUrl`
|
|
381
379
|
# @return [String]
|
|
382
380
|
attr_accessor :click_tracking_url
|
|
@@ -387,14 +385,14 @@ module Google
|
|
|
387
385
|
# @return [String]
|
|
388
386
|
attr_accessor :creative_view_url
|
|
389
387
|
|
|
390
|
-
# The type of call-to-action, a message to the user indicating action that
|
|
391
|
-
#
|
|
388
|
+
# The type of call-to-action, a message to the user indicating action that can
|
|
389
|
+
# be taken.
|
|
392
390
|
# Corresponds to the JSON property `ctaType`
|
|
393
391
|
# @return [String]
|
|
394
392
|
attr_accessor :cta_type
|
|
395
393
|
|
|
396
|
-
# The custom call-to-action button text. If specified, it will override
|
|
397
|
-
#
|
|
394
|
+
# The custom call-to-action button text. If specified, it will override the
|
|
395
|
+
# default button text for the cta_type.
|
|
398
396
|
# Corresponds to the JSON property `customCtaButtonText`
|
|
399
397
|
# @return [String]
|
|
400
398
|
attr_accessor :custom_cta_button_text
|
|
@@ -404,15 +402,15 @@ module Google
|
|
|
404
402
|
# @return [String]
|
|
405
403
|
attr_accessor :description_text
|
|
406
404
|
|
|
407
|
-
# The URL the client should direct the user to, if the user chooses to
|
|
408
|
-
#
|
|
405
|
+
# The URL the client should direct the user to, if the user chooses to visit the
|
|
406
|
+
# advertiser's website.
|
|
409
407
|
# Corresponds to the JSON property `destinationUrl`
|
|
410
408
|
# @return [String]
|
|
411
409
|
attr_accessor :destination_url
|
|
412
410
|
|
|
413
|
-
# The list of forecasting URLs. The client should ping all of these URLs
|
|
414
|
-
#
|
|
415
|
-
#
|
|
411
|
+
# The list of forecasting URLs. The client should ping all of these URLs when a
|
|
412
|
+
# promoted item is not available, to indicate that a promoted item could have
|
|
413
|
+
# been shown.
|
|
416
414
|
# Corresponds to the JSON property `forecastingUrl`
|
|
417
415
|
# @return [Array<String>]
|
|
418
416
|
attr_accessor :forecasting_url
|
|
@@ -578,14 +576,14 @@ module Google
|
|
|
578
576
|
# @return [Array<Google::Apis::YoutubeV3::Activity>]
|
|
579
577
|
attr_accessor :items
|
|
580
578
|
|
|
581
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
582
|
-
#
|
|
579
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
580
|
+
# activityListResponse".
|
|
583
581
|
# Corresponds to the JSON property `kind`
|
|
584
582
|
# @return [String]
|
|
585
583
|
attr_accessor :kind
|
|
586
584
|
|
|
587
|
-
# The token that can be used as the value of the
|
|
588
|
-
#
|
|
585
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
586
|
+
# the next page in the result set.
|
|
589
587
|
# Corresponds to the JSON property `nextPageToken`
|
|
590
588
|
# @return [String]
|
|
591
589
|
attr_accessor :next_page_token
|
|
@@ -596,8 +594,8 @@ module Google
|
|
|
596
594
|
# @return [Google::Apis::YoutubeV3::PageInfo]
|
|
597
595
|
attr_accessor :page_info
|
|
598
596
|
|
|
599
|
-
# The token that can be used as the value of the
|
|
600
|
-
#
|
|
597
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
598
|
+
# the previous page in the result set.
|
|
601
599
|
# Corresponds to the JSON property `prevPageToken`
|
|
602
600
|
# @return [String]
|
|
603
601
|
attr_accessor :prev_page_token
|
|
@@ -607,7 +605,7 @@ module Google
|
|
|
607
605
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
608
606
|
attr_accessor :token_pagination
|
|
609
607
|
|
|
610
|
-
# The
|
|
608
|
+
# The visitorId identifies the visitor.
|
|
611
609
|
# Corresponds to the JSON property `visitorId`
|
|
612
610
|
# @return [String]
|
|
613
611
|
attr_accessor :visitor_id
|
|
@@ -631,13 +629,12 @@ module Google
|
|
|
631
629
|
end
|
|
632
630
|
|
|
633
631
|
# Basic details about an activity, including title, description, thumbnails,
|
|
634
|
-
# activity type and group.
|
|
635
|
-
# Next ID: 12
|
|
632
|
+
# activity type and group. Next ID: 12
|
|
636
633
|
class ActivitySnippet
|
|
637
634
|
include Google::Apis::Core::Hashable
|
|
638
635
|
|
|
639
|
-
# The ID that YouTube uses to uniquely identify the channel associated
|
|
640
|
-
#
|
|
636
|
+
# The ID that YouTube uses to uniquely identify the channel associated with the
|
|
637
|
+
# activity.
|
|
641
638
|
# Corresponds to the JSON property `channelId`
|
|
642
639
|
# @return [String]
|
|
643
640
|
attr_accessor :channel_id
|
|
@@ -647,25 +644,24 @@ module Google
|
|
|
647
644
|
# @return [String]
|
|
648
645
|
attr_accessor :channel_title
|
|
649
646
|
|
|
650
|
-
# The description of the resource primarily associated with the activity.
|
|
651
|
-
#
|
|
647
|
+
# The description of the resource primarily associated with the activity. @
|
|
648
|
+
# mutable youtube.activities.insert
|
|
652
649
|
# Corresponds to the JSON property `description`
|
|
653
650
|
# @return [String]
|
|
654
651
|
attr_accessor :description
|
|
655
652
|
|
|
656
|
-
# The group ID associated with the activity. A group ID identifies user
|
|
657
|
-
#
|
|
658
|
-
#
|
|
659
|
-
#
|
|
660
|
-
#
|
|
661
|
-
#
|
|
653
|
+
# The group ID associated with the activity. A group ID identifies user events
|
|
654
|
+
# that are associated with the same user and resource. For example, if a user
|
|
655
|
+
# rates a video and marks the same video as a favorite, the entries for those
|
|
656
|
+
# events would have the same group ID in the user's activity feed. In your user
|
|
657
|
+
# interface, you can avoid repetition by grouping events with the same groupId
|
|
658
|
+
# value.
|
|
662
659
|
# Corresponds to the JSON property `groupId`
|
|
663
660
|
# @return [String]
|
|
664
661
|
attr_accessor :group_id
|
|
665
662
|
|
|
666
|
-
# The date and time that the video was uploaded. The value is specified
|
|
667
|
-
#
|
|
668
|
-
# format.
|
|
663
|
+
# The date and time that the video was uploaded. The value is specified in ISO
|
|
664
|
+
# 8601 format.
|
|
669
665
|
# Corresponds to the JSON property `publishedAt`
|
|
670
666
|
# @return [String]
|
|
671
667
|
attr_accessor :published_at
|
|
@@ -702,9 +698,8 @@ module Google
|
|
|
702
698
|
end
|
|
703
699
|
end
|
|
704
700
|
|
|
705
|
-
# A
|
|
706
|
-
#
|
|
707
|
-
# video.
|
|
701
|
+
# A *caption* resource represents a YouTube caption track. A caption track is
|
|
702
|
+
# associated with exactly one YouTube video.
|
|
708
703
|
class Caption
|
|
709
704
|
include Google::Apis::Core::Hashable
|
|
710
705
|
|
|
@@ -718,8 +713,8 @@ module Google
|
|
|
718
713
|
# @return [String]
|
|
719
714
|
attr_accessor :id
|
|
720
715
|
|
|
721
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
722
|
-
#
|
|
716
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
717
|
+
# caption".
|
|
723
718
|
# Corresponds to the JSON property `kind`
|
|
724
719
|
# @return [String]
|
|
725
720
|
attr_accessor :kind
|
|
@@ -761,13 +756,13 @@ module Google
|
|
|
761
756
|
# @return [Array<Google::Apis::YoutubeV3::Caption>]
|
|
762
757
|
attr_accessor :items
|
|
763
758
|
|
|
764
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
765
|
-
#
|
|
759
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
760
|
+
# captionListResponse".
|
|
766
761
|
# Corresponds to the JSON property `kind`
|
|
767
762
|
# @return [String]
|
|
768
763
|
attr_accessor :kind
|
|
769
764
|
|
|
770
|
-
# The
|
|
765
|
+
# The visitorId identifies the visitor.
|
|
771
766
|
# Corresponds to the JSON property `visitorId`
|
|
772
767
|
# @return [String]
|
|
773
768
|
attr_accessor :visitor_id
|
|
@@ -795,74 +790,66 @@ module Google
|
|
|
795
790
|
# @return [String]
|
|
796
791
|
attr_accessor :audio_track_type
|
|
797
792
|
|
|
798
|
-
# The reason that YouTube failed to process the caption track. This
|
|
799
|
-
#
|
|
800
|
-
# property's value is <code>failed</code>.
|
|
793
|
+
# The reason that YouTube failed to process the caption track. This property is
|
|
794
|
+
# only present if the state property's value is failed.
|
|
801
795
|
# Corresponds to the JSON property `failureReason`
|
|
802
796
|
# @return [String]
|
|
803
797
|
attr_accessor :failure_reason
|
|
804
798
|
|
|
805
|
-
# Indicates whether YouTube synchronized the caption track to the audio
|
|
806
|
-
#
|
|
807
|
-
#
|
|
808
|
-
#
|
|
809
|
-
#
|
|
810
|
-
#
|
|
811
|
-
#
|
|
812
|
-
# the time codes in the uploaded caption track to determine when to display
|
|
813
|
-
# captions.
|
|
799
|
+
# Indicates whether YouTube synchronized the caption track to the audio track in
|
|
800
|
+
# the video. The value will be true if a sync was explicitly requested when the
|
|
801
|
+
# caption track was uploaded. For example, when calling the captions.insert or
|
|
802
|
+
# captions.update methods, you can set the sync parameter to true to instruct
|
|
803
|
+
# YouTube to sync the uploaded track to the video. If the value is false,
|
|
804
|
+
# YouTube uses the time codes in the uploaded caption track to determine when to
|
|
805
|
+
# display captions.
|
|
814
806
|
# Corresponds to the JSON property `isAutoSynced`
|
|
815
807
|
# @return [Boolean]
|
|
816
808
|
attr_accessor :is_auto_synced
|
|
817
809
|
alias_method :is_auto_synced?, :is_auto_synced
|
|
818
810
|
|
|
819
|
-
# Indicates whether the track contains closed captions for the deaf
|
|
820
|
-
#
|
|
811
|
+
# Indicates whether the track contains closed captions for the deaf and hard of
|
|
812
|
+
# hearing. The default value is false.
|
|
821
813
|
# Corresponds to the JSON property `isCC`
|
|
822
814
|
# @return [Boolean]
|
|
823
815
|
attr_accessor :is_cc
|
|
824
816
|
alias_method :is_cc?, :is_cc
|
|
825
817
|
|
|
826
|
-
# Indicates whether the caption track is a draft. If the value is
|
|
827
|
-
#
|
|
828
|
-
#
|
|
829
|
-
# @mutable youtube.captions.insert youtube.captions.update
|
|
818
|
+
# Indicates whether the caption track is a draft. If the value is true, then the
|
|
819
|
+
# track is not publicly visible. The default value is false. @mutable youtube.
|
|
820
|
+
# captions.insert youtube.captions.update
|
|
830
821
|
# Corresponds to the JSON property `isDraft`
|
|
831
822
|
# @return [Boolean]
|
|
832
823
|
attr_accessor :is_draft
|
|
833
824
|
alias_method :is_draft?, :is_draft
|
|
834
825
|
|
|
835
|
-
# Indicates whether caption track is formatted for "easy reader,"
|
|
836
|
-
#
|
|
837
|
-
# The default value is <code>false</code>.
|
|
826
|
+
# Indicates whether caption track is formatted for "easy reader," meaning it is
|
|
827
|
+
# at a third-grade level for language learners. The default value is false.
|
|
838
828
|
# Corresponds to the JSON property `isEasyReader`
|
|
839
829
|
# @return [Boolean]
|
|
840
830
|
attr_accessor :is_easy_reader
|
|
841
831
|
alias_method :is_easy_reader?, :is_easy_reader
|
|
842
832
|
|
|
843
|
-
# Indicates whether the caption track uses large text for the
|
|
844
|
-
#
|
|
833
|
+
# Indicates whether the caption track uses large text for the vision-impaired.
|
|
834
|
+
# The default value is false.
|
|
845
835
|
# Corresponds to the JSON property `isLarge`
|
|
846
836
|
# @return [Boolean]
|
|
847
837
|
attr_accessor :is_large
|
|
848
838
|
alias_method :is_large?, :is_large
|
|
849
839
|
|
|
850
|
-
# The language of the caption track. The property value is a
|
|
851
|
-
# <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP-47</a>
|
|
852
|
-
# language tag.
|
|
840
|
+
# The language of the caption track. The property value is a BCP-47 language tag.
|
|
853
841
|
# Corresponds to the JSON property `language`
|
|
854
842
|
# @return [String]
|
|
855
843
|
attr_accessor :language
|
|
856
844
|
|
|
857
845
|
# The date and time when the caption track was last updated. The value is
|
|
858
|
-
# specified in
|
|
859
|
-
# format.
|
|
846
|
+
# specified in ISO 8601 format.
|
|
860
847
|
# Corresponds to the JSON property `lastUpdated`
|
|
861
848
|
# @return [String]
|
|
862
849
|
attr_accessor :last_updated
|
|
863
850
|
|
|
864
|
-
# The name of the caption track. The name is intended to be visible
|
|
865
|
-
#
|
|
851
|
+
# The name of the caption track. The name is intended to be visible to the user
|
|
852
|
+
# as an option during playback.
|
|
866
853
|
# Corresponds to the JSON property `name`
|
|
867
854
|
# @return [String]
|
|
868
855
|
attr_accessor :name
|
|
@@ -877,9 +864,8 @@ module Google
|
|
|
877
864
|
# @return [String]
|
|
878
865
|
attr_accessor :track_kind
|
|
879
866
|
|
|
880
|
-
# The ID that YouTube uses to uniquely identify the video associated
|
|
881
|
-
#
|
|
882
|
-
# @mutable youtube.captions.insert
|
|
867
|
+
# The ID that YouTube uses to uniquely identify the video associated with the
|
|
868
|
+
# caption track. @mutable youtube.captions.insert
|
|
883
869
|
# Corresponds to the JSON property `videoId`
|
|
884
870
|
# @return [String]
|
|
885
871
|
attr_accessor :video_id
|
|
@@ -910,7 +896,7 @@ module Google
|
|
|
910
896
|
class CdnSettings
|
|
911
897
|
include Google::Apis::Core::Hashable
|
|
912
898
|
|
|
913
|
-
# The format of the video stream that you are sending to Youtube.
|
|
899
|
+
# The format of the video stream that you are sending to Youtube.
|
|
914
900
|
# Corresponds to the JSON property `format`
|
|
915
901
|
# @return [String]
|
|
916
902
|
attr_accessor :format
|
|
@@ -949,13 +935,12 @@ module Google
|
|
|
949
935
|
end
|
|
950
936
|
end
|
|
951
937
|
|
|
952
|
-
# A
|
|
953
|
-
# information about a YouTube channel.
|
|
938
|
+
# A *channel* resource contains information about a YouTube channel.
|
|
954
939
|
class Channel
|
|
955
940
|
include Google::Apis::Core::Hashable
|
|
956
941
|
|
|
957
|
-
# The
|
|
958
|
-
#
|
|
942
|
+
# The auditDetails object encapsulates channel data that is relevant for YouTube
|
|
943
|
+
# Partners during the audit process.
|
|
959
944
|
# Corresponds to the JSON property `auditDetails`
|
|
960
945
|
# @return [Google::Apis::YoutubeV3::ChannelAuditDetails]
|
|
961
946
|
attr_accessor :audit_details
|
|
@@ -970,14 +955,14 @@ module Google
|
|
|
970
955
|
# @return [Google::Apis::YoutubeV3::ChannelContentDetails]
|
|
971
956
|
attr_accessor :content_details
|
|
972
957
|
|
|
973
|
-
# The
|
|
974
|
-
#
|
|
958
|
+
# The contentOwnerDetails object encapsulates channel data that is relevant for
|
|
959
|
+
# YouTube Partners linked with the channel.
|
|
975
960
|
# Corresponds to the JSON property `contentOwnerDetails`
|
|
976
961
|
# @return [Google::Apis::YoutubeV3::ChannelContentOwnerDetails]
|
|
977
962
|
attr_accessor :content_owner_details
|
|
978
963
|
|
|
979
|
-
# The
|
|
980
|
-
#
|
|
964
|
+
# The conversionPings object encapsulates information about conversion pings
|
|
965
|
+
# that need to be respected by the channel.
|
|
981
966
|
# Corresponds to the JSON property `conversionPings`
|
|
982
967
|
# @return [Google::Apis::YoutubeV3::ChannelConversionPings]
|
|
983
968
|
attr_accessor :conversion_pings
|
|
@@ -992,14 +977,14 @@ module Google
|
|
|
992
977
|
# @return [String]
|
|
993
978
|
attr_accessor :id
|
|
994
979
|
|
|
995
|
-
# Describes an invideo promotion campaign consisting of multiple promoted
|
|
996
|
-
#
|
|
980
|
+
# Describes an invideo promotion campaign consisting of multiple promoted items.
|
|
981
|
+
# A campaign belongs to a single channel_id.
|
|
997
982
|
# Corresponds to the JSON property `invideoPromotion`
|
|
998
983
|
# @return [Google::Apis::YoutubeV3::InvideoPromotion]
|
|
999
984
|
attr_accessor :invideo_promotion
|
|
1000
985
|
|
|
1001
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
1002
|
-
#
|
|
986
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
987
|
+
# channel".
|
|
1003
988
|
# Corresponds to the JSON property `kind`
|
|
1004
989
|
# @return [String]
|
|
1005
990
|
attr_accessor :kind
|
|
@@ -1053,8 +1038,8 @@ module Google
|
|
|
1053
1038
|
end
|
|
1054
1039
|
end
|
|
1055
1040
|
|
|
1056
|
-
# The
|
|
1057
|
-
#
|
|
1041
|
+
# The auditDetails object encapsulates channel data that is relevant for YouTube
|
|
1042
|
+
# Partners during the audit process.
|
|
1058
1043
|
class ChannelAuditDetails
|
|
1059
1044
|
include Google::Apis::Core::Hashable
|
|
1060
1045
|
|
|
@@ -1097,8 +1082,8 @@ module Google
|
|
|
1097
1082
|
# @return [String]
|
|
1098
1083
|
attr_accessor :etag
|
|
1099
1084
|
|
|
1100
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
1101
|
-
#
|
|
1085
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
1086
|
+
# channelBannerResource".
|
|
1102
1087
|
# Corresponds to the JSON property `kind`
|
|
1103
1088
|
# @return [String]
|
|
1104
1089
|
attr_accessor :kind
|
|
@@ -1161,14 +1146,12 @@ module Google
|
|
|
1161
1146
|
class ChannelCard
|
|
1162
1147
|
include Google::Apis::Core::Hashable
|
|
1163
1148
|
|
|
1164
|
-
# External channel ID.
|
|
1165
|
-
# Required.
|
|
1149
|
+
# External channel ID. Required.
|
|
1166
1150
|
# Corresponds to the JSON property `channelId`
|
|
1167
1151
|
# @return [String]
|
|
1168
1152
|
attr_accessor :channel_id
|
|
1169
1153
|
|
|
1170
|
-
# Each card can have a custom message.
|
|
1171
|
-
# Required.
|
|
1154
|
+
# Each card can have a custom message. Required.
|
|
1172
1155
|
# Corresponds to the JSON property `customMessage`
|
|
1173
1156
|
# @return [String]
|
|
1174
1157
|
attr_accessor :custom_message
|
|
@@ -1206,51 +1189,37 @@ module Google
|
|
|
1206
1189
|
class RelatedPlaylists
|
|
1207
1190
|
include Google::Apis::Core::Hashable
|
|
1208
1191
|
|
|
1209
|
-
# The ID of the playlist that contains the channel"s favorite videos. Use
|
|
1210
|
-
#
|
|
1211
|
-
#
|
|
1212
|
-
# and <code> <a
|
|
1213
|
-
# href="/youtube/v3/docs/playlistItems/delete">playlistItems.delete</a></code>
|
|
1214
|
-
# to add or remove items from that list.
|
|
1192
|
+
# The ID of the playlist that contains the channel"s favorite videos. Use the
|
|
1193
|
+
# playlistItems.insert and playlistItems.delete to add or remove items from that
|
|
1194
|
+
# list.
|
|
1215
1195
|
# Corresponds to the JSON property `favorites`
|
|
1216
1196
|
# @return [String]
|
|
1217
1197
|
attr_accessor :favorites
|
|
1218
1198
|
|
|
1219
1199
|
# The ID of the playlist that contains the channel"s liked videos. Use the
|
|
1220
|
-
#
|
|
1221
|
-
#
|
|
1222
|
-
# href="/youtube/v3/docs/playlistItems/delete">playlistItems.delete</a></code>
|
|
1223
|
-
# to add or remove items from that list.
|
|
1200
|
+
# playlistItems.insert and playlistItems.delete to add or remove items from that
|
|
1201
|
+
# list.
|
|
1224
1202
|
# Corresponds to the JSON property `likes`
|
|
1225
1203
|
# @return [String]
|
|
1226
1204
|
attr_accessor :likes
|
|
1227
1205
|
|
|
1228
|
-
# The ID of the playlist that contains the channel"s uploaded videos. Use
|
|
1229
|
-
# the
|
|
1230
|
-
# href="/youtube/v3/docs/videos/insert">videos.insert</a></code> method to
|
|
1231
|
-
# upload new videos and the <code><a
|
|
1232
|
-
# href="/youtube/v3/docs/videos/delete">videos.delete</a></code> method to
|
|
1206
|
+
# The ID of the playlist that contains the channel"s uploaded videos. Use the
|
|
1207
|
+
# videos.insert method to upload new videos and the videos.delete method to
|
|
1233
1208
|
# delete previously uploaded videos.
|
|
1234
1209
|
# Corresponds to the JSON property `uploads`
|
|
1235
1210
|
# @return [String]
|
|
1236
1211
|
attr_accessor :uploads
|
|
1237
1212
|
|
|
1238
1213
|
# The ID of the playlist that contains the channel"s watch history. Use the
|
|
1239
|
-
#
|
|
1240
|
-
#
|
|
1241
|
-
# and <code> <a
|
|
1242
|
-
# href="/youtube/v3/docs/playlistItems/delete">playlistItems.delete</a></code>
|
|
1243
|
-
# to add or remove items from that list.
|
|
1214
|
+
# playlistItems.insert and playlistItems.delete to add or remove items from that
|
|
1215
|
+
# list.
|
|
1244
1216
|
# Corresponds to the JSON property `watchHistory`
|
|
1245
1217
|
# @return [String]
|
|
1246
1218
|
attr_accessor :watch_history
|
|
1247
1219
|
|
|
1248
|
-
# The ID of the playlist that contains the channel"s watch later playlist.
|
|
1249
|
-
#
|
|
1250
|
-
#
|
|
1251
|
-
# and <code> <a
|
|
1252
|
-
# href="/youtube/v3/docs/playlistItems/delete">playlistItems.delete</a></code>
|
|
1253
|
-
# to add or remove items from that list.
|
|
1220
|
+
# The ID of the playlist that contains the channel"s watch later playlist. Use
|
|
1221
|
+
# the playlistItems.insert and playlistItems.delete to add or remove items from
|
|
1222
|
+
# that list.
|
|
1254
1223
|
# Corresponds to the JSON property `watchLater`
|
|
1255
1224
|
# @return [String]
|
|
1256
1225
|
attr_accessor :watch_later
|
|
@@ -1270,8 +1239,8 @@ module Google
|
|
|
1270
1239
|
end
|
|
1271
1240
|
end
|
|
1272
1241
|
|
|
1273
|
-
# The
|
|
1274
|
-
#
|
|
1242
|
+
# The contentOwnerDetails object encapsulates channel data that is relevant for
|
|
1243
|
+
# YouTube Partners linked with the channel.
|
|
1275
1244
|
class ChannelContentOwnerDetails
|
|
1276
1245
|
include Google::Apis::Core::Hashable
|
|
1277
1246
|
|
|
@@ -1280,10 +1249,8 @@ module Google
|
|
|
1280
1249
|
# @return [String]
|
|
1281
1250
|
attr_accessor :content_owner
|
|
1282
1251
|
|
|
1283
|
-
# The date and time of when the channel was linked to the content owner.
|
|
1284
|
-
#
|
|
1285
|
-
# 8601</a>
|
|
1286
|
-
# format.
|
|
1252
|
+
# The date and time of when the channel was linked to the content owner. The
|
|
1253
|
+
# value is specified in ISO 8601 format.
|
|
1287
1254
|
# Corresponds to the JSON property `timeLinked`
|
|
1288
1255
|
# @return [String]
|
|
1289
1256
|
attr_accessor :time_linked
|
|
@@ -1310,13 +1277,12 @@ module Google
|
|
|
1310
1277
|
# @return [String]
|
|
1311
1278
|
attr_accessor :context
|
|
1312
1279
|
|
|
1313
|
-
# The url (without the schema) that the player shall send the ping to.
|
|
1314
|
-
#
|
|
1315
|
-
#
|
|
1316
|
-
#
|
|
1317
|
-
#
|
|
1318
|
-
#
|
|
1319
|
-
# mobile, for example) to this ping.
|
|
1280
|
+
# The url (without the schema) that the player shall send the ping to. It's at
|
|
1281
|
+
# caller's descretion to decide which schema to use (http vs https) Example of a
|
|
1282
|
+
# returned url: //googleads.g.doubleclick.net/pagead/ viewthroughconversion/
|
|
1283
|
+
# 962985656/?data=path%3DtHe_path%3Btype%3D cview%3Butuid%
|
|
1284
|
+
# 3DGISQtTNGYqaYl4sKxoVvKA&labe=default The caller must append biscotti
|
|
1285
|
+
# authentication (ms param in case of mobile, for example) to this ping.
|
|
1320
1286
|
# Corresponds to the JSON property `conversionUrl`
|
|
1321
1287
|
# @return [String]
|
|
1322
1288
|
attr_accessor :conversion_url
|
|
@@ -1332,14 +1298,14 @@ module Google
|
|
|
1332
1298
|
end
|
|
1333
1299
|
end
|
|
1334
1300
|
|
|
1335
|
-
# The
|
|
1336
|
-
#
|
|
1301
|
+
# The conversionPings object encapsulates information about conversion pings
|
|
1302
|
+
# that need to be respected by the channel.
|
|
1337
1303
|
class ChannelConversionPings
|
|
1338
1304
|
include Google::Apis::Core::Hashable
|
|
1339
1305
|
|
|
1340
1306
|
# Pings that the app shall fire (authenticated by biscotti cookie). Each ping
|
|
1341
|
-
# has a context, in which the app must fire the ping, and a url identifying
|
|
1342
|
-
#
|
|
1307
|
+
# has a context, in which the app must fire the ping, and a url identifying the
|
|
1308
|
+
# ping.
|
|
1343
1309
|
# Corresponds to the JSON property `pings`
|
|
1344
1310
|
# @return [Array<Google::Apis::YoutubeV3::ChannelConversionPing>]
|
|
1345
1311
|
attr_accessor :pings
|
|
@@ -1373,14 +1339,14 @@ module Google
|
|
|
1373
1339
|
# @return [Array<Google::Apis::YoutubeV3::Channel>]
|
|
1374
1340
|
attr_accessor :items
|
|
1375
1341
|
|
|
1376
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
1377
|
-
#
|
|
1342
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
1343
|
+
# channelListResponse".
|
|
1378
1344
|
# Corresponds to the JSON property `kind`
|
|
1379
1345
|
# @return [String]
|
|
1380
1346
|
attr_accessor :kind
|
|
1381
1347
|
|
|
1382
|
-
# The token that can be used as the value of the
|
|
1383
|
-
#
|
|
1348
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
1349
|
+
# the next page in the result set.
|
|
1384
1350
|
# Corresponds to the JSON property `nextPageToken`
|
|
1385
1351
|
# @return [String]
|
|
1386
1352
|
attr_accessor :next_page_token
|
|
@@ -1391,8 +1357,8 @@ module Google
|
|
|
1391
1357
|
# @return [Google::Apis::YoutubeV3::PageInfo]
|
|
1392
1358
|
attr_accessor :page_info
|
|
1393
1359
|
|
|
1394
|
-
# The token that can be used as the value of the
|
|
1395
|
-
#
|
|
1360
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
1361
|
+
# the previous page in the result set.
|
|
1396
1362
|
# Corresponds to the JSON property `prevPageToken`
|
|
1397
1363
|
# @return [String]
|
|
1398
1364
|
attr_accessor :prev_page_token
|
|
@@ -1402,7 +1368,7 @@ module Google
|
|
|
1402
1368
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
1403
1369
|
attr_accessor :token_pagination
|
|
1404
1370
|
|
|
1405
|
-
# The
|
|
1371
|
+
# The visitorId identifies the visitor.
|
|
1406
1372
|
# Corresponds to the JSON property `visitorId`
|
|
1407
1373
|
# @return [String]
|
|
1408
1374
|
attr_accessor :visitor_id
|
|
@@ -1506,8 +1472,8 @@ module Google
|
|
|
1506
1472
|
# @return [String]
|
|
1507
1473
|
attr_accessor :id
|
|
1508
1474
|
|
|
1509
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
1510
|
-
#
|
|
1475
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
1476
|
+
# channelSection".
|
|
1511
1477
|
# Corresponds to the JSON property `kind`
|
|
1512
1478
|
# @return [String]
|
|
1513
1479
|
attr_accessor :kind
|
|
@@ -1588,13 +1554,13 @@ module Google
|
|
|
1588
1554
|
# @return [Array<Google::Apis::YoutubeV3::ChannelSection>]
|
|
1589
1555
|
attr_accessor :items
|
|
1590
1556
|
|
|
1591
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
1592
|
-
#
|
|
1557
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
1558
|
+
# channelSectionListResponse".
|
|
1593
1559
|
# Corresponds to the JSON property `kind`
|
|
1594
1560
|
# @return [String]
|
|
1595
1561
|
attr_accessor :kind
|
|
1596
1562
|
|
|
1597
|
-
# The
|
|
1563
|
+
# The visitorId identifies the visitor.
|
|
1598
1564
|
# Corresponds to the JSON property `visitorId`
|
|
1599
1565
|
# @return [String]
|
|
1600
1566
|
attr_accessor :visitor_id
|
|
@@ -1636,8 +1602,8 @@ module Google
|
|
|
1636
1602
|
class ChannelSectionSnippet
|
|
1637
1603
|
include Google::Apis::Core::Hashable
|
|
1638
1604
|
|
|
1639
|
-
# The ID that YouTube uses to uniquely identify the channel that published
|
|
1640
|
-
#
|
|
1605
|
+
# The ID that YouTube uses to uniquely identify the channel that published the
|
|
1606
|
+
# channel section.
|
|
1641
1607
|
# Corresponds to the JSON property `channelId`
|
|
1642
1608
|
# @return [String]
|
|
1643
1609
|
attr_accessor :channel_id
|
|
@@ -1758,8 +1724,8 @@ module Google
|
|
|
1758
1724
|
# @return [String]
|
|
1759
1725
|
attr_accessor :keywords
|
|
1760
1726
|
|
|
1761
|
-
# Whether user-submitted comments left on the channel page need to be
|
|
1762
|
-
#
|
|
1727
|
+
# Whether user-submitted comments left on the channel page need to be approved
|
|
1728
|
+
# by the channel owner to be publicly visible.
|
|
1763
1729
|
# Corresponds to the JSON property `moderateComments`
|
|
1764
1730
|
# @return [Boolean]
|
|
1765
1731
|
attr_accessor :moderate_comments
|
|
@@ -1850,9 +1816,8 @@ module Google
|
|
|
1850
1816
|
# @return [Google::Apis::YoutubeV3::ChannelLocalization]
|
|
1851
1817
|
attr_accessor :localized
|
|
1852
1818
|
|
|
1853
|
-
# The date and time that the channel was created. The value is specified in
|
|
1854
|
-
#
|
|
1855
|
-
# format.
|
|
1819
|
+
# The date and time that the channel was created. The value is specified in < a
|
|
1820
|
+
# href="//www.w3.org/TR/NOTE-datetime">ISO 8601 format.
|
|
1856
1821
|
# Corresponds to the JSON property `publishedAt`
|
|
1857
1822
|
# @return [String]
|
|
1858
1823
|
attr_accessor :published_at
|
|
@@ -1933,15 +1898,15 @@ module Google
|
|
|
1933
1898
|
class ChannelStatus
|
|
1934
1899
|
include Google::Apis::Core::Hashable
|
|
1935
1900
|
|
|
1936
|
-
# If true, then the user is linked to either a YouTube username or G+
|
|
1937
|
-
#
|
|
1901
|
+
# If true, then the user is linked to either a YouTube username or G+ account.
|
|
1902
|
+
# Otherwise, the user doesn't have a public YouTube identity.
|
|
1938
1903
|
# Corresponds to the JSON property `isLinked`
|
|
1939
1904
|
# @return [Boolean]
|
|
1940
1905
|
attr_accessor :is_linked
|
|
1941
1906
|
alias_method :is_linked?, :is_linked
|
|
1942
1907
|
|
|
1943
|
-
# The long uploads status of this channel. See
|
|
1944
|
-
#
|
|
1908
|
+
# The long uploads status of this channel. See https://support.google.com/
|
|
1909
|
+
# youtube/answer/71673 for more information.
|
|
1945
1910
|
# Corresponds to the JSON property `longUploadsStatus`
|
|
1946
1911
|
# @return [String]
|
|
1947
1912
|
attr_accessor :long_uploads_status
|
|
@@ -2013,8 +1978,7 @@ module Google
|
|
|
2013
1978
|
attr_accessor :topic_categories
|
|
2014
1979
|
|
|
2015
1980
|
# A list of Freebase topic IDs associated with the channel. You can retrieve
|
|
2016
|
-
# information about each topic using the
|
|
2017
|
-
# href="http://wiki.freebase.com/wiki/Topic_API">Freebase Topic API</a>.
|
|
1981
|
+
# information about each topic using the Freebase Topic API.
|
|
2018
1982
|
# Corresponds to the JSON property `topicIds`
|
|
2019
1983
|
# @return [Array<String>]
|
|
2020
1984
|
attr_accessor :topic_ids
|
|
@@ -2030,7 +1994,7 @@ module Google
|
|
|
2030
1994
|
end
|
|
2031
1995
|
end
|
|
2032
1996
|
|
|
2033
|
-
# A
|
|
1997
|
+
# A *comment* represents a single YouTube comment.
|
|
2034
1998
|
class Comment
|
|
2035
1999
|
include Google::Apis::Core::Hashable
|
|
2036
2000
|
|
|
@@ -2044,8 +2008,8 @@ module Google
|
|
|
2044
2008
|
# @return [String]
|
|
2045
2009
|
attr_accessor :id
|
|
2046
2010
|
|
|
2047
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
2048
|
-
#
|
|
2011
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
2012
|
+
# comment".
|
|
2049
2013
|
# Corresponds to the JSON property `kind`
|
|
2050
2014
|
# @return [String]
|
|
2051
2015
|
attr_accessor :kind
|
|
@@ -2087,14 +2051,14 @@ module Google
|
|
|
2087
2051
|
# @return [Array<Google::Apis::YoutubeV3::Comment>]
|
|
2088
2052
|
attr_accessor :items
|
|
2089
2053
|
|
|
2090
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
2091
|
-
#
|
|
2054
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
2055
|
+
# commentListResponse".
|
|
2092
2056
|
# Corresponds to the JSON property `kind`
|
|
2093
2057
|
# @return [String]
|
|
2094
2058
|
attr_accessor :kind
|
|
2095
2059
|
|
|
2096
|
-
# The token that can be used as the value of the
|
|
2097
|
-
#
|
|
2060
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
2061
|
+
# the next page in the result set.
|
|
2098
2062
|
# Corresponds to the JSON property `nextPageToken`
|
|
2099
2063
|
# @return [String]
|
|
2100
2064
|
attr_accessor :next_page_token
|
|
@@ -2110,7 +2074,7 @@ module Google
|
|
|
2110
2074
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
2111
2075
|
attr_accessor :token_pagination
|
|
2112
2076
|
|
|
2113
|
-
# The
|
|
2077
|
+
# The visitorId identifies the visitor.
|
|
2114
2078
|
# Corresponds to the JSON property `visitorId`
|
|
2115
2079
|
# @return [String]
|
|
2116
2080
|
attr_accessor :visitor_id
|
|
@@ -2162,9 +2126,9 @@ module Google
|
|
|
2162
2126
|
attr_accessor :can_rate
|
|
2163
2127
|
alias_method :can_rate?, :can_rate
|
|
2164
2128
|
|
|
2165
|
-
# The id of the corresponding YouTube channel. In case of a channel comment
|
|
2166
|
-
#
|
|
2167
|
-
#
|
|
2129
|
+
# The id of the corresponding YouTube channel. In case of a channel comment this
|
|
2130
|
+
# is the channel the comment refers to. In case of a video comment it's the
|
|
2131
|
+
# video's channel.
|
|
2168
2132
|
# Corresponds to the JSON property `channelId`
|
|
2169
2133
|
# @return [String]
|
|
2170
2134
|
attr_accessor :channel_id
|
|
@@ -2186,29 +2150,27 @@ module Google
|
|
|
2186
2150
|
attr_accessor :parent_id
|
|
2187
2151
|
|
|
2188
2152
|
# The date and time when the comment was orignally published. The value is
|
|
2189
|
-
# specified in
|
|
2190
|
-
# format.
|
|
2153
|
+
# specified in ISO 8601 format.
|
|
2191
2154
|
# Corresponds to the JSON property `publishedAt`
|
|
2192
2155
|
# @return [String]
|
|
2193
2156
|
attr_accessor :published_at
|
|
2194
2157
|
|
|
2195
|
-
# The comment's text. The format is either plain text or HTML dependent on
|
|
2196
|
-
#
|
|
2197
|
-
#
|
|
2198
|
-
#
|
|
2158
|
+
# The comment's text. The format is either plain text or HTML dependent on what
|
|
2159
|
+
# has been requested. Even the plain text representation may differ from the
|
|
2160
|
+
# text originally posted in that it may replace video links with video titles
|
|
2161
|
+
# etc.
|
|
2199
2162
|
# Corresponds to the JSON property `textDisplay`
|
|
2200
2163
|
# @return [String]
|
|
2201
2164
|
attr_accessor :text_display
|
|
2202
2165
|
|
|
2203
2166
|
# The comment's original raw text as initially posted or last updated. The
|
|
2204
|
-
# original text will only be returned if it is accessible to the viewer,
|
|
2205
|
-
#
|
|
2167
|
+
# original text will only be returned if it is accessible to the viewer, which
|
|
2168
|
+
# is only guaranteed if the viewer is the comment's author.
|
|
2206
2169
|
# Corresponds to the JSON property `textOriginal`
|
|
2207
2170
|
# @return [String]
|
|
2208
2171
|
attr_accessor :text_original
|
|
2209
2172
|
|
|
2210
|
-
# The date and time when was last updated . The value is
|
|
2211
|
-
# specified in <a href="//www.w3.org/TR/NOTE-datetime">ISO 8601</a>
|
|
2173
|
+
# The date and time when was last updated . The value is specified in ISO 8601
|
|
2212
2174
|
# format.
|
|
2213
2175
|
# Corresponds to the JSON property `updatedAt`
|
|
2214
2176
|
# @return [String]
|
|
@@ -2219,9 +2181,9 @@ module Google
|
|
|
2219
2181
|
# @return [String]
|
|
2220
2182
|
attr_accessor :video_id
|
|
2221
2183
|
|
|
2222
|
-
# The rating the viewer has given to this comment. For the time being this
|
|
2223
|
-
#
|
|
2224
|
-
#
|
|
2184
|
+
# The rating the viewer has given to this comment. For the time being this will
|
|
2185
|
+
# never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may
|
|
2186
|
+
# change in the future.
|
|
2225
2187
|
# Corresponds to the JSON property `viewerRating`
|
|
2226
2188
|
# @return [String]
|
|
2227
2189
|
attr_accessor :viewer_rating
|
|
@@ -2269,9 +2231,9 @@ module Google
|
|
|
2269
2231
|
end
|
|
2270
2232
|
end
|
|
2271
2233
|
|
|
2272
|
-
# A
|
|
2273
|
-
#
|
|
2274
|
-
#
|
|
2234
|
+
# A *comment thread* represents information that applies to a top level comment
|
|
2235
|
+
# and all its replies. It can also include the top level comment itself and some
|
|
2236
|
+
# of the replies.
|
|
2275
2237
|
class CommentThread
|
|
2276
2238
|
include Google::Apis::Core::Hashable
|
|
2277
2239
|
|
|
@@ -2285,8 +2247,8 @@ module Google
|
|
|
2285
2247
|
# @return [String]
|
|
2286
2248
|
attr_accessor :id
|
|
2287
2249
|
|
|
2288
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
2289
|
-
#
|
|
2250
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
2251
|
+
# commentThread".
|
|
2290
2252
|
# Corresponds to the JSON property `kind`
|
|
2291
2253
|
# @return [String]
|
|
2292
2254
|
attr_accessor :kind
|
|
@@ -2334,14 +2296,14 @@ module Google
|
|
|
2334
2296
|
# @return [Array<Google::Apis::YoutubeV3::CommentThread>]
|
|
2335
2297
|
attr_accessor :items
|
|
2336
2298
|
|
|
2337
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
2338
|
-
#
|
|
2299
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
2300
|
+
# commentThreadListResponse".
|
|
2339
2301
|
# Corresponds to the JSON property `kind`
|
|
2340
2302
|
# @return [String]
|
|
2341
2303
|
attr_accessor :kind
|
|
2342
2304
|
|
|
2343
|
-
# The token that can be used as the value of the
|
|
2344
|
-
#
|
|
2305
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
2306
|
+
# the next page in the result set.
|
|
2345
2307
|
# Corresponds to the JSON property `nextPageToken`
|
|
2346
2308
|
# @return [String]
|
|
2347
2309
|
attr_accessor :next_page_token
|
|
@@ -2357,7 +2319,7 @@ module Google
|
|
|
2357
2319
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
2358
2320
|
attr_accessor :token_pagination
|
|
2359
2321
|
|
|
2360
|
-
# The
|
|
2322
|
+
# The visitorId identifies the visitor.
|
|
2361
2323
|
# Corresponds to the JSON property `visitorId`
|
|
2362
2324
|
# @return [String]
|
|
2363
2325
|
attr_accessor :visitor_id
|
|
@@ -2384,8 +2346,8 @@ module Google
|
|
|
2384
2346
|
include Google::Apis::Core::Hashable
|
|
2385
2347
|
|
|
2386
2348
|
# A limited number of replies. Unless the number of replies returned equals
|
|
2387
|
-
# total_reply_count in the snippet the returned replies are only a subset
|
|
2388
|
-
#
|
|
2349
|
+
# total_reply_count in the snippet the returned replies are only a subset of the
|
|
2350
|
+
# total number of replies.
|
|
2389
2351
|
# Corresponds to the JSON property `comments`
|
|
2390
2352
|
# @return [Array<Google::Apis::YoutubeV3::Comment>]
|
|
2391
2353
|
attr_accessor :comments
|
|
@@ -2411,21 +2373,21 @@ module Google
|
|
|
2411
2373
|
attr_accessor :can_reply
|
|
2412
2374
|
alias_method :can_reply?, :can_reply
|
|
2413
2375
|
|
|
2414
|
-
# The YouTube channel the comments in the thread refer to or the channel
|
|
2415
|
-
#
|
|
2416
|
-
#
|
|
2376
|
+
# The YouTube channel the comments in the thread refer to or the channel with
|
|
2377
|
+
# the video the comments refer to. If video_id isn't set the comments refer to
|
|
2378
|
+
# the channel itself.
|
|
2417
2379
|
# Corresponds to the JSON property `channelId`
|
|
2418
2380
|
# @return [String]
|
|
2419
2381
|
attr_accessor :channel_id
|
|
2420
2382
|
|
|
2421
|
-
# Whether the thread (and therefore all its comments) is visible to all
|
|
2422
|
-
#
|
|
2383
|
+
# Whether the thread (and therefore all its comments) is visible to all YouTube
|
|
2384
|
+
# users.
|
|
2423
2385
|
# Corresponds to the JSON property `isPublic`
|
|
2424
2386
|
# @return [Boolean]
|
|
2425
2387
|
attr_accessor :is_public
|
|
2426
2388
|
alias_method :is_public?, :is_public
|
|
2427
2389
|
|
|
2428
|
-
# A
|
|
2390
|
+
# A *comment* represents a single YouTube comment.
|
|
2429
2391
|
# Corresponds to the JSON property `topLevelComment`
|
|
2430
2392
|
# @return [Google::Apis::YoutubeV3::Comment]
|
|
2431
2393
|
attr_accessor :top_level_comment
|
|
@@ -2456,27 +2418,26 @@ module Google
|
|
|
2456
2418
|
end
|
|
2457
2419
|
end
|
|
2458
2420
|
|
|
2459
|
-
# Ratings schemes. The country-specific ratings are mostly for
|
|
2460
|
-
# movies and shows.
|
|
2421
|
+
# Ratings schemes. The country-specific ratings are mostly for movies and shows.
|
|
2461
2422
|
# LINT.IfChange
|
|
2462
2423
|
class ContentRating
|
|
2463
2424
|
include Google::Apis::Core::Hashable
|
|
2464
2425
|
|
|
2465
|
-
# The video's Australian Classification Board (ACB) or Australian
|
|
2466
|
-
#
|
|
2467
|
-
#
|
|
2426
|
+
# The video's Australian Classification Board (ACB) or Australian Communications
|
|
2427
|
+
# and Media Authority (ACMA) rating. ACMA ratings are used to classify children'
|
|
2428
|
+
# s television programming.
|
|
2468
2429
|
# Corresponds to the JSON property `acbRating`
|
|
2469
2430
|
# @return [String]
|
|
2470
2431
|
attr_accessor :acb_rating
|
|
2471
2432
|
|
|
2472
|
-
# The video's rating from Italy's
|
|
2473
|
-
#
|
|
2433
|
+
# The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (
|
|
2434
|
+
# AGCOM).
|
|
2474
2435
|
# Corresponds to the JSON property `agcomRating`
|
|
2475
2436
|
# @return [String]
|
|
2476
2437
|
attr_accessor :agcom_rating
|
|
2477
2438
|
|
|
2478
|
-
# The video's Anatel (
|
|
2479
|
-
#
|
|
2439
|
+
# The video's Anatel (Asociación Nacional de Televisión) rating for Chilean
|
|
2440
|
+
# television.
|
|
2480
2441
|
# Corresponds to the JSON property `anatelRating`
|
|
2481
2442
|
# @return [String]
|
|
2482
2443
|
attr_accessor :anatel_rating
|
|
@@ -2491,27 +2452,23 @@ module Google
|
|
|
2491
2452
|
# @return [String]
|
|
2492
2453
|
attr_accessor :bfvc_rating
|
|
2493
2454
|
|
|
2494
|
-
# The video's rating from the Austrian Board of Media Classification
|
|
2495
|
-
#
|
|
2455
|
+
# The video's rating from the Austrian Board of Media Classification (
|
|
2456
|
+
# Bundesministerium für Unterricht, Kunst und Kultur).
|
|
2496
2457
|
# Corresponds to the JSON property `bmukkRating`
|
|
2497
2458
|
# @return [String]
|
|
2498
2459
|
attr_accessor :bmukk_rating
|
|
2499
2460
|
|
|
2500
|
-
# Rating system for Canadian TV - Canadian TV Classification System
|
|
2501
|
-
#
|
|
2502
|
-
#
|
|
2503
|
-
#
|
|
2504
|
-
# <a href="http://www.cbsc.ca/english/agvot/englishsystem.php">Canadian
|
|
2505
|
-
# Broadcast Standards Council</a> website.
|
|
2461
|
+
# Rating system for Canadian TV - Canadian TV Classification System The video's
|
|
2462
|
+
# rating from the Canadian Radio-Television and Telecommunications Commission (
|
|
2463
|
+
# CRTC) for Canadian English-language broadcasts. For more information, see the
|
|
2464
|
+
# Canadian Broadcast Standards Council website.
|
|
2506
2465
|
# Corresponds to the JSON property `catvRating`
|
|
2507
2466
|
# @return [String]
|
|
2508
2467
|
attr_accessor :catv_rating
|
|
2509
2468
|
|
|
2510
|
-
# The video's rating from the Canadian Radio-Television and
|
|
2511
|
-
#
|
|
2512
|
-
#
|
|
2513
|
-
# <a href="http://www.cbsc.ca/english/agvot/frenchsystem.php">Canadian
|
|
2514
|
-
# Broadcast Standards Council</a> website.
|
|
2469
|
+
# The video's rating from the Canadian Radio-Television and Telecommunications
|
|
2470
|
+
# Commission (CRTC) for Canadian French-language broadcasts. For more
|
|
2471
|
+
# information, see the Canadian Broadcast Standards Council website.
|
|
2515
2472
|
# Corresponds to the JSON property `catvfrRating`
|
|
2516
2473
|
# @return [String]
|
|
2517
2474
|
attr_accessor :catvfr_rating
|
|
@@ -2521,14 +2478,12 @@ module Google
|
|
|
2521
2478
|
# @return [String]
|
|
2522
2479
|
attr_accessor :cbfc_rating
|
|
2523
2480
|
|
|
2524
|
-
# The video's Consejo de
|
|
2525
|
-
# rating.
|
|
2481
|
+
# The video's Consejo de Calificación Cinematográfica (Chile) rating.
|
|
2526
2482
|
# Corresponds to the JSON property `cccRating`
|
|
2527
2483
|
# @return [String]
|
|
2528
2484
|
attr_accessor :ccc_rating
|
|
2529
2485
|
|
|
2530
|
-
# The video's rating from Portugal's
|
|
2531
|
-
# Classificação de Espect´culos.
|
|
2486
|
+
# The video's rating from Portugal's Comissão de Classificação de Espect´culos.
|
|
2532
2487
|
# Corresponds to the JSON property `cceRating`
|
|
2533
2488
|
# @return [String]
|
|
2534
2489
|
attr_accessor :cce_rating
|
|
@@ -2543,14 +2498,12 @@ module Google
|
|
|
2543
2498
|
# @return [String]
|
|
2544
2499
|
attr_accessor :chvrs_rating
|
|
2545
2500
|
|
|
2546
|
-
# The video's rating from the Commission de
|
|
2547
|
-
# (Belgium).
|
|
2501
|
+
# The video's rating from the Commission de Contrôle des Films (Belgium).
|
|
2548
2502
|
# Corresponds to the JSON property `cicfRating`
|
|
2549
2503
|
# @return [String]
|
|
2550
2504
|
attr_accessor :cicf_rating
|
|
2551
2505
|
|
|
2552
|
-
# The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI
|
|
2553
|
-
# (CNA).
|
|
2506
|
+
# The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA).
|
|
2554
2507
|
# Corresponds to the JSON property `cnaRating`
|
|
2555
2508
|
# @return [String]
|
|
2556
2509
|
attr_accessor :cna_rating
|
|
@@ -2560,14 +2513,14 @@ module Google
|
|
|
2560
2513
|
# @return [String]
|
|
2561
2514
|
attr_accessor :cnc_rating
|
|
2562
2515
|
|
|
2563
|
-
# The video's rating from France's Conseil
|
|
2564
|
-
#
|
|
2516
|
+
# The video's rating from France's Conseil supérieur de l’audiovisuel, which
|
|
2517
|
+
# rates broadcast content.
|
|
2565
2518
|
# Corresponds to the JSON property `csaRating`
|
|
2566
2519
|
# @return [String]
|
|
2567
2520
|
attr_accessor :csa_rating
|
|
2568
2521
|
|
|
2569
|
-
# The video's rating from Luxembourg's Commission de surveillance
|
|
2570
|
-
#
|
|
2522
|
+
# The video's rating from Luxembourg's Commission de surveillance de la
|
|
2523
|
+
# classification des films (CSCF).
|
|
2571
2524
|
# Corresponds to the JSON property `cscfRating`
|
|
2572
2525
|
# @return [String]
|
|
2573
2526
|
attr_accessor :cscf_rating
|
|
@@ -2577,8 +2530,8 @@ module Google
|
|
|
2577
2530
|
# @return [String]
|
|
2578
2531
|
attr_accessor :czfilm_rating
|
|
2579
2532
|
|
|
2580
|
-
# The video's Departamento de
|
|
2581
|
-
#
|
|
2533
|
+
# The video's Departamento de Justiça, Classificação, Qualificação e Títulos (
|
|
2534
|
+
# DJCQT - Brazil) rating.
|
|
2582
2535
|
# Corresponds to the JSON property `djctqRating`
|
|
2583
2536
|
# @return [String]
|
|
2584
2537
|
attr_accessor :djctq_rating
|
|
@@ -2588,8 +2541,8 @@ module Google
|
|
|
2588
2541
|
# @return [Array<String>]
|
|
2589
2542
|
attr_accessor :djctq_rating_reasons
|
|
2590
2543
|
|
|
2591
|
-
# Rating system in Turkey - Evaluation and Classification Board of the
|
|
2592
|
-
#
|
|
2544
|
+
# Rating system in Turkey - Evaluation and Classification Board of the Ministry
|
|
2545
|
+
# of Culture and Tourism
|
|
2593
2546
|
# Corresponds to the JSON property `ecbmctRating`
|
|
2594
2547
|
# @return [String]
|
|
2595
2548
|
attr_accessor :ecbmct_rating
|
|
@@ -2604,8 +2557,7 @@ module Google
|
|
|
2604
2557
|
# @return [String]
|
|
2605
2558
|
attr_accessor :egfilm_rating
|
|
2606
2559
|
|
|
2607
|
-
# The video's Eirin (
|
|
2608
|
-
# Eirin is the Japanese rating system.
|
|
2560
|
+
# The video's Eirin (映倫) rating. Eirin is the Japanese rating system.
|
|
2609
2561
|
# Corresponds to the JSON property `eirinRating`
|
|
2610
2562
|
# @return [String]
|
|
2611
2563
|
attr_accessor :eirin_rating
|
|
@@ -2615,17 +2567,14 @@ module Google
|
|
|
2615
2567
|
# @return [String]
|
|
2616
2568
|
attr_accessor :fcbm_rating
|
|
2617
2569
|
|
|
2618
|
-
# The video's rating from Hong Kong's Office for Film, Newspaper
|
|
2619
|
-
#
|
|
2570
|
+
# The video's rating from Hong Kong's Office for Film, Newspaper and Article
|
|
2571
|
+
# Administration.
|
|
2620
2572
|
# Corresponds to the JSON property `fcoRating`
|
|
2621
2573
|
# @return [String]
|
|
2622
2574
|
attr_accessor :fco_rating
|
|
2623
2575
|
|
|
2624
|
-
#
|
|
2625
|
-
#
|
|
2626
|
-
# href="#contentDetails.contentRating.cncRating">contentDetails.contentRating.
|
|
2627
|
-
# cncRating</a></code>
|
|
2628
|
-
# instead.</span>
|
|
2576
|
+
# This property has been deprecated. Use the contentDetails.contentRating.
|
|
2577
|
+
# cncRating instead.
|
|
2629
2578
|
# Corresponds to the JSON property `fmocRating`
|
|
2630
2579
|
# @return [String]
|
|
2631
2580
|
attr_accessor :fmoc_rating
|
|
@@ -2640,8 +2589,8 @@ module Google
|
|
|
2640
2589
|
# @return [Array<String>]
|
|
2641
2590
|
attr_accessor :fpb_rating_reasons
|
|
2642
2591
|
|
|
2643
|
-
# The video's Freiwillige Selbstkontrolle der Filmwirtschaft
|
|
2644
|
-
#
|
|
2592
|
+
# The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany)
|
|
2593
|
+
# rating.
|
|
2645
2594
|
# Corresponds to the JSON property `fskRating`
|
|
2646
2595
|
# @return [String]
|
|
2647
2596
|
attr_accessor :fsk_rating
|
|
@@ -2651,16 +2600,14 @@ module Google
|
|
|
2651
2600
|
# @return [String]
|
|
2652
2601
|
attr_accessor :grfilm_rating
|
|
2653
2602
|
|
|
2654
|
-
# The video's Instituto de la
|
|
2655
|
-
#
|
|
2603
|
+
# The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA -
|
|
2604
|
+
# Spain) rating.
|
|
2656
2605
|
# Corresponds to the JSON property `icaaRating`
|
|
2657
2606
|
# @return [String]
|
|
2658
2607
|
attr_accessor :icaa_rating
|
|
2659
2608
|
|
|
2660
|
-
# The video's Irish Film Classification Office (IFCO - Ireland) rating.
|
|
2661
|
-
#
|
|
2662
|
-
# href="http://www.ifco.ie/website/ifco/ifcoweb.nsf/web/classcatintro">IFCO</a>
|
|
2663
|
-
# website for more information.
|
|
2609
|
+
# The video's Irish Film Classification Office (IFCO - Ireland) rating. See the
|
|
2610
|
+
# IFCO website for more information.
|
|
2664
2611
|
# Corresponds to the JSON property `ifcoRating`
|
|
2665
2612
|
# @return [String]
|
|
2666
2613
|
attr_accessor :ifco_rating
|
|
@@ -2681,15 +2628,14 @@ module Google
|
|
|
2681
2628
|
# @return [String]
|
|
2682
2629
|
attr_accessor :kfcb_rating
|
|
2683
2630
|
|
|
2684
|
-
# The video's NICAM/Kijkwijzer rating from the Nederlands Instituut
|
|
2685
|
-
#
|
|
2631
|
+
# The video's NICAM/Kijkwijzer rating from the Nederlands Instituut voor de
|
|
2632
|
+
# Classificatie van Audiovisuele Media (Netherlands).
|
|
2686
2633
|
# Corresponds to the JSON property `kijkwijzerRating`
|
|
2687
2634
|
# @return [String]
|
|
2688
2635
|
attr_accessor :kijkwijzer_rating
|
|
2689
2636
|
|
|
2690
|
-
# The video's Korea Media Rating Board
|
|
2691
|
-
#
|
|
2692
|
-
# The KMRB rates videos in South Korea.
|
|
2637
|
+
# The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos
|
|
2638
|
+
# in South Korea.
|
|
2693
2639
|
# Corresponds to the JSON property `kmrbRating`
|
|
2694
2640
|
# @return [String]
|
|
2695
2641
|
attr_accessor :kmrb_rating
|
|
@@ -2704,8 +2650,8 @@ module Google
|
|
|
2704
2650
|
# @return [String]
|
|
2705
2651
|
attr_accessor :mccaa_rating
|
|
2706
2652
|
|
|
2707
|
-
# The video's rating from the Danish Film Institute's (Det Danske
|
|
2708
|
-
#
|
|
2653
|
+
# The video's rating from the Danish Film Institute's (Det Danske Filminstitut)
|
|
2654
|
+
# Media Council for Children and Young People.
|
|
2709
2655
|
# Corresponds to the JSON property `mccypRating`
|
|
2710
2656
|
# @return [String]
|
|
2711
2657
|
attr_accessor :mccyp_rating
|
|
@@ -2726,21 +2672,21 @@ module Google
|
|
|
2726
2672
|
# @return [String]
|
|
2727
2673
|
attr_accessor :medietilsynet_rating
|
|
2728
2674
|
|
|
2729
|
-
# The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti
|
|
2730
|
-
#
|
|
2675
|
+
# The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (
|
|
2676
|
+
# National Audiovisual Institute).
|
|
2731
2677
|
# Corresponds to the JSON property `mekuRating`
|
|
2732
2678
|
# @return [String]
|
|
2733
2679
|
attr_accessor :meku_rating
|
|
2734
2680
|
|
|
2735
|
-
# The rating system for MENA countries, a clone of MPAA. It is needed to
|
|
2736
|
-
#
|
|
2681
|
+
# The rating system for MENA countries, a clone of MPAA. It is needed to prevent
|
|
2682
|
+
# titles go live w/o additional QC check, since some of them can be
|
|
2737
2683
|
# inappropriate for the countries at all. See b/33408548 for more details.
|
|
2738
2684
|
# Corresponds to the JSON property `menaMpaaRating`
|
|
2739
2685
|
# @return [String]
|
|
2740
2686
|
attr_accessor :mena_mpaa_rating
|
|
2741
2687
|
|
|
2742
|
-
# The video's rating from the Ministero dei Beni e delle
|
|
2743
|
-
#
|
|
2688
|
+
# The video's rating from the Ministero dei Beni e delle Attività Culturali e
|
|
2689
|
+
# del Turismo (Italy).
|
|
2744
2690
|
# Corresponds to the JSON property `mibacRating`
|
|
2745
2691
|
# @return [String]
|
|
2746
2692
|
attr_accessor :mibac_rating
|
|
@@ -2750,8 +2696,7 @@ module Google
|
|
|
2750
2696
|
# @return [String]
|
|
2751
2697
|
attr_accessor :moc_rating
|
|
2752
2698
|
|
|
2753
|
-
# The video's rating from Taiwan's Ministry of Culture
|
|
2754
|
-
# (文化部).
|
|
2699
|
+
# The video's rating from Taiwan's Ministry of Culture (文化部).
|
|
2755
2700
|
# Corresponds to the JSON property `moctwRating`
|
|
2756
2701
|
# @return [String]
|
|
2757
2702
|
attr_accessor :moctw_rating
|
|
@@ -2761,14 +2706,14 @@ module Google
|
|
|
2761
2706
|
# @return [String]
|
|
2762
2707
|
attr_accessor :mpaa_rating
|
|
2763
2708
|
|
|
2764
|
-
# The rating system for trailer, DVD, and Ad in the US.
|
|
2765
|
-
#
|
|
2709
|
+
# The rating system for trailer, DVD, and Ad in the US. See http://movielabs.com/
|
|
2710
|
+
# md/ratings/v2.3/html/US_MPAAT_Ratings.html.
|
|
2766
2711
|
# Corresponds to the JSON property `mpaatRating`
|
|
2767
2712
|
# @return [String]
|
|
2768
2713
|
attr_accessor :mpaat_rating
|
|
2769
2714
|
|
|
2770
|
-
# The video's rating from the Movie and Television Review and
|
|
2771
|
-
#
|
|
2715
|
+
# The video's rating from the Movie and Television Review and Classification
|
|
2716
|
+
# Board (Philippines).
|
|
2772
2717
|
# Corresponds to the JSON property `mtrcbRating`
|
|
2773
2718
|
# @return [String]
|
|
2774
2719
|
attr_accessor :mtrcb_rating
|
|
@@ -2783,8 +2728,7 @@ module Google
|
|
|
2783
2728
|
# @return [String]
|
|
2784
2729
|
attr_accessor :nbcpl_rating
|
|
2785
2730
|
|
|
2786
|
-
# The video's rating from the
|
|
2787
|
-
# National Film Center</a>.
|
|
2731
|
+
# The video's rating from the Bulgarian National Film Center.
|
|
2788
2732
|
# Corresponds to the JSON property `nfrcRating`
|
|
2789
2733
|
# @return [String]
|
|
2790
2734
|
attr_accessor :nfrc_rating
|
|
@@ -2794,8 +2738,8 @@ module Google
|
|
|
2794
2738
|
# @return [String]
|
|
2795
2739
|
attr_accessor :nfvcb_rating
|
|
2796
2740
|
|
|
2797
|
-
# The video's rating from the
|
|
2798
|
-
#
|
|
2741
|
+
# The video's rating from the Nacionãlais Kino centrs (National Film Centre of
|
|
2742
|
+
# Latvia).
|
|
2799
2743
|
# Corresponds to the JSON property `nkclvRating`
|
|
2800
2744
|
# @return [String]
|
|
2801
2745
|
attr_accessor :nkclv_rating
|
|
@@ -2805,8 +2749,8 @@ module Google
|
|
|
2805
2749
|
# @return [String]
|
|
2806
2750
|
attr_accessor :nmc_rating
|
|
2807
2751
|
|
|
2808
|
-
# The video's Office of Film and Literature Classification
|
|
2809
|
-
#
|
|
2752
|
+
# The video's Office of Film and Literature Classification (OFLC - New Zealand)
|
|
2753
|
+
# rating.
|
|
2810
2754
|
# Corresponds to the JSON property `oflcRating`
|
|
2811
2755
|
# @return [String]
|
|
2812
2756
|
attr_accessor :oflc_rating
|
|
@@ -2816,8 +2760,8 @@ module Google
|
|
|
2816
2760
|
# @return [String]
|
|
2817
2761
|
attr_accessor :pefilm_rating
|
|
2818
2762
|
|
|
2819
|
-
# The video's rating from the Hungarian Nemzeti Filmiroda, the Rating
|
|
2820
|
-
#
|
|
2763
|
+
# The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee
|
|
2764
|
+
# of the National Office of Film.
|
|
2821
2765
|
# Corresponds to the JSON property `rcnofRating`
|
|
2822
2766
|
# @return [String]
|
|
2823
2767
|
attr_accessor :rcnof_rating
|
|
@@ -2827,20 +2771,19 @@ module Google
|
|
|
2827
2771
|
# @return [String]
|
|
2828
2772
|
attr_accessor :resorteviolencia_rating
|
|
2829
2773
|
|
|
2830
|
-
# The video's General Directorate of Radio, Television and Cinematography
|
|
2831
|
-
#
|
|
2774
|
+
# The video's General Directorate of Radio, Television and Cinematography (
|
|
2775
|
+
# Mexico) rating.
|
|
2832
2776
|
# Corresponds to the JSON property `rtcRating`
|
|
2833
2777
|
# @return [String]
|
|
2834
2778
|
attr_accessor :rtc_rating
|
|
2835
2779
|
|
|
2836
|
-
# The video's rating from Ireland's
|
|
2837
|
-
# Éireann.
|
|
2780
|
+
# The video's rating from Ireland's Raidió Teilifís Éireann.
|
|
2838
2781
|
# Corresponds to the JSON property `rteRating`
|
|
2839
2782
|
# @return [String]
|
|
2840
2783
|
attr_accessor :rte_rating
|
|
2841
2784
|
|
|
2842
|
-
# The video's National Film Registry of the Russian Federation
|
|
2843
|
-
#
|
|
2785
|
+
# The video's National Film Registry of the Russian Federation (MKRF - Russia)
|
|
2786
|
+
# rating.
|
|
2844
2787
|
# Corresponds to the JSON property `russiaRating`
|
|
2845
2788
|
# @return [String]
|
|
2846
2789
|
attr_accessor :russia_rating
|
|
@@ -2855,8 +2798,7 @@ module Google
|
|
|
2855
2798
|
# @return [String]
|
|
2856
2799
|
attr_accessor :smais_rating
|
|
2857
2800
|
|
|
2858
|
-
# The video's rating from Statens
|
|
2859
|
-
# Council).
|
|
2801
|
+
# The video's rating from Statens medieråd (Sweden's National Media Council).
|
|
2860
2802
|
# Corresponds to the JSON property `smsaRating`
|
|
2861
2803
|
# @return [String]
|
|
2862
2804
|
attr_accessor :smsa_rating
|
|
@@ -3013,13 +2955,11 @@ module Google
|
|
|
3013
2955
|
end
|
|
3014
2956
|
end
|
|
3015
2957
|
|
|
3016
|
-
# A
|
|
3017
|
-
#
|
|
3018
|
-
#
|
|
3019
|
-
#
|
|
3020
|
-
#
|
|
3021
|
-
# difference being that a video's uploader can assign a video category but only
|
|
3022
|
-
# YouTube can assign a channel category.
|
|
2958
|
+
# A *guideCategory* resource identifies a category that YouTube algorithmically
|
|
2959
|
+
# assigns based on a channel's content or other indicators, such as the channel'
|
|
2960
|
+
# s popularity. The list is similar to video categories, with the difference
|
|
2961
|
+
# being that a video's uploader can assign a video category but only YouTube can
|
|
2962
|
+
# assign a channel category.
|
|
3023
2963
|
class GuideCategory
|
|
3024
2964
|
include Google::Apis::Core::Hashable
|
|
3025
2965
|
|
|
@@ -3033,8 +2973,8 @@ module Google
|
|
|
3033
2973
|
# @return [String]
|
|
3034
2974
|
attr_accessor :id
|
|
3035
2975
|
|
|
3036
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
3037
|
-
#
|
|
2976
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
2977
|
+
# guideCategory".
|
|
3038
2978
|
# Corresponds to the JSON property `kind`
|
|
3039
2979
|
# @return [String]
|
|
3040
2980
|
attr_accessor :kind
|
|
@@ -3071,21 +3011,21 @@ module Google
|
|
|
3071
3011
|
# @return [String]
|
|
3072
3012
|
attr_accessor :event_id
|
|
3073
3013
|
|
|
3074
|
-
# A list of categories that can be associated with YouTube channels. In this
|
|
3075
|
-
#
|
|
3076
|
-
#
|
|
3014
|
+
# A list of categories that can be associated with YouTube channels. In this map,
|
|
3015
|
+
# the category ID is the map key, and its value is the corresponding
|
|
3016
|
+
# guideCategory resource.
|
|
3077
3017
|
# Corresponds to the JSON property `items`
|
|
3078
3018
|
# @return [Array<Google::Apis::YoutubeV3::GuideCategory>]
|
|
3079
3019
|
attr_accessor :items
|
|
3080
3020
|
|
|
3081
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
3082
|
-
#
|
|
3021
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
3022
|
+
# guideCategoryListResponse".
|
|
3083
3023
|
# Corresponds to the JSON property `kind`
|
|
3084
3024
|
# @return [String]
|
|
3085
3025
|
attr_accessor :kind
|
|
3086
3026
|
|
|
3087
|
-
# The token that can be used as the value of the
|
|
3088
|
-
#
|
|
3027
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
3028
|
+
# the next page in the result set.
|
|
3089
3029
|
# Corresponds to the JSON property `nextPageToken`
|
|
3090
3030
|
# @return [String]
|
|
3091
3031
|
attr_accessor :next_page_token
|
|
@@ -3096,8 +3036,8 @@ module Google
|
|
|
3096
3036
|
# @return [Google::Apis::YoutubeV3::PageInfo]
|
|
3097
3037
|
attr_accessor :page_info
|
|
3098
3038
|
|
|
3099
|
-
# The token that can be used as the value of the
|
|
3100
|
-
#
|
|
3039
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
3040
|
+
# the previous page in the result set.
|
|
3101
3041
|
# Corresponds to the JSON property `prevPageToken`
|
|
3102
3042
|
# @return [String]
|
|
3103
3043
|
attr_accessor :prev_page_token
|
|
@@ -3107,7 +3047,7 @@ module Google
|
|
|
3107
3047
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
3108
3048
|
attr_accessor :token_pagination
|
|
3109
3049
|
|
|
3110
|
-
# The
|
|
3050
|
+
# The visitorId identifies the visitor.
|
|
3111
3051
|
# Corresponds to the JSON property `visitorId`
|
|
3112
3052
|
# @return [String]
|
|
3113
3053
|
attr_accessor :visitor_id
|
|
@@ -3155,8 +3095,8 @@ module Google
|
|
|
3155
3095
|
end
|
|
3156
3096
|
end
|
|
3157
3097
|
|
|
3158
|
-
# An
|
|
3159
|
-
#
|
|
3098
|
+
# An *i18nLanguage* resource identifies a UI language currently supported by
|
|
3099
|
+
# YouTube.
|
|
3160
3100
|
class I18nLanguage
|
|
3161
3101
|
include Google::Apis::Core::Hashable
|
|
3162
3102
|
|
|
@@ -3170,14 +3110,14 @@ module Google
|
|
|
3170
3110
|
# @return [String]
|
|
3171
3111
|
attr_accessor :id
|
|
3172
3112
|
|
|
3173
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
3174
|
-
#
|
|
3113
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
3114
|
+
# i18nLanguage".
|
|
3175
3115
|
# Corresponds to the JSON property `kind`
|
|
3176
3116
|
# @return [String]
|
|
3177
3117
|
attr_accessor :kind
|
|
3178
3118
|
|
|
3179
|
-
# Basic details about an i18n language, such as language code and
|
|
3180
|
-
#
|
|
3119
|
+
# Basic details about an i18n language, such as language code and human-readable
|
|
3120
|
+
# name.
|
|
3181
3121
|
# Corresponds to the JSON property `snippet`
|
|
3182
3122
|
# @return [Google::Apis::YoutubeV3::I18nLanguageSnippet]
|
|
3183
3123
|
attr_accessor :snippet
|
|
@@ -3209,20 +3149,19 @@ module Google
|
|
|
3209
3149
|
# @return [String]
|
|
3210
3150
|
attr_accessor :event_id
|
|
3211
3151
|
|
|
3212
|
-
# A list of supported i18n languages. In this map, the i18n language ID is
|
|
3213
|
-
#
|
|
3214
|
-
# resource.
|
|
3152
|
+
# A list of supported i18n languages. In this map, the i18n language ID is the
|
|
3153
|
+
# map key, and its value is the corresponding i18nLanguage resource.
|
|
3215
3154
|
# Corresponds to the JSON property `items`
|
|
3216
3155
|
# @return [Array<Google::Apis::YoutubeV3::I18nLanguage>]
|
|
3217
3156
|
attr_accessor :items
|
|
3218
3157
|
|
|
3219
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
3220
|
-
#
|
|
3158
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
3159
|
+
# i18nLanguageListResponse".
|
|
3221
3160
|
# Corresponds to the JSON property `kind`
|
|
3222
3161
|
# @return [String]
|
|
3223
3162
|
attr_accessor :kind
|
|
3224
3163
|
|
|
3225
|
-
# The
|
|
3164
|
+
# The visitorId identifies the visitor.
|
|
3226
3165
|
# Corresponds to the JSON property `visitorId`
|
|
3227
3166
|
# @return [String]
|
|
3228
3167
|
attr_accessor :visitor_id
|
|
@@ -3241,8 +3180,8 @@ module Google
|
|
|
3241
3180
|
end
|
|
3242
3181
|
end
|
|
3243
3182
|
|
|
3244
|
-
# Basic details about an i18n language, such as language code and
|
|
3245
|
-
#
|
|
3183
|
+
# Basic details about an i18n language, such as language code and human-readable
|
|
3184
|
+
# name.
|
|
3246
3185
|
class I18nLanguageSnippet
|
|
3247
3186
|
include Google::Apis::Core::Hashable
|
|
3248
3187
|
|
|
@@ -3267,8 +3206,7 @@ module Google
|
|
|
3267
3206
|
end
|
|
3268
3207
|
end
|
|
3269
3208
|
|
|
3270
|
-
# A
|
|
3271
|
-
# YouTube is available.
|
|
3209
|
+
# A *i18nRegion* resource identifies a region where YouTube is available.
|
|
3272
3210
|
class I18nRegion
|
|
3273
3211
|
include Google::Apis::Core::Hashable
|
|
3274
3212
|
|
|
@@ -3282,8 +3220,8 @@ module Google
|
|
|
3282
3220
|
# @return [String]
|
|
3283
3221
|
attr_accessor :id
|
|
3284
3222
|
|
|
3285
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
3286
|
-
#
|
|
3223
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
3224
|
+
# i18nRegion".
|
|
3287
3225
|
# Corresponds to the JSON property `kind`
|
|
3288
3226
|
# @return [String]
|
|
3289
3227
|
attr_accessor :kind
|
|
@@ -3321,20 +3259,19 @@ module Google
|
|
|
3321
3259
|
# @return [String]
|
|
3322
3260
|
attr_accessor :event_id
|
|
3323
3261
|
|
|
3324
|
-
# A list of regions where YouTube is available. In this map, the i18n region
|
|
3325
|
-
#
|
|
3326
|
-
# <code>i18nRegion</code> resource.
|
|
3262
|
+
# A list of regions where YouTube is available. In this map, the i18n region ID
|
|
3263
|
+
# is the map key, and its value is the corresponding i18nRegion resource.
|
|
3327
3264
|
# Corresponds to the JSON property `items`
|
|
3328
3265
|
# @return [Array<Google::Apis::YoutubeV3::I18nRegion>]
|
|
3329
3266
|
attr_accessor :items
|
|
3330
3267
|
|
|
3331
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
3332
|
-
#
|
|
3268
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
3269
|
+
# i18nRegionListResponse".
|
|
3333
3270
|
# Corresponds to the JSON property `kind`
|
|
3334
3271
|
# @return [String]
|
|
3335
3272
|
attr_accessor :kind
|
|
3336
3273
|
|
|
3337
|
-
# The
|
|
3274
|
+
# The visitorId identifies the visitor.
|
|
3338
3275
|
# Corresponds to the JSON property `visitorId`
|
|
3339
3276
|
# @return [String]
|
|
3340
3277
|
attr_accessor :visitor_id
|
|
@@ -3389,8 +3326,8 @@ module Google
|
|
|
3389
3326
|
# @return [Google::Apis::YoutubeV3::LocalizedProperty]
|
|
3390
3327
|
attr_accessor :background_image_url
|
|
3391
3328
|
|
|
3392
|
-
# This is used only in update requests; if it's set, we use this URL to
|
|
3393
|
-
#
|
|
3329
|
+
# This is used only in update requests; if it's set, we use this URL to generate
|
|
3330
|
+
# all of the above banner URLs.
|
|
3394
3331
|
# Corresponds to the JSON property `bannerExternalUrl`
|
|
3395
3332
|
# @return [String]
|
|
3396
3333
|
attr_accessor :banner_external_url
|
|
@@ -3470,8 +3407,8 @@ module Google
|
|
|
3470
3407
|
# @return [Google::Apis::YoutubeV3::LocalizedProperty]
|
|
3471
3408
|
attr_accessor :large_branded_banner_image_imap_script
|
|
3472
3409
|
|
|
3473
|
-
# The URL for the 854px by 70px image that appears below the video player in
|
|
3474
|
-
#
|
|
3410
|
+
# The URL for the 854px by 70px image that appears below the video player in the
|
|
3411
|
+
# expanded video view of the video watch page.
|
|
3475
3412
|
# Corresponds to the JSON property `largeBrandedBannerImageUrl`
|
|
3476
3413
|
# @return [Google::Apis::YoutubeV3::LocalizedProperty]
|
|
3477
3414
|
attr_accessor :large_branded_banner_image_url
|
|
@@ -3481,17 +3418,16 @@ module Google
|
|
|
3481
3418
|
# @return [Google::Apis::YoutubeV3::LocalizedProperty]
|
|
3482
3419
|
attr_accessor :small_branded_banner_image_imap_script
|
|
3483
3420
|
|
|
3484
|
-
# The URL for the 640px by 70px banner image that appears below the video
|
|
3485
|
-
#
|
|
3486
|
-
#
|
|
3487
|
-
#
|
|
3488
|
-
# exceed 170 pixels.
|
|
3421
|
+
# The URL for the 640px by 70px banner image that appears below the video player
|
|
3422
|
+
# in the default view of the video watch page. The URL for the image that
|
|
3423
|
+
# appears above the top-left corner of the video player. This is a 25-pixel-high
|
|
3424
|
+
# image with a flexible width that cannot exceed 170 pixels.
|
|
3489
3425
|
# Corresponds to the JSON property `smallBrandedBannerImageUrl`
|
|
3490
3426
|
# @return [Google::Apis::YoutubeV3::LocalizedProperty]
|
|
3491
3427
|
attr_accessor :small_branded_banner_image_url
|
|
3492
3428
|
|
|
3493
|
-
# The URL for a 1px by 1px tracking pixel that can be used to collect
|
|
3494
|
-
#
|
|
3429
|
+
# The URL for a 1px by 1px tracking pixel that can be used to collect statistics
|
|
3430
|
+
# for views of the channel or video pages.
|
|
3495
3431
|
# Corresponds to the JSON property `trackingImageUrl`
|
|
3496
3432
|
# @return [String]
|
|
3497
3433
|
attr_accessor :tracking_image_url
|
|
@@ -3588,8 +3524,7 @@ module Google
|
|
|
3588
3524
|
# @return [Google::Apis::YoutubeV3::PlaylistCard]
|
|
3589
3525
|
attr_accessor :playlist_infocard
|
|
3590
3526
|
|
|
3591
|
-
# Each card can have a teaser.
|
|
3592
|
-
# Required.
|
|
3527
|
+
# Each card can have a teaser. Required.
|
|
3593
3528
|
# Corresponds to the JSON property `teaser`
|
|
3594
3529
|
# @return [Google::Apis::YoutubeV3::InfoCardSnippetTeaser]
|
|
3595
3530
|
attr_accessor :teaser
|
|
@@ -3617,16 +3552,14 @@ module Google
|
|
|
3617
3552
|
class InfoCardSnippetTeaser
|
|
3618
3553
|
include Google::Apis::Core::Hashable
|
|
3619
3554
|
|
|
3620
|
-
# The offset from the video start at which the teaser should be displayed
|
|
3621
|
-
#
|
|
3622
|
-
# Required.
|
|
3555
|
+
# The offset from the video start at which the teaser should be displayed (
|
|
3556
|
+
# activated), in milliseconds. Required.
|
|
3623
3557
|
# Corresponds to the JSON property `teaserStartOffset`
|
|
3624
3558
|
# @return [String]
|
|
3625
3559
|
attr_accessor :teaser_start_offset
|
|
3626
3560
|
|
|
3627
|
-
# The teaser text to show at the top of the player for the info-card.
|
|
3628
|
-
#
|
|
3629
|
-
# Optional for video and playlist type cards.
|
|
3561
|
+
# The teaser text to show at the top of the player for the info-card. Required
|
|
3562
|
+
# for channel and link type cards. Optional for video and playlist type cards.
|
|
3630
3563
|
# Corresponds to the JSON property `teaserText`
|
|
3631
3564
|
# @return [String]
|
|
3632
3565
|
attr_accessor :teaser_text
|
|
@@ -3696,33 +3629,30 @@ module Google
|
|
|
3696
3629
|
class IngestionInfo
|
|
3697
3630
|
include Google::Apis::Core::Hashable
|
|
3698
3631
|
|
|
3699
|
-
# The backup ingestion URL that you should use to stream video to
|
|
3700
|
-
#
|
|
3701
|
-
#
|
|
3632
|
+
# The backup ingestion URL that you should use to stream video to YouTube. You
|
|
3633
|
+
# have the option of simultaneously streaming the content that you are sending
|
|
3634
|
+
# to the ingestionAddress to this URL.
|
|
3702
3635
|
# Corresponds to the JSON property `backupIngestionAddress`
|
|
3703
3636
|
# @return [String]
|
|
3704
3637
|
attr_accessor :backup_ingestion_address
|
|
3705
3638
|
|
|
3706
|
-
# The primary ingestion URL that you should use to stream video to
|
|
3707
|
-
#
|
|
3708
|
-
#
|
|
3709
|
-
#
|
|
3710
|
-
#
|
|
3711
|
-
# format:<br><pre><strong>STREAM_URL/STREAM_NAME</strong></pre>
|
|
3639
|
+
# The primary ingestion URL that you should use to stream video to YouTube. You
|
|
3640
|
+
# must stream video to this URL. Depending on which application or tool you use
|
|
3641
|
+
# to encode your video stream, you may need to enter the stream URL and stream
|
|
3642
|
+
# name separately or you may need to concatenate them in the following format: *
|
|
3643
|
+
# STREAM_URL/STREAM_NAME*
|
|
3712
3644
|
# Corresponds to the JSON property `ingestionAddress`
|
|
3713
3645
|
# @return [String]
|
|
3714
3646
|
attr_accessor :ingestion_address
|
|
3715
3647
|
|
|
3716
|
-
# This ingestion url may be used instead of
|
|
3717
|
-
#
|
|
3718
|
-
# applicable to non-RTMP streams.
|
|
3648
|
+
# This ingestion url may be used instead of backupIngestionAddress in order to
|
|
3649
|
+
# stream via RTMPS. Not applicable to non-RTMP streams.
|
|
3719
3650
|
# Corresponds to the JSON property `rtmpsBackupIngestionAddress`
|
|
3720
3651
|
# @return [String]
|
|
3721
3652
|
attr_accessor :rtmps_backup_ingestion_address
|
|
3722
3653
|
|
|
3723
|
-
# This ingestion url may be used instead of
|
|
3724
|
-
#
|
|
3725
|
-
# to non-RTMP streams.
|
|
3654
|
+
# This ingestion url may be used instead of ingestionAddress in order to stream
|
|
3655
|
+
# via RTMPS. Not applicable to non-RTMP streams.
|
|
3726
3656
|
# Corresponds to the JSON property `rtmpsIngestionAddress`
|
|
3727
3657
|
# @return [String]
|
|
3728
3658
|
attr_accessor :rtmps_ingestion_address
|
|
@@ -3746,8 +3676,7 @@ module Google
|
|
|
3746
3676
|
end
|
|
3747
3677
|
end
|
|
3748
3678
|
|
|
3749
|
-
# LINT.IfChange
|
|
3750
|
-
# Describes an invideo branding.
|
|
3679
|
+
# LINT.IfChange Describes an invideo branding.
|
|
3751
3680
|
class InvideoBranding
|
|
3752
3681
|
include Google::Apis::Core::Hashable
|
|
3753
3682
|
|
|
@@ -3768,8 +3697,8 @@ module Google
|
|
|
3768
3697
|
# @return [Google::Apis::YoutubeV3::InvideoPosition]
|
|
3769
3698
|
attr_accessor :position
|
|
3770
3699
|
|
|
3771
|
-
# The channel to which this branding links. If not present it defaults to
|
|
3772
|
-
#
|
|
3700
|
+
# The channel to which this branding links. If not present it defaults to the
|
|
3701
|
+
# current channel.
|
|
3773
3702
|
# Corresponds to the JSON property `targetChannelId`
|
|
3774
3703
|
# @return [String]
|
|
3775
3704
|
attr_accessor :target_channel_id
|
|
@@ -3819,8 +3748,8 @@ module Google
|
|
|
3819
3748
|
end
|
|
3820
3749
|
end
|
|
3821
3750
|
|
|
3822
|
-
# Describes an invideo promotion campaign consisting of multiple promoted
|
|
3823
|
-
#
|
|
3751
|
+
# Describes an invideo promotion campaign consisting of multiple promoted items.
|
|
3752
|
+
# A campaign belongs to a single channel_id.
|
|
3824
3753
|
class InvideoPromotion
|
|
3825
3754
|
include Google::Apis::Core::Hashable
|
|
3826
3755
|
|
|
@@ -3840,11 +3769,10 @@ module Google
|
|
|
3840
3769
|
# @return [Google::Apis::YoutubeV3::InvideoPosition]
|
|
3841
3770
|
attr_accessor :position
|
|
3842
3771
|
|
|
3843
|
-
# Indicates whether the channel's promotional campaign uses "smart timing."
|
|
3844
|
-
#
|
|
3845
|
-
#
|
|
3846
|
-
#
|
|
3847
|
-
# video.
|
|
3772
|
+
# Indicates whether the channel's promotional campaign uses "smart timing." This
|
|
3773
|
+
# feature attempts to show promotions at a point in the video when they are more
|
|
3774
|
+
# likely to be clicked and less likely to disrupt the viewing experience. This
|
|
3775
|
+
# feature also picks up a single promotion to show on each video.
|
|
3848
3776
|
# Corresponds to the JSON property `useSmartTiming`
|
|
3849
3777
|
# @return [Boolean]
|
|
3850
3778
|
attr_accessor :use_smart_timing
|
|
@@ -3873,18 +3801,17 @@ module Google
|
|
|
3873
3801
|
# @return [Fixnum]
|
|
3874
3802
|
attr_accessor :duration_ms
|
|
3875
3803
|
|
|
3876
|
-
# Defines the time at which the promotion will appear. Depending on the value
|
|
3877
|
-
#
|
|
3878
|
-
#
|
|
3879
|
-
# expressed in milliseconds.
|
|
3804
|
+
# Defines the time at which the promotion will appear. Depending on the value of
|
|
3805
|
+
# type the value of the offsetMs field will represent a time offset from the
|
|
3806
|
+
# start or from the end of the video, expressed in milliseconds.
|
|
3880
3807
|
# Corresponds to the JSON property `offsetMs`
|
|
3881
3808
|
# @return [Fixnum]
|
|
3882
3809
|
attr_accessor :offset_ms
|
|
3883
3810
|
|
|
3884
|
-
# Describes a timing type. If the value is
|
|
3885
|
-
#
|
|
3886
|
-
#
|
|
3887
|
-
#
|
|
3811
|
+
# Describes a timing type. If the value is offsetFromStart, then the offsetMs
|
|
3812
|
+
# field represents an offset from the start of the video. If the value is
|
|
3813
|
+
# offsetFromEnd, then the offsetMs field represents an offset from the end of
|
|
3814
|
+
# the video.
|
|
3888
3815
|
# Corresponds to the JSON property `type`
|
|
3889
3816
|
# @return [String]
|
|
3890
3817
|
attr_accessor :type
|
|
@@ -3943,8 +3870,7 @@ module Google
|
|
|
3943
3870
|
class LinkCard
|
|
3944
3871
|
include Google::Apis::Core::Hashable
|
|
3945
3872
|
|
|
3946
|
-
# Custom text to show as the website link.
|
|
3947
|
-
# Required.
|
|
3873
|
+
# Custom text to show as the website link. Required.
|
|
3948
3874
|
# Corresponds to the JSON property `customLinkText`
|
|
3949
3875
|
# @return [String]
|
|
3950
3876
|
attr_accessor :custom_link_text
|
|
@@ -3954,14 +3880,12 @@ module Google
|
|
|
3954
3880
|
# @return [String]
|
|
3955
3881
|
attr_accessor :external_image_url
|
|
3956
3882
|
|
|
3957
|
-
# The URL to which this card points.
|
|
3958
|
-
# Required.
|
|
3883
|
+
# The URL to which this card points. Required.
|
|
3959
3884
|
# Corresponds to the JSON property `targetUrl`
|
|
3960
3885
|
# @return [String]
|
|
3961
3886
|
attr_accessor :target_url
|
|
3962
3887
|
|
|
3963
|
-
# The title to show on the card.
|
|
3964
|
-
# Required.
|
|
3888
|
+
# The title to show on the card. Required.
|
|
3965
3889
|
# Corresponds to the JSON property `title`
|
|
3966
3890
|
# @return [String]
|
|
3967
3891
|
attr_accessor :title
|
|
@@ -4010,8 +3934,8 @@ module Google
|
|
|
4010
3934
|
end
|
|
4011
3935
|
end
|
|
4012
3936
|
|
|
4013
|
-
# A
|
|
4014
|
-
#
|
|
3937
|
+
# A *liveBroadcast* resource represents an event that will be streamed, via live
|
|
3938
|
+
# video, on YouTube.
|
|
4015
3939
|
class LiveBroadcast
|
|
4016
3940
|
include Google::Apis::Core::Hashable
|
|
4017
3941
|
|
|
@@ -4030,8 +3954,8 @@ module Google
|
|
|
4030
3954
|
# @return [String]
|
|
4031
3955
|
attr_accessor :id
|
|
4032
3956
|
|
|
4033
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
4034
|
-
#
|
|
3957
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
3958
|
+
# liveBroadcast".
|
|
4035
3959
|
# Corresponds to the JSON property `kind`
|
|
4036
3960
|
# @return [String]
|
|
4037
3961
|
attr_accessor :kind
|
|
@@ -4072,15 +3996,13 @@ module Google
|
|
|
4072
3996
|
class LiveBroadcastContentDetails
|
|
4073
3997
|
include Google::Apis::Core::Hashable
|
|
4074
3998
|
|
|
4075
|
-
# This value uniquely identifies the
|
|
4076
|
-
# <code><a href="/youtube/v3/live/docs/liveStreams">live stream</a></code>
|
|
4077
|
-
# bound to the broadcast.
|
|
3999
|
+
# This value uniquely identifies the live stream bound to the broadcast.
|
|
4078
4000
|
# Corresponds to the JSON property `boundStreamId`
|
|
4079
4001
|
# @return [String]
|
|
4080
4002
|
attr_accessor :bound_stream_id
|
|
4081
4003
|
|
|
4082
|
-
# The date and time that the live stream referenced by
|
|
4083
|
-
#
|
|
4004
|
+
# The date and time that the live stream referenced by boundStreamId was last
|
|
4005
|
+
# updated.
|
|
4084
4006
|
# Corresponds to the JSON property `boundStreamLastUpdateTimeMs`
|
|
4085
4007
|
# @return [String]
|
|
4086
4008
|
attr_accessor :bound_stream_last_update_time_ms
|
|
@@ -4090,56 +4012,53 @@ module Google
|
|
|
4090
4012
|
# @return [String]
|
|
4091
4013
|
attr_accessor :closed_captions_type
|
|
4092
4014
|
|
|
4093
|
-
# This setting indicates whether auto start is enabled for this broadcast.
|
|
4094
|
-
#
|
|
4095
|
-
#
|
|
4015
|
+
# This setting indicates whether auto start is enabled for this broadcast. The
|
|
4016
|
+
# default value for this property is false. This setting can only be used by
|
|
4017
|
+
# Events.
|
|
4096
4018
|
# Corresponds to the JSON property `enableAutoStart`
|
|
4097
4019
|
# @return [Boolean]
|
|
4098
4020
|
attr_accessor :enable_auto_start
|
|
4099
4021
|
alias_method :enable_auto_start?, :enable_auto_start
|
|
4100
4022
|
|
|
4101
|
-
# This setting indicates whether auto stop is enabled for this broadcast.
|
|
4102
|
-
#
|
|
4103
|
-
#
|
|
4023
|
+
# This setting indicates whether auto stop is enabled for this broadcast. The
|
|
4024
|
+
# default value for this property is false. This setting can only be used by
|
|
4025
|
+
# Events.
|
|
4104
4026
|
# Corresponds to the JSON property `enableAutoStop`
|
|
4105
4027
|
# @return [Boolean]
|
|
4106
4028
|
attr_accessor :enable_auto_stop
|
|
4107
4029
|
alias_method :enable_auto_stop?, :enable_auto_stop
|
|
4108
4030
|
|
|
4109
|
-
# This setting indicates whether HTTP POST closed captioning is enabled for
|
|
4110
|
-
#
|
|
4111
|
-
#
|
|
4112
|
-
#
|
|
4113
|
-
#
|
|
4031
|
+
# This setting indicates whether HTTP POST closed captioning is enabled for this
|
|
4032
|
+
# broadcast. The ingestion URL of the closed captions is returned through the
|
|
4033
|
+
# liveStreams API. This is mutually exclusive with using the
|
|
4034
|
+
# closed_captions_type property, and is equivalent to setting
|
|
4035
|
+
# closed_captions_type to CLOSED_CAPTIONS_HTTP_POST.
|
|
4114
4036
|
# Corresponds to the JSON property `enableClosedCaptions`
|
|
4115
4037
|
# @return [Boolean]
|
|
4116
4038
|
attr_accessor :enable_closed_captions
|
|
4117
4039
|
alias_method :enable_closed_captions?, :enable_closed_captions
|
|
4118
4040
|
|
|
4119
|
-
# This setting indicates whether YouTube should enable content encryption
|
|
4120
|
-
#
|
|
4041
|
+
# This setting indicates whether YouTube should enable content encryption for
|
|
4042
|
+
# the broadcast.
|
|
4121
4043
|
# Corresponds to the JSON property `enableContentEncryption`
|
|
4122
4044
|
# @return [Boolean]
|
|
4123
4045
|
attr_accessor :enable_content_encryption
|
|
4124
4046
|
alias_method :enable_content_encryption?, :enable_content_encryption
|
|
4125
4047
|
|
|
4126
|
-
# This setting determines whether viewers can access DVR controls while
|
|
4127
|
-
#
|
|
4128
|
-
#
|
|
4129
|
-
#
|
|
4130
|
-
#
|
|
4131
|
-
#
|
|
4132
|
-
# <code>true</code> if you want to make playback available immediately
|
|
4133
|
-
# after the broadcast ends.
|
|
4048
|
+
# This setting determines whether viewers can access DVR controls while watching
|
|
4049
|
+
# the video. DVR controls enable the viewer to control the video playback
|
|
4050
|
+
# experience by pausing, rewinding, or fast forwarding content. The default
|
|
4051
|
+
# value for this property is true. *Important:* You must set the value to true
|
|
4052
|
+
# and also set the enableArchive property's value to true if you want to make
|
|
4053
|
+
# playback available immediately after the broadcast ends.
|
|
4134
4054
|
# Corresponds to the JSON property `enableDvr`
|
|
4135
4055
|
# @return [Boolean]
|
|
4136
4056
|
attr_accessor :enable_dvr
|
|
4137
4057
|
alias_method :enable_dvr?, :enable_dvr
|
|
4138
4058
|
|
|
4139
4059
|
# This setting indicates whether the broadcast video can be played in an
|
|
4140
|
-
# embedded player. If you choose to archive the video (using the
|
|
4141
|
-
#
|
|
4142
|
-
# the archived video.
|
|
4060
|
+
# embedded player. If you choose to archive the video (using the enableArchive
|
|
4061
|
+
# property), this setting will also apply to the archived video.
|
|
4143
4062
|
# Corresponds to the JSON property `enableEmbed`
|
|
4144
4063
|
# @return [Boolean]
|
|
4145
4064
|
attr_accessor :enable_embed
|
|
@@ -4151,20 +4070,17 @@ module Google
|
|
|
4151
4070
|
attr_accessor :enable_low_latency
|
|
4152
4071
|
alias_method :enable_low_latency?, :enable_low_latency
|
|
4153
4072
|
|
|
4154
|
-
# If both this and enable_low_latency are set, they must match.
|
|
4155
|
-
#
|
|
4156
|
-
#
|
|
4157
|
-
#
|
|
4073
|
+
# If both this and enable_low_latency are set, they must match. LATENCY_NORMAL
|
|
4074
|
+
# should match enable_low_latency=false LATENCY_LOW should match
|
|
4075
|
+
# enable_low_latency=true LATENCY_ULTRA_LOW should have enable_low_latency
|
|
4076
|
+
# omitted.
|
|
4158
4077
|
# Corresponds to the JSON property `latencyPreference`
|
|
4159
4078
|
# @return [String]
|
|
4160
4079
|
attr_accessor :latency_preference
|
|
4161
4080
|
|
|
4162
|
-
# The mesh for projecting the video if
|
|
4163
|
-
#
|
|
4164
|
-
#
|
|
4165
|
-
# href="https://github.com/google/spatial-media/blob/master/docs/spherical-video-
|
|
4166
|
-
# v2-rfc.md">
|
|
4167
|
-
# Spherical Video V2 RFC specification</a> for an mshp box, excluding the box
|
|
4081
|
+
# The mesh for projecting the video if projection is mesh. The mesh value must
|
|
4082
|
+
# be a UTF-8 string containing the base-64 encoding of 3D mesh data that follows
|
|
4083
|
+
# the Spherical Video V2 RFC specification for an mshp box, excluding the box
|
|
4168
4084
|
# size and type but including the following four reserved zero bytes for the
|
|
4169
4085
|
# version and flags.
|
|
4170
4086
|
# Corresponds to the JSON property `mesh`
|
|
@@ -4177,37 +4093,27 @@ module Google
|
|
|
4177
4093
|
# @return [Google::Apis::YoutubeV3::MonitorStreamInfo]
|
|
4178
4094
|
attr_accessor :monitor_stream
|
|
4179
4095
|
|
|
4180
|
-
# The projection format of this broadcast. This defaults to
|
|
4181
|
-
# <code>rectangular</code>.
|
|
4096
|
+
# The projection format of this broadcast. This defaults to rectangular.
|
|
4182
4097
|
# Corresponds to the JSON property `projection`
|
|
4183
4098
|
# @return [String]
|
|
4184
4099
|
attr_accessor :projection
|
|
4185
4100
|
|
|
4186
|
-
# Automatically start recording after the event goes live.
|
|
4187
|
-
#
|
|
4188
|
-
#
|
|
4189
|
-
# property's value to
|
|
4190
|
-
#
|
|
4191
|
-
#
|
|
4192
|
-
# <code>true</code> but do not also set the <code>enableDvr</code> property
|
|
4193
|
-
# to <code>true</code>, there may be a delay of around one day before the
|
|
4194
|
-
# archived video will be available for playback.
|
|
4101
|
+
# Automatically start recording after the event goes live. The default value for
|
|
4102
|
+
# this property is true. *Important:* You must also set the enableDvr property's
|
|
4103
|
+
# value to true if you want the playback to be available immediately after the
|
|
4104
|
+
# broadcast ends. If you set this property's value to true but do not also set
|
|
4105
|
+
# the enableDvr property to true, there may be a delay of around one day before
|
|
4106
|
+
# the archived video will be available for playback.
|
|
4195
4107
|
# Corresponds to the JSON property `recordFromStart`
|
|
4196
4108
|
# @return [Boolean]
|
|
4197
4109
|
attr_accessor :record_from_start
|
|
4198
4110
|
alias_method :record_from_start?, :record_from_start
|
|
4199
4111
|
|
|
4200
|
-
# This setting indicates whether the broadcast should automatically begin
|
|
4201
|
-
#
|
|
4202
|
-
#
|
|
4203
|
-
#
|
|
4204
|
-
#
|
|
4205
|
-
# <code><a
|
|
4206
|
-
# href="/youtube/v3/live/docs/liveCuepoints/insert">liveCuepoints.insert</a></
|
|
4207
|
-
# code>
|
|
4208
|
-
# request that sets the cuepoint's <code>eventState</code> to
|
|
4209
|
-
# <code>end</code> to remove the in-stream slate and make your broadcast
|
|
4210
|
-
# stream visible to viewers.
|
|
4112
|
+
# This setting indicates whether the broadcast should automatically begin with
|
|
4113
|
+
# an in-stream slate when you update the broadcast's status to live. After
|
|
4114
|
+
# updating the status, you then need to send a liveCuepoints.insert request that
|
|
4115
|
+
# sets the cuepoint's eventState to end to remove the in-stream slate and make
|
|
4116
|
+
# your broadcast stream visible to viewers.
|
|
4211
4117
|
# Corresponds to the JSON property `startWithSlate`
|
|
4212
4118
|
# @return [Boolean]
|
|
4213
4119
|
attr_accessor :start_with_slate
|
|
@@ -4257,14 +4163,14 @@ module Google
|
|
|
4257
4163
|
# @return [Array<Google::Apis::YoutubeV3::LiveBroadcast>]
|
|
4258
4164
|
attr_accessor :items
|
|
4259
4165
|
|
|
4260
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
4261
|
-
#
|
|
4166
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
4167
|
+
# liveBroadcastListResponse".
|
|
4262
4168
|
# Corresponds to the JSON property `kind`
|
|
4263
4169
|
# @return [String]
|
|
4264
4170
|
attr_accessor :kind
|
|
4265
4171
|
|
|
4266
|
-
# The token that can be used as the value of the
|
|
4267
|
-
#
|
|
4172
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
4173
|
+
# the next page in the result set.
|
|
4268
4174
|
# Corresponds to the JSON property `nextPageToken`
|
|
4269
4175
|
# @return [String]
|
|
4270
4176
|
attr_accessor :next_page_token
|
|
@@ -4275,8 +4181,8 @@ module Google
|
|
|
4275
4181
|
# @return [Google::Apis::YoutubeV3::PageInfo]
|
|
4276
4182
|
attr_accessor :page_info
|
|
4277
4183
|
|
|
4278
|
-
# The token that can be used as the value of the
|
|
4279
|
-
#
|
|
4184
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
4185
|
+
# the previous page in the result set.
|
|
4280
4186
|
# Corresponds to the JSON property `prevPageToken`
|
|
4281
4187
|
# @return [String]
|
|
4282
4188
|
attr_accessor :prev_page_token
|
|
@@ -4286,7 +4192,7 @@ module Google
|
|
|
4286
4192
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
4287
4193
|
attr_accessor :token_pagination
|
|
4288
4194
|
|
|
4289
|
-
# The
|
|
4195
|
+
# The visitorId identifies the visitor.
|
|
4290
4196
|
# Corresponds to the JSON property `visitorId`
|
|
4291
4197
|
# @return [String]
|
|
4292
4198
|
attr_accessor :visitor_id
|
|
@@ -4313,39 +4219,34 @@ module Google
|
|
|
4313
4219
|
class LiveBroadcastSnippet
|
|
4314
4220
|
include Google::Apis::Core::Hashable
|
|
4315
4221
|
|
|
4316
|
-
# The date and time that the broadcast actually ended. This information is
|
|
4317
|
-
#
|
|
4318
|
-
#
|
|
4319
|
-
# format.
|
|
4222
|
+
# The date and time that the broadcast actually ended. This information is only
|
|
4223
|
+
# available once the broadcast's state is complete. The value is specified in
|
|
4224
|
+
# ISO 8601 format.
|
|
4320
4225
|
# Corresponds to the JSON property `actualEndTime`
|
|
4321
4226
|
# @return [String]
|
|
4322
4227
|
attr_accessor :actual_end_time
|
|
4323
4228
|
|
|
4324
4229
|
# The date and time that the broadcast actually started. This information is
|
|
4325
|
-
# only available once the broadcast's state is
|
|
4326
|
-
#
|
|
4327
|
-
# format.
|
|
4230
|
+
# only available once the broadcast's state is live. The value is specified in
|
|
4231
|
+
# ISO 8601 format.
|
|
4328
4232
|
# Corresponds to the JSON property `actualStartTime`
|
|
4329
4233
|
# @return [String]
|
|
4330
4234
|
attr_accessor :actual_start_time
|
|
4331
4235
|
|
|
4332
|
-
# The ID that YouTube uses to uniquely identify the channel that
|
|
4333
|
-
#
|
|
4236
|
+
# The ID that YouTube uses to uniquely identify the channel that is publishing
|
|
4237
|
+
# the broadcast.
|
|
4334
4238
|
# Corresponds to the JSON property `channelId`
|
|
4335
4239
|
# @return [String]
|
|
4336
4240
|
attr_accessor :channel_id
|
|
4337
4241
|
|
|
4338
|
-
# The broadcast's description. As with the
|
|
4339
|
-
#
|
|
4340
|
-
#
|
|
4341
|
-
# href="/youtube/v3/docs/videos#snippet.description">description</a></code>
|
|
4342
|
-
# field of the corresponding video resource.
|
|
4242
|
+
# The broadcast's description. As with the title, you can set this field by
|
|
4243
|
+
# modifying the broadcast resource or by setting the description field of the
|
|
4244
|
+
# corresponding video resource.
|
|
4343
4245
|
# Corresponds to the JSON property `description`
|
|
4344
4246
|
# @return [String]
|
|
4345
4247
|
attr_accessor :description
|
|
4346
4248
|
|
|
4347
|
-
# Indicates whether this broadcast is the default broadcast.
|
|
4348
|
-
# Internal only.
|
|
4249
|
+
# Indicates whether this broadcast is the default broadcast. Internal only.
|
|
4349
4250
|
# Corresponds to the JSON property `isDefaultBroadcast`
|
|
4350
4251
|
# @return [Boolean]
|
|
4351
4252
|
attr_accessor :is_default_broadcast
|
|
@@ -4357,23 +4258,19 @@ module Google
|
|
|
4357
4258
|
attr_accessor :live_chat_id
|
|
4358
4259
|
|
|
4359
4260
|
# The date and time that the broadcast was added to YouTube's live broadcast
|
|
4360
|
-
# schedule. The value is specified in
|
|
4361
|
-
# <a href="//www.w3.org/TR/NOTE-datetime">ISO 8601</a>
|
|
4362
|
-
# format.
|
|
4261
|
+
# schedule. The value is specified in ISO 8601 format.
|
|
4363
4262
|
# Corresponds to the JSON property `publishedAt`
|
|
4364
4263
|
# @return [String]
|
|
4365
4264
|
attr_accessor :published_at
|
|
4366
4265
|
|
|
4367
|
-
# The date and time that the broadcast is scheduled to end. The value
|
|
4368
|
-
#
|
|
4369
|
-
# format.
|
|
4266
|
+
# The date and time that the broadcast is scheduled to end. The value is
|
|
4267
|
+
# specified in ISO 8601 format.
|
|
4370
4268
|
# Corresponds to the JSON property `scheduledEndTime`
|
|
4371
4269
|
# @return [String]
|
|
4372
4270
|
attr_accessor :scheduled_end_time
|
|
4373
4271
|
|
|
4374
|
-
# The date and time that the broadcast is scheduled to start. The value
|
|
4375
|
-
#
|
|
4376
|
-
# format.
|
|
4272
|
+
# The date and time that the broadcast is scheduled to start. The value is
|
|
4273
|
+
# specified in ISO 8601 format.
|
|
4377
4274
|
# Corresponds to the JSON property `scheduledStartTime`
|
|
4378
4275
|
# @return [String]
|
|
4379
4276
|
attr_accessor :scheduled_start_time
|
|
@@ -4383,11 +4280,9 @@ module Google
|
|
|
4383
4280
|
# @return [Google::Apis::YoutubeV3::ThumbnailDetails]
|
|
4384
4281
|
attr_accessor :thumbnails
|
|
4385
4282
|
|
|
4386
|
-
# The broadcast's title. Note that the broadcast represents exactly one
|
|
4387
|
-
#
|
|
4388
|
-
#
|
|
4389
|
-
# <code><a href="/youtube/v3/docs/videos#snippet.title">title</a></code>
|
|
4390
|
-
# field of the corresponding video resource.
|
|
4283
|
+
# The broadcast's title. Note that the broadcast represents exactly one YouTube
|
|
4284
|
+
# video. You can set this field by modifying the broadcast resource or by
|
|
4285
|
+
# setting the title field of the corresponding video resource.
|
|
4391
4286
|
# Corresponds to the JSON property `title`
|
|
4392
4287
|
# @return [String]
|
|
4393
4288
|
attr_accessor :title
|
|
@@ -4418,11 +4313,11 @@ module Google
|
|
|
4418
4313
|
include Google::Apis::Core::Hashable
|
|
4419
4314
|
|
|
4420
4315
|
# The total number of live chat messages currently on the broadcast. The
|
|
4421
|
-
# property and its value will be present if the broadcast is public, has
|
|
4422
|
-
#
|
|
4423
|
-
#
|
|
4424
|
-
#
|
|
4425
|
-
#
|
|
4316
|
+
# property and its value will be present if the broadcast is public, has the
|
|
4317
|
+
# live chat feature enabled, and has at least one message. Note that this field
|
|
4318
|
+
# will not be filled after the broadcast ends. So this property would not
|
|
4319
|
+
# identify the number of chat messages for an archived video of a completed live
|
|
4320
|
+
# broadcast.
|
|
4426
4321
|
# Corresponds to the JSON property `totalChatCount`
|
|
4427
4322
|
# @return [Fixnum]
|
|
4428
4323
|
attr_accessor :total_chat_count
|
|
@@ -4442,9 +4337,7 @@ module Google
|
|
|
4442
4337
|
include Google::Apis::Core::Hashable
|
|
4443
4338
|
|
|
4444
4339
|
# The broadcast's status. The status can be updated using the API's
|
|
4445
|
-
#
|
|
4446
|
-
# href="/youtube/v3/live/docs/liveBroadcasts/transition"
|
|
4447
|
-
# >liveBroadcasts.transition</a></code> method.
|
|
4340
|
+
# liveBroadcasts.transition method.
|
|
4448
4341
|
# Corresponds to the JSON property `lifeCycleStatus`
|
|
4449
4342
|
# @return [String]
|
|
4450
4343
|
attr_accessor :life_cycle_status
|
|
@@ -4454,21 +4347,18 @@ module Google
|
|
|
4454
4347
|
# @return [String]
|
|
4455
4348
|
attr_accessor :live_broadcast_priority
|
|
4456
4349
|
|
|
4457
|
-
# Whether the broadcast is made for kids or not, decided by YouTube instead
|
|
4458
|
-
#
|
|
4350
|
+
# Whether the broadcast is made for kids or not, decided by YouTube instead of
|
|
4351
|
+
# the creator. This field is read only.
|
|
4459
4352
|
# Corresponds to the JSON property `madeForKids`
|
|
4460
4353
|
# @return [Boolean]
|
|
4461
4354
|
attr_accessor :made_for_kids
|
|
4462
4355
|
alias_method :made_for_kids?, :made_for_kids
|
|
4463
4356
|
|
|
4464
|
-
# The broadcast's privacy status. Note that the broadcast represents
|
|
4465
|
-
#
|
|
4466
|
-
#
|
|
4467
|
-
#
|
|
4468
|
-
#
|
|
4469
|
-
# href="/youtube/v3/docs/videos#status.privacyStatus"
|
|
4470
|
-
# >privacyStatus</a></code>
|
|
4471
|
-
# field of the corresponding video resource.
|
|
4357
|
+
# The broadcast's privacy status. Note that the broadcast represents exactly one
|
|
4358
|
+
# YouTube video, so the privacy settings are identical to those supported for
|
|
4359
|
+
# videos. In addition, you can set this field by modifying the broadcast
|
|
4360
|
+
# resource or by setting the privacyStatus field of the corresponding video
|
|
4361
|
+
# resource.
|
|
4472
4362
|
# Corresponds to the JSON property `privacyStatus`
|
|
4473
4363
|
# @return [String]
|
|
4474
4364
|
attr_accessor :privacy_status
|
|
@@ -4514,8 +4404,8 @@ module Google
|
|
|
4514
4404
|
# @return [String]
|
|
4515
4405
|
attr_accessor :id
|
|
4516
4406
|
|
|
4517
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
4518
|
-
#
|
|
4407
|
+
# Identifies what kind of resource this is. Value: the fixed string `"youtube#
|
|
4408
|
+
# liveChatBan"`.
|
|
4519
4409
|
# Corresponds to the JSON property `kind`
|
|
4520
4410
|
# @return [String]
|
|
4521
4411
|
attr_accessor :kind
|
|
@@ -4612,13 +4502,12 @@ module Google
|
|
|
4612
4502
|
end
|
|
4613
4503
|
end
|
|
4614
4504
|
|
|
4615
|
-
# A
|
|
4616
|
-
# message in a YouTube Live Chat.
|
|
4505
|
+
# A *liveChatMessage* resource represents a chat message in a YouTube Live Chat.
|
|
4617
4506
|
class LiveChatMessage
|
|
4618
4507
|
include Google::Apis::Core::Hashable
|
|
4619
4508
|
|
|
4620
|
-
# The
|
|
4621
|
-
#
|
|
4509
|
+
# The authorDetails object contains basic details about the user that posted
|
|
4510
|
+
# this message.
|
|
4622
4511
|
# Corresponds to the JSON property `authorDetails`
|
|
4623
4512
|
# @return [Google::Apis::YoutubeV3::LiveChatMessageAuthorDetails]
|
|
4624
4513
|
attr_accessor :author_details
|
|
@@ -4633,13 +4522,13 @@ module Google
|
|
|
4633
4522
|
# @return [String]
|
|
4634
4523
|
attr_accessor :id
|
|
4635
4524
|
|
|
4636
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
4637
|
-
#
|
|
4525
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
4526
|
+
# liveChatMessage".
|
|
4638
4527
|
# Corresponds to the JSON property `kind`
|
|
4639
4528
|
# @return [String]
|
|
4640
4529
|
attr_accessor :kind
|
|
4641
4530
|
|
|
4642
|
-
# The
|
|
4531
|
+
# The snippet object contains basic details about the message.
|
|
4643
4532
|
# Corresponds to the JSON property `snippet`
|
|
4644
4533
|
# @return [Google::Apis::YoutubeV3::LiveChatMessageSnippet]
|
|
4645
4534
|
attr_accessor :snippet
|
|
@@ -4761,8 +4650,8 @@ module Google
|
|
|
4761
4650
|
# @return [Array<Google::Apis::YoutubeV3::LiveChatMessage>]
|
|
4762
4651
|
attr_accessor :items
|
|
4763
4652
|
|
|
4764
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
4765
|
-
#
|
|
4653
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
4654
|
+
# liveChatMessageListResponse".
|
|
4766
4655
|
# Corresponds to the JSON property `kind`
|
|
4767
4656
|
# @return [String]
|
|
4768
4657
|
attr_accessor :kind
|
|
@@ -4773,8 +4662,7 @@ module Google
|
|
|
4773
4662
|
attr_accessor :next_page_token
|
|
4774
4663
|
|
|
4775
4664
|
# The date and time when the underlying stream went offline. The value is
|
|
4776
|
-
# specified in
|
|
4777
|
-
# format.
|
|
4665
|
+
# specified in ISO 8601 format.
|
|
4778
4666
|
# Corresponds to the JSON property `offlineAt`
|
|
4779
4667
|
# @return [String]
|
|
4780
4668
|
attr_accessor :offline_at
|
|
@@ -4795,7 +4683,7 @@ module Google
|
|
|
4795
4683
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
4796
4684
|
attr_accessor :token_pagination
|
|
4797
4685
|
|
|
4798
|
-
# The
|
|
4686
|
+
# The visitorId identifies the visitor.
|
|
4799
4687
|
# Corresponds to the JSON property `visitorId`
|
|
4800
4688
|
# @return [String]
|
|
4801
4689
|
attr_accessor :visitor_id
|
|
@@ -4842,28 +4730,26 @@ module Google
|
|
|
4842
4730
|
class LiveChatMessageSnippet
|
|
4843
4731
|
include Google::Apis::Core::Hashable
|
|
4844
4732
|
|
|
4845
|
-
# The ID of the user that authored this message, this field is not always
|
|
4846
|
-
#
|
|
4847
|
-
#
|
|
4848
|
-
#
|
|
4849
|
-
# newSponsorEvent - the user that just became a sponsor
|
|
4850
|
-
# messageDeletedEvent - the moderator that took the action
|
|
4733
|
+
# The ID of the user that authored this message, this field is not always filled.
|
|
4734
|
+
# textMessageEvent - the user that wrote the message fanFundingEvent - the user
|
|
4735
|
+
# that funded the broadcast newSponsorEvent - the user that just became a
|
|
4736
|
+
# sponsor messageDeletedEvent - the moderator that took the action
|
|
4851
4737
|
# messageRetractedEvent - the author that retracted their message
|
|
4852
|
-
# userBannedEvent - the moderator that took the action
|
|
4853
|
-
#
|
|
4738
|
+
# userBannedEvent - the moderator that took the action superChatEvent - the user
|
|
4739
|
+
# that made the purchase
|
|
4854
4740
|
# Corresponds to the JSON property `authorChannelId`
|
|
4855
4741
|
# @return [String]
|
|
4856
4742
|
attr_accessor :author_channel_id
|
|
4857
4743
|
|
|
4858
|
-
# Contains a string that can be displayed to the user.
|
|
4859
|
-
#
|
|
4860
|
-
#
|
|
4744
|
+
# Contains a string that can be displayed to the user. If this field is not
|
|
4745
|
+
# present the message is silent, at the moment only messages of type TOMBSTONE
|
|
4746
|
+
# and CHAT_ENDED_EVENT are silent.
|
|
4861
4747
|
# Corresponds to the JSON property `displayMessage`
|
|
4862
4748
|
# @return [String]
|
|
4863
4749
|
attr_accessor :display_message
|
|
4864
4750
|
|
|
4865
|
-
# Details about the funding event, this is only set if the type is
|
|
4866
|
-
#
|
|
4751
|
+
# Details about the funding event, this is only set if the type is '
|
|
4752
|
+
# fanFundingEvent'.
|
|
4867
4753
|
# Corresponds to the JSON property `fanFundingEventDetails`
|
|
4868
4754
|
# @return [Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails]
|
|
4869
4755
|
attr_accessor :fan_funding_event_details
|
|
@@ -4890,32 +4776,31 @@ module Google
|
|
|
4890
4776
|
attr_accessor :message_retracted_details
|
|
4891
4777
|
|
|
4892
4778
|
# The date and time when the message was orignally published. The value is
|
|
4893
|
-
# specified in
|
|
4894
|
-
# format.
|
|
4779
|
+
# specified in ISO 8601 format.
|
|
4895
4780
|
# Corresponds to the JSON property `publishedAt`
|
|
4896
4781
|
# @return [String]
|
|
4897
4782
|
attr_accessor :published_at
|
|
4898
4783
|
|
|
4899
|
-
# Details about the Super Chat event, this is only set if the type is
|
|
4900
|
-
#
|
|
4784
|
+
# Details about the Super Chat event, this is only set if the type is '
|
|
4785
|
+
# superChatEvent'.
|
|
4901
4786
|
# Corresponds to the JSON property `superChatDetails`
|
|
4902
4787
|
# @return [Google::Apis::YoutubeV3::LiveChatSuperChatDetails]
|
|
4903
4788
|
attr_accessor :super_chat_details
|
|
4904
4789
|
|
|
4905
|
-
# Details about the Super Sticker event, this is only set if the type is
|
|
4906
|
-
#
|
|
4790
|
+
# Details about the Super Sticker event, this is only set if the type is '
|
|
4791
|
+
# superStickerEvent'.
|
|
4907
4792
|
# Corresponds to the JSON property `superStickerDetails`
|
|
4908
4793
|
# @return [Google::Apis::YoutubeV3::LiveChatSuperStickerDetails]
|
|
4909
4794
|
attr_accessor :super_sticker_details
|
|
4910
4795
|
|
|
4911
|
-
# Details about the text message, this is only set if the type is
|
|
4912
|
-
#
|
|
4796
|
+
# Details about the text message, this is only set if the type is '
|
|
4797
|
+
# textMessageEvent'.
|
|
4913
4798
|
# Corresponds to the JSON property `textMessageDetails`
|
|
4914
4799
|
# @return [Google::Apis::YoutubeV3::LiveChatTextMessageDetails]
|
|
4915
4800
|
attr_accessor :text_message_details
|
|
4916
4801
|
|
|
4917
|
-
# The type of message, this will always be present, it determines the
|
|
4918
|
-
#
|
|
4802
|
+
# The type of message, this will always be present, it determines the contents
|
|
4803
|
+
# of the message as well as which fields will be present.
|
|
4919
4804
|
# Corresponds to the JSON property `type`
|
|
4920
4805
|
# @return [String]
|
|
4921
4806
|
attr_accessor :type
|
|
@@ -4947,9 +4832,9 @@ module Google
|
|
|
4947
4832
|
end
|
|
4948
4833
|
end
|
|
4949
4834
|
|
|
4950
|
-
# A
|
|
4951
|
-
#
|
|
4952
|
-
#
|
|
4835
|
+
# A *liveChatModerator* resource represents a moderator for a YouTube live chat.
|
|
4836
|
+
# A chat moderator has the ability to ban/unban users from a chat, remove
|
|
4837
|
+
# message, etc.
|
|
4953
4838
|
class LiveChatModerator
|
|
4954
4839
|
include Google::Apis::Core::Hashable
|
|
4955
4840
|
|
|
@@ -4963,14 +4848,13 @@ module Google
|
|
|
4963
4848
|
# @return [String]
|
|
4964
4849
|
attr_accessor :id
|
|
4965
4850
|
|
|
4966
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
4967
|
-
#
|
|
4851
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
4852
|
+
# liveChatModerator".
|
|
4968
4853
|
# Corresponds to the JSON property `kind`
|
|
4969
4854
|
# @return [String]
|
|
4970
4855
|
attr_accessor :kind
|
|
4971
4856
|
|
|
4972
|
-
# The
|
|
4973
|
-
# moderator.
|
|
4857
|
+
# The snippet object contains basic details about the moderator.
|
|
4974
4858
|
# Corresponds to the JSON property `snippet`
|
|
4975
4859
|
# @return [Google::Apis::YoutubeV3::LiveChatModeratorSnippet]
|
|
4976
4860
|
attr_accessor :snippet
|
|
@@ -5007,14 +4891,14 @@ module Google
|
|
|
5007
4891
|
# @return [Array<Google::Apis::YoutubeV3::LiveChatModerator>]
|
|
5008
4892
|
attr_accessor :items
|
|
5009
4893
|
|
|
5010
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
5011
|
-
#
|
|
4894
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
4895
|
+
# liveChatModeratorListResponse".
|
|
5012
4896
|
# Corresponds to the JSON property `kind`
|
|
5013
4897
|
# @return [String]
|
|
5014
4898
|
attr_accessor :kind
|
|
5015
4899
|
|
|
5016
|
-
# The token that can be used as the value of the
|
|
5017
|
-
#
|
|
4900
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
4901
|
+
# the next page in the result set.
|
|
5018
4902
|
# Corresponds to the JSON property `nextPageToken`
|
|
5019
4903
|
# @return [String]
|
|
5020
4904
|
attr_accessor :next_page_token
|
|
@@ -5025,8 +4909,8 @@ module Google
|
|
|
5025
4909
|
# @return [Google::Apis::YoutubeV3::PageInfo]
|
|
5026
4910
|
attr_accessor :page_info
|
|
5027
4911
|
|
|
5028
|
-
# The token that can be used as the value of the
|
|
5029
|
-
#
|
|
4912
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
4913
|
+
# the previous page in the result set.
|
|
5030
4914
|
# Corresponds to the JSON property `prevPageToken`
|
|
5031
4915
|
# @return [String]
|
|
5032
4916
|
attr_accessor :prev_page_token
|
|
@@ -5036,7 +4920,7 @@ module Google
|
|
|
5036
4920
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
5037
4921
|
attr_accessor :token_pagination
|
|
5038
4922
|
|
|
5039
|
-
# The
|
|
4923
|
+
# The visitorId identifies the visitor.
|
|
5040
4924
|
# Corresponds to the JSON property `visitorId`
|
|
5041
4925
|
# @return [String]
|
|
5042
4926
|
attr_accessor :visitor_id
|
|
@@ -5103,8 +4987,8 @@ module Google
|
|
|
5103
4987
|
# @return [String]
|
|
5104
4988
|
attr_accessor :currency
|
|
5105
4989
|
|
|
5106
|
-
# The tier in which the amount belongs. Lower amounts belong to lower
|
|
5107
|
-
#
|
|
4990
|
+
# The tier in which the amount belongs. Lower amounts belong to lower tiers. The
|
|
4991
|
+
# lowest tier is 1.
|
|
5108
4992
|
# Corresponds to the JSON property `tier`
|
|
5109
4993
|
# @return [Fixnum]
|
|
5110
4994
|
attr_accessor :tier
|
|
@@ -5152,8 +5036,8 @@ module Google
|
|
|
5152
5036
|
# @return [Google::Apis::YoutubeV3::SuperStickerMetadata]
|
|
5153
5037
|
attr_accessor :super_sticker_metadata
|
|
5154
5038
|
|
|
5155
|
-
# The tier in which the amount belongs. Lower amounts belong to lower
|
|
5156
|
-
#
|
|
5039
|
+
# The tier in which the amount belongs. Lower amounts belong to lower tiers. The
|
|
5040
|
+
# lowest tier is 1.
|
|
5157
5041
|
# Corresponds to the JSON property `tier`
|
|
5158
5042
|
# @return [Fixnum]
|
|
5159
5043
|
attr_accessor :tier
|
|
@@ -5195,8 +5079,8 @@ module Google
|
|
|
5195
5079
|
class LiveChatUserBannedMessageDetails
|
|
5196
5080
|
include Google::Apis::Core::Hashable
|
|
5197
5081
|
|
|
5198
|
-
# The duration of the ban. This property is only present if the
|
|
5199
|
-
#
|
|
5082
|
+
# The duration of the ban. This property is only present if the banType is
|
|
5083
|
+
# temporary.
|
|
5200
5084
|
# Corresponds to the JSON property `banDurationSeconds`
|
|
5201
5085
|
# @return [Fixnum]
|
|
5202
5086
|
attr_accessor :ban_duration_seconds
|
|
@@ -5247,14 +5131,14 @@ module Google
|
|
|
5247
5131
|
# @return [String]
|
|
5248
5132
|
attr_accessor :id
|
|
5249
5133
|
|
|
5250
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
5251
|
-
#
|
|
5134
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
5135
|
+
# liveStream".
|
|
5252
5136
|
# Corresponds to the JSON property `kind`
|
|
5253
5137
|
# @return [String]
|
|
5254
5138
|
attr_accessor :kind
|
|
5255
5139
|
|
|
5256
|
-
# The
|
|
5257
|
-
#
|
|
5140
|
+
# The snippet object contains basic details about the stream, including its
|
|
5141
|
+
# channel, title, and description.
|
|
5258
5142
|
# Corresponds to the JSON property `snippet`
|
|
5259
5143
|
# @return [Google::Apis::YoutubeV3::LiveStreamSnippet]
|
|
5260
5144
|
attr_accessor :snippet
|
|
@@ -5326,25 +5210,17 @@ module Google
|
|
|
5326
5210
|
# @return [String]
|
|
5327
5211
|
attr_accessor :closed_captions_ingestion_url
|
|
5328
5212
|
|
|
5329
|
-
# Indicates whether the stream is reusable, which means that it
|
|
5330
|
-
#
|
|
5331
|
-
#
|
|
5332
|
-
#
|
|
5333
|
-
#
|
|
5334
|
-
#
|
|
5335
|
-
# one broadcast.
|
|
5336
|
-
#
|
|
5337
|
-
#
|
|
5338
|
-
#
|
|
5339
|
-
#
|
|
5340
|
-
# after the broadcast ends.</li>
|
|
5341
|
-
# <li>The <code><a href="/youtube/v3/live/docs/liveStreams/list">
|
|
5342
|
-
# liveStreams.list</a></code> method does not list non-reusable streams
|
|
5343
|
-
# if you call the method and set the <code>mine</code> parameter to
|
|
5344
|
-
# <code>true</code>. The only way to use that method to retrieve the
|
|
5345
|
-
# resource for a non-reusable stream is to use the <code>id</code>
|
|
5346
|
-
# parameter to identify the stream.</li>
|
|
5347
|
-
# </ul>
|
|
5213
|
+
# Indicates whether the stream is reusable, which means that it can be bound to
|
|
5214
|
+
# multiple broadcasts. It is common for broadcasters to reuse the same stream
|
|
5215
|
+
# for many different broadcasts if those broadcasts occur at different times. If
|
|
5216
|
+
# you set this value to false, then the stream will not be reusable, which means
|
|
5217
|
+
# that it can only be bound to one broadcast. Non-reusable streams differ from
|
|
5218
|
+
# reusable streams in the following ways: - A non-reusable stream can only be
|
|
5219
|
+
# bound to one broadcast. - A non-reusable stream might be deleted by an
|
|
5220
|
+
# automated process after the broadcast ends. - The liveStreams.list method does
|
|
5221
|
+
# not list non-reusable streams if you call the method and set the mine
|
|
5222
|
+
# parameter to true. The only way to use that method to retrieve the resource
|
|
5223
|
+
# for a non-reusable stream is to use the id parameter to identify the stream.
|
|
5348
5224
|
# Corresponds to the JSON property `isReusable`
|
|
5349
5225
|
# @return [Boolean]
|
|
5350
5226
|
attr_accessor :is_reusable
|
|
@@ -5411,14 +5287,14 @@ module Google
|
|
|
5411
5287
|
# @return [Array<Google::Apis::YoutubeV3::LiveStream>]
|
|
5412
5288
|
attr_accessor :items
|
|
5413
5289
|
|
|
5414
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
5415
|
-
#
|
|
5290
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
5291
|
+
# liveStreamListResponse".
|
|
5416
5292
|
# Corresponds to the JSON property `kind`
|
|
5417
5293
|
# @return [String]
|
|
5418
5294
|
attr_accessor :kind
|
|
5419
5295
|
|
|
5420
|
-
# The token that can be used as the value of the
|
|
5421
|
-
#
|
|
5296
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
5297
|
+
# the next page in the result set.
|
|
5422
5298
|
# Corresponds to the JSON property `nextPageToken`
|
|
5423
5299
|
# @return [String]
|
|
5424
5300
|
attr_accessor :next_page_token
|
|
@@ -5429,8 +5305,8 @@ module Google
|
|
|
5429
5305
|
# @return [Google::Apis::YoutubeV3::PageInfo]
|
|
5430
5306
|
attr_accessor :page_info
|
|
5431
5307
|
|
|
5432
|
-
# The token that can be used as the value of the
|
|
5433
|
-
#
|
|
5308
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
5309
|
+
# the previous page in the result set.
|
|
5434
5310
|
# Corresponds to the JSON property `prevPageToken`
|
|
5435
5311
|
# @return [String]
|
|
5436
5312
|
attr_accessor :prev_page_token
|
|
@@ -5440,7 +5316,7 @@ module Google
|
|
|
5440
5316
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
5441
5317
|
attr_accessor :token_pagination
|
|
5442
5318
|
|
|
5443
|
-
# The
|
|
5319
|
+
# The visitorId identifies the visitor.
|
|
5444
5320
|
# Corresponds to the JSON property `visitorId`
|
|
5445
5321
|
# @return [String]
|
|
5446
5322
|
attr_accessor :visitor_id
|
|
@@ -5467,14 +5343,13 @@ module Google
|
|
|
5467
5343
|
class LiveStreamSnippet
|
|
5468
5344
|
include Google::Apis::Core::Hashable
|
|
5469
5345
|
|
|
5470
|
-
# The ID that YouTube uses to uniquely identify the channel that
|
|
5471
|
-
#
|
|
5346
|
+
# The ID that YouTube uses to uniquely identify the channel that is transmitting
|
|
5347
|
+
# the stream.
|
|
5472
5348
|
# Corresponds to the JSON property `channelId`
|
|
5473
5349
|
# @return [String]
|
|
5474
5350
|
attr_accessor :channel_id
|
|
5475
5351
|
|
|
5476
|
-
# The stream's description. The value cannot be longer than 10000
|
|
5477
|
-
# characters.
|
|
5352
|
+
# The stream's description. The value cannot be longer than 10000 characters.
|
|
5478
5353
|
# Corresponds to the JSON property `description`
|
|
5479
5354
|
# @return [String]
|
|
5480
5355
|
attr_accessor :description
|
|
@@ -5485,9 +5360,8 @@ module Google
|
|
|
5485
5360
|
attr_accessor :is_default_stream
|
|
5486
5361
|
alias_method :is_default_stream?, :is_default_stream
|
|
5487
5362
|
|
|
5488
|
-
# The date and time that the stream was created. The value is specified in
|
|
5489
|
-
#
|
|
5490
|
-
# format.
|
|
5363
|
+
# The date and time that the stream was created. The value is specified in ISO
|
|
5364
|
+
# 8601 format.
|
|
5491
5365
|
# Corresponds to the JSON property `publishedAt`
|
|
5492
5366
|
# @return [String]
|
|
5493
5367
|
attr_accessor :published_at
|
|
@@ -5592,9 +5466,8 @@ module Google
|
|
|
5592
5466
|
end
|
|
5593
5467
|
end
|
|
5594
5468
|
|
|
5595
|
-
# A
|
|
5596
|
-
#
|
|
5597
|
-
# and receives special benefits.
|
|
5469
|
+
# A *member* resource represents a member for a YouTube channel. A member
|
|
5470
|
+
# provides recurring monetary support to a creator and receives special benefits.
|
|
5598
5471
|
class Member
|
|
5599
5472
|
include Google::Apis::Core::Hashable
|
|
5600
5473
|
|
|
@@ -5603,13 +5476,13 @@ module Google
|
|
|
5603
5476
|
# @return [String]
|
|
5604
5477
|
attr_accessor :etag
|
|
5605
5478
|
|
|
5606
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
5607
|
-
#
|
|
5479
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
5480
|
+
# member".
|
|
5608
5481
|
# Corresponds to the JSON property `kind`
|
|
5609
5482
|
# @return [String]
|
|
5610
5483
|
attr_accessor :kind
|
|
5611
5484
|
|
|
5612
|
-
# The
|
|
5485
|
+
# The snippet object contains basic details about the member.
|
|
5613
5486
|
# Corresponds to the JSON property `snippet`
|
|
5614
5487
|
# @return [Google::Apis::YoutubeV3::MemberSnippet]
|
|
5615
5488
|
attr_accessor :snippet
|
|
@@ -5645,14 +5518,14 @@ module Google
|
|
|
5645
5518
|
# @return [Array<Google::Apis::YoutubeV3::Member>]
|
|
5646
5519
|
attr_accessor :items
|
|
5647
5520
|
|
|
5648
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
5649
|
-
#
|
|
5521
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
5522
|
+
# memberListResponse".
|
|
5650
5523
|
# Corresponds to the JSON property `kind`
|
|
5651
5524
|
# @return [String]
|
|
5652
5525
|
attr_accessor :kind
|
|
5653
5526
|
|
|
5654
|
-
# The token that can be used as the value of the
|
|
5655
|
-
#
|
|
5527
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
5528
|
+
# the next page in the result set.
|
|
5656
5529
|
# Corresponds to the JSON property `nextPageToken`
|
|
5657
5530
|
# @return [String]
|
|
5658
5531
|
attr_accessor :next_page_token
|
|
@@ -5668,7 +5541,7 @@ module Google
|
|
|
5668
5541
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
5669
5542
|
attr_accessor :token_pagination
|
|
5670
5543
|
|
|
5671
|
-
# The
|
|
5544
|
+
# The visitorId identifies the visitor.
|
|
5672
5545
|
# Corresponds to the JSON property `visitorId`
|
|
5673
5546
|
# @return [String]
|
|
5674
5547
|
attr_accessor :visitor_id
|
|
@@ -5737,8 +5610,7 @@ module Google
|
|
|
5737
5610
|
# @return [String]
|
|
5738
5611
|
attr_accessor :highest_accessible_level
|
|
5739
5612
|
|
|
5740
|
-
# Display name for the highest level that the user has access to at the
|
|
5741
|
-
# moment.
|
|
5613
|
+
# Display name for the highest level that the user has access to at the moment.
|
|
5742
5614
|
# Corresponds to the JSON property `highestAccessibleLevelDisplayName`
|
|
5743
5615
|
# @return [String]
|
|
5744
5616
|
attr_accessor :highest_accessible_level_display_name
|
|
@@ -5772,14 +5644,13 @@ module Google
|
|
|
5772
5644
|
class MembershipsDuration
|
|
5773
5645
|
include Google::Apis::Core::Hashable
|
|
5774
5646
|
|
|
5775
|
-
# The date and time when the user became a continuous member across all
|
|
5776
|
-
# levels.
|
|
5647
|
+
# The date and time when the user became a continuous member across all levels.
|
|
5777
5648
|
# Corresponds to the JSON property `memberSince`
|
|
5778
5649
|
# @return [String]
|
|
5779
5650
|
attr_accessor :member_since
|
|
5780
5651
|
|
|
5781
|
-
# The cumulative time the user has been a member across all levels in
|
|
5782
|
-
#
|
|
5652
|
+
# The cumulative time the user has been a member across all levels in complete
|
|
5653
|
+
# months (the time is rounded down to the nearest integer).
|
|
5783
5654
|
# Corresponds to the JSON property `memberTotalDurationMonths`
|
|
5784
5655
|
# @return [Fixnum]
|
|
5785
5656
|
attr_accessor :member_total_duration_months
|
|
@@ -5804,14 +5675,13 @@ module Google
|
|
|
5804
5675
|
# @return [String]
|
|
5805
5676
|
attr_accessor :level
|
|
5806
5677
|
|
|
5807
|
-
# The date and time when the user became a continuous member for the given
|
|
5808
|
-
# level.
|
|
5678
|
+
# The date and time when the user became a continuous member for the given level.
|
|
5809
5679
|
# Corresponds to the JSON property `memberSince`
|
|
5810
5680
|
# @return [String]
|
|
5811
5681
|
attr_accessor :member_since
|
|
5812
5682
|
|
|
5813
|
-
# The cumulative time the user has been a member for the given level in
|
|
5814
|
-
#
|
|
5683
|
+
# The cumulative time the user has been a member for the given level in complete
|
|
5684
|
+
# months (the time is rounded down to the nearest integer).
|
|
5815
5685
|
# Corresponds to the JSON property `memberTotalDurationMonths`
|
|
5816
5686
|
# @return [Fixnum]
|
|
5817
5687
|
attr_accessor :member_total_duration_months
|
|
@@ -5828,10 +5698,10 @@ module Google
|
|
|
5828
5698
|
end
|
|
5829
5699
|
end
|
|
5830
5700
|
|
|
5831
|
-
# A
|
|
5832
|
-
#
|
|
5833
|
-
#
|
|
5834
|
-
#
|
|
5701
|
+
# A *membershipsLevel* resource represents an offer made by YouTube creators for
|
|
5702
|
+
# their fans. Users can become members of the channel by joining one of the
|
|
5703
|
+
# available levels. They will provide recurring monetary support and receives
|
|
5704
|
+
# special benefits.
|
|
5835
5705
|
class MembershipsLevel
|
|
5836
5706
|
include Google::Apis::Core::Hashable
|
|
5837
5707
|
|
|
@@ -5845,13 +5715,13 @@ module Google
|
|
|
5845
5715
|
# @return [String]
|
|
5846
5716
|
attr_accessor :id
|
|
5847
5717
|
|
|
5848
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
5849
|
-
#
|
|
5718
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
5719
|
+
# membershipsLevelListResponse".
|
|
5850
5720
|
# Corresponds to the JSON property `kind`
|
|
5851
5721
|
# @return [String]
|
|
5852
5722
|
attr_accessor :kind
|
|
5853
5723
|
|
|
5854
|
-
# The
|
|
5724
|
+
# The snippet object contains basic details about the level.
|
|
5855
5725
|
# Corresponds to the JSON property `snippet`
|
|
5856
5726
|
# @return [Google::Apis::YoutubeV3::MembershipsLevelSnippet]
|
|
5857
5727
|
attr_accessor :snippet
|
|
@@ -5888,13 +5758,13 @@ module Google
|
|
|
5888
5758
|
# @return [Array<Google::Apis::YoutubeV3::MembershipsLevel>]
|
|
5889
5759
|
attr_accessor :items
|
|
5890
5760
|
|
|
5891
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
5892
|
-
#
|
|
5761
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
5762
|
+
# membershipsLevelListResponse".
|
|
5893
5763
|
# Corresponds to the JSON property `kind`
|
|
5894
5764
|
# @return [String]
|
|
5895
5765
|
attr_accessor :kind
|
|
5896
5766
|
|
|
5897
|
-
# The
|
|
5767
|
+
# The visitorId identifies the visitor.
|
|
5898
5768
|
# Corresponds to the JSON property `visitorId`
|
|
5899
5769
|
# @return [String]
|
|
5900
5770
|
attr_accessor :visitor_id
|
|
@@ -5942,10 +5812,8 @@ module Google
|
|
|
5942
5812
|
class MonitorStreamInfo
|
|
5943
5813
|
include Google::Apis::Core::Hashable
|
|
5944
5814
|
|
|
5945
|
-
# If you have set the
|
|
5946
|
-
#
|
|
5947
|
-
# property to <code>true</code>, then this property determines the
|
|
5948
|
-
# length of the live broadcast delay.
|
|
5815
|
+
# If you have set the enableMonitorStream property to true, then this property
|
|
5816
|
+
# determines the length of the live broadcast delay.
|
|
5949
5817
|
# Corresponds to the JSON property `broadcastStreamDelayMs`
|
|
5950
5818
|
# @return [Fixnum]
|
|
5951
5819
|
attr_accessor :broadcast_stream_delay_ms
|
|
@@ -5955,16 +5823,13 @@ module Google
|
|
|
5955
5823
|
# @return [String]
|
|
5956
5824
|
attr_accessor :embed_html
|
|
5957
5825
|
|
|
5958
|
-
# This value determines whether the monitor stream is enabled for the
|
|
5959
|
-
#
|
|
5960
|
-
#
|
|
5961
|
-
#
|
|
5962
|
-
#
|
|
5963
|
-
# to
|
|
5964
|
-
#
|
|
5965
|
-
# a broadcast delay for your event.<br><br>
|
|
5966
|
-
# <strong>Note:</strong> This property cannot be updated once the
|
|
5967
|
-
# broadcast is in the <code>testing</code> or <code>live</code> state.
|
|
5826
|
+
# This value determines whether the monitor stream is enabled for the broadcast.
|
|
5827
|
+
# If the monitor stream is enabled, then YouTube will broadcast the event
|
|
5828
|
+
# content on a special stream intended only for the broadcaster's consumption.
|
|
5829
|
+
# The broadcaster can use the stream to review the event content and also to
|
|
5830
|
+
# identify the optimal times to insert cuepoints. You need to set this value to
|
|
5831
|
+
# true if you intend to have a broadcast delay for your event. *Note:* This
|
|
5832
|
+
# property cannot be updated once the broadcast is in the testing or live state.
|
|
5968
5833
|
# Corresponds to the JSON property `enableMonitorStream`
|
|
5969
5834
|
# @return [Boolean]
|
|
5970
5835
|
attr_accessor :enable_monitor_stream
|
|
@@ -6008,39 +5873,24 @@ module Google
|
|
|
6008
5873
|
end
|
|
6009
5874
|
end
|
|
6010
5875
|
|
|
6011
|
-
# A
|
|
6012
|
-
#
|
|
6013
|
-
#
|
|
6014
|
-
#
|
|
6015
|
-
#
|
|
6016
|
-
#
|
|
6017
|
-
#
|
|
6018
|
-
#
|
|
6019
|
-
#
|
|
6020
|
-
#
|
|
6021
|
-
#
|
|
6022
|
-
#
|
|
6023
|
-
#
|
|
6024
|
-
#
|
|
6025
|
-
# </ul>
|
|
6026
|
-
# To be more specific, these lists are associated with a channel, which
|
|
6027
|
-
# is a collection of a person, group, or company's videos, playlists,
|
|
6028
|
-
# and other YouTube information. You can retrieve the playlist IDs for
|
|
6029
|
-
# each of these lists from the <code><a
|
|
6030
|
-
# href=\"/youtube/v3/docs/channels\"> channel resource</a></code> for a
|
|
6031
|
-
# given channel.<br/><br/> You can then use the <code> <a
|
|
6032
|
-
# href=\"/youtube/v3/docs/playlistItems/list\">
|
|
6033
|
-
# playlistItems.list</a></code> method to retrieve any of those
|
|
6034
|
-
# lists. You can also add or remove items from those lists by calling
|
|
6035
|
-
# the <code> <a href=\"/youtube/v3/docs/playlistItems/insert\">
|
|
6036
|
-
# playlistItems.insert</a></code> and <code> <a
|
|
6037
|
-
# href=\"/youtube/v3/docs/playlistItems/delete\">
|
|
6038
|
-
# playlistItems.delete</a></code> methods.
|
|
5876
|
+
# A *playlist* resource represents a YouTube playlist. A playlist is a
|
|
5877
|
+
# collection of videos that can be viewed sequentially and shared with other
|
|
5878
|
+
# users. A playlist can contain up to 200 videos, and YouTube does not limit the
|
|
5879
|
+
# number of playlists that each user creates. By default, playlists are publicly
|
|
5880
|
+
# visible to other users, but playlists can be public or private. YouTube also
|
|
5881
|
+
# uses playlists to identify special collections of videos for a channel, such
|
|
5882
|
+
# as: - uploaded videos - favorite videos - positively rated (liked) videos -
|
|
5883
|
+
# watch history - watch later To be more specific, these lists are associated
|
|
5884
|
+
# with a channel, which is a collection of a person, group, or company's videos,
|
|
5885
|
+
# playlists, and other YouTube information. You can retrieve the playlist IDs
|
|
5886
|
+
# for each of these lists from the channel resource for a given channel. You can
|
|
5887
|
+
# then use the playlistItems.list method to retrieve any of those lists. You can
|
|
5888
|
+
# also add or remove items from those lists by calling the playlistItems.insert
|
|
5889
|
+
# and playlistItems.delete methods.
|
|
6039
5890
|
class Playlist
|
|
6040
5891
|
include Google::Apis::Core::Hashable
|
|
6041
5892
|
|
|
6042
|
-
# The
|
|
6043
|
-
# video count.
|
|
5893
|
+
# The contentDetails object contains information like video count.
|
|
6044
5894
|
# Corresponds to the JSON property `contentDetails`
|
|
6045
5895
|
# @return [Google::Apis::YoutubeV3::PlaylistContentDetails]
|
|
6046
5896
|
attr_accessor :content_details
|
|
@@ -6055,8 +5905,8 @@ module Google
|
|
|
6055
5905
|
# @return [String]
|
|
6056
5906
|
attr_accessor :id
|
|
6057
5907
|
|
|
6058
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
6059
|
-
#
|
|
5908
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
5909
|
+
# playlist".
|
|
6060
5910
|
# Corresponds to the JSON property `kind`
|
|
6061
5911
|
# @return [String]
|
|
6062
5912
|
attr_accessor :kind
|
|
@@ -6066,8 +5916,8 @@ module Google
|
|
|
6066
5916
|
# @return [Hash<String,Google::Apis::YoutubeV3::PlaylistLocalization>]
|
|
6067
5917
|
attr_accessor :localizations
|
|
6068
5918
|
|
|
6069
|
-
# The
|
|
6070
|
-
#
|
|
5919
|
+
# The player object contains information that you would use to play the playlist
|
|
5920
|
+
# in an embedded player.
|
|
6071
5921
|
# Corresponds to the JSON property `player`
|
|
6072
5922
|
# @return [Google::Apis::YoutubeV3::PlaylistPlayer]
|
|
6073
5923
|
attr_accessor :player
|
|
@@ -6077,8 +5927,7 @@ module Google
|
|
|
6077
5927
|
# @return [Google::Apis::YoutubeV3::PlaylistSnippet]
|
|
6078
5928
|
attr_accessor :snippet
|
|
6079
5929
|
|
|
6080
|
-
# The
|
|
6081
|
-
# playlist.
|
|
5930
|
+
# The status object contains status information for the playlist.
|
|
6082
5931
|
# Corresponds to the JSON property `status`
|
|
6083
5932
|
# @return [Google::Apis::YoutubeV3::PlaylistStatus]
|
|
6084
5933
|
attr_accessor :status
|
|
@@ -6104,20 +5953,17 @@ module Google
|
|
|
6104
5953
|
class PlaylistCard
|
|
6105
5954
|
include Google::Apis::Core::Hashable
|
|
6106
5955
|
|
|
6107
|
-
# Each card can have a custom message.
|
|
6108
|
-
# Optional.
|
|
5956
|
+
# Each card can have a custom message. Optional.
|
|
6109
5957
|
# Corresponds to the JSON property `customMessage`
|
|
6110
5958
|
# @return [String]
|
|
6111
5959
|
attr_accessor :custom_message
|
|
6112
5960
|
|
|
6113
|
-
# External playlist ID.
|
|
6114
|
-
# Required.
|
|
5961
|
+
# External playlist ID. Required.
|
|
6115
5962
|
# Corresponds to the JSON property `playlistId`
|
|
6116
5963
|
# @return [String]
|
|
6117
5964
|
attr_accessor :playlist_id
|
|
6118
5965
|
|
|
6119
|
-
# Starting video, if not the first.
|
|
6120
|
-
# Optional.
|
|
5966
|
+
# Starting video, if not the first. Optional.
|
|
6121
5967
|
# Corresponds to the JSON property `startVideoId`
|
|
6122
5968
|
# @return [String]
|
|
6123
5969
|
attr_accessor :start_video_id
|
|
@@ -6153,41 +5999,26 @@ module Google
|
|
|
6153
5999
|
end
|
|
6154
6000
|
end
|
|
6155
6001
|
|
|
6156
|
-
# A
|
|
6157
|
-
#
|
|
6158
|
-
#
|
|
6159
|
-
#
|
|
6160
|
-
#
|
|
6161
|
-
#
|
|
6162
|
-
#
|
|
6163
|
-
#
|
|
6164
|
-
#
|
|
6165
|
-
#
|
|
6166
|
-
#
|
|
6167
|
-
#
|
|
6168
|
-
#
|
|
6169
|
-
#
|
|
6170
|
-
#
|
|
6171
|
-
# and other YouTube information.
|
|
6172
|
-
# <br/><br/>
|
|
6173
|
-
# You can retrieve the playlist IDs for each of these lists from the
|
|
6174
|
-
# <code> <a href=\"/youtube/v3/docs/channels\">channel resource</a>
|
|
6175
|
-
# </code> for a given channel. You can then use the <code> <a
|
|
6176
|
-
# href=\"/youtube/v3/docs/playlistItems/list\">
|
|
6177
|
-
# playlistItems.list</a></code> method to retrieve any of those
|
|
6178
|
-
# lists. You can also add or remove items from those lists by calling
|
|
6179
|
-
# the <code> <a href=\"/youtube/v3/docs/playlistItems/insert\">
|
|
6180
|
-
# playlistItems.insert</a></code> and <code> <a
|
|
6181
|
-
# href=\"/youtube/v3/docs/playlistItems/delete\">
|
|
6182
|
-
# playlistItems.delete</a></code> methods. For example, if a user gives
|
|
6183
|
-
# a positive rating to a video, you would insert that video into the
|
|
6184
|
-
# liked videos playlist for that user's channel.
|
|
6002
|
+
# A *playlistItem* resource identifies another resource, such as a video, that
|
|
6003
|
+
# is included in a playlist. In addition, the playlistItem resource contains
|
|
6004
|
+
# details about the included resource that pertain specifically to how that
|
|
6005
|
+
# resource is used in that playlist. YouTube uses playlists to identify special
|
|
6006
|
+
# collections of videos for a channel, such as: - uploaded videos - favorite
|
|
6007
|
+
# videos - positively rated (liked) videos - watch history - watch later To be
|
|
6008
|
+
# more specific, these lists are associated with a channel, which is a
|
|
6009
|
+
# collection of a person, group, or company's videos, playlists, and other
|
|
6010
|
+
# YouTube information. You can retrieve the playlist IDs for each of these lists
|
|
6011
|
+
# from the channel resource for a given channel. You can then use the
|
|
6012
|
+
# playlistItems.list method to retrieve any of those lists. You can also add or
|
|
6013
|
+
# remove items from those lists by calling the playlistItems.insert and
|
|
6014
|
+
# playlistItems.delete methods. For example, if a user gives a positive rating
|
|
6015
|
+
# to a video, you would insert that video into the liked videos playlist for
|
|
6016
|
+
# that user's channel.
|
|
6185
6017
|
class PlaylistItem
|
|
6186
6018
|
include Google::Apis::Core::Hashable
|
|
6187
6019
|
|
|
6188
|
-
# The
|
|
6189
|
-
#
|
|
6190
|
-
# information about the video.
|
|
6020
|
+
# The contentDetails object is included in the resource if the included item is
|
|
6021
|
+
# a YouTube video. The object contains additional information about the video.
|
|
6191
6022
|
# Corresponds to the JSON property `contentDetails`
|
|
6192
6023
|
# @return [Google::Apis::YoutubeV3::PlaylistItemContentDetails]
|
|
6193
6024
|
attr_accessor :content_details
|
|
@@ -6202,15 +6033,14 @@ module Google
|
|
|
6202
6033
|
# @return [String]
|
|
6203
6034
|
attr_accessor :id
|
|
6204
6035
|
|
|
6205
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
6206
|
-
#
|
|
6036
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
6037
|
+
# playlistItem".
|
|
6207
6038
|
# Corresponds to the JSON property `kind`
|
|
6208
6039
|
# @return [String]
|
|
6209
6040
|
attr_accessor :kind
|
|
6210
6041
|
|
|
6211
6042
|
# Basic details about a playlist, including title, description and thumbnails.
|
|
6212
|
-
# Basic details of a YouTube Playlist item provided by the author.
|
|
6213
|
-
# Next ID: 13
|
|
6043
|
+
# Basic details of a YouTube Playlist item provided by the author. Next ID: 13
|
|
6214
6044
|
# Corresponds to the JSON property `snippet`
|
|
6215
6045
|
# @return [Google::Apis::YoutubeV3::PlaylistItemSnippet]
|
|
6216
6046
|
attr_accessor :snippet
|
|
@@ -6240,10 +6070,9 @@ module Google
|
|
|
6240
6070
|
include Google::Apis::Core::Hashable
|
|
6241
6071
|
|
|
6242
6072
|
# The time, measured in seconds from the start of the video, when the video
|
|
6243
|
-
# should stop playing. (The playlist owner can specify the times when the
|
|
6244
|
-
#
|
|
6245
|
-
#
|
|
6246
|
-
# the end of the video.
|
|
6073
|
+
# should stop playing. (The playlist owner can specify the times when the video
|
|
6074
|
+
# should start and stop playing when the video is played in the context of the
|
|
6075
|
+
# playlist.) By default, assume that the video.endTime is the end of the video.
|
|
6247
6076
|
# Corresponds to the JSON property `endAt`
|
|
6248
6077
|
# @return [String]
|
|
6249
6078
|
attr_accessor :end_at
|
|
@@ -6254,24 +6083,21 @@ module Google
|
|
|
6254
6083
|
attr_accessor :note
|
|
6255
6084
|
|
|
6256
6085
|
# The time, measured in seconds from the start of the video, when the video
|
|
6257
|
-
# should start playing. (The playlist owner can specify the times when the
|
|
6258
|
-
#
|
|
6259
|
-
#
|
|
6086
|
+
# should start playing. (The playlist owner can specify the times when the video
|
|
6087
|
+
# should start and stop playing when the video is played in the context of the
|
|
6088
|
+
# playlist.) The default value is 0.
|
|
6260
6089
|
# Corresponds to the JSON property `startAt`
|
|
6261
6090
|
# @return [String]
|
|
6262
6091
|
attr_accessor :start_at
|
|
6263
6092
|
|
|
6264
|
-
# The ID that YouTube uses to uniquely identify a video. To
|
|
6265
|
-
#
|
|
6266
|
-
# resource</a>, set the <code>id</code> query parameter to this value in your
|
|
6267
|
-
# API request.
|
|
6093
|
+
# The ID that YouTube uses to uniquely identify a video. To retrieve the video
|
|
6094
|
+
# resource, set the id query parameter to this value in your API request.
|
|
6268
6095
|
# Corresponds to the JSON property `videoId`
|
|
6269
6096
|
# @return [String]
|
|
6270
6097
|
attr_accessor :video_id
|
|
6271
6098
|
|
|
6272
6099
|
# The date and time that the video was published to YouTube. The value is
|
|
6273
|
-
# specified in
|
|
6274
|
-
# format.
|
|
6100
|
+
# specified in ISO 8601 format.
|
|
6275
6101
|
# Corresponds to the JSON property `videoPublishedAt`
|
|
6276
6102
|
# @return [String]
|
|
6277
6103
|
attr_accessor :video_published_at
|
|
@@ -6309,15 +6135,14 @@ module Google
|
|
|
6309
6135
|
# @return [Array<Google::Apis::YoutubeV3::PlaylistItem>]
|
|
6310
6136
|
attr_accessor :items
|
|
6311
6137
|
|
|
6312
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
6313
|
-
#
|
|
6314
|
-
# Etag of this resource.
|
|
6138
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
6139
|
+
# playlistItemListResponse". Etag of this resource.
|
|
6315
6140
|
# Corresponds to the JSON property `kind`
|
|
6316
6141
|
# @return [String]
|
|
6317
6142
|
attr_accessor :kind
|
|
6318
6143
|
|
|
6319
|
-
# The token that can be used as the value of the
|
|
6320
|
-
#
|
|
6144
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
6145
|
+
# the next page in the result set.
|
|
6321
6146
|
# Corresponds to the JSON property `nextPageToken`
|
|
6322
6147
|
# @return [String]
|
|
6323
6148
|
attr_accessor :next_page_token
|
|
@@ -6328,8 +6153,8 @@ module Google
|
|
|
6328
6153
|
# @return [Google::Apis::YoutubeV3::PageInfo]
|
|
6329
6154
|
attr_accessor :page_info
|
|
6330
6155
|
|
|
6331
|
-
# The token that can be used as the value of the
|
|
6332
|
-
#
|
|
6156
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
6157
|
+
# the previous page in the result set.
|
|
6333
6158
|
# Corresponds to the JSON property `prevPageToken`
|
|
6334
6159
|
# @return [String]
|
|
6335
6160
|
attr_accessor :prev_page_token
|
|
@@ -6339,7 +6164,7 @@ module Google
|
|
|
6339
6164
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
6340
6165
|
attr_accessor :token_pagination
|
|
6341
6166
|
|
|
6342
|
-
# The
|
|
6167
|
+
# The visitorId identifies the visitor.
|
|
6343
6168
|
# Corresponds to the JSON property `visitorId`
|
|
6344
6169
|
# @return [String]
|
|
6345
6170
|
attr_accessor :visitor_id
|
|
@@ -6363,13 +6188,12 @@ module Google
|
|
|
6363
6188
|
end
|
|
6364
6189
|
|
|
6365
6190
|
# Basic details about a playlist, including title, description and thumbnails.
|
|
6366
|
-
# Basic details of a YouTube Playlist item provided by the author.
|
|
6367
|
-
# Next ID: 13
|
|
6191
|
+
# Basic details of a YouTube Playlist item provided by the author. Next ID: 13
|
|
6368
6192
|
class PlaylistItemSnippet
|
|
6369
6193
|
include Google::Apis::Core::Hashable
|
|
6370
6194
|
|
|
6371
|
-
# The ID that YouTube uses to uniquely identify the user that added
|
|
6372
|
-
# the
|
|
6195
|
+
# The ID that YouTube uses to uniquely identify the user that added the item to
|
|
6196
|
+
# the playlist.
|
|
6373
6197
|
# Corresponds to the JSON property `channelId`
|
|
6374
6198
|
# @return [String]
|
|
6375
6199
|
attr_accessor :channel_id
|
|
@@ -6384,22 +6208,21 @@ module Google
|
|
|
6384
6208
|
# @return [String]
|
|
6385
6209
|
attr_accessor :description
|
|
6386
6210
|
|
|
6387
|
-
# The ID that YouTube uses to uniquely identify thGe playlist that the
|
|
6388
|
-
#
|
|
6211
|
+
# The ID that YouTube uses to uniquely identify thGe playlist that the playlist
|
|
6212
|
+
# item is in.
|
|
6389
6213
|
# Corresponds to the JSON property `playlistId`
|
|
6390
6214
|
# @return [String]
|
|
6391
6215
|
attr_accessor :playlist_id
|
|
6392
6216
|
|
|
6393
|
-
# The order in which the item appears in the playlist. The value uses a
|
|
6394
|
-
#
|
|
6395
|
-
#
|
|
6217
|
+
# The order in which the item appears in the playlist. The value uses a zero-
|
|
6218
|
+
# based index, so the first item has a position of 0, the second item has a
|
|
6219
|
+
# position of 1, and so forth.
|
|
6396
6220
|
# Corresponds to the JSON property `position`
|
|
6397
6221
|
# @return [Fixnum]
|
|
6398
6222
|
attr_accessor :position
|
|
6399
6223
|
|
|
6400
6224
|
# The date and time that the item was added to the playlist. The value is
|
|
6401
|
-
# specified in
|
|
6402
|
-
# format.
|
|
6225
|
+
# specified in ISO 8601 format.
|
|
6403
6226
|
# Corresponds to the JSON property `publishedAt`
|
|
6404
6227
|
# @return [String]
|
|
6405
6228
|
attr_accessor :published_at
|
|
@@ -6475,14 +6298,14 @@ module Google
|
|
|
6475
6298
|
# @return [Array<Google::Apis::YoutubeV3::Playlist>]
|
|
6476
6299
|
attr_accessor :items
|
|
6477
6300
|
|
|
6478
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
6479
|
-
#
|
|
6301
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
6302
|
+
# playlistListResponse".
|
|
6480
6303
|
# Corresponds to the JSON property `kind`
|
|
6481
6304
|
# @return [String]
|
|
6482
6305
|
attr_accessor :kind
|
|
6483
6306
|
|
|
6484
|
-
# The token that can be used as the value of the
|
|
6485
|
-
#
|
|
6307
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
6308
|
+
# the next page in the result set.
|
|
6486
6309
|
# Corresponds to the JSON property `nextPageToken`
|
|
6487
6310
|
# @return [String]
|
|
6488
6311
|
attr_accessor :next_page_token
|
|
@@ -6493,8 +6316,8 @@ module Google
|
|
|
6493
6316
|
# @return [Google::Apis::YoutubeV3::PageInfo]
|
|
6494
6317
|
attr_accessor :page_info
|
|
6495
6318
|
|
|
6496
|
-
# The token that can be used as the value of the
|
|
6497
|
-
#
|
|
6319
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
6320
|
+
# the previous page in the result set.
|
|
6498
6321
|
# Corresponds to the JSON property `prevPageToken`
|
|
6499
6322
|
# @return [String]
|
|
6500
6323
|
attr_accessor :prev_page_token
|
|
@@ -6504,7 +6327,7 @@ module Google
|
|
|
6504
6327
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
6505
6328
|
attr_accessor :token_pagination
|
|
6506
6329
|
|
|
6507
|
-
# The
|
|
6330
|
+
# The visitorId identifies the visitor.
|
|
6508
6331
|
# Corresponds to the JSON property `visitorId`
|
|
6509
6332
|
# @return [String]
|
|
6510
6333
|
attr_accessor :visitor_id
|
|
@@ -6556,8 +6379,7 @@ module Google
|
|
|
6556
6379
|
class PlaylistPlayer
|
|
6557
6380
|
include Google::Apis::Core::Hashable
|
|
6558
6381
|
|
|
6559
|
-
# An <
|
|
6560
|
-
# play the playlist.
|
|
6382
|
+
# An <iframe> tag that embeds a player that will play the playlist.
|
|
6561
6383
|
# Corresponds to the JSON property `embedHtml`
|
|
6562
6384
|
# @return [String]
|
|
6563
6385
|
attr_accessor :embed_html
|
|
@@ -6576,8 +6398,8 @@ module Google
|
|
|
6576
6398
|
class PlaylistSnippet
|
|
6577
6399
|
include Google::Apis::Core::Hashable
|
|
6578
6400
|
|
|
6579
|
-
# The ID that YouTube uses to uniquely identify the channel that
|
|
6580
|
-
#
|
|
6401
|
+
# The ID that YouTube uses to uniquely identify the channel that published the
|
|
6402
|
+
# playlist.
|
|
6581
6403
|
# Corresponds to the JSON property `channelId`
|
|
6582
6404
|
# @return [String]
|
|
6583
6405
|
attr_accessor :channel_id
|
|
@@ -6602,9 +6424,8 @@ module Google
|
|
|
6602
6424
|
# @return [Google::Apis::YoutubeV3::PlaylistLocalization]
|
|
6603
6425
|
attr_accessor :localized
|
|
6604
6426
|
|
|
6605
|
-
# The date and time that the playlist was created. The value is specified
|
|
6606
|
-
#
|
|
6607
|
-
# format.
|
|
6427
|
+
# The date and time that the playlist was created. The value is specified in ISO
|
|
6428
|
+
# 8601 format.
|
|
6608
6429
|
# Corresponds to the JSON property `publishedAt`
|
|
6609
6430
|
# @return [String]
|
|
6610
6431
|
attr_accessor :published_at
|
|
@@ -6676,9 +6497,9 @@ module Google
|
|
|
6676
6497
|
# @return [Google::Apis::YoutubeV3::PromotedItemId]
|
|
6677
6498
|
attr_accessor :id
|
|
6678
6499
|
|
|
6679
|
-
# If true, the content owner's name will be used when displaying the
|
|
6680
|
-
#
|
|
6681
|
-
#
|
|
6500
|
+
# If true, the content owner's name will be used when displaying the promotion.
|
|
6501
|
+
# This field can only be set when the update is made on behalf of the content
|
|
6502
|
+
# owner.
|
|
6682
6503
|
# Corresponds to the JSON property `promotedByContentOwner`
|
|
6683
6504
|
# @return [Boolean]
|
|
6684
6505
|
attr_accessor :promoted_by_content_owner
|
|
@@ -6706,9 +6527,9 @@ module Google
|
|
|
6706
6527
|
class PromotedItemId
|
|
6707
6528
|
include Google::Apis::Core::Hashable
|
|
6708
6529
|
|
|
6709
|
-
# If type is recentUpload, this field identifies the channel from which to
|
|
6710
|
-
#
|
|
6711
|
-
#
|
|
6530
|
+
# If type is recentUpload, this field identifies the channel from which to take
|
|
6531
|
+
# the recent upload. If missing, the channel is assumed to be the same channel
|
|
6532
|
+
# for which the invideoPromotion is set.
|
|
6712
6533
|
# Corresponds to the JSON property `recentlyUploadedBy`
|
|
6713
6534
|
# @return [String]
|
|
6714
6535
|
attr_accessor :recently_uploaded_by
|
|
@@ -6719,15 +6540,15 @@ module Google
|
|
|
6719
6540
|
attr_accessor :type
|
|
6720
6541
|
|
|
6721
6542
|
# If the promoted item represents a video, this field represents the unique
|
|
6722
|
-
# YouTube ID identifying it. This field will be present only if
|
|
6723
|
-
#
|
|
6543
|
+
# YouTube ID identifying it. This field will be present only if type has the
|
|
6544
|
+
# value video.
|
|
6724
6545
|
# Corresponds to the JSON property `videoId`
|
|
6725
6546
|
# @return [String]
|
|
6726
6547
|
attr_accessor :video_id
|
|
6727
6548
|
|
|
6728
6549
|
# If the promoted item represents a website, this field represents the url
|
|
6729
|
-
# pointing to the website. This field will be present only if
|
|
6730
|
-
#
|
|
6550
|
+
# pointing to the website. This field will be present only if type has the value
|
|
6551
|
+
# website.
|
|
6731
6552
|
# Corresponds to the JSON property `websiteUrl`
|
|
6732
6553
|
# @return [String]
|
|
6733
6554
|
attr_accessor :website_url
|
|
@@ -6793,9 +6614,9 @@ module Google
|
|
|
6793
6614
|
class ResourceId
|
|
6794
6615
|
include Google::Apis::Core::Hashable
|
|
6795
6616
|
|
|
6796
|
-
# The ID that YouTube uses to uniquely identify the referred resource, if
|
|
6797
|
-
#
|
|
6798
|
-
#
|
|
6617
|
+
# The ID that YouTube uses to uniquely identify the referred resource, if that
|
|
6618
|
+
# resource is a channel. This property is only present if the resourceId.kind
|
|
6619
|
+
# value is youtube#channel.
|
|
6799
6620
|
# Corresponds to the JSON property `channelId`
|
|
6800
6621
|
# @return [String]
|
|
6801
6622
|
attr_accessor :channel_id
|
|
@@ -6805,16 +6626,16 @@ module Google
|
|
|
6805
6626
|
# @return [String]
|
|
6806
6627
|
attr_accessor :kind
|
|
6807
6628
|
|
|
6808
|
-
# The ID that YouTube uses to uniquely identify the referred resource, if
|
|
6809
|
-
#
|
|
6810
|
-
#
|
|
6629
|
+
# The ID that YouTube uses to uniquely identify the referred resource, if that
|
|
6630
|
+
# resource is a playlist. This property is only present if the resourceId.kind
|
|
6631
|
+
# value is youtube#playlist.
|
|
6811
6632
|
# Corresponds to the JSON property `playlistId`
|
|
6812
6633
|
# @return [String]
|
|
6813
6634
|
attr_accessor :playlist_id
|
|
6814
6635
|
|
|
6815
|
-
# The ID that YouTube uses to uniquely identify the referred resource, if
|
|
6816
|
-
#
|
|
6817
|
-
#
|
|
6636
|
+
# The ID that YouTube uses to uniquely identify the referred resource, if that
|
|
6637
|
+
# resource is a video. This property is only present if the resourceId.kind
|
|
6638
|
+
# value is youtube#video.
|
|
6818
6639
|
# Corresponds to the JSON property `videoId`
|
|
6819
6640
|
# @return [String]
|
|
6820
6641
|
attr_accessor :video_id
|
|
@@ -6851,14 +6672,14 @@ module Google
|
|
|
6851
6672
|
# @return [Array<Google::Apis::YoutubeV3::SearchResult>]
|
|
6852
6673
|
attr_accessor :items
|
|
6853
6674
|
|
|
6854
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
6855
|
-
#
|
|
6675
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
6676
|
+
# searchListResponse".
|
|
6856
6677
|
# Corresponds to the JSON property `kind`
|
|
6857
6678
|
# @return [String]
|
|
6858
6679
|
attr_accessor :kind
|
|
6859
6680
|
|
|
6860
|
-
# The token that can be used as the value of the
|
|
6861
|
-
#
|
|
6681
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
6682
|
+
# the next page in the result set.
|
|
6862
6683
|
# Corresponds to the JSON property `nextPageToken`
|
|
6863
6684
|
# @return [String]
|
|
6864
6685
|
attr_accessor :next_page_token
|
|
@@ -6869,8 +6690,8 @@ module Google
|
|
|
6869
6690
|
# @return [Google::Apis::YoutubeV3::PageInfo]
|
|
6870
6691
|
attr_accessor :page_info
|
|
6871
6692
|
|
|
6872
|
-
# The token that can be used as the value of the
|
|
6873
|
-
#
|
|
6693
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
6694
|
+
# the previous page in the result set.
|
|
6874
6695
|
# Corresponds to the JSON property `prevPageToken`
|
|
6875
6696
|
# @return [String]
|
|
6876
6697
|
attr_accessor :prev_page_token
|
|
@@ -6885,7 +6706,7 @@ module Google
|
|
|
6885
6706
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
6886
6707
|
attr_accessor :token_pagination
|
|
6887
6708
|
|
|
6888
|
-
# The
|
|
6709
|
+
# The visitorId identifies the visitor.
|
|
6889
6710
|
# Corresponds to the JSON property `visitorId`
|
|
6890
6711
|
# @return [String]
|
|
6891
6712
|
attr_accessor :visitor_id
|
|
@@ -6910,9 +6731,9 @@ module Google
|
|
|
6910
6731
|
end
|
|
6911
6732
|
|
|
6912
6733
|
# A search result contains information about a YouTube video, channel, or
|
|
6913
|
-
# playlist that matches the search parameters specified in an API request.
|
|
6914
|
-
#
|
|
6915
|
-
#
|
|
6734
|
+
# playlist that matches the search parameters specified in an API request. While
|
|
6735
|
+
# a search result points to a uniquely identifiable resource, like a video, it
|
|
6736
|
+
# does not have its own persistent data.
|
|
6916
6737
|
class SearchResult
|
|
6917
6738
|
include Google::Apis::Core::Hashable
|
|
6918
6739
|
|
|
@@ -6926,8 +6747,8 @@ module Google
|
|
|
6926
6747
|
# @return [Google::Apis::YoutubeV3::ResourceId]
|
|
6927
6748
|
attr_accessor :id
|
|
6928
6749
|
|
|
6929
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
6930
|
-
#
|
|
6750
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
6751
|
+
# searchResult".
|
|
6931
6752
|
# Corresponds to the JSON property `kind`
|
|
6932
6753
|
# @return [String]
|
|
6933
6754
|
attr_accessor :kind
|
|
@@ -6956,8 +6777,8 @@ module Google
|
|
|
6956
6777
|
class SearchResultSnippet
|
|
6957
6778
|
include Google::Apis::Core::Hashable
|
|
6958
6779
|
|
|
6959
|
-
# The value that YouTube uses to uniquely identify the channel that
|
|
6960
|
-
#
|
|
6780
|
+
# The value that YouTube uses to uniquely identify the channel that published
|
|
6781
|
+
# the resource that the search result identifies.
|
|
6961
6782
|
# Corresponds to the JSON property `channelId`
|
|
6962
6783
|
# @return [String]
|
|
6963
6784
|
attr_accessor :channel_id
|
|
@@ -6974,16 +6795,14 @@ module Google
|
|
|
6974
6795
|
attr_accessor :description
|
|
6975
6796
|
|
|
6976
6797
|
# It indicates if the resource (video or channel) has upcoming/active live
|
|
6977
|
-
# broadcast content. Or it's "none" if there is not any upcoming/active
|
|
6978
|
-
#
|
|
6798
|
+
# broadcast content. Or it's "none" if there is not any upcoming/active live
|
|
6799
|
+
# broadcasts.
|
|
6979
6800
|
# Corresponds to the JSON property `liveBroadcastContent`
|
|
6980
6801
|
# @return [String]
|
|
6981
6802
|
attr_accessor :live_broadcast_content
|
|
6982
6803
|
|
|
6983
|
-
# The creation date and time of the resource that the search result
|
|
6984
|
-
#
|
|
6985
|
-
# href="//www.w3.org/TR/NOTE-datetime">ISO 8601</a>
|
|
6986
|
-
# format.
|
|
6804
|
+
# The creation date and time of the resource that the search result identifies.
|
|
6805
|
+
# The value is specified in ISO 8601 format.
|
|
6987
6806
|
# Corresponds to the JSON property `publishedAt`
|
|
6988
6807
|
# @return [String]
|
|
6989
6808
|
attr_accessor :published_at
|
|
@@ -7014,9 +6833,8 @@ module Google
|
|
|
7014
6833
|
end
|
|
7015
6834
|
end
|
|
7016
6835
|
|
|
7017
|
-
# A `__sponsor__` resource represents a sponsor for a YouTube channel.
|
|
7018
|
-
#
|
|
7019
|
-
# benefits.
|
|
6836
|
+
# A `__sponsor__` resource represents a sponsor for a YouTube channel. A sponsor
|
|
6837
|
+
# provides recurring monetary support to a creator and receives special benefits.
|
|
7020
6838
|
class Sponsor
|
|
7021
6839
|
include Google::Apis::Core::Hashable
|
|
7022
6840
|
|
|
@@ -7025,8 +6843,8 @@ module Google
|
|
|
7025
6843
|
# @return [String]
|
|
7026
6844
|
attr_accessor :etag
|
|
7027
6845
|
|
|
7028
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
7029
|
-
#
|
|
6846
|
+
# Identifies what kind of resource this is. Value: the fixed string `"youtube#
|
|
6847
|
+
# sponsor"`.
|
|
7030
6848
|
# Corresponds to the JSON property `kind`
|
|
7031
6849
|
# @return [String]
|
|
7032
6850
|
attr_accessor :kind
|
|
@@ -7067,8 +6885,8 @@ module Google
|
|
|
7067
6885
|
# @return [Array<Google::Apis::YoutubeV3::Sponsor>]
|
|
7068
6886
|
attr_accessor :items
|
|
7069
6887
|
|
|
7070
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
7071
|
-
#
|
|
6888
|
+
# Identifies what kind of resource this is. Value: the fixed string `"youtube#
|
|
6889
|
+
# sponsorListResponse".
|
|
7072
6890
|
# Corresponds to the JSON property `kind`
|
|
7073
6891
|
# @return [String]
|
|
7074
6892
|
attr_accessor :kind
|
|
@@ -7131,9 +6949,8 @@ module Google
|
|
|
7131
6949
|
# @return [Google::Apis::YoutubeV3::ChannelProfileDetails]
|
|
7132
6950
|
attr_accessor :sponsor_details
|
|
7133
6951
|
|
|
7134
|
-
# The date and time when the user became a sponsor. The value is
|
|
7135
|
-
#
|
|
7136
|
-
# (`YYYY-MM-DDThh:mm:ss.sZ`) format.
|
|
6952
|
+
# The date and time when the user became a sponsor. The value is specified in
|
|
6953
|
+
# ISO 8601 (`YYYY-MM-DDThh:mm:ss.sZ`) format.
|
|
7137
6954
|
# Corresponds to the JSON property `sponsorSince`
|
|
7138
6955
|
# @return [String]
|
|
7139
6956
|
attr_accessor :sponsor_since
|
|
@@ -7151,11 +6968,10 @@ module Google
|
|
|
7151
6968
|
end
|
|
7152
6969
|
end
|
|
7153
6970
|
|
|
7154
|
-
# A
|
|
7155
|
-
#
|
|
7156
|
-
#
|
|
7157
|
-
#
|
|
7158
|
-
# on a video.
|
|
6971
|
+
# A *subscription* resource contains information about a YouTube user
|
|
6972
|
+
# subscription. A subscription notifies a user when new videos are added to a
|
|
6973
|
+
# channel or when another user takes one of several actions on YouTube, such as
|
|
6974
|
+
# uploading a video, rating a video, or commenting on a video.
|
|
7159
6975
|
class Subscription
|
|
7160
6976
|
include Google::Apis::Core::Hashable
|
|
7161
6977
|
|
|
@@ -7174,8 +6990,8 @@ module Google
|
|
|
7174
6990
|
# @return [String]
|
|
7175
6991
|
attr_accessor :id
|
|
7176
6992
|
|
|
7177
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
7178
|
-
#
|
|
6993
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
6994
|
+
# subscription".
|
|
7179
6995
|
# Corresponds to the JSON property `kind`
|
|
7180
6996
|
# @return [String]
|
|
7181
6997
|
attr_accessor :kind
|
|
@@ -7186,8 +7002,8 @@ module Google
|
|
|
7186
7002
|
# @return [Google::Apis::YoutubeV3::SubscriptionSnippet]
|
|
7187
7003
|
attr_accessor :snippet
|
|
7188
7004
|
|
|
7189
|
-
# Basic details about a subscription's subscriber including title,
|
|
7190
|
-
#
|
|
7005
|
+
# Basic details about a subscription's subscriber including title, description,
|
|
7006
|
+
# channel ID and thumbnails.
|
|
7191
7007
|
# Corresponds to the JSON property `subscriberSnippet`
|
|
7192
7008
|
# @return [Google::Apis::YoutubeV3::SubscriptionSubscriberSnippet]
|
|
7193
7009
|
attr_accessor :subscriber_snippet
|
|
@@ -7211,14 +7027,12 @@ module Google
|
|
|
7211
7027
|
class SubscriptionContentDetails
|
|
7212
7028
|
include Google::Apis::Core::Hashable
|
|
7213
7029
|
|
|
7214
|
-
# The type of activity this subscription is for
|
|
7215
|
-
# (only uploads, everything).
|
|
7030
|
+
# The type of activity this subscription is for (only uploads, everything).
|
|
7216
7031
|
# Corresponds to the JSON property `activityType`
|
|
7217
7032
|
# @return [String]
|
|
7218
7033
|
attr_accessor :activity_type
|
|
7219
7034
|
|
|
7220
|
-
# The number of new items in the subscription since its content was last
|
|
7221
|
-
# read.
|
|
7035
|
+
# The number of new items in the subscription since its content was last read.
|
|
7222
7036
|
# Corresponds to the JSON property `newItemCount`
|
|
7223
7037
|
# @return [Fixnum]
|
|
7224
7038
|
attr_accessor :new_item_count
|
|
@@ -7259,14 +7073,14 @@ module Google
|
|
|
7259
7073
|
# @return [Array<Google::Apis::YoutubeV3::Subscription>]
|
|
7260
7074
|
attr_accessor :items
|
|
7261
7075
|
|
|
7262
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
7263
|
-
#
|
|
7076
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
7077
|
+
# subscriptionListResponse".
|
|
7264
7078
|
# Corresponds to the JSON property `kind`
|
|
7265
7079
|
# @return [String]
|
|
7266
7080
|
attr_accessor :kind
|
|
7267
7081
|
|
|
7268
|
-
# The token that can be used as the value of the
|
|
7269
|
-
#
|
|
7082
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
7083
|
+
# the next page in the result set.
|
|
7270
7084
|
# Corresponds to the JSON property `nextPageToken`
|
|
7271
7085
|
# @return [String]
|
|
7272
7086
|
attr_accessor :next_page_token
|
|
@@ -7277,8 +7091,8 @@ module Google
|
|
|
7277
7091
|
# @return [Google::Apis::YoutubeV3::PageInfo]
|
|
7278
7092
|
attr_accessor :page_info
|
|
7279
7093
|
|
|
7280
|
-
# The token that can be used as the value of the
|
|
7281
|
-
#
|
|
7094
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
7095
|
+
# the previous page in the result set.
|
|
7282
7096
|
# Corresponds to the JSON property `prevPageToken`
|
|
7283
7097
|
# @return [String]
|
|
7284
7098
|
attr_accessor :prev_page_token
|
|
@@ -7288,7 +7102,7 @@ module Google
|
|
|
7288
7102
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
7289
7103
|
attr_accessor :token_pagination
|
|
7290
7104
|
|
|
7291
|
-
# The
|
|
7105
|
+
# The visitorId identifies the visitor.
|
|
7292
7106
|
# Corresponds to the JSON property `visitorId`
|
|
7293
7107
|
# @return [String]
|
|
7294
7108
|
attr_accessor :visitor_id
|
|
@@ -7331,9 +7145,8 @@ module Google
|
|
|
7331
7145
|
# @return [String]
|
|
7332
7146
|
attr_accessor :description
|
|
7333
7147
|
|
|
7334
|
-
# The date and time that the subscription was created. The value is
|
|
7335
|
-
#
|
|
7336
|
-
# format.
|
|
7148
|
+
# The date and time that the subscription was created. The value is specified in
|
|
7149
|
+
# ISO 8601 format.
|
|
7337
7150
|
# Corresponds to the JSON property `publishedAt`
|
|
7338
7151
|
# @return [String]
|
|
7339
7152
|
attr_accessor :published_at
|
|
@@ -7369,8 +7182,8 @@ module Google
|
|
|
7369
7182
|
end
|
|
7370
7183
|
end
|
|
7371
7184
|
|
|
7372
|
-
# Basic details about a subscription's subscriber including title,
|
|
7373
|
-
#
|
|
7185
|
+
# Basic details about a subscription's subscriber including title, description,
|
|
7186
|
+
# channel ID and thumbnails.
|
|
7374
7187
|
class SubscriptionSubscriberSnippet
|
|
7375
7188
|
include Google::Apis::Core::Hashable
|
|
7376
7189
|
|
|
@@ -7422,8 +7235,8 @@ module Google
|
|
|
7422
7235
|
# @return [String]
|
|
7423
7236
|
attr_accessor :id
|
|
7424
7237
|
|
|
7425
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
7426
|
-
#
|
|
7238
|
+
# Identifies what kind of resource this is. Value: the fixed string `"youtube#
|
|
7239
|
+
# superChatEvent"`.
|
|
7427
7240
|
# Corresponds to the JSON property `kind`
|
|
7428
7241
|
# @return [String]
|
|
7429
7242
|
attr_accessor :kind
|
|
@@ -7465,14 +7278,14 @@ module Google
|
|
|
7465
7278
|
# @return [Array<Google::Apis::YoutubeV3::SuperChatEvent>]
|
|
7466
7279
|
attr_accessor :items
|
|
7467
7280
|
|
|
7468
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
7469
|
-
#
|
|
7281
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
7282
|
+
# superChatEventListResponse".
|
|
7470
7283
|
# Corresponds to the JSON property `kind`
|
|
7471
7284
|
# @return [String]
|
|
7472
7285
|
attr_accessor :kind
|
|
7473
7286
|
|
|
7474
|
-
# The token that can be used as the value of the
|
|
7475
|
-
#
|
|
7287
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
7288
|
+
# the next page in the result set.
|
|
7476
7289
|
# Corresponds to the JSON property `nextPageToken`
|
|
7477
7290
|
# @return [String]
|
|
7478
7291
|
attr_accessor :next_page_token
|
|
@@ -7488,7 +7301,7 @@ module Google
|
|
|
7488
7301
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
7489
7302
|
attr_accessor :token_pagination
|
|
7490
7303
|
|
|
7491
|
-
# The
|
|
7304
|
+
# The visitorId identifies the visitor.
|
|
7492
7305
|
# Corresponds to the JSON property `visitorId`
|
|
7493
7306
|
# @return [String]
|
|
7494
7307
|
attr_accessor :visitor_id
|
|
@@ -7514,7 +7327,7 @@ module Google
|
|
|
7514
7327
|
class SuperChatEventSnippet
|
|
7515
7328
|
include Google::Apis::Core::Hashable
|
|
7516
7329
|
|
|
7517
|
-
# The purchase amount, in micros of the purchase currency.
|
|
7330
|
+
# The purchase amount, in micros of the purchase currency. e.g., 1 is
|
|
7518
7331
|
# represented as 1000000.
|
|
7519
7332
|
# Corresponds to the JSON property `amountMicros`
|
|
7520
7333
|
# @return [Fixnum]
|
|
@@ -7530,20 +7343,19 @@ module Google
|
|
|
7530
7343
|
# @return [String]
|
|
7531
7344
|
attr_accessor :comment_text
|
|
7532
7345
|
|
|
7533
|
-
# The date and time when the event occurred. The value is
|
|
7534
|
-
# specified in <a href="//www.w3.org/TR/NOTE-datetime">ISO 8601</a>
|
|
7346
|
+
# The date and time when the event occurred. The value is specified in ISO 8601
|
|
7535
7347
|
# format.
|
|
7536
7348
|
# Corresponds to the JSON property `createdAt`
|
|
7537
7349
|
# @return [String]
|
|
7538
7350
|
attr_accessor :created_at
|
|
7539
7351
|
|
|
7540
|
-
# The currency in which the purchase was made.
|
|
7352
|
+
# The currency in which the purchase was made. ISO 4217.
|
|
7541
7353
|
# Corresponds to the JSON property `currency`
|
|
7542
7354
|
# @return [String]
|
|
7543
7355
|
attr_accessor :currency
|
|
7544
7356
|
|
|
7545
|
-
# A rendered string that displays the purchase amount and currency
|
|
7546
|
-
#
|
|
7357
|
+
# A rendered string that displays the purchase amount and currency (e.g., "$1.00"
|
|
7358
|
+
# ). The string is rendered for the given language.
|
|
7547
7359
|
# Corresponds to the JSON property `displayString`
|
|
7548
7360
|
# @return [String]
|
|
7549
7361
|
attr_accessor :display_string
|
|
@@ -7554,14 +7366,14 @@ module Google
|
|
|
7554
7366
|
attr_accessor :is_super_sticker_event
|
|
7555
7367
|
alias_method :is_super_sticker_event?, :is_super_sticker_event
|
|
7556
7368
|
|
|
7557
|
-
# The tier for the paid message, which is based on the amount of money spent
|
|
7558
|
-
#
|
|
7369
|
+
# The tier for the paid message, which is based on the amount of money spent to
|
|
7370
|
+
# purchase the message.
|
|
7559
7371
|
# Corresponds to the JSON property `messageType`
|
|
7560
7372
|
# @return [Fixnum]
|
|
7561
7373
|
attr_accessor :message_type
|
|
7562
7374
|
|
|
7563
|
-
# If this event is a Super Sticker event, this field will contain metadata
|
|
7564
|
-
#
|
|
7375
|
+
# If this event is a Super Sticker event, this field will contain metadata about
|
|
7376
|
+
# the Super Sticker.
|
|
7565
7377
|
# Corresponds to the JSON property `superStickerMetadata`
|
|
7566
7378
|
# @return [Google::Apis::YoutubeV3::SuperStickerMetadata]
|
|
7567
7379
|
attr_accessor :super_sticker_metadata
|
|
@@ -7594,8 +7406,8 @@ module Google
|
|
|
7594
7406
|
class SuperStickerMetadata
|
|
7595
7407
|
include Google::Apis::Core::Hashable
|
|
7596
7408
|
|
|
7597
|
-
# Internationalized alt text that describes the sticker image and any
|
|
7598
|
-
#
|
|
7409
|
+
# Internationalized alt text that describes the sticker image and any animation
|
|
7410
|
+
# associated with it.
|
|
7599
7411
|
# Corresponds to the JSON property `altText`
|
|
7600
7412
|
# @return [String]
|
|
7601
7413
|
attr_accessor :alt_text
|
|
@@ -7605,9 +7417,8 @@ module Google
|
|
|
7605
7417
|
# @return [String]
|
|
7606
7418
|
attr_accessor :alt_text_language
|
|
7607
7419
|
|
|
7608
|
-
# Unique identifier of the Super Sticker. This is a shorter form of the
|
|
7609
|
-
#
|
|
7610
|
-
# sticker.
|
|
7420
|
+
# Unique identifier of the Super Sticker. This is a shorter form of the alt_text
|
|
7421
|
+
# that includes pack name and a recognizable characteristic of the sticker.
|
|
7611
7422
|
# Corresponds to the JSON property `stickerId`
|
|
7612
7423
|
# @return [String]
|
|
7613
7424
|
attr_accessor :sticker_id
|
|
@@ -7628,6 +7439,11 @@ module Google
|
|
|
7628
7439
|
class TestItem
|
|
7629
7440
|
include Google::Apis::Core::Hashable
|
|
7630
7441
|
|
|
7442
|
+
#
|
|
7443
|
+
# Corresponds to the JSON property `gaia`
|
|
7444
|
+
# @return [Fixnum]
|
|
7445
|
+
attr_accessor :gaia
|
|
7446
|
+
|
|
7631
7447
|
#
|
|
7632
7448
|
# Corresponds to the JSON property `id`
|
|
7633
7449
|
# @return [String]
|
|
@@ -7644,6 +7460,7 @@ module Google
|
|
|
7644
7460
|
|
|
7645
7461
|
# Update properties of this object
|
|
7646
7462
|
def update!(**args)
|
|
7463
|
+
@gaia = args[:gaia] if args.key?(:gaia)
|
|
7647
7464
|
@id = args[:id] if args.key?(:id)
|
|
7648
7465
|
@snippet = args[:snippet] if args.key?(:snippet)
|
|
7649
7466
|
end
|
|
@@ -7662,9 +7479,8 @@ module Google
|
|
|
7662
7479
|
end
|
|
7663
7480
|
end
|
|
7664
7481
|
|
|
7665
|
-
# A
|
|
7666
|
-
#
|
|
7667
|
-
# third-party service.
|
|
7482
|
+
# A *third party account link* resource represents a link between a YouTube
|
|
7483
|
+
# account or a channel and an account on a third-party service.
|
|
7668
7484
|
class ThirdPartyLink
|
|
7669
7485
|
include Google::Apis::Core::Hashable
|
|
7670
7486
|
|
|
@@ -7673,14 +7489,14 @@ module Google
|
|
|
7673
7489
|
# @return [String]
|
|
7674
7490
|
attr_accessor :etag
|
|
7675
7491
|
|
|
7676
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
7677
|
-
#
|
|
7492
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
7493
|
+
# thirdPartyLink".
|
|
7678
7494
|
# Corresponds to the JSON property `kind`
|
|
7679
7495
|
# @return [String]
|
|
7680
7496
|
attr_accessor :kind
|
|
7681
7497
|
|
|
7682
|
-
# The
|
|
7683
|
-
#
|
|
7498
|
+
# The linking_token identifies a YouTube account and channel with which the
|
|
7499
|
+
# third party account is linked.
|
|
7684
7500
|
# Corresponds to the JSON property `linkingToken`
|
|
7685
7501
|
# @return [String]
|
|
7686
7502
|
attr_accessor :linking_token
|
|
@@ -7691,8 +7507,8 @@ module Google
|
|
|
7691
7507
|
# @return [Google::Apis::YoutubeV3::ThirdPartyLinkSnippet]
|
|
7692
7508
|
attr_accessor :snippet
|
|
7693
7509
|
|
|
7694
|
-
# The
|
|
7695
|
-
# the
|
|
7510
|
+
# The third-party link status object contains information about the status of
|
|
7511
|
+
# the link.
|
|
7696
7512
|
# Corresponds to the JSON property `status`
|
|
7697
7513
|
# @return [Google::Apis::YoutubeV3::ThirdPartyLinkStatus]
|
|
7698
7514
|
attr_accessor :status
|
|
@@ -7738,8 +7554,8 @@ module Google
|
|
|
7738
7554
|
end
|
|
7739
7555
|
end
|
|
7740
7556
|
|
|
7741
|
-
# The
|
|
7742
|
-
# the
|
|
7557
|
+
# The third-party link status object contains information about the status of
|
|
7558
|
+
# the link.
|
|
7743
7559
|
class ThirdPartyLinkStatus
|
|
7744
7560
|
include Google::Apis::Core::Hashable
|
|
7745
7561
|
|
|
@@ -7851,13 +7667,13 @@ module Google
|
|
|
7851
7667
|
# @return [Array<Google::Apis::YoutubeV3::ThumbnailDetails>]
|
|
7852
7668
|
attr_accessor :items
|
|
7853
7669
|
|
|
7854
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
7855
|
-
#
|
|
7670
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
7671
|
+
# thumbnailSetResponse".
|
|
7856
7672
|
# Corresponds to the JSON property `kind`
|
|
7857
7673
|
# @return [String]
|
|
7858
7674
|
attr_accessor :kind
|
|
7859
7675
|
|
|
7860
|
-
# The
|
|
7676
|
+
# The visitorId identifies the visitor.
|
|
7861
7677
|
# Corresponds to the JSON property `visitorId`
|
|
7862
7678
|
# @return [String]
|
|
7863
7679
|
attr_accessor :visitor_id
|
|
@@ -7889,12 +7705,12 @@ module Google
|
|
|
7889
7705
|
end
|
|
7890
7706
|
end
|
|
7891
7707
|
|
|
7892
|
-
# A
|
|
7708
|
+
# A *video* resource represents a YouTube video.
|
|
7893
7709
|
class Video
|
|
7894
7710
|
include Google::Apis::Core::Hashable
|
|
7895
7711
|
|
|
7896
|
-
# Age restriction details related to a video. This data can only be retrieved
|
|
7897
|
-
#
|
|
7712
|
+
# Age restriction details related to a video. This data can only be retrieved by
|
|
7713
|
+
# the video owner.
|
|
7898
7714
|
# Corresponds to the JSON property `ageGating`
|
|
7899
7715
|
# @return [Google::Apis::YoutubeV3::VideoAgeGating]
|
|
7900
7716
|
attr_accessor :age_gating
|
|
@@ -7921,8 +7737,8 @@ module Google
|
|
|
7921
7737
|
# @return [String]
|
|
7922
7738
|
attr_accessor :id
|
|
7923
7739
|
|
|
7924
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
7925
|
-
#
|
|
7740
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
7741
|
+
# video".
|
|
7926
7742
|
# Corresponds to the JSON property `kind`
|
|
7927
7743
|
# @return [String]
|
|
7928
7744
|
attr_accessor :kind
|
|
@@ -7932,8 +7748,8 @@ module Google
|
|
|
7932
7748
|
# @return [Google::Apis::YoutubeV3::VideoLiveStreamingDetails]
|
|
7933
7749
|
attr_accessor :live_streaming_details
|
|
7934
7750
|
|
|
7935
|
-
# The
|
|
7936
|
-
#
|
|
7751
|
+
# The localizations object contains localized versions of the basic details
|
|
7752
|
+
# about the video, such as its title and description.
|
|
7937
7753
|
# Corresponds to the JSON property `localizations`
|
|
7938
7754
|
# @return [Hash<String,Google::Apis::YoutubeV3::VideoLocalization>]
|
|
7939
7755
|
attr_accessor :localizations
|
|
@@ -7976,14 +7792,13 @@ module Google
|
|
|
7976
7792
|
# @return [Google::Apis::YoutubeV3::VideoStatistics]
|
|
7977
7793
|
attr_accessor :statistics
|
|
7978
7794
|
|
|
7979
|
-
# Basic details about a video category, such as its localized title.
|
|
7980
|
-
# Next Id: 17
|
|
7795
|
+
# Basic details about a video category, such as its localized title. Next Id: 17
|
|
7981
7796
|
# Corresponds to the JSON property `status`
|
|
7982
7797
|
# @return [Google::Apis::YoutubeV3::VideoStatus]
|
|
7983
7798
|
attr_accessor :status
|
|
7984
7799
|
|
|
7985
|
-
# Specifies suggestions on how to improve video content,
|
|
7986
|
-
#
|
|
7800
|
+
# Specifies suggestions on how to improve video content, including encoding
|
|
7801
|
+
# hints, tag suggestions, and editor suggestions.
|
|
7987
7802
|
# Corresponds to the JSON property `suggestions`
|
|
7988
7803
|
# @return [Google::Apis::YoutubeV3::VideoSuggestions]
|
|
7989
7804
|
attr_accessor :suggestions
|
|
@@ -8034,15 +7849,15 @@ module Google
|
|
|
8034
7849
|
# @return [String]
|
|
8035
7850
|
attr_accessor :language
|
|
8036
7851
|
|
|
8037
|
-
# The high-level, or primary, reason that the content is abusive. The value
|
|
8038
|
-
#
|
|
7852
|
+
# The high-level, or primary, reason that the content is abusive. The value is
|
|
7853
|
+
# an abuse report reason ID.
|
|
8039
7854
|
# Corresponds to the JSON property `reasonId`
|
|
8040
7855
|
# @return [String]
|
|
8041
7856
|
attr_accessor :reason_id
|
|
8042
7857
|
|
|
8043
|
-
# The specific, or secondary, reason that this content is abusive (if
|
|
8044
|
-
#
|
|
8045
|
-
#
|
|
7858
|
+
# The specific, or secondary, reason that this content is abusive (if available).
|
|
7859
|
+
# The value is an abuse report reason ID that is a valid secondary reason for
|
|
7860
|
+
# the primary reason.
|
|
8046
7861
|
# Corresponds to the JSON property `secondaryReasonId`
|
|
8047
7862
|
# @return [String]
|
|
8048
7863
|
attr_accessor :secondary_reason_id
|
|
@@ -8066,9 +7881,9 @@ module Google
|
|
|
8066
7881
|
end
|
|
8067
7882
|
end
|
|
8068
7883
|
|
|
8069
|
-
# A `__videoAbuseReportReason__` resource identifies a reason that a video
|
|
8070
|
-
#
|
|
8071
|
-
#
|
|
7884
|
+
# A `__videoAbuseReportReason__` resource identifies a reason that a video could
|
|
7885
|
+
# be reported as abusive. Video abuse report reasons are used with `video.
|
|
7886
|
+
# ReportAbuse`.
|
|
8072
7887
|
class VideoAbuseReportReason
|
|
8073
7888
|
include Google::Apis::Core::Hashable
|
|
8074
7889
|
|
|
@@ -8082,8 +7897,8 @@ module Google
|
|
|
8082
7897
|
# @return [String]
|
|
8083
7898
|
attr_accessor :id
|
|
8084
7899
|
|
|
8085
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
8086
|
-
#
|
|
7900
|
+
# Identifies what kind of resource this is. Value: the fixed string `"youtube#
|
|
7901
|
+
# videoAbuseReportReason"`.
|
|
8087
7902
|
# Corresponds to the JSON property `kind`
|
|
8088
7903
|
# @return [String]
|
|
8089
7904
|
attr_accessor :kind
|
|
@@ -8125,8 +7940,8 @@ module Google
|
|
|
8125
7940
|
# @return [Array<Google::Apis::YoutubeV3::VideoAbuseReportReason>]
|
|
8126
7941
|
attr_accessor :items
|
|
8127
7942
|
|
|
8128
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
8129
|
-
#
|
|
7943
|
+
# Identifies what kind of resource this is. Value: the fixed string `"youtube#
|
|
7944
|
+
# videoAbuseReportReasonListResponse"`.
|
|
8130
7945
|
# Corresponds to the JSON property `kind`
|
|
8131
7946
|
# @return [String]
|
|
8132
7947
|
attr_accessor :kind
|
|
@@ -8159,8 +7974,8 @@ module Google
|
|
|
8159
7974
|
# @return [String]
|
|
8160
7975
|
attr_accessor :label
|
|
8161
7976
|
|
|
8162
|
-
# The secondary reasons associated with this reason, if any are available.
|
|
8163
|
-
#
|
|
7977
|
+
# The secondary reasons associated with this reason, if any are available. (
|
|
7978
|
+
# There might be 0 or more.)
|
|
8164
7979
|
# Corresponds to the JSON property `secondaryReasons`
|
|
8165
7980
|
# @return [Array<Google::Apis::YoutubeV3::VideoAbuseReportSecondaryReason>]
|
|
8166
7981
|
attr_accessor :secondary_reasons
|
|
@@ -8205,18 +8020,17 @@ module Google
|
|
|
8205
8020
|
class VideoAgeGating
|
|
8206
8021
|
include Google::Apis::Core::Hashable
|
|
8207
8022
|
|
|
8208
|
-
# Indicates whether or not the video has alcoholic beverage content. Only
|
|
8209
|
-
#
|
|
8210
|
-
#
|
|
8023
|
+
# Indicates whether or not the video has alcoholic beverage content. Only users
|
|
8024
|
+
# of legal purchasing age in a particular country, as identified by ICAP, can
|
|
8025
|
+
# view the content.
|
|
8211
8026
|
# Corresponds to the JSON property `alcoholContent`
|
|
8212
8027
|
# @return [Boolean]
|
|
8213
8028
|
attr_accessor :alcohol_content
|
|
8214
8029
|
alias_method :alcohol_content?, :alcohol_content
|
|
8215
8030
|
|
|
8216
8031
|
# Age-restricted trailers. For redband trailers and adult-rated video-games.
|
|
8217
|
-
# Only users aged 18+ can view the content. The the field is
|
|
8218
|
-
#
|
|
8219
|
-
# The field won't be present.
|
|
8032
|
+
# Only users aged 18+ can view the content. The the field is true the content is
|
|
8033
|
+
# restricted to viewers aged 18+. Otherwise The field won't be present.
|
|
8220
8034
|
# Corresponds to the JSON property `restricted`
|
|
8221
8035
|
# @return [Boolean]
|
|
8222
8036
|
attr_accessor :restricted
|
|
@@ -8243,20 +8057,17 @@ module Google
|
|
|
8243
8057
|
class VideoCard
|
|
8244
8058
|
include Google::Apis::Core::Hashable
|
|
8245
8059
|
|
|
8246
|
-
# Each card can have a custom message.
|
|
8247
|
-
# Optional.
|
|
8060
|
+
# Each card can have a custom message. Optional.
|
|
8248
8061
|
# Corresponds to the JSON property `customMessage`
|
|
8249
8062
|
# @return [String]
|
|
8250
8063
|
attr_accessor :custom_message
|
|
8251
8064
|
|
|
8252
|
-
# Playback start time offset in milliseconds.
|
|
8253
|
-
# Optional.
|
|
8065
|
+
# Playback start time offset in milliseconds. Optional.
|
|
8254
8066
|
# Corresponds to the JSON property `playbackStartOffset`
|
|
8255
8067
|
# @return [String]
|
|
8256
8068
|
attr_accessor :playback_start_offset
|
|
8257
8069
|
|
|
8258
|
-
# Encrypted Video ID.
|
|
8259
|
-
# Required.
|
|
8070
|
+
# Encrypted Video ID. Required.
|
|
8260
8071
|
# Corresponds to the JSON property `videoId`
|
|
8261
8072
|
# @return [String]
|
|
8262
8073
|
attr_accessor :video_id
|
|
@@ -8273,8 +8084,8 @@ module Google
|
|
|
8273
8084
|
end
|
|
8274
8085
|
end
|
|
8275
8086
|
|
|
8276
|
-
# A
|
|
8277
|
-
#
|
|
8087
|
+
# A *videoCategory* resource identifies a category that has been or could be
|
|
8088
|
+
# associated with uploaded videos.
|
|
8278
8089
|
class VideoCategory
|
|
8279
8090
|
include Google::Apis::Core::Hashable
|
|
8280
8091
|
|
|
@@ -8288,8 +8099,8 @@ module Google
|
|
|
8288
8099
|
# @return [String]
|
|
8289
8100
|
attr_accessor :id
|
|
8290
8101
|
|
|
8291
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
8292
|
-
#
|
|
8102
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
8103
|
+
# videoCategory".
|
|
8293
8104
|
# Corresponds to the JSON property `kind`
|
|
8294
8105
|
# @return [String]
|
|
8295
8106
|
attr_accessor :kind
|
|
@@ -8326,21 +8137,21 @@ module Google
|
|
|
8326
8137
|
# @return [String]
|
|
8327
8138
|
attr_accessor :event_id
|
|
8328
8139
|
|
|
8329
|
-
# A list of video categories that can be associated with YouTube videos. In
|
|
8330
|
-
#
|
|
8331
|
-
#
|
|
8140
|
+
# A list of video categories that can be associated with YouTube videos. In this
|
|
8141
|
+
# map, the video category ID is the map key, and its value is the corresponding
|
|
8142
|
+
# videoCategory resource.
|
|
8332
8143
|
# Corresponds to the JSON property `items`
|
|
8333
8144
|
# @return [Array<Google::Apis::YoutubeV3::VideoCategory>]
|
|
8334
8145
|
attr_accessor :items
|
|
8335
8146
|
|
|
8336
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
8337
|
-
#
|
|
8147
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
8148
|
+
# videoCategoryListResponse".
|
|
8338
8149
|
# Corresponds to the JSON property `kind`
|
|
8339
8150
|
# @return [String]
|
|
8340
8151
|
attr_accessor :kind
|
|
8341
8152
|
|
|
8342
|
-
# The token that can be used as the value of the
|
|
8343
|
-
#
|
|
8153
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
8154
|
+
# the next page in the result set.
|
|
8344
8155
|
# Corresponds to the JSON property `nextPageToken`
|
|
8345
8156
|
# @return [String]
|
|
8346
8157
|
attr_accessor :next_page_token
|
|
@@ -8351,8 +8162,8 @@ module Google
|
|
|
8351
8162
|
# @return [Google::Apis::YoutubeV3::PageInfo]
|
|
8352
8163
|
attr_accessor :page_info
|
|
8353
8164
|
|
|
8354
|
-
# The token that can be used as the value of the
|
|
8355
|
-
#
|
|
8165
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
8166
|
+
# the previous page in the result set.
|
|
8356
8167
|
# Corresponds to the JSON property `prevPageToken`
|
|
8357
8168
|
# @return [String]
|
|
8358
8169
|
attr_accessor :prev_page_token
|
|
@@ -8362,7 +8173,7 @@ module Google
|
|
|
8362
8173
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
8363
8174
|
attr_accessor :token_pagination
|
|
8364
8175
|
|
|
8365
|
-
# The
|
|
8176
|
+
# The visitorId identifies the visitor.
|
|
8366
8177
|
# Corresponds to the JSON property `visitorId`
|
|
8367
8178
|
# @return [String]
|
|
8368
8179
|
attr_accessor :visitor_id
|
|
@@ -8421,14 +8232,12 @@ module Google
|
|
|
8421
8232
|
class VideoContentDetails
|
|
8422
8233
|
include Google::Apis::Core::Hashable
|
|
8423
8234
|
|
|
8424
|
-
# The value of
|
|
8425
|
-
# has captions or not.
|
|
8235
|
+
# The value of captions indicates whether the video has captions or not.
|
|
8426
8236
|
# Corresponds to the JSON property `caption`
|
|
8427
8237
|
# @return [String]
|
|
8428
8238
|
attr_accessor :caption
|
|
8429
8239
|
|
|
8430
|
-
# Ratings schemes. The country-specific ratings are mostly for
|
|
8431
|
-
# movies and shows.
|
|
8240
|
+
# Ratings schemes. The country-specific ratings are mostly for movies and shows.
|
|
8432
8241
|
# LINT.IfChange
|
|
8433
8242
|
# Corresponds to the JSON property `contentRating`
|
|
8434
8243
|
# @return [Google::Apis::YoutubeV3::ContentRating]
|
|
@@ -8439,42 +8248,36 @@ module Google
|
|
|
8439
8248
|
# @return [Google::Apis::YoutubeV3::AccessPolicy]
|
|
8440
8249
|
attr_accessor :country_restriction
|
|
8441
8250
|
|
|
8442
|
-
# The value of
|
|
8443
|
-
#
|
|
8251
|
+
# The value of definition indicates whether the video is available in high
|
|
8252
|
+
# definition or only in standard definition.
|
|
8444
8253
|
# Corresponds to the JSON property `definition`
|
|
8445
8254
|
# @return [String]
|
|
8446
8255
|
attr_accessor :definition
|
|
8447
8256
|
|
|
8448
|
-
# The value of
|
|
8449
|
-
# available in 3D or in 2D.
|
|
8257
|
+
# The value of dimension indicates whether the video is available in 3D or in 2D.
|
|
8450
8258
|
# Corresponds to the JSON property `dimension`
|
|
8451
8259
|
# @return [String]
|
|
8452
8260
|
attr_accessor :dimension
|
|
8453
8261
|
|
|
8454
|
-
# The length of the video. The tag value is an
|
|
8455
|
-
#
|
|
8456
|
-
# the
|
|
8457
|
-
#
|
|
8458
|
-
#
|
|
8459
|
-
#
|
|
8460
|
-
# and <code>S</code> letters are both integers that specify the number of
|
|
8461
|
-
# minutes (or seconds) of the video. For example, a value of
|
|
8462
|
-
# <code>PT15M51S</code> indicates that the video is 15 minutes and 51 seconds
|
|
8463
|
-
# long.
|
|
8262
|
+
# The length of the video. The tag value is an ISO 8601 duration in the format
|
|
8263
|
+
# PT#M#S, in which the letters PT indicate that the value specifies a period of
|
|
8264
|
+
# time, and the letters M and S refer to length in minutes and seconds,
|
|
8265
|
+
# respectively. The # characters preceding the M and S letters are both integers
|
|
8266
|
+
# that specify the number of minutes (or seconds) of the video. For example, a
|
|
8267
|
+
# value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.
|
|
8464
8268
|
# Corresponds to the JSON property `duration`
|
|
8465
8269
|
# @return [String]
|
|
8466
8270
|
attr_accessor :duration
|
|
8467
8271
|
|
|
8468
|
-
# Indicates whether the video uploader has provided a custom
|
|
8469
|
-
#
|
|
8470
|
-
# This property is only visible to the video uploader.
|
|
8272
|
+
# Indicates whether the video uploader has provided a custom thumbnail image for
|
|
8273
|
+
# the video. This property is only visible to the video uploader.
|
|
8471
8274
|
# Corresponds to the JSON property `hasCustomThumbnail`
|
|
8472
8275
|
# @return [Boolean]
|
|
8473
8276
|
attr_accessor :has_custom_thumbnail
|
|
8474
8277
|
alias_method :has_custom_thumbnail?, :has_custom_thumbnail
|
|
8475
8278
|
|
|
8476
|
-
# The value of
|
|
8477
|
-
#
|
|
8279
|
+
# The value of is_license_content indicates whether the video is licensed
|
|
8280
|
+
# content.
|
|
8478
8281
|
# Corresponds to the JSON property `licensedContent`
|
|
8479
8282
|
# @return [Boolean]
|
|
8480
8283
|
attr_accessor :licensed_content
|
|
@@ -8513,20 +8316,18 @@ module Google
|
|
|
8513
8316
|
class VideoContentDetailsRegionRestriction
|
|
8514
8317
|
include Google::Apis::Core::Hashable
|
|
8515
8318
|
|
|
8516
|
-
# A list of region codes that identify countries where the video is
|
|
8517
|
-
#
|
|
8518
|
-
#
|
|
8519
|
-
#
|
|
8520
|
-
# the video is blocked in all countries.
|
|
8319
|
+
# A list of region codes that identify countries where the video is viewable. If
|
|
8320
|
+
# this property is present and a country is not listed in its value, then the
|
|
8321
|
+
# video is blocked from appearing in that country. If this property is present
|
|
8322
|
+
# and contains an empty list, the video is blocked in all countries.
|
|
8521
8323
|
# Corresponds to the JSON property `allowed`
|
|
8522
8324
|
# @return [Array<String>]
|
|
8523
8325
|
attr_accessor :allowed
|
|
8524
8326
|
|
|
8525
|
-
# A list of region codes that identify countries where the video is
|
|
8526
|
-
#
|
|
8527
|
-
#
|
|
8528
|
-
#
|
|
8529
|
-
# viewable in all countries.
|
|
8327
|
+
# A list of region codes that identify countries where the video is blocked. If
|
|
8328
|
+
# this property is present and a country is not listed in its value, then the
|
|
8329
|
+
# video is viewable in that country. If this property is present and contains an
|
|
8330
|
+
# empty list, the video is viewable in all countries.
|
|
8530
8331
|
# Corresponds to the JSON property `blocked`
|
|
8531
8332
|
# @return [Array<String>]
|
|
8532
8333
|
attr_accessor :blocked
|
|
@@ -8548,14 +8349,14 @@ module Google
|
|
|
8548
8349
|
class VideoFileDetails
|
|
8549
8350
|
include Google::Apis::Core::Hashable
|
|
8550
8351
|
|
|
8551
|
-
# A list of audio streams contained in the uploaded video file. Each item
|
|
8552
|
-
#
|
|
8352
|
+
# A list of audio streams contained in the uploaded video file. Each item in the
|
|
8353
|
+
# list contains detailed metadata about an audio stream.
|
|
8553
8354
|
# Corresponds to the JSON property `audioStreams`
|
|
8554
8355
|
# @return [Array<Google::Apis::YoutubeV3::VideoFileDetailsAudioStream>]
|
|
8555
8356
|
attr_accessor :audio_streams
|
|
8556
8357
|
|
|
8557
|
-
# The uploaded video file's combined (video and audio) bitrate in bits
|
|
8558
|
-
#
|
|
8358
|
+
# The uploaded video file's combined (video and audio) bitrate in bits per
|
|
8359
|
+
# second.
|
|
8559
8360
|
# Corresponds to the JSON property `bitrateBps`
|
|
8560
8361
|
# @return [Fixnum]
|
|
8561
8362
|
attr_accessor :bitrate_bps
|
|
@@ -8566,13 +8367,9 @@ module Google
|
|
|
8566
8367
|
attr_accessor :container
|
|
8567
8368
|
|
|
8568
8369
|
# The date and time when the uploaded video file was created. The value is
|
|
8569
|
-
# specified in
|
|
8570
|
-
#
|
|
8571
|
-
#
|
|
8572
|
-
# <li>Date only: <code>YYYY-MM-DD</code></li>
|
|
8573
|
-
# <li>Naive time: <code>YYYY-MM-DDTHH:MM:SS</code></li>
|
|
8574
|
-
# <li>Time with timezone: <code>YYYY-MM-DDTHH:MM:SS+HH:MM</code></li>
|
|
8575
|
-
# </ul>
|
|
8370
|
+
# specified in ISO 8601 format. Currently, the following ISO 8601 formats are
|
|
8371
|
+
# supported: - Date only: YYYY-MM-DD - Naive time: YYYY-MM-DDTHH:MM:SS - Time
|
|
8372
|
+
# with timezone: YYYY-MM-DDTHH:MM:SS+HH:MM
|
|
8576
8373
|
# Corresponds to the JSON property `creationTime`
|
|
8577
8374
|
# @return [String]
|
|
8578
8375
|
attr_accessor :creation_time
|
|
@@ -8588,21 +8385,21 @@ module Google
|
|
|
8588
8385
|
# @return [String]
|
|
8589
8386
|
attr_accessor :file_name
|
|
8590
8387
|
|
|
8591
|
-
# The uploaded file's size in bytes. This field is present whether
|
|
8592
|
-
#
|
|
8388
|
+
# The uploaded file's size in bytes. This field is present whether a video file
|
|
8389
|
+
# or another type of file was uploaded.
|
|
8593
8390
|
# Corresponds to the JSON property `fileSize`
|
|
8594
8391
|
# @return [Fixnum]
|
|
8595
8392
|
attr_accessor :file_size
|
|
8596
8393
|
|
|
8597
|
-
# The uploaded file's type as detected by YouTube's video processing
|
|
8598
|
-
#
|
|
8599
|
-
#
|
|
8394
|
+
# The uploaded file's type as detected by YouTube's video processing engine.
|
|
8395
|
+
# Currently, YouTube only processes video files, but this field is present
|
|
8396
|
+
# whether a video file or another type of file was uploaded.
|
|
8600
8397
|
# Corresponds to the JSON property `fileType`
|
|
8601
8398
|
# @return [String]
|
|
8602
8399
|
attr_accessor :file_type
|
|
8603
8400
|
|
|
8604
|
-
# A list of video streams contained in the uploaded video file. Each item
|
|
8605
|
-
#
|
|
8401
|
+
# A list of video streams contained in the uploaded video file. Each item in the
|
|
8402
|
+
# list contains detailed metadata about a video stream.
|
|
8606
8403
|
# Corresponds to the JSON property `videoStreams`
|
|
8607
8404
|
# @return [Array<Google::Apis::YoutubeV3::VideoFileDetailsVideoStream>]
|
|
8608
8405
|
attr_accessor :video_streams
|
|
@@ -8644,8 +8441,8 @@ module Google
|
|
|
8644
8441
|
# @return [String]
|
|
8645
8442
|
attr_accessor :codec
|
|
8646
8443
|
|
|
8647
|
-
# A value that uniquely identifies a video vendor. Typically, the value
|
|
8648
|
-
#
|
|
8444
|
+
# A value that uniquely identifies a video vendor. Typically, the value is a
|
|
8445
|
+
# four-letter vendor code.
|
|
8649
8446
|
# Corresponds to the JSON property `vendor`
|
|
8650
8447
|
# @return [String]
|
|
8651
8448
|
attr_accessor :vendor
|
|
@@ -8667,8 +8464,8 @@ module Google
|
|
|
8667
8464
|
class VideoFileDetailsVideoStream
|
|
8668
8465
|
include Google::Apis::Core::Hashable
|
|
8669
8466
|
|
|
8670
|
-
# The video content's display aspect ratio, which specifies the aspect
|
|
8671
|
-
#
|
|
8467
|
+
# The video content's display aspect ratio, which specifies the aspect ratio in
|
|
8468
|
+
# which the video should be displayed.
|
|
8672
8469
|
# Corresponds to the JSON property `aspectRatio`
|
|
8673
8470
|
# @return [Float]
|
|
8674
8471
|
attr_accessor :aspect_ratio
|
|
@@ -8693,21 +8490,20 @@ module Google
|
|
|
8693
8490
|
# @return [Fixnum]
|
|
8694
8491
|
attr_accessor :height_pixels
|
|
8695
8492
|
|
|
8696
|
-
# The amount that YouTube needs to rotate the original source content
|
|
8697
|
-
#
|
|
8493
|
+
# The amount that YouTube needs to rotate the original source content to
|
|
8494
|
+
# properly display the video.
|
|
8698
8495
|
# Corresponds to the JSON property `rotation`
|
|
8699
8496
|
# @return [String]
|
|
8700
8497
|
attr_accessor :rotation
|
|
8701
8498
|
|
|
8702
|
-
# A value that uniquely identifies a video vendor. Typically, the value is
|
|
8703
|
-
#
|
|
8499
|
+
# A value that uniquely identifies a video vendor. Typically, the value is a
|
|
8500
|
+
# four-letter vendor code.
|
|
8704
8501
|
# Corresponds to the JSON property `vendor`
|
|
8705
8502
|
# @return [String]
|
|
8706
8503
|
attr_accessor :vendor
|
|
8707
8504
|
|
|
8708
|
-
# The encoded video content's width in pixels. You can calculate the
|
|
8709
|
-
#
|
|
8710
|
-
# <code>width_pixels</code> / <code>height_pixels</code>.
|
|
8505
|
+
# The encoded video content's width in pixels. You can calculate the video's
|
|
8506
|
+
# encoding aspect ratio as width_pixels / height_pixels.
|
|
8711
8507
|
# Corresponds to the JSON property `widthPixels`
|
|
8712
8508
|
# @return [Fixnum]
|
|
8713
8509
|
attr_accessor :width_pixels
|
|
@@ -8748,14 +8544,14 @@ module Google
|
|
|
8748
8544
|
# @return [Array<Google::Apis::YoutubeV3::Video>]
|
|
8749
8545
|
attr_accessor :items
|
|
8750
8546
|
|
|
8751
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
8752
|
-
#
|
|
8547
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
8548
|
+
# videoListResponse".
|
|
8753
8549
|
# Corresponds to the JSON property `kind`
|
|
8754
8550
|
# @return [String]
|
|
8755
8551
|
attr_accessor :kind
|
|
8756
8552
|
|
|
8757
|
-
# The token that can be used as the value of the
|
|
8758
|
-
#
|
|
8553
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
8554
|
+
# the next page in the result set.
|
|
8759
8555
|
# Corresponds to the JSON property `nextPageToken`
|
|
8760
8556
|
# @return [String]
|
|
8761
8557
|
attr_accessor :next_page_token
|
|
@@ -8766,8 +8562,8 @@ module Google
|
|
|
8766
8562
|
# @return [Google::Apis::YoutubeV3::PageInfo]
|
|
8767
8563
|
attr_accessor :page_info
|
|
8768
8564
|
|
|
8769
|
-
# The token that can be used as the value of the
|
|
8770
|
-
#
|
|
8565
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
|
8566
|
+
# the previous page in the result set.
|
|
8771
8567
|
# Corresponds to the JSON property `prevPageToken`
|
|
8772
8568
|
# @return [String]
|
|
8773
8569
|
attr_accessor :prev_page_token
|
|
@@ -8777,7 +8573,7 @@ module Google
|
|
|
8777
8573
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
8778
8574
|
attr_accessor :token_pagination
|
|
8779
8575
|
|
|
8780
|
-
# The
|
|
8576
|
+
# The visitorId identifies the visitor.
|
|
8781
8577
|
# Corresponds to the JSON property `visitorId`
|
|
8782
8578
|
# @return [String]
|
|
8783
8579
|
attr_accessor :visitor_id
|
|
@@ -8804,55 +8600,47 @@ module Google
|
|
|
8804
8600
|
class VideoLiveStreamingDetails
|
|
8805
8601
|
include Google::Apis::Core::Hashable
|
|
8806
8602
|
|
|
8807
|
-
# The ID of the currently active live chat attached to this video. This
|
|
8808
|
-
#
|
|
8809
|
-
#
|
|
8810
|
-
#
|
|
8811
|
-
#
|
|
8812
|
-
#
|
|
8603
|
+
# The ID of the currently active live chat attached to this video. This field is
|
|
8604
|
+
# filled only if the video is a currently live broadcast that has live chat.
|
|
8605
|
+
# Once the broadcast transitions to complete this field will be removed and the
|
|
8606
|
+
# live chat closed down. For persistent broadcasts that live chat id will no
|
|
8607
|
+
# longer be tied to this video but rather to the new video being displayed at
|
|
8608
|
+
# the persistent page.
|
|
8813
8609
|
# Corresponds to the JSON property `activeLiveChatId`
|
|
8814
8610
|
# @return [String]
|
|
8815
8611
|
attr_accessor :active_live_chat_id
|
|
8816
8612
|
|
|
8817
|
-
# The time that the broadcast actually ended. The value is specified
|
|
8818
|
-
#
|
|
8819
|
-
# format. This value will not be
|
|
8820
|
-
# available until the broadcast is over.
|
|
8613
|
+
# The time that the broadcast actually ended. The value is specified in ISO 8601
|
|
8614
|
+
# format. This value will not be available until the broadcast is over.
|
|
8821
8615
|
# Corresponds to the JSON property `actualEndTime`
|
|
8822
8616
|
# @return [String]
|
|
8823
8617
|
attr_accessor :actual_end_time
|
|
8824
8618
|
|
|
8825
|
-
# The time that the broadcast actually started. The value is specified
|
|
8826
|
-
#
|
|
8827
|
-
# format. This value will not be
|
|
8828
|
-
# available until the broadcast begins.
|
|
8619
|
+
# The time that the broadcast actually started. The value is specified in ISO
|
|
8620
|
+
# 8601 format. This value will not be available until the broadcast begins.
|
|
8829
8621
|
# Corresponds to the JSON property `actualStartTime`
|
|
8830
8622
|
# @return [String]
|
|
8831
8623
|
attr_accessor :actual_start_time
|
|
8832
8624
|
|
|
8833
|
-
# The number of viewers currently watching the broadcast. The property and
|
|
8834
|
-
#
|
|
8835
|
-
#
|
|
8836
|
-
#
|
|
8837
|
-
#
|
|
8838
|
-
#
|
|
8839
|
-
# ended.
|
|
8625
|
+
# The number of viewers currently watching the broadcast. The property and its
|
|
8626
|
+
# value will be present if the broadcast has current viewers and the broadcast
|
|
8627
|
+
# owner has not hidden the viewcount for the video. Note that YouTube stops
|
|
8628
|
+
# tracking the number of concurrent viewers for a broadcast when the broadcast
|
|
8629
|
+
# ends. So, this property would not identify the number of viewers watching an
|
|
8630
|
+
# archived video of a live broadcast that already ended.
|
|
8840
8631
|
# Corresponds to the JSON property `concurrentViewers`
|
|
8841
8632
|
# @return [Fixnum]
|
|
8842
8633
|
attr_accessor :concurrent_viewers
|
|
8843
8634
|
|
|
8844
|
-
# The time that the broadcast is scheduled to end. The value is specified
|
|
8845
|
-
#
|
|
8846
|
-
#
|
|
8847
|
-
# the property is not present, then the broadcast is scheduled to continue
|
|
8848
|
-
# indefinitely.
|
|
8635
|
+
# The time that the broadcast is scheduled to end. The value is specified in ISO
|
|
8636
|
+
# 8601 format. If the value is empty or the property is not present, then the
|
|
8637
|
+
# broadcast is scheduled to continue indefinitely.
|
|
8849
8638
|
# Corresponds to the JSON property `scheduledEndTime`
|
|
8850
8639
|
# @return [String]
|
|
8851
8640
|
attr_accessor :scheduled_end_time
|
|
8852
8641
|
|
|
8853
|
-
# The time that the broadcast is scheduled to begin. The value is specified
|
|
8854
|
-
#
|
|
8855
|
-
# format.
|
|
8642
|
+
# The time that the broadcast is scheduled to begin. The value is specified in
|
|
8643
|
+
# ISO 8601 format.
|
|
8856
8644
|
# Corresponds to the JSON property `scheduledStartTime`
|
|
8857
8645
|
# @return [String]
|
|
8858
8646
|
attr_accessor :scheduled_start_time
|
|
@@ -8925,8 +8713,7 @@ module Google
|
|
|
8925
8713
|
# @return [Fixnum]
|
|
8926
8714
|
attr_accessor :embed_height
|
|
8927
8715
|
|
|
8928
|
-
# An <
|
|
8929
|
-
# play the video.
|
|
8716
|
+
# An <iframe> tag that embeds a player that will play the video.
|
|
8930
8717
|
# Corresponds to the JSON property `embedHtml`
|
|
8931
8718
|
# @return [String]
|
|
8932
8719
|
attr_accessor :embed_html
|
|
@@ -8953,34 +8740,32 @@ module Google
|
|
|
8953
8740
|
class VideoProcessingDetails
|
|
8954
8741
|
include Google::Apis::Core::Hashable
|
|
8955
8742
|
|
|
8956
|
-
# This value indicates whether video editing suggestions, which might
|
|
8957
|
-
#
|
|
8958
|
-
#
|
|
8959
|
-
#
|
|
8743
|
+
# This value indicates whether video editing suggestions, which might improve
|
|
8744
|
+
# video quality or the playback experience, are available for the video. You can
|
|
8745
|
+
# retrieve these suggestions by requesting the suggestions part in your videos.
|
|
8746
|
+
# list() request.
|
|
8960
8747
|
# Corresponds to the JSON property `editorSuggestionsAvailability`
|
|
8961
8748
|
# @return [String]
|
|
8962
8749
|
attr_accessor :editor_suggestions_availability
|
|
8963
8750
|
|
|
8964
|
-
# This value indicates whether file details are available for the uploaded
|
|
8965
|
-
#
|
|
8966
|
-
#
|
|
8751
|
+
# This value indicates whether file details are available for the uploaded video.
|
|
8752
|
+
# You can retrieve a video's file details by requesting the fileDetails part in
|
|
8753
|
+
# your videos.list() request.
|
|
8967
8754
|
# Corresponds to the JSON property `fileDetailsAvailability`
|
|
8968
8755
|
# @return [String]
|
|
8969
8756
|
attr_accessor :file_details_availability
|
|
8970
8757
|
|
|
8971
|
-
# The reason that YouTube failed to process the video. This property will
|
|
8972
|
-
#
|
|
8973
|
-
# property's value is <code>failed</code>.
|
|
8758
|
+
# The reason that YouTube failed to process the video. This property will only
|
|
8759
|
+
# have a value if the processingStatus property's value is failed.
|
|
8974
8760
|
# Corresponds to the JSON property `processingFailureReason`
|
|
8975
8761
|
# @return [String]
|
|
8976
8762
|
attr_accessor :processing_failure_reason
|
|
8977
8763
|
|
|
8978
8764
|
# This value indicates whether the video processing engine has generated
|
|
8979
|
-
# suggestions that might improve YouTube's ability to process the
|
|
8980
|
-
#
|
|
8981
|
-
#
|
|
8982
|
-
# suggestions
|
|
8983
|
-
# <code>videos.list()</code> request.
|
|
8765
|
+
# suggestions that might improve YouTube's ability to process the the video,
|
|
8766
|
+
# warnings that explain video processing problems, or errors that cause video
|
|
8767
|
+
# processing problems. You can retrieve these suggestions by requesting the
|
|
8768
|
+
# suggestions part in your videos.list() request.
|
|
8984
8769
|
# Corresponds to the JSON property `processingIssuesAvailability`
|
|
8985
8770
|
# @return [String]
|
|
8986
8771
|
attr_accessor :processing_issues_availability
|
|
@@ -8990,23 +8775,22 @@ module Google
|
|
|
8990
8775
|
# @return [Google::Apis::YoutubeV3::VideoProcessingDetailsProcessingProgress]
|
|
8991
8776
|
attr_accessor :processing_progress
|
|
8992
8777
|
|
|
8993
|
-
# The video's processing status. This value indicates whether YouTube was
|
|
8994
|
-
#
|
|
8778
|
+
# The video's processing status. This value indicates whether YouTube was able
|
|
8779
|
+
# to process the video or if the video is still being processed.
|
|
8995
8780
|
# Corresponds to the JSON property `processingStatus`
|
|
8996
8781
|
# @return [String]
|
|
8997
8782
|
attr_accessor :processing_status
|
|
8998
8783
|
|
|
8999
|
-
# This value indicates whether keyword (tag) suggestions are available for
|
|
9000
|
-
#
|
|
9001
|
-
#
|
|
9002
|
-
#
|
|
9003
|
-
# <code>videos.list()</code> request.
|
|
8784
|
+
# This value indicates whether keyword (tag) suggestions are available for the
|
|
8785
|
+
# video. Tags can be added to a video's metadata to make it easier for other
|
|
8786
|
+
# users to find the video. You can retrieve these suggestions by requesting the
|
|
8787
|
+
# suggestions part in your videos.list() request.
|
|
9004
8788
|
# Corresponds to the JSON property `tagSuggestionsAvailability`
|
|
9005
8789
|
# @return [String]
|
|
9006
8790
|
attr_accessor :tag_suggestions_availability
|
|
9007
8791
|
|
|
9008
|
-
# This value indicates whether thumbnail images have been generated for
|
|
9009
|
-
#
|
|
8792
|
+
# This value indicates whether thumbnail images have been generated for the
|
|
8793
|
+
# video.
|
|
9010
8794
|
# Corresponds to the JSON property `thumbnailsAvailability`
|
|
9011
8795
|
# @return [String]
|
|
9012
8796
|
attr_accessor :thumbnails_availability
|
|
@@ -9032,27 +8816,25 @@ module Google
|
|
|
9032
8816
|
class VideoProcessingDetailsProcessingProgress
|
|
9033
8817
|
include Google::Apis::Core::Hashable
|
|
9034
8818
|
|
|
9035
|
-
# The number of parts of the video that YouTube has already processed.
|
|
9036
|
-
#
|
|
9037
|
-
#
|
|
9038
|
-
#
|
|
9039
|
-
#
|
|
9040
|
-
#
|
|
9041
|
-
# processed, it is possible that the calculated progress could
|
|
9042
|
-
# periodically decrease while YouTube processes a video.
|
|
8819
|
+
# The number of parts of the video that YouTube has already processed. You can
|
|
8820
|
+
# estimate the percentage of the video that YouTube has already processed by
|
|
8821
|
+
# calculating: 100 * parts_processed / parts_total Note that since the estimated
|
|
8822
|
+
# number of parts could increase without a corresponding increase in the number
|
|
8823
|
+
# of parts that have already been processed, it is possible that the calculated
|
|
8824
|
+
# progress could periodically decrease while YouTube processes a video.
|
|
9043
8825
|
# Corresponds to the JSON property `partsProcessed`
|
|
9044
8826
|
# @return [Fixnum]
|
|
9045
8827
|
attr_accessor :parts_processed
|
|
9046
8828
|
|
|
9047
|
-
# An estimate of the total number of parts that need to be processed
|
|
9048
|
-
#
|
|
9049
|
-
#
|
|
8829
|
+
# An estimate of the total number of parts that need to be processed for the
|
|
8830
|
+
# video. The number may be updated with more precise estimates while YouTube
|
|
8831
|
+
# processes the video.
|
|
9050
8832
|
# Corresponds to the JSON property `partsTotal`
|
|
9051
8833
|
# @return [Fixnum]
|
|
9052
8834
|
attr_accessor :parts_total
|
|
9053
8835
|
|
|
9054
|
-
# An estimate of the amount of time, in millseconds, that YouTube needs
|
|
9055
|
-
#
|
|
8836
|
+
# An estimate of the amount of time, in millseconds, that YouTube needs to
|
|
8837
|
+
# finish processing the video.
|
|
9056
8838
|
# Corresponds to the JSON property `timeLeftMs`
|
|
9057
8839
|
# @return [Fixnum]
|
|
9058
8840
|
attr_accessor :time_left_ms
|
|
@@ -9132,13 +8914,13 @@ module Google
|
|
|
9132
8914
|
# @return [Array<Google::Apis::YoutubeV3::VideoRating>]
|
|
9133
8915
|
attr_accessor :items
|
|
9134
8916
|
|
|
9135
|
-
# Identifies what kind of resource this is. Value: the fixed string
|
|
9136
|
-
#
|
|
8917
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
|
8918
|
+
# videoGetRatingResponse".
|
|
9137
8919
|
# Corresponds to the JSON property `kind`
|
|
9138
8920
|
# @return [String]
|
|
9139
8921
|
attr_accessor :kind
|
|
9140
8922
|
|
|
9141
|
-
# The
|
|
8923
|
+
# The visitorId identifies the visitor.
|
|
9142
8924
|
# Corresponds to the JSON property `visitorId`
|
|
9143
8925
|
# @return [String]
|
|
9144
8926
|
attr_accessor :visitor_id
|
|
@@ -9171,9 +8953,8 @@ module Google
|
|
|
9171
8953
|
# @return [String]
|
|
9172
8954
|
attr_accessor :location_description
|
|
9173
8955
|
|
|
9174
|
-
# The date and time when the video was recorded. The value is specified in
|
|
9175
|
-
#
|
|
9176
|
-
# (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>) format.
|
|
8956
|
+
# The date and time when the video was recorded. The value is specified in ISO
|
|
8957
|
+
# 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
|
|
9177
8958
|
# Corresponds to the JSON property `recordingDate`
|
|
9178
8959
|
# @return [String]
|
|
9179
8960
|
attr_accessor :recording_date
|
|
@@ -9195,14 +8976,13 @@ module Google
|
|
|
9195
8976
|
class VideoSnippet
|
|
9196
8977
|
include Google::Apis::Core::Hashable
|
|
9197
8978
|
|
|
9198
|
-
# The YouTube
|
|
9199
|
-
# category</a> associated with the video.
|
|
8979
|
+
# The YouTube video category associated with the video.
|
|
9200
8980
|
# Corresponds to the JSON property `categoryId`
|
|
9201
8981
|
# @return [String]
|
|
9202
8982
|
attr_accessor :category_id
|
|
9203
8983
|
|
|
9204
|
-
# The ID that YouTube uses to uniquely identify the channel that the
|
|
9205
|
-
#
|
|
8984
|
+
# The ID that YouTube uses to uniquely identify the channel that the video was
|
|
8985
|
+
# uploaded to.
|
|
9206
8986
|
# Corresponds to the JSON property `channelId`
|
|
9207
8987
|
# @return [String]
|
|
9208
8988
|
attr_accessor :channel_id
|
|
@@ -9212,8 +8992,8 @@ module Google
|
|
|
9212
8992
|
# @return [String]
|
|
9213
8993
|
attr_accessor :channel_title
|
|
9214
8994
|
|
|
9215
|
-
# The
|
|
9216
|
-
#
|
|
8995
|
+
# The default_audio_language property specifies the language spoken in the video'
|
|
8996
|
+
# s default audio track.
|
|
9217
8997
|
# Corresponds to the JSON property `defaultAudioLanguage`
|
|
9218
8998
|
# @return [String]
|
|
9219
8999
|
attr_accessor :default_audio_language
|
|
@@ -9223,14 +9003,13 @@ module Google
|
|
|
9223
9003
|
# @return [String]
|
|
9224
9004
|
attr_accessor :default_language
|
|
9225
9005
|
|
|
9226
|
-
# The video's description.
|
|
9227
|
-
# @mutable youtube.videos.insert youtube.videos.update
|
|
9006
|
+
# The video's description. @mutable youtube.videos.insert youtube.videos.update
|
|
9228
9007
|
# Corresponds to the JSON property `description`
|
|
9229
9008
|
# @return [String]
|
|
9230
9009
|
attr_accessor :description
|
|
9231
9010
|
|
|
9232
|
-
# Indicates if the video is an upcoming/active live broadcast.
|
|
9233
|
-
#
|
|
9011
|
+
# Indicates if the video is an upcoming/active live broadcast. Or it's "none" if
|
|
9012
|
+
# the video is not an upcoming/active live broadcast.
|
|
9234
9013
|
# Corresponds to the JSON property `liveBroadcastContent`
|
|
9235
9014
|
# @return [String]
|
|
9236
9015
|
attr_accessor :live_broadcast_content
|
|
@@ -9240,9 +9019,8 @@ module Google
|
|
|
9240
9019
|
# @return [Google::Apis::YoutubeV3::VideoLocalization]
|
|
9241
9020
|
attr_accessor :localized
|
|
9242
9021
|
|
|
9243
|
-
# The date and time that the video was uploaded. The value is specified
|
|
9244
|
-
#
|
|
9245
|
-
# format.
|
|
9022
|
+
# The date and time that the video was uploaded. The value is specified in ISO
|
|
9023
|
+
# 8601 format.
|
|
9246
9024
|
# Corresponds to the JSON property `publishedAt`
|
|
9247
9025
|
# @return [String]
|
|
9248
9026
|
attr_accessor :published_at
|
|
@@ -9257,8 +9035,7 @@ module Google
|
|
|
9257
9035
|
# @return [Google::Apis::YoutubeV3::ThumbnailDetails]
|
|
9258
9036
|
attr_accessor :thumbnails
|
|
9259
9037
|
|
|
9260
|
-
# The video's title.
|
|
9261
|
-
# @mutable youtube.videos.insert youtube.videos.update
|
|
9038
|
+
# The video's title. @mutable youtube.videos.insert youtube.videos.update
|
|
9262
9039
|
# Corresponds to the JSON property `title`
|
|
9263
9040
|
# @return [String]
|
|
9264
9041
|
attr_accessor :title
|
|
@@ -9294,20 +9071,19 @@ module Google
|
|
|
9294
9071
|
# @return [Fixnum]
|
|
9295
9072
|
attr_accessor :comment_count
|
|
9296
9073
|
|
|
9297
|
-
# The number of users who have indicated that they disliked the video by
|
|
9298
|
-
#
|
|
9074
|
+
# The number of users who have indicated that they disliked the video by giving
|
|
9075
|
+
# it a negative rating.
|
|
9299
9076
|
# Corresponds to the JSON property `dislikeCount`
|
|
9300
9077
|
# @return [Fixnum]
|
|
9301
9078
|
attr_accessor :dislike_count
|
|
9302
9079
|
|
|
9303
|
-
# The number of users who currently have the video marked as a favorite
|
|
9304
|
-
# video.
|
|
9080
|
+
# The number of users who currently have the video marked as a favorite video.
|
|
9305
9081
|
# Corresponds to the JSON property `favoriteCount`
|
|
9306
9082
|
# @return [Fixnum]
|
|
9307
9083
|
attr_accessor :favorite_count
|
|
9308
9084
|
|
|
9309
|
-
# The number of users who have indicated that they liked the video by
|
|
9310
|
-
#
|
|
9085
|
+
# The number of users who have indicated that they liked the video by giving it
|
|
9086
|
+
# a positive rating.
|
|
9311
9087
|
# Corresponds to the JSON property `likeCount`
|
|
9312
9088
|
# @return [Fixnum]
|
|
9313
9089
|
attr_accessor :like_count
|
|
@@ -9331,27 +9107,24 @@ module Google
|
|
|
9331
9107
|
end
|
|
9332
9108
|
end
|
|
9333
9109
|
|
|
9334
|
-
# Basic details about a video category, such as its localized title.
|
|
9335
|
-
# Next Id: 17
|
|
9110
|
+
# Basic details about a video category, such as its localized title. Next Id: 17
|
|
9336
9111
|
class VideoStatus
|
|
9337
9112
|
include Google::Apis::Core::Hashable
|
|
9338
9113
|
|
|
9339
|
-
# This value indicates if the video can be embedded on another website.
|
|
9340
|
-
#
|
|
9114
|
+
# This value indicates if the video can be embedded on another website. @mutable
|
|
9115
|
+
# youtube.videos.insert youtube.videos.update
|
|
9341
9116
|
# Corresponds to the JSON property `embeddable`
|
|
9342
9117
|
# @return [Boolean]
|
|
9343
9118
|
attr_accessor :embeddable
|
|
9344
9119
|
alias_method :embeddable?, :embeddable
|
|
9345
9120
|
|
|
9346
|
-
# This value explains why a video failed to upload. This property is
|
|
9347
|
-
#
|
|
9348
|
-
# the upload failed.
|
|
9121
|
+
# This value explains why a video failed to upload. This property is only
|
|
9122
|
+
# present if the uploadStatus property indicates that the upload failed.
|
|
9349
9123
|
# Corresponds to the JSON property `failureReason`
|
|
9350
9124
|
# @return [String]
|
|
9351
9125
|
attr_accessor :failure_reason
|
|
9352
9126
|
|
|
9353
|
-
# The video's license.
|
|
9354
|
-
# @mutable youtube.videos.insert youtube.videos.update
|
|
9127
|
+
# The video's license. @mutable youtube.videos.insert youtube.videos.update
|
|
9355
9128
|
# Corresponds to the JSON property `license`
|
|
9356
9129
|
# @return [String]
|
|
9357
9130
|
attr_accessor :license
|
|
@@ -9367,26 +9140,24 @@ module Google
|
|
|
9367
9140
|
# @return [String]
|
|
9368
9141
|
attr_accessor :privacy_status
|
|
9369
9142
|
|
|
9370
|
-
# This value indicates if the extended video statistics on the watch page
|
|
9371
|
-
#
|
|
9372
|
-
#
|
|
9373
|
-
# @mutable youtube.videos.insert youtube.videos.update
|
|
9143
|
+
# This value indicates if the extended video statistics on the watch page can be
|
|
9144
|
+
# viewed by everyone. Note that the view count, likes, etc will still be visible
|
|
9145
|
+
# if this is disabled. @mutable youtube.videos.insert youtube.videos.update
|
|
9374
9146
|
# Corresponds to the JSON property `publicStatsViewable`
|
|
9375
9147
|
# @return [Boolean]
|
|
9376
9148
|
attr_accessor :public_stats_viewable
|
|
9377
9149
|
alias_method :public_stats_viewable?, :public_stats_viewable
|
|
9378
9150
|
|
|
9379
|
-
# The date and time when the video is scheduled to publish. It can be set
|
|
9380
|
-
#
|
|
9381
|
-
#
|
|
9382
|
-
# format.
|
|
9151
|
+
# The date and time when the video is scheduled to publish. It can be set only
|
|
9152
|
+
# if the privacy status of the video is private. The value is specified in ISO
|
|
9153
|
+
# 8601 format.
|
|
9383
9154
|
# Corresponds to the JSON property `publishAt`
|
|
9384
9155
|
# @return [String]
|
|
9385
9156
|
attr_accessor :publish_at
|
|
9386
9157
|
|
|
9387
|
-
# This value explains why YouTube rejected an uploaded video. This
|
|
9388
|
-
#
|
|
9389
|
-
#
|
|
9158
|
+
# This value explains why YouTube rejected an uploaded video. This property is
|
|
9159
|
+
# only present if the uploadStatus property indicates that the upload was
|
|
9160
|
+
# rejected.
|
|
9390
9161
|
# Corresponds to the JSON property `rejectionReason`
|
|
9391
9162
|
# @return [String]
|
|
9392
9163
|
attr_accessor :rejection_reason
|
|
@@ -9421,45 +9192,43 @@ module Google
|
|
|
9421
9192
|
end
|
|
9422
9193
|
end
|
|
9423
9194
|
|
|
9424
|
-
# Specifies suggestions on how to improve video content,
|
|
9425
|
-
#
|
|
9195
|
+
# Specifies suggestions on how to improve video content, including encoding
|
|
9196
|
+
# hints, tag suggestions, and editor suggestions.
|
|
9426
9197
|
class VideoSuggestions
|
|
9427
9198
|
include Google::Apis::Core::Hashable
|
|
9428
9199
|
|
|
9429
|
-
# A list of video editing operations that might improve the video quality
|
|
9430
|
-
#
|
|
9200
|
+
# A list of video editing operations that might improve the video quality or
|
|
9201
|
+
# playback experience of the uploaded video.
|
|
9431
9202
|
# Corresponds to the JSON property `editorSuggestions`
|
|
9432
9203
|
# @return [Array<String>]
|
|
9433
9204
|
attr_accessor :editor_suggestions
|
|
9434
9205
|
|
|
9435
|
-
# A list of errors that will prevent YouTube from successfully processing
|
|
9436
|
-
#
|
|
9437
|
-
#
|
|
9438
|
-
#
|
|
9439
|
-
# <code>failed</code>.
|
|
9206
|
+
# A list of errors that will prevent YouTube from successfully processing the
|
|
9207
|
+
# uploaded video video. These errors indicate that, regardless of the video's
|
|
9208
|
+
# current processing status, eventually, that status will almost certainly be
|
|
9209
|
+
# failed.
|
|
9440
9210
|
# Corresponds to the JSON property `processingErrors`
|
|
9441
9211
|
# @return [Array<String>]
|
|
9442
9212
|
attr_accessor :processing_errors
|
|
9443
9213
|
|
|
9444
|
-
# A list of suggestions that may improve YouTube's ability to process the
|
|
9445
|
-
# video.
|
|
9214
|
+
# A list of suggestions that may improve YouTube's ability to process the video.
|
|
9446
9215
|
# Corresponds to the JSON property `processingHints`
|
|
9447
9216
|
# @return [Array<String>]
|
|
9448
9217
|
attr_accessor :processing_hints
|
|
9449
9218
|
|
|
9450
|
-
# A list of reasons why YouTube may have difficulty transcoding the
|
|
9451
|
-
#
|
|
9452
|
-
#
|
|
9453
|
-
#
|
|
9454
|
-
# to
|
|
9455
|
-
#
|
|
9219
|
+
# A list of reasons why YouTube may have difficulty transcoding the uploaded
|
|
9220
|
+
# video or that might result in an erroneous transcoding. These warnings are
|
|
9221
|
+
# generated before YouTube actually processes the uploaded video file. In
|
|
9222
|
+
# addition, they identify issues that are unlikely to cause the video processing
|
|
9223
|
+
# to fail but that might cause problems such as sync issues, video artifacts, or
|
|
9224
|
+
# a missing audio track.
|
|
9456
9225
|
# Corresponds to the JSON property `processingWarnings`
|
|
9457
9226
|
# @return [Array<String>]
|
|
9458
9227
|
attr_accessor :processing_warnings
|
|
9459
9228
|
|
|
9460
|
-
# A list of keyword tags that could be added to the video's metadata to
|
|
9461
|
-
#
|
|
9462
|
-
#
|
|
9229
|
+
# A list of keyword tags that could be added to the video's metadata to increase
|
|
9230
|
+
# the likelihood that users will locate your video when searching or browsing on
|
|
9231
|
+
# YouTube.
|
|
9463
9232
|
# Corresponds to the JSON property `tagSuggestions`
|
|
9464
9233
|
# @return [Array<Google::Apis::YoutubeV3::VideoSuggestionsTagSuggestion>]
|
|
9465
9234
|
attr_accessor :tag_suggestions
|
|
@@ -9483,10 +9252,10 @@ module Google
|
|
|
9483
9252
|
include Google::Apis::Core::Hashable
|
|
9484
9253
|
|
|
9485
9254
|
# A set of video categories for which the tag is relevant. You can use this
|
|
9486
|
-
# information to display appropriate tag suggestions based on the video
|
|
9487
|
-
#
|
|
9488
|
-
#
|
|
9489
|
-
#
|
|
9255
|
+
# information to display appropriate tag suggestions based on the video category
|
|
9256
|
+
# that the video uploader associates with the video. By default, tag suggestions
|
|
9257
|
+
# are relevant for all categories if there are no restricts defined for the
|
|
9258
|
+
# keyword.
|
|
9490
9259
|
# Corresponds to the JSON property `categoryRestricts`
|
|
9491
9260
|
# @return [Array<String>]
|
|
9492
9261
|
attr_accessor :category_restricts
|
|
@@ -9511,25 +9280,24 @@ module Google
|
|
|
9511
9280
|
class VideoTopicDetails
|
|
9512
9281
|
include Google::Apis::Core::Hashable
|
|
9513
9282
|
|
|
9514
|
-
# Similar to topic_id, except that these topics are merely relevant to the
|
|
9515
|
-
#
|
|
9516
|
-
#
|
|
9517
|
-
# href="http://wiki.freebase.com/wiki/Topic_API">Freebase Topic API</a>.
|
|
9283
|
+
# Similar to topic_id, except that these topics are merely relevant to the video.
|
|
9284
|
+
# These are topics that may be mentioned in, or appear in the video. You can
|
|
9285
|
+
# retrieve information about each topic using Freebase Topic API.
|
|
9518
9286
|
# Corresponds to the JSON property `relevantTopicIds`
|
|
9519
9287
|
# @return [Array<String>]
|
|
9520
9288
|
attr_accessor :relevant_topic_ids
|
|
9521
9289
|
|
|
9522
|
-
# A list of Wikipedia URLs that provide a high-level description of the
|
|
9523
|
-
#
|
|
9290
|
+
# A list of Wikipedia URLs that provide a high-level description of the video's
|
|
9291
|
+
# content.
|
|
9524
9292
|
# Corresponds to the JSON property `topicCategories`
|
|
9525
9293
|
# @return [Array<String>]
|
|
9526
9294
|
attr_accessor :topic_categories
|
|
9527
9295
|
|
|
9528
9296
|
# A list of Freebase topic IDs that are centrally associated with the video.
|
|
9529
|
-
# These are topics that are centrally featured in the video, and it can be
|
|
9530
|
-
#
|
|
9531
|
-
#
|
|
9532
|
-
#
|
|
9297
|
+
# These are topics that are centrally featured in the video, and it can be said
|
|
9298
|
+
# that the video is mainly about each of these. You can retrieve information
|
|
9299
|
+
# about each topic using the < a href="http://wiki.freebase.com/wiki/Topic_API">
|
|
9300
|
+
# Freebase Topic API.
|
|
9533
9301
|
# Corresponds to the JSON property `topicIds`
|
|
9534
9302
|
# @return [Array<String>]
|
|
9535
9303
|
attr_accessor :topic_ids
|