google-api-client 0.9.8 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -8
- data/CHANGELOG.md +84 -0
- data/Gemfile +10 -2
- data/README.md +10 -2
- data/api_names.yaml +37172 -135
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
- data/generated/google/apis/admin_directory_v1/service.rb +41 -2
- data/generated/google/apis/admin_reports_v1.rb +5 -5
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +379 -3
- data/generated/google/apis/analytics_v3/representations.rb +136 -0
- data/generated/google/apis/analytics_v3/service.rb +256 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
- data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
- data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
- data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
- data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
- data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
- data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +360 -38
- data/generated/google/apis/bigquery_v2/representations.rb +106 -0
- data/generated/google/apis/bigquery_v2/service.rb +18 -4
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +83 -0
- data/generated/google/apis/books_v1/representations.rb +35 -0
- data/generated/google/apis/books_v1/service.rb +7 -3
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +208 -5
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
- data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
- data/generated/google/apis/civicinfo_v2/service.rb +27 -6
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -761
- data/generated/google/apis/classroom_v1/representations.rb +263 -198
- data/generated/google/apis/classroom_v1/service.rb +1349 -672
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
- data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
- data/generated/google/apis/clouddebugger_v2.rb +5 -8
- data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
- data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
- data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
- data/generated/google/apis/cloudtrace_v1.rb +9 -9
- data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
- data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +7007 -3648
- data/generated/google/apis/compute_beta/representations.rb +1459 -120
- data/generated/google/apis/compute_beta/service.rb +7943 -3726
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2567 -370
- data/generated/google/apis/compute_v1/representations.rb +855 -0
- data/generated/google/apis/compute_v1/service.rb +6388 -2908
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +287 -16
- data/generated/google/apis/container_v1/representations.rb +113 -2
- data/generated/google/apis/container_v1/service.rb +130 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +778 -10
- data/generated/google/apis/content_v2/representations.rb +339 -0
- data/generated/google/apis/content_v2/service.rb +364 -49
- data/generated/google/apis/dataflow_v1b3.rb +37 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
- data/generated/google/apis/dataproc_v1/representations.rb +299 -225
- data/generated/google/apis/dataproc_v1/service.rb +277 -192
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1289 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
- data/generated/google/apis/dfareporting_v2_7.rb +40 -0
- data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
- data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
- data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +43 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
- data/generated/google/apis/dns_v2beta1/service.rb +768 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +595 -37
- data/generated/google/apis/drive_v2/representations.rb +140 -0
- data/generated/google/apis/drive_v2/service.rb +406 -40
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +507 -40
- data/generated/google/apis/drive_v3/representations.rb +105 -0
- data/generated/google/apis/drive_v3/service.rb +326 -29
- data/generated/google/apis/fitness_v1.rb +38 -2
- data/generated/google/apis/fitness_v1/classes.rb +65 -7
- data/generated/google/apis/fitness_v1/representations.rb +20 -0
- data/generated/google/apis/fitness_v1/service.rb +17 -18
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +10 -12
- data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
- data/generated/google/apis/genomics_v1/representations.rb +468 -496
- data/generated/google/apis/genomics_v1/service.rb +978 -882
- data/generated/google/apis/gmail_v1.rb +11 -2
- data/generated/google/apis/gmail_v1/classes.rb +655 -5
- data/generated/google/apis/gmail_v1/representations.rb +261 -0
- data/generated/google/apis/gmail_v1/service.rb +1211 -48
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +446 -368
- data/generated/google/apis/iam_v1/representations.rb +109 -91
- data/generated/google/apis/iam_v1/service.rb +249 -162
- data/generated/google/apis/identitytoolkit_v3.rb +7 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
- data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
- data/generated/google/apis/kgsearch_v1.rb +2 -3
- data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +26 -24
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +757 -0
- data/generated/google/apis/language_v1beta1/representations.rb +339 -0
- data/generated/google/apis/language_v1beta1/service.rb +185 -0
- data/generated/google/apis/licensing_v1.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
- data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
- data/generated/google/apis/logging_v2beta1/service.rb +427 -155
- data/generated/google/apis/manufacturers_v1.rb +34 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
- data/generated/google/apis/manufacturers_v1/service.rb +138 -0
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +706 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1831 -477
- data/generated/google/apis/partners_v2/representations.rb +571 -114
- data/generated/google/apis/partners_v2/service.rb +898 -167
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +1047 -859
- data/generated/google/apis/people_v1/representations.rb +252 -213
- data/generated/google/apis/people_v1/service.rb +75 -62
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +363 -310
- data/generated/google/apis/pubsub_v1/representations.rb +76 -76
- data/generated/google/apis/pubsub_v1/service.rb +464 -335
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +222 -61
- data/generated/google/apis/reseller_v1/representations.rb +28 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +151 -137
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
- data/generated/google/apis/sheets_v4/representations.rb +988 -737
- data/generated/google/apis/sheets_v4/service.rb +266 -99
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +4480 -0
- data/generated/google/apis/slides_v1/representations.rb +1926 -0
- data/generated/google/apis/slides_v1/service.rb +245 -0
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
- data/generated/google/apis/speech_v1beta1/service.rb +270 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +205 -21
- data/generated/google/apis/storage_v1/representations.rb +51 -1
- data/generated/google/apis/storage_v1/service.rb +263 -9
- data/generated/google/apis/tagmanager_v1.rb +5 -5
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1275 -731
- data/generated/google/apis/vision_v1/representations.rb +378 -111
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
- data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +430 -22
- data/generated/google/apis/youtube_v3/representations.rb +171 -4
- data/generated/google/apis/youtube_v3/service.rb +100 -9
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
- data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
- data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
- data/google-api-client.gemspec +4 -3
- data/lib/google/apis/core/api_command.rb +16 -6
- data/lib/google/apis/core/base_service.rb +17 -9
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/errors.rb +6 -2
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/calendar.rb +1 -1
- data/samples/cli/lib/samples/gmail.rb +74 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- data/sync.rb +71 -0
- metadata +86 -18
@@ -1100,12 +1100,6 @@ module Google
|
|
1100
1100
|
class ChannelContentDetails
|
1101
1101
|
include Google::Apis::Core::Hashable
|
1102
1102
|
|
1103
|
-
# The googlePlusUserId object identifies the Google+ profile ID associated with
|
1104
|
-
# this channel.
|
1105
|
-
# Corresponds to the JSON property `googlePlusUserId`
|
1106
|
-
# @return [String]
|
1107
|
-
attr_accessor :google_plus_user_id
|
1108
|
-
|
1109
1103
|
#
|
1110
1104
|
# Corresponds to the JSON property `relatedPlaylists`
|
1111
1105
|
# @return [Google::Apis::YoutubeV3::ChannelContentDetails::RelatedPlaylists]
|
@@ -1117,7 +1111,6 @@ module Google
|
|
1117
1111
|
|
1118
1112
|
# Update properties of this object
|
1119
1113
|
def update!(**args)
|
1120
|
-
@google_plus_user_id = args[:google_plus_user_id] if args.key?(:google_plus_user_id)
|
1121
1114
|
@related_playlists = args[:related_playlists] if args.key?(:related_playlists)
|
1122
1115
|
end
|
1123
1116
|
|
@@ -1868,6 +1861,11 @@ module Google
|
|
1868
1861
|
class ChannelTopicDetails
|
1869
1862
|
include Google::Apis::Core::Hashable
|
1870
1863
|
|
1864
|
+
# A list of Wikipedia URLs that describe the channel's content.
|
1865
|
+
# Corresponds to the JSON property `topicCategories`
|
1866
|
+
# @return [Array<String>]
|
1867
|
+
attr_accessor :topic_categories
|
1868
|
+
|
1871
1869
|
# A list of Freebase topic IDs associated with the channel. You can retrieve
|
1872
1870
|
# information about each topic using the Freebase Topic API.
|
1873
1871
|
# Corresponds to the JSON property `topicIds`
|
@@ -1880,6 +1878,7 @@ module Google
|
|
1880
1878
|
|
1881
1879
|
# Update properties of this object
|
1882
1880
|
def update!(**args)
|
1881
|
+
@topic_categories = args[:topic_categories] if args.key?(:topic_categories)
|
1883
1882
|
@topic_ids = args[:topic_ids] if args.key?(:topic_ids)
|
1884
1883
|
end
|
1885
1884
|
end
|
@@ -2005,11 +2004,6 @@ module Google
|
|
2005
2004
|
# @return [String]
|
2006
2005
|
attr_accessor :author_display_name
|
2007
2006
|
|
2008
|
-
# Link to the author's Google+ profile, if any.
|
2009
|
-
# Corresponds to the JSON property `authorGoogleplusProfileUrl`
|
2010
|
-
# @return [String]
|
2011
|
-
attr_accessor :author_googleplus_profile_url
|
2012
|
-
|
2013
2007
|
# The URL for the avatar of the user who posted the comment.
|
2014
2008
|
# Corresponds to the JSON property `authorProfileImageUrl`
|
2015
2009
|
# @return [String]
|
@@ -2092,7 +2086,6 @@ module Google
|
|
2092
2086
|
@author_channel_id = args[:author_channel_id] if args.key?(:author_channel_id)
|
2093
2087
|
@author_channel_url = args[:author_channel_url] if args.key?(:author_channel_url)
|
2094
2088
|
@author_display_name = args[:author_display_name] if args.key?(:author_display_name)
|
2095
|
-
@author_googleplus_profile_url = args[:author_googleplus_profile_url] if args.key?(:author_googleplus_profile_url)
|
2096
2089
|
@author_profile_image_url = args[:author_profile_image_url] if args.key?(:author_profile_image_url)
|
2097
2090
|
@can_rate = args[:can_rate] if args.key?(:can_rate)
|
2098
2091
|
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
@@ -2296,7 +2289,7 @@ module Google
|
|
2296
2289
|
end
|
2297
2290
|
|
2298
2291
|
# Ratings schemes. The country-specific ratings are mostly for movies and shows.
|
2299
|
-
# NEXT_ID:
|
2292
|
+
# NEXT_ID: 69
|
2300
2293
|
class ContentRating
|
2301
2294
|
include Google::Apis::Core::Hashable
|
2302
2295
|
|
@@ -2461,6 +2454,11 @@ module Google
|
|
2461
2454
|
# @return [String]
|
2462
2455
|
attr_accessor :fpb_rating
|
2463
2456
|
|
2457
|
+
# Reasons that explain why the video received its FPB (South Africa) rating.
|
2458
|
+
# Corresponds to the JSON property `fpbRatingReasons`
|
2459
|
+
# @return [Array<String>]
|
2460
|
+
attr_accessor :fpb_rating_reasons
|
2461
|
+
|
2464
2462
|
# The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany)
|
2465
2463
|
# rating.
|
2466
2464
|
# Corresponds to the JSON property `fskRating`
|
@@ -2527,6 +2525,11 @@ module Google
|
|
2527
2525
|
# @return [String]
|
2528
2526
|
attr_accessor :mccyp_rating
|
2529
2527
|
|
2528
|
+
# The video's rating system for Vietnam - MCST
|
2529
|
+
# Corresponds to the JSON property `mcstRating`
|
2530
|
+
# @return [String]
|
2531
|
+
attr_accessor :mcst_rating
|
2532
|
+
|
2530
2533
|
# The video's rating from Singapore's Media Development Authority (MDA) and,
|
2531
2534
|
# specifically, it's Board of Film Censors (BFC).
|
2532
2535
|
# Corresponds to the JSON property `mdaRating`
|
@@ -2696,6 +2699,7 @@ module Google
|
|
2696
2699
|
@fco_rating = args[:fco_rating] if args.key?(:fco_rating)
|
2697
2700
|
@fmoc_rating = args[:fmoc_rating] if args.key?(:fmoc_rating)
|
2698
2701
|
@fpb_rating = args[:fpb_rating] if args.key?(:fpb_rating)
|
2702
|
+
@fpb_rating_reasons = args[:fpb_rating_reasons] if args.key?(:fpb_rating_reasons)
|
2699
2703
|
@fsk_rating = args[:fsk_rating] if args.key?(:fsk_rating)
|
2700
2704
|
@grfilm_rating = args[:grfilm_rating] if args.key?(:grfilm_rating)
|
2701
2705
|
@icaa_rating = args[:icaa_rating] if args.key?(:icaa_rating)
|
@@ -2708,6 +2712,7 @@ module Google
|
|
2708
2712
|
@lsf_rating = args[:lsf_rating] if args.key?(:lsf_rating)
|
2709
2713
|
@mccaa_rating = args[:mccaa_rating] if args.key?(:mccaa_rating)
|
2710
2714
|
@mccyp_rating = args[:mccyp_rating] if args.key?(:mccyp_rating)
|
2715
|
+
@mcst_rating = args[:mcst_rating] if args.key?(:mcst_rating)
|
2711
2716
|
@mda_rating = args[:mda_rating] if args.key?(:mda_rating)
|
2712
2717
|
@medietilsynet_rating = args[:medietilsynet_rating] if args.key?(:medietilsynet_rating)
|
2713
2718
|
@meku_rating = args[:meku_rating] if args.key?(:meku_rating)
|
@@ -4494,7 +4499,8 @@ module Google
|
|
4494
4499
|
# that funded the broadcast newSponsorEvent - the user that just became a
|
4495
4500
|
# sponsor messageDeletedEvent - the moderator that took the action
|
4496
4501
|
# messageRetractedEvent - the author that retracted their message
|
4497
|
-
# userBannedEvent - the moderator that took the action
|
4502
|
+
# userBannedEvent - the moderator that took the action superChatEvent - the user
|
4503
|
+
# that made the purchase
|
4498
4504
|
# Corresponds to the JSON property `authorChannelId`
|
4499
4505
|
# @return [String]
|
4500
4506
|
attr_accessor :author_channel_id
|
@@ -4533,12 +4539,38 @@ module Google
|
|
4533
4539
|
# @return [Google::Apis::YoutubeV3::LiveChatMessageRetractedDetails]
|
4534
4540
|
attr_accessor :message_retracted_details
|
4535
4541
|
|
4542
|
+
#
|
4543
|
+
# Corresponds to the JSON property `pollClosedDetails`
|
4544
|
+
# @return [Google::Apis::YoutubeV3::LiveChatPollClosedDetails]
|
4545
|
+
attr_accessor :poll_closed_details
|
4546
|
+
|
4547
|
+
#
|
4548
|
+
# Corresponds to the JSON property `pollEditedDetails`
|
4549
|
+
# @return [Google::Apis::YoutubeV3::LiveChatPollEditedDetails]
|
4550
|
+
attr_accessor :poll_edited_details
|
4551
|
+
|
4552
|
+
#
|
4553
|
+
# Corresponds to the JSON property `pollOpenedDetails`
|
4554
|
+
# @return [Google::Apis::YoutubeV3::LiveChatPollOpenedDetails]
|
4555
|
+
attr_accessor :poll_opened_details
|
4556
|
+
|
4557
|
+
#
|
4558
|
+
# Corresponds to the JSON property `pollVotedDetails`
|
4559
|
+
# @return [Google::Apis::YoutubeV3::LiveChatPollVotedDetails]
|
4560
|
+
attr_accessor :poll_voted_details
|
4561
|
+
|
4536
4562
|
# The date and time when the message was orignally published. The value is
|
4537
4563
|
# specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
|
4538
4564
|
# Corresponds to the JSON property `publishedAt`
|
4539
4565
|
# @return [DateTime]
|
4540
4566
|
attr_accessor :published_at
|
4541
4567
|
|
4568
|
+
# Details about the Super Chat event, this is only set if the type is '
|
4569
|
+
# superChatEvent'.
|
4570
|
+
# Corresponds to the JSON property `superChatDetails`
|
4571
|
+
# @return [Google::Apis::YoutubeV3::LiveChatSuperChatDetails]
|
4572
|
+
attr_accessor :super_chat_details
|
4573
|
+
|
4542
4574
|
# Details about the text message, this is only set if the type is '
|
4543
4575
|
# textMessageEvent'.
|
4544
4576
|
# Corresponds to the JSON property `textMessageDetails`
|
@@ -4569,7 +4601,12 @@ module Google
|
|
4569
4601
|
@live_chat_id = args[:live_chat_id] if args.key?(:live_chat_id)
|
4570
4602
|
@message_deleted_details = args[:message_deleted_details] if args.key?(:message_deleted_details)
|
4571
4603
|
@message_retracted_details = args[:message_retracted_details] if args.key?(:message_retracted_details)
|
4604
|
+
@poll_closed_details = args[:poll_closed_details] if args.key?(:poll_closed_details)
|
4605
|
+
@poll_edited_details = args[:poll_edited_details] if args.key?(:poll_edited_details)
|
4606
|
+
@poll_opened_details = args[:poll_opened_details] if args.key?(:poll_opened_details)
|
4607
|
+
@poll_voted_details = args[:poll_voted_details] if args.key?(:poll_voted_details)
|
4572
4608
|
@published_at = args[:published_at] if args.key?(:published_at)
|
4609
|
+
@super_chat_details = args[:super_chat_details] if args.key?(:super_chat_details)
|
4573
4610
|
@text_message_details = args[:text_message_details] if args.key?(:text_message_details)
|
4574
4611
|
@type = args[:type] if args.key?(:type)
|
4575
4612
|
@user_banned_details = args[:user_banned_details] if args.key?(:user_banned_details)
|
@@ -4712,6 +4749,181 @@ module Google
|
|
4712
4749
|
end
|
4713
4750
|
end
|
4714
4751
|
|
4752
|
+
#
|
4753
|
+
class LiveChatPollClosedDetails
|
4754
|
+
include Google::Apis::Core::Hashable
|
4755
|
+
|
4756
|
+
# The id of the poll that was closed.
|
4757
|
+
# Corresponds to the JSON property `pollId`
|
4758
|
+
# @return [String]
|
4759
|
+
attr_accessor :poll_id
|
4760
|
+
|
4761
|
+
def initialize(**args)
|
4762
|
+
update!(**args)
|
4763
|
+
end
|
4764
|
+
|
4765
|
+
# Update properties of this object
|
4766
|
+
def update!(**args)
|
4767
|
+
@poll_id = args[:poll_id] if args.key?(:poll_id)
|
4768
|
+
end
|
4769
|
+
end
|
4770
|
+
|
4771
|
+
#
|
4772
|
+
class LiveChatPollEditedDetails
|
4773
|
+
include Google::Apis::Core::Hashable
|
4774
|
+
|
4775
|
+
#
|
4776
|
+
# Corresponds to the JSON property `id`
|
4777
|
+
# @return [String]
|
4778
|
+
attr_accessor :id
|
4779
|
+
|
4780
|
+
#
|
4781
|
+
# Corresponds to the JSON property `items`
|
4782
|
+
# @return [Array<Google::Apis::YoutubeV3::LiveChatPollItem>]
|
4783
|
+
attr_accessor :items
|
4784
|
+
|
4785
|
+
#
|
4786
|
+
# Corresponds to the JSON property `prompt`
|
4787
|
+
# @return [String]
|
4788
|
+
attr_accessor :prompt
|
4789
|
+
|
4790
|
+
def initialize(**args)
|
4791
|
+
update!(**args)
|
4792
|
+
end
|
4793
|
+
|
4794
|
+
# Update properties of this object
|
4795
|
+
def update!(**args)
|
4796
|
+
@id = args[:id] if args.key?(:id)
|
4797
|
+
@items = args[:items] if args.key?(:items)
|
4798
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
4799
|
+
end
|
4800
|
+
end
|
4801
|
+
|
4802
|
+
#
|
4803
|
+
class LiveChatPollItem
|
4804
|
+
include Google::Apis::Core::Hashable
|
4805
|
+
|
4806
|
+
# Plain text description of the item.
|
4807
|
+
# Corresponds to the JSON property `description`
|
4808
|
+
# @return [String]
|
4809
|
+
attr_accessor :description
|
4810
|
+
|
4811
|
+
#
|
4812
|
+
# Corresponds to the JSON property `itemId`
|
4813
|
+
# @return [String]
|
4814
|
+
attr_accessor :item_id
|
4815
|
+
|
4816
|
+
def initialize(**args)
|
4817
|
+
update!(**args)
|
4818
|
+
end
|
4819
|
+
|
4820
|
+
# Update properties of this object
|
4821
|
+
def update!(**args)
|
4822
|
+
@description = args[:description] if args.key?(:description)
|
4823
|
+
@item_id = args[:item_id] if args.key?(:item_id)
|
4824
|
+
end
|
4825
|
+
end
|
4826
|
+
|
4827
|
+
#
|
4828
|
+
class LiveChatPollOpenedDetails
|
4829
|
+
include Google::Apis::Core::Hashable
|
4830
|
+
|
4831
|
+
#
|
4832
|
+
# Corresponds to the JSON property `id`
|
4833
|
+
# @return [String]
|
4834
|
+
attr_accessor :id
|
4835
|
+
|
4836
|
+
#
|
4837
|
+
# Corresponds to the JSON property `items`
|
4838
|
+
# @return [Array<Google::Apis::YoutubeV3::LiveChatPollItem>]
|
4839
|
+
attr_accessor :items
|
4840
|
+
|
4841
|
+
#
|
4842
|
+
# Corresponds to the JSON property `prompt`
|
4843
|
+
# @return [String]
|
4844
|
+
attr_accessor :prompt
|
4845
|
+
|
4846
|
+
def initialize(**args)
|
4847
|
+
update!(**args)
|
4848
|
+
end
|
4849
|
+
|
4850
|
+
# Update properties of this object
|
4851
|
+
def update!(**args)
|
4852
|
+
@id = args[:id] if args.key?(:id)
|
4853
|
+
@items = args[:items] if args.key?(:items)
|
4854
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
4855
|
+
end
|
4856
|
+
end
|
4857
|
+
|
4858
|
+
#
|
4859
|
+
class LiveChatPollVotedDetails
|
4860
|
+
include Google::Apis::Core::Hashable
|
4861
|
+
|
4862
|
+
# The poll item the user chose.
|
4863
|
+
# Corresponds to the JSON property `itemId`
|
4864
|
+
# @return [String]
|
4865
|
+
attr_accessor :item_id
|
4866
|
+
|
4867
|
+
# The poll the user voted on.
|
4868
|
+
# Corresponds to the JSON property `pollId`
|
4869
|
+
# @return [String]
|
4870
|
+
attr_accessor :poll_id
|
4871
|
+
|
4872
|
+
def initialize(**args)
|
4873
|
+
update!(**args)
|
4874
|
+
end
|
4875
|
+
|
4876
|
+
# Update properties of this object
|
4877
|
+
def update!(**args)
|
4878
|
+
@item_id = args[:item_id] if args.key?(:item_id)
|
4879
|
+
@poll_id = args[:poll_id] if args.key?(:poll_id)
|
4880
|
+
end
|
4881
|
+
end
|
4882
|
+
|
4883
|
+
#
|
4884
|
+
class LiveChatSuperChatDetails
|
4885
|
+
include Google::Apis::Core::Hashable
|
4886
|
+
|
4887
|
+
# A rendered string that displays the fund amount and currency to the user.
|
4888
|
+
# Corresponds to the JSON property `amountDisplayString`
|
4889
|
+
# @return [String]
|
4890
|
+
attr_accessor :amount_display_string
|
4891
|
+
|
4892
|
+
# The amount purchased by the user, in micros (1,750,000 micros = 1.75).
|
4893
|
+
# Corresponds to the JSON property `amountMicros`
|
4894
|
+
# @return [String]
|
4895
|
+
attr_accessor :amount_micros
|
4896
|
+
|
4897
|
+
# The currency in which the purchase was made.
|
4898
|
+
# Corresponds to the JSON property `currency`
|
4899
|
+
# @return [String]
|
4900
|
+
attr_accessor :currency
|
4901
|
+
|
4902
|
+
# The tier in which the amount belongs to. Lower amounts belong to lower tiers.
|
4903
|
+
# Starts at 1.
|
4904
|
+
# Corresponds to the JSON property `tier`
|
4905
|
+
# @return [Fixnum]
|
4906
|
+
attr_accessor :tier
|
4907
|
+
|
4908
|
+
# The comment added by the user to this Super Chat event.
|
4909
|
+
# Corresponds to the JSON property `userComment`
|
4910
|
+
# @return [String]
|
4911
|
+
attr_accessor :user_comment
|
4912
|
+
|
4913
|
+
def initialize(**args)
|
4914
|
+
update!(**args)
|
4915
|
+
end
|
4916
|
+
|
4917
|
+
# Update properties of this object
|
4918
|
+
def update!(**args)
|
4919
|
+
@amount_display_string = args[:amount_display_string] if args.key?(:amount_display_string)
|
4920
|
+
@amount_micros = args[:amount_micros] if args.key?(:amount_micros)
|
4921
|
+
@currency = args[:currency] if args.key?(:currency)
|
4922
|
+
@tier = args[:tier] if args.key?(:tier)
|
4923
|
+
@user_comment = args[:user_comment] if args.key?(:user_comment)
|
4924
|
+
end
|
4925
|
+
end
|
4926
|
+
|
4715
4927
|
#
|
4716
4928
|
class LiveChatTextMessageDetails
|
4717
4929
|
include Google::Apis::Core::Hashable
|
@@ -5390,6 +5602,12 @@ module Google
|
|
5390
5602
|
# @return [String]
|
5391
5603
|
attr_accessor :video_id
|
5392
5604
|
|
5605
|
+
# The date and time that the video was published to YouTube. The value is
|
5606
|
+
# specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
|
5607
|
+
# Corresponds to the JSON property `videoPublishedAt`
|
5608
|
+
# @return [DateTime]
|
5609
|
+
attr_accessor :video_published_at
|
5610
|
+
|
5393
5611
|
def initialize(**args)
|
5394
5612
|
update!(**args)
|
5395
5613
|
end
|
@@ -5400,6 +5618,7 @@ module Google
|
|
5400
5618
|
@note = args[:note] if args.key?(:note)
|
5401
5619
|
@start_at = args[:start_at] if args.key?(:start_at)
|
5402
5620
|
@video_id = args[:video_id] if args.key?(:video_id)
|
5621
|
+
@video_published_at = args[:video_published_at] if args.key?(:video_published_at)
|
5403
5622
|
end
|
5404
5623
|
end
|
5405
5624
|
|
@@ -6487,6 +6706,174 @@ module Google
|
|
6487
6706
|
end
|
6488
6707
|
end
|
6489
6708
|
|
6709
|
+
# A superChatEvent resource represents a Super Chat purchase on a YouTube
|
6710
|
+
# channel.
|
6711
|
+
class SuperChatEvent
|
6712
|
+
include Google::Apis::Core::Hashable
|
6713
|
+
|
6714
|
+
# Etag of this resource.
|
6715
|
+
# Corresponds to the JSON property `etag`
|
6716
|
+
# @return [String]
|
6717
|
+
attr_accessor :etag
|
6718
|
+
|
6719
|
+
# The ID that YouTube assigns to uniquely identify the Super Chat event.
|
6720
|
+
# Corresponds to the JSON property `id`
|
6721
|
+
# @return [String]
|
6722
|
+
attr_accessor :id
|
6723
|
+
|
6724
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
6725
|
+
# superChatEvent".
|
6726
|
+
# Corresponds to the JSON property `kind`
|
6727
|
+
# @return [String]
|
6728
|
+
attr_accessor :kind
|
6729
|
+
|
6730
|
+
# The snippet object contains basic details about the Super Chat event.
|
6731
|
+
# Corresponds to the JSON property `snippet`
|
6732
|
+
# @return [Google::Apis::YoutubeV3::SuperChatEventSnippet]
|
6733
|
+
attr_accessor :snippet
|
6734
|
+
|
6735
|
+
def initialize(**args)
|
6736
|
+
update!(**args)
|
6737
|
+
end
|
6738
|
+
|
6739
|
+
# Update properties of this object
|
6740
|
+
def update!(**args)
|
6741
|
+
@etag = args[:etag] if args.key?(:etag)
|
6742
|
+
@id = args[:id] if args.key?(:id)
|
6743
|
+
@kind = args[:kind] if args.key?(:kind)
|
6744
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
6745
|
+
end
|
6746
|
+
end
|
6747
|
+
|
6748
|
+
#
|
6749
|
+
class SuperChatEventListResponse
|
6750
|
+
include Google::Apis::Core::Hashable
|
6751
|
+
|
6752
|
+
# Etag of this resource.
|
6753
|
+
# Corresponds to the JSON property `etag`
|
6754
|
+
# @return [String]
|
6755
|
+
attr_accessor :etag
|
6756
|
+
|
6757
|
+
# Serialized EventId of the request which produced this response.
|
6758
|
+
# Corresponds to the JSON property `eventId`
|
6759
|
+
# @return [String]
|
6760
|
+
attr_accessor :event_id
|
6761
|
+
|
6762
|
+
# A list of Super Chat purchases that match the request criteria.
|
6763
|
+
# Corresponds to the JSON property `items`
|
6764
|
+
# @return [Array<Google::Apis::YoutubeV3::SuperChatEvent>]
|
6765
|
+
attr_accessor :items
|
6766
|
+
|
6767
|
+
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
6768
|
+
# superChatEventListResponse".
|
6769
|
+
# Corresponds to the JSON property `kind`
|
6770
|
+
# @return [String]
|
6771
|
+
attr_accessor :kind
|
6772
|
+
|
6773
|
+
# The token that can be used as the value of the pageToken parameter to retrieve
|
6774
|
+
# the next page in the result set.
|
6775
|
+
# Corresponds to the JSON property `nextPageToken`
|
6776
|
+
# @return [String]
|
6777
|
+
attr_accessor :next_page_token
|
6778
|
+
|
6779
|
+
# Paging details for lists of resources, including total number of items
|
6780
|
+
# available and number of resources returned in a single page.
|
6781
|
+
# Corresponds to the JSON property `pageInfo`
|
6782
|
+
# @return [Google::Apis::YoutubeV3::PageInfo]
|
6783
|
+
attr_accessor :page_info
|
6784
|
+
|
6785
|
+
# Stub token pagination template to suppress results.
|
6786
|
+
# Corresponds to the JSON property `tokenPagination`
|
6787
|
+
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
6788
|
+
attr_accessor :token_pagination
|
6789
|
+
|
6790
|
+
# The visitorId identifies the visitor.
|
6791
|
+
# Corresponds to the JSON property `visitorId`
|
6792
|
+
# @return [String]
|
6793
|
+
attr_accessor :visitor_id
|
6794
|
+
|
6795
|
+
def initialize(**args)
|
6796
|
+
update!(**args)
|
6797
|
+
end
|
6798
|
+
|
6799
|
+
# Update properties of this object
|
6800
|
+
def update!(**args)
|
6801
|
+
@etag = args[:etag] if args.key?(:etag)
|
6802
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
6803
|
+
@items = args[:items] if args.key?(:items)
|
6804
|
+
@kind = args[:kind] if args.key?(:kind)
|
6805
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
6806
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
6807
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
6808
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
6809
|
+
end
|
6810
|
+
end
|
6811
|
+
|
6812
|
+
#
|
6813
|
+
class SuperChatEventSnippet
|
6814
|
+
include Google::Apis::Core::Hashable
|
6815
|
+
|
6816
|
+
# The purchase amount, in micros of the purchase currency. e.g., 1 is
|
6817
|
+
# represented as 1000000.
|
6818
|
+
# Corresponds to the JSON property `amountMicros`
|
6819
|
+
# @return [String]
|
6820
|
+
attr_accessor :amount_micros
|
6821
|
+
|
6822
|
+
# Channel id where the event occurred.
|
6823
|
+
# Corresponds to the JSON property `channelId`
|
6824
|
+
# @return [String]
|
6825
|
+
attr_accessor :channel_id
|
6826
|
+
|
6827
|
+
# The text contents of the comment left by the user.
|
6828
|
+
# Corresponds to the JSON property `commentText`
|
6829
|
+
# @return [String]
|
6830
|
+
attr_accessor :comment_text
|
6831
|
+
|
6832
|
+
# The date and time when the event occurred. The value is specified in ISO 8601 (
|
6833
|
+
# YYYY-MM-DDThh:mm:ss.sZ) format.
|
6834
|
+
# Corresponds to the JSON property `createdAt`
|
6835
|
+
# @return [DateTime]
|
6836
|
+
attr_accessor :created_at
|
6837
|
+
|
6838
|
+
# The currency in which the purchase was made. ISO 4217.
|
6839
|
+
# Corresponds to the JSON property `currency`
|
6840
|
+
# @return [String]
|
6841
|
+
attr_accessor :currency
|
6842
|
+
|
6843
|
+
# A rendered string that displays the purchase amount and currency (e.g., "$1.00"
|
6844
|
+
# ). The string is rendered for the given language.
|
6845
|
+
# Corresponds to the JSON property `displayString`
|
6846
|
+
# @return [String]
|
6847
|
+
attr_accessor :display_string
|
6848
|
+
|
6849
|
+
# The tier for the paid message, which is based on the amount of money spent to
|
6850
|
+
# purchase the message.
|
6851
|
+
# Corresponds to the JSON property `messageType`
|
6852
|
+
# @return [Fixnum]
|
6853
|
+
attr_accessor :message_type
|
6854
|
+
|
6855
|
+
# Details about the supporter.
|
6856
|
+
# Corresponds to the JSON property `supporterDetails`
|
6857
|
+
# @return [Google::Apis::YoutubeV3::ChannelProfileDetails]
|
6858
|
+
attr_accessor :supporter_details
|
6859
|
+
|
6860
|
+
def initialize(**args)
|
6861
|
+
update!(**args)
|
6862
|
+
end
|
6863
|
+
|
6864
|
+
# Update properties of this object
|
6865
|
+
def update!(**args)
|
6866
|
+
@amount_micros = args[:amount_micros] if args.key?(:amount_micros)
|
6867
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
6868
|
+
@comment_text = args[:comment_text] if args.key?(:comment_text)
|
6869
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
6870
|
+
@currency = args[:currency] if args.key?(:currency)
|
6871
|
+
@display_string = args[:display_string] if args.key?(:display_string)
|
6872
|
+
@message_type = args[:message_type] if args.key?(:message_type)
|
6873
|
+
@supporter_details = args[:supporter_details] if args.key?(:supporter_details)
|
6874
|
+
end
|
6875
|
+
end
|
6876
|
+
|
6490
6877
|
# A thumbnail is an image representing a YouTube resource.
|
6491
6878
|
class Thumbnail
|
6492
6879
|
include Google::Apis::Core::Hashable
|
@@ -7119,7 +7506,7 @@ module Google
|
|
7119
7506
|
attr_accessor :caption
|
7120
7507
|
|
7121
7508
|
# Ratings schemes. The country-specific ratings are mostly for movies and shows.
|
7122
|
-
# NEXT_ID:
|
7509
|
+
# NEXT_ID: 69
|
7123
7510
|
# Corresponds to the JSON property `contentRating`
|
7124
7511
|
# @return [Google::Apis::YoutubeV3::ContentRating]
|
7125
7512
|
attr_accessor :content_rating
|
@@ -7150,6 +7537,13 @@ module Google
|
|
7150
7537
|
# @return [String]
|
7151
7538
|
attr_accessor :duration
|
7152
7539
|
|
7540
|
+
# Indicates whether the video uploader has provided a custom thumbnail image for
|
7541
|
+
# the video. This property is only visible to the video uploader.
|
7542
|
+
# Corresponds to the JSON property `hasCustomThumbnail`
|
7543
|
+
# @return [Boolean]
|
7544
|
+
attr_accessor :has_custom_thumbnail
|
7545
|
+
alias_method :has_custom_thumbnail?, :has_custom_thumbnail
|
7546
|
+
|
7153
7547
|
# The value of is_license_content indicates whether the video is licensed
|
7154
7548
|
# content.
|
7155
7549
|
# Corresponds to the JSON property `licensedContent`
|
@@ -7179,6 +7573,7 @@ module Google
|
|
7179
7573
|
@definition = args[:definition] if args.key?(:definition)
|
7180
7574
|
@dimension = args[:dimension] if args.key?(:dimension)
|
7181
7575
|
@duration = args[:duration] if args.key?(:duration)
|
7576
|
+
@has_custom_thumbnail = args[:has_custom_thumbnail] if args.key?(:has_custom_thumbnail)
|
7182
7577
|
@licensed_content = args[:licensed_content] if args.key?(:licensed_content)
|
7183
7578
|
@projection = args[:projection] if args.key?(:projection)
|
7184
7579
|
@region_restriction = args[:region_restriction] if args.key?(:region_restriction)
|
@@ -7273,11 +7668,6 @@ module Google
|
|
7273
7668
|
# @return [String]
|
7274
7669
|
attr_accessor :file_type
|
7275
7670
|
|
7276
|
-
# Geographical coordinates of a point, in WGS84.
|
7277
|
-
# Corresponds to the JSON property `recordingLocation`
|
7278
|
-
# @return [Google::Apis::YoutubeV3::GeoPoint]
|
7279
|
-
attr_accessor :recording_location
|
7280
|
-
|
7281
7671
|
# A list of video streams contained in the uploaded video file. Each item in the
|
7282
7672
|
# list contains detailed metadata about a video stream.
|
7283
7673
|
# Corresponds to the JSON property `videoStreams`
|
@@ -7298,7 +7688,6 @@ module Google
|
|
7298
7688
|
@file_name = args[:file_name] if args.key?(:file_name)
|
7299
7689
|
@file_size = args[:file_size] if args.key?(:file_size)
|
7300
7690
|
@file_type = args[:file_type] if args.key?(:file_type)
|
7301
|
-
@recording_location = args[:recording_location] if args.key?(:recording_location)
|
7302
7691
|
@video_streams = args[:video_streams] if args.key?(:video_streams)
|
7303
7692
|
end
|
7304
7693
|
end
|
@@ -7635,18 +8024,30 @@ module Google
|
|
7635
8024
|
class VideoPlayer
|
7636
8025
|
include Google::Apis::Core::Hashable
|
7637
8026
|
|
8027
|
+
#
|
8028
|
+
# Corresponds to the JSON property `embedHeight`
|
8029
|
+
# @return [String]
|
8030
|
+
attr_accessor :embed_height
|
8031
|
+
|
7638
8032
|
# An <iframe> tag that embeds a player that will play the video.
|
7639
8033
|
# Corresponds to the JSON property `embedHtml`
|
7640
8034
|
# @return [String]
|
7641
8035
|
attr_accessor :embed_html
|
7642
8036
|
|
8037
|
+
# The embed width
|
8038
|
+
# Corresponds to the JSON property `embedWidth`
|
8039
|
+
# @return [String]
|
8040
|
+
attr_accessor :embed_width
|
8041
|
+
|
7643
8042
|
def initialize(**args)
|
7644
8043
|
update!(**args)
|
7645
8044
|
end
|
7646
8045
|
|
7647
8046
|
# Update properties of this object
|
7648
8047
|
def update!(**args)
|
8048
|
+
@embed_height = args[:embed_height] if args.key?(:embed_height)
|
7649
8049
|
@embed_html = args[:embed_html] if args.key?(:embed_html)
|
8050
|
+
@embed_width = args[:embed_width] if args.key?(:embed_width)
|
7650
8051
|
end
|
7651
8052
|
end
|
7652
8053
|
|
@@ -8145,6 +8546,12 @@ module Google
|
|
8145
8546
|
# @return [Array<String>]
|
8146
8547
|
attr_accessor :relevant_topic_ids
|
8147
8548
|
|
8549
|
+
# A list of Wikipedia URLs that provide a high-level description of the video's
|
8550
|
+
# content.
|
8551
|
+
# Corresponds to the JSON property `topicCategories`
|
8552
|
+
# @return [Array<String>]
|
8553
|
+
attr_accessor :topic_categories
|
8554
|
+
|
8148
8555
|
# A list of Freebase topic IDs that are centrally associated with the video.
|
8149
8556
|
# These are topics that are centrally featured in the video, and it can be said
|
8150
8557
|
# that the video is mainly about each of these. You can retrieve information
|
@@ -8160,6 +8567,7 @@ module Google
|
|
8160
8567
|
# Update properties of this object
|
8161
8568
|
def update!(**args)
|
8162
8569
|
@relevant_topic_ids = args[:relevant_topic_ids] if args.key?(:relevant_topic_ids)
|
8570
|
+
@topic_categories = args[:topic_categories] if args.key?(:topic_categories)
|
8163
8571
|
@topic_ids = args[:topic_ids] if args.key?(:topic_ids)
|
8164
8572
|
end
|
8165
8573
|
end
|