google-api-client 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/api_names.yaml +945 -41609
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
- data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
- data/generated/google/apis/appengine_v1/representations.rb +362 -343
- data/generated/google/apis/appengine_v1/service.rb +220 -220
- 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 +5 -5
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
- data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
- data/generated/google/apis/civicinfo_v2/service.rb +12 -12
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +1013 -991
- data/generated/google/apis/classroom_v1/representations.rb +207 -204
- data/generated/google/apis/classroom_v1/service.rb +709 -709
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
- data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
- data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
- data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
- data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
- data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
- data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
- data/generated/google/apis/cloudkms_v1/service.rb +267 -267
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
- data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +163 -15
- data/generated/google/apis/compute_beta/representations.rb +54 -14
- data/generated/google/apis/compute_beta/service.rb +2258 -482
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +465 -13
- data/generated/google/apis/compute_v1/representations.rb +202 -16
- data/generated/google/apis/compute_v1/service.rb +573 -309
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +635 -589
- data/generated/google/apis/container_v1/representations.rb +139 -111
- data/generated/google/apis/container_v1/service.rb +272 -227
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +86 -74
- data/generated/google/apis/content_v2/representations.rb +107 -105
- data/generated/google/apis/content_v2/service.rb +131 -130
- data/generated/google/apis/customsearch_v1.rb +2 -2
- data/generated/google/apis/customsearch_v1/classes.rb +0 -6
- data/generated/google/apis/customsearch_v1/representations.rb +0 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -5
- data/generated/google/apis/dataflow_v1b3.rb +7 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
- data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
- data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +543 -691
- data/generated/google/apis/dataproc_v1/representations.rb +129 -185
- data/generated/google/apis/dataproc_v1/service.rb +347 -347
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +833 -833
- data/generated/google/apis/datastore_v1/representations.rb +182 -182
- data/generated/google/apis/datastore_v1/service.rb +45 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
- data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
- data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
- data/generated/google/apis/firebaserules_v1/service.rb +103 -103
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
- data/generated/google/apis/genomics_v1/representations.rb +291 -291
- data/generated/google/apis/genomics_v1/service.rb +821 -821
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/service.rb +3 -0
- data/generated/google/apis/iam_v1/classes.rb +338 -338
- data/generated/google/apis/iam_v1/representations.rb +98 -98
- data/generated/google/apis/iam_v1/service.rb +35 -35
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +374 -374
- data/generated/google/apis/language_v1/representations.rb +97 -97
- data/generated/google/apis/language_v1/service.rb +16 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +441 -441
- data/generated/google/apis/language_v1beta1/representations.rb +108 -108
- data/generated/google/apis/language_v1beta1/service.rb +30 -30
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +712 -712
- data/generated/google/apis/logging_v2/representations.rb +109 -109
- data/generated/google/apis/logging_v2/service.rb +543 -539
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
- data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
- data/generated/google/apis/logging_v2beta1/service.rb +257 -256
- data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
- data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1830 -1210
- data/generated/google/apis/ml_v1/representations.rb +342 -120
- data/generated/google/apis/ml_v1/service.rb +365 -258
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +889 -889
- data/generated/google/apis/monitoring_v3/representations.rb +174 -174
- data/generated/google/apis/monitoring_v3/service.rb +119 -119
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +550 -536
- data/generated/google/apis/partners_v2/representations.rb +118 -116
- data/generated/google/apis/partners_v2/service.rb +439 -439
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +414 -413
- data/generated/google/apis/people_v1/representations.rb +85 -85
- data/generated/google/apis/people_v1/service.rb +111 -18
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
- data/generated/google/apis/pubsub_v1/classes.rb +249 -249
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +415 -415
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +27 -27
- data/generated/google/apis/script_v1/representations.rb +5 -5
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
- data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
- data/generated/google/apis/searchconsole_v1/service.rb +4 -4
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
- data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
- data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
- data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
- data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
- data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
- data/generated/google/apis/serviceuser_v1/service.rb +37 -37
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
- data/generated/google/apis/sheets_v4/representations.rb +994 -824
- data/generated/google/apis/sheets_v4/service.rb +80 -80
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2885 -2885
- data/generated/google/apis/slides_v1/representations.rb +310 -310
- data/generated/google/apis/slides_v1/service.rb +54 -54
- data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
- data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
- data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
- data/generated/google/apis/spanner_v1/representations.rb +174 -174
- data/generated/google/apis/spanner_v1/service.rb +497 -497
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
- data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
- data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +40 -6
- data/generated/google/apis/storage_v1/representations.rb +20 -4
- data/generated/google/apis/storage_v1/service.rb +61 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
- data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
- data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +12 -12
- data/generated/google/apis/translate_v2/representations.rb +10 -10
- data/generated/google/apis/translate_v2/service.rb +62 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1267 -1267
- data/generated/google/apis/vision_v1/representations.rb +200 -200
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
- data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
- data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -106,7 +106,7 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class
|
109
|
+
class ListActivitiesResponse
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
111
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -124,7 +124,7 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
-
class
|
127
|
+
class ListCaptionsResponse
|
128
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
129
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -196,7 +196,7 @@ module Google
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
197
197
|
end
|
198
198
|
|
199
|
-
class
|
199
|
+
class ListChannelsResponse
|
200
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
201
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -226,7 +226,7 @@ module Google
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
227
227
|
end
|
228
228
|
|
229
|
-
class
|
229
|
+
class ListChannelSectionsResponse
|
230
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
231
|
|
232
232
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -286,7 +286,7 @@ module Google
|
|
286
286
|
include Google::Apis::Core::JsonObjectSupport
|
287
287
|
end
|
288
288
|
|
289
|
-
class
|
289
|
+
class ListCommentsResponse
|
290
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
291
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -304,7 +304,7 @@ module Google
|
|
304
304
|
include Google::Apis::Core::JsonObjectSupport
|
305
305
|
end
|
306
306
|
|
307
|
-
class
|
307
|
+
class ListCommentThreadsResponse
|
308
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
309
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -358,7 +358,7 @@ module Google
|
|
358
358
|
include Google::Apis::Core::JsonObjectSupport
|
359
359
|
end
|
360
360
|
|
361
|
-
class
|
361
|
+
class ListGuideCategoriesResponse
|
362
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
363
|
|
364
364
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -376,7 +376,7 @@ module Google
|
|
376
376
|
include Google::Apis::Core::JsonObjectSupport
|
377
377
|
end
|
378
378
|
|
379
|
-
class
|
379
|
+
class ListI18nLanguagesResponse
|
380
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
381
|
|
382
382
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -394,7 +394,7 @@ module Google
|
|
394
394
|
include Google::Apis::Core::JsonObjectSupport
|
395
395
|
end
|
396
396
|
|
397
|
-
class
|
397
|
+
class ListI18nRegionsResponse
|
398
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
399
|
|
400
400
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -460,7 +460,7 @@ module Google
|
|
460
460
|
include Google::Apis::Core::JsonObjectSupport
|
461
461
|
end
|
462
462
|
|
463
|
-
class
|
463
|
+
class ListLiveBroadcastsResponse
|
464
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
465
|
|
466
466
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -646,7 +646,7 @@ module Google
|
|
646
646
|
include Google::Apis::Core::JsonObjectSupport
|
647
647
|
end
|
648
648
|
|
649
|
-
class
|
649
|
+
class ListLiveStreamsResponse
|
650
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
651
|
|
652
652
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -712,7 +712,7 @@ module Google
|
|
712
712
|
include Google::Apis::Core::JsonObjectSupport
|
713
713
|
end
|
714
714
|
|
715
|
-
class
|
715
|
+
class ListPlaylistItemsResponse
|
716
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
717
|
|
718
718
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -730,7 +730,7 @@ module Google
|
|
730
730
|
include Google::Apis::Core::JsonObjectSupport
|
731
731
|
end
|
732
732
|
|
733
|
-
class
|
733
|
+
class ListPlaylistResponse
|
734
734
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
735
|
|
736
736
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -784,7 +784,7 @@ module Google
|
|
784
784
|
include Google::Apis::Core::JsonObjectSupport
|
785
785
|
end
|
786
786
|
|
787
|
-
class
|
787
|
+
class SearchListsResponse
|
788
788
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
789
789
|
|
790
790
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -832,7 +832,7 @@ module Google
|
|
832
832
|
include Google::Apis::Core::JsonObjectSupport
|
833
833
|
end
|
834
834
|
|
835
|
-
class
|
835
|
+
class ListSubscriptionResponse
|
836
836
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
837
837
|
|
838
838
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -880,7 +880,7 @@ module Google
|
|
880
880
|
include Google::Apis::Core::JsonObjectSupport
|
881
881
|
end
|
882
882
|
|
883
|
-
class
|
883
|
+
class SetThumbnailResponse
|
884
884
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
885
885
|
|
886
886
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -910,7 +910,7 @@ module Google
|
|
910
910
|
include Google::Apis::Core::JsonObjectSupport
|
911
911
|
end
|
912
912
|
|
913
|
-
class
|
913
|
+
class ListVideoAbuseReportReasonResponse
|
914
914
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
915
915
|
|
916
916
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -940,7 +940,7 @@ module Google
|
|
940
940
|
include Google::Apis::Core::JsonObjectSupport
|
941
941
|
end
|
942
942
|
|
943
|
-
class
|
943
|
+
class ListVideoCategoryResponse
|
944
944
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
945
945
|
|
946
946
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -982,13 +982,13 @@ module Google
|
|
982
982
|
include Google::Apis::Core::JsonObjectSupport
|
983
983
|
end
|
984
984
|
|
985
|
-
class
|
985
|
+
class GetVideoRatingResponse
|
986
986
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
987
987
|
|
988
988
|
include Google::Apis::Core::JsonObjectSupport
|
989
989
|
end
|
990
990
|
|
991
|
-
class
|
991
|
+
class ListVideosResponse
|
992
992
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
993
|
|
994
994
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1243,7 +1243,7 @@ module Google
|
|
1243
1243
|
end
|
1244
1244
|
end
|
1245
1245
|
|
1246
|
-
class
|
1246
|
+
class ListActivitiesResponse
|
1247
1247
|
# @private
|
1248
1248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1249
1249
|
property :etag, as: 'etag'
|
@@ -1288,7 +1288,7 @@ module Google
|
|
1288
1288
|
end
|
1289
1289
|
end
|
1290
1290
|
|
1291
|
-
class
|
1291
|
+
class ListCaptionsResponse
|
1292
1292
|
# @private
|
1293
1293
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1294
1294
|
property :etag, as: 'etag'
|
@@ -1440,7 +1440,7 @@ module Google
|
|
1440
1440
|
end
|
1441
1441
|
end
|
1442
1442
|
|
1443
|
-
class
|
1443
|
+
class ListChannelsResponse
|
1444
1444
|
# @private
|
1445
1445
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1446
1446
|
property :etag, as: 'etag'
|
@@ -1501,7 +1501,7 @@ module Google
|
|
1501
1501
|
end
|
1502
1502
|
end
|
1503
1503
|
|
1504
|
-
class
|
1504
|
+
class ListChannelSectionsResponse
|
1505
1505
|
# @private
|
1506
1506
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1507
1507
|
property :etag, as: 'etag'
|
@@ -1619,7 +1619,7 @@ module Google
|
|
1619
1619
|
end
|
1620
1620
|
end
|
1621
1621
|
|
1622
|
-
class
|
1622
|
+
class ListCommentsResponse
|
1623
1623
|
# @private
|
1624
1624
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1625
1625
|
property :etag, as: 'etag'
|
@@ -1672,7 +1672,7 @@ module Google
|
|
1672
1672
|
end
|
1673
1673
|
end
|
1674
1674
|
|
1675
|
-
class
|
1675
|
+
class ListCommentThreadsResponse
|
1676
1676
|
# @private
|
1677
1677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1678
1678
|
property :etag, as: 'etag'
|
@@ -1847,7 +1847,7 @@ module Google
|
|
1847
1847
|
end
|
1848
1848
|
end
|
1849
1849
|
|
1850
|
-
class
|
1850
|
+
class ListGuideCategoriesResponse
|
1851
1851
|
# @private
|
1852
1852
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1853
1853
|
property :etag, as: 'etag'
|
@@ -1884,7 +1884,7 @@ module Google
|
|
1884
1884
|
end
|
1885
1885
|
end
|
1886
1886
|
|
1887
|
-
class
|
1887
|
+
class ListI18nLanguagesResponse
|
1888
1888
|
# @private
|
1889
1889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1890
1890
|
property :etag, as: 'etag'
|
@@ -1915,7 +1915,7 @@ module Google
|
|
1915
1915
|
end
|
1916
1916
|
end
|
1917
1917
|
|
1918
|
-
class
|
1918
|
+
class ListI18nRegionsResponse
|
1919
1919
|
# @private
|
1920
1920
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1921
1921
|
property :etag, as: 'etag'
|
@@ -2066,7 +2066,7 @@ module Google
|
|
2066
2066
|
end
|
2067
2067
|
end
|
2068
2068
|
|
2069
|
-
class
|
2069
|
+
class ListLiveBroadcastsResponse
|
2070
2070
|
# @private
|
2071
2071
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2072
2072
|
property :etag, as: 'etag'
|
@@ -2431,7 +2431,7 @@ module Google
|
|
2431
2431
|
end
|
2432
2432
|
end
|
2433
2433
|
|
2434
|
-
class
|
2434
|
+
class ListLiveStreamsResponse
|
2435
2435
|
# @private
|
2436
2436
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2437
2437
|
property :etag, as: 'etag'
|
@@ -2559,7 +2559,7 @@ module Google
|
|
2559
2559
|
end
|
2560
2560
|
end
|
2561
2561
|
|
2562
|
-
class
|
2562
|
+
class ListPlaylistItemsResponse
|
2563
2563
|
# @private
|
2564
2564
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2565
2565
|
property :etag, as: 'etag'
|
@@ -2602,7 +2602,7 @@ module Google
|
|
2602
2602
|
end
|
2603
2603
|
end
|
2604
2604
|
|
2605
|
-
class
|
2605
|
+
class ListPlaylistResponse
|
2606
2606
|
# @private
|
2607
2607
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2608
2608
|
property :etag, as: 'etag'
|
@@ -2700,7 +2700,7 @@ module Google
|
|
2700
2700
|
end
|
2701
2701
|
end
|
2702
2702
|
|
2703
|
-
class
|
2703
|
+
class SearchListsResponse
|
2704
2704
|
# @private
|
2705
2705
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2706
2706
|
property :etag, as: 'etag'
|
@@ -2809,7 +2809,7 @@ module Google
|
|
2809
2809
|
end
|
2810
2810
|
end
|
2811
2811
|
|
2812
|
-
class
|
2812
|
+
class ListSubscriptionResponse
|
2813
2813
|
# @private
|
2814
2814
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2815
2815
|
property :etag, as: 'etag'
|
@@ -2923,7 +2923,7 @@ module Google
|
|
2923
2923
|
end
|
2924
2924
|
end
|
2925
2925
|
|
2926
|
-
class
|
2926
|
+
class SetThumbnailResponse
|
2927
2927
|
# @private
|
2928
2928
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2929
2929
|
property :etag, as: 'etag'
|
@@ -3002,7 +3002,7 @@ module Google
|
|
3002
3002
|
end
|
3003
3003
|
end
|
3004
3004
|
|
3005
|
-
class
|
3005
|
+
class ListVideoAbuseReportReasonResponse
|
3006
3006
|
# @private
|
3007
3007
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3008
3008
|
property :etag, as: 'etag'
|
@@ -3051,7 +3051,7 @@ module Google
|
|
3051
3051
|
end
|
3052
3052
|
end
|
3053
3053
|
|
3054
|
-
class
|
3054
|
+
class ListVideoCategoryResponse
|
3055
3055
|
# @private
|
3056
3056
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3057
3057
|
property :etag, as: 'etag'
|
@@ -3146,7 +3146,7 @@ module Google
|
|
3146
3146
|
end
|
3147
3147
|
end
|
3148
3148
|
|
3149
|
-
class
|
3149
|
+
class GetVideoRatingResponse
|
3150
3150
|
# @private
|
3151
3151
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3152
3152
|
property :etag, as: 'etag'
|
@@ -3158,7 +3158,7 @@ module Google
|
|
3158
3158
|
end
|
3159
3159
|
end
|
3160
3160
|
|
3161
|
-
class
|
3161
|
+
class ListVideosResponse
|
3162
3162
|
# @private
|
3163
3163
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3164
3164
|
property :etag, as: 'etag'
|
@@ -159,18 +159,18 @@ module Google
|
|
159
159
|
# Request-specific options
|
160
160
|
#
|
161
161
|
# @yield [result, err] Result & error if block supplied
|
162
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
162
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListActivitiesResponse] parsed result object
|
163
163
|
# @yieldparam err [StandardError] error object if request failed
|
164
164
|
#
|
165
|
-
# @return [Google::Apis::YoutubeV3::
|
165
|
+
# @return [Google::Apis::YoutubeV3::ListActivitiesResponse]
|
166
166
|
#
|
167
167
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
168
168
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
169
169
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
170
170
|
def list_activities(part, channel_id: nil, home: nil, max_results: nil, mine: nil, page_token: nil, published_after: nil, published_before: nil, region_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
171
171
|
command = make_simple_command(:get, 'activities', options)
|
172
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
173
|
-
command.response_class = Google::Apis::YoutubeV3::
|
172
|
+
command.response_representation = Google::Apis::YoutubeV3::ListActivitiesResponse::Representation
|
173
|
+
command.response_class = Google::Apis::YoutubeV3::ListActivitiesResponse
|
174
174
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
175
175
|
command.query['home'] = home unless home.nil?
|
176
176
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -415,18 +415,18 @@ module Google
|
|
415
415
|
# Request-specific options
|
416
416
|
#
|
417
417
|
# @yield [result, err] Result & error if block supplied
|
418
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
418
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListCaptionsResponse] parsed result object
|
419
419
|
# @yieldparam err [StandardError] error object if request failed
|
420
420
|
#
|
421
|
-
# @return [Google::Apis::YoutubeV3::
|
421
|
+
# @return [Google::Apis::YoutubeV3::ListCaptionsResponse]
|
422
422
|
#
|
423
423
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
424
424
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
425
425
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
426
426
|
def list_captions(part, video_id, id: nil, on_behalf_of: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
427
427
|
command = make_simple_command(:get, 'captions', options)
|
428
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
429
|
-
command.response_class = Google::Apis::YoutubeV3::
|
428
|
+
command.response_representation = Google::Apis::YoutubeV3::ListCaptionsResponse::Representation
|
429
|
+
command.response_class = Google::Apis::YoutubeV3::ListCaptionsResponse
|
430
430
|
command.query['id'] = id unless id.nil?
|
431
431
|
command.query['onBehalfOf'] = on_behalf_of unless on_behalf_of.nil?
|
432
432
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
@@ -746,18 +746,18 @@ module Google
|
|
746
746
|
# Request-specific options
|
747
747
|
#
|
748
748
|
# @yield [result, err] Result & error if block supplied
|
749
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
749
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListChannelSectionsResponse] parsed result object
|
750
750
|
# @yieldparam err [StandardError] error object if request failed
|
751
751
|
#
|
752
|
-
# @return [Google::Apis::YoutubeV3::
|
752
|
+
# @return [Google::Apis::YoutubeV3::ListChannelSectionsResponse]
|
753
753
|
#
|
754
754
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
755
755
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
756
756
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
757
757
|
def list_channel_sections(part, channel_id: nil, hl: nil, id: nil, mine: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
758
758
|
command = make_simple_command(:get, 'channelSections', options)
|
759
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
760
|
-
command.response_class = Google::Apis::YoutubeV3::
|
759
|
+
command.response_representation = Google::Apis::YoutubeV3::ListChannelSectionsResponse::Representation
|
760
|
+
command.response_class = Google::Apis::YoutubeV3::ListChannelSectionsResponse
|
761
761
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
762
762
|
command.query['hl'] = hl unless hl.nil?
|
763
763
|
command.query['id'] = id unless id.nil?
|
@@ -888,18 +888,18 @@ module Google
|
|
888
888
|
# Request-specific options
|
889
889
|
#
|
890
890
|
# @yield [result, err] Result & error if block supplied
|
891
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
891
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListChannelsResponse] parsed result object
|
892
892
|
# @yieldparam err [StandardError] error object if request failed
|
893
893
|
#
|
894
|
-
# @return [Google::Apis::YoutubeV3::
|
894
|
+
# @return [Google::Apis::YoutubeV3::ListChannelsResponse]
|
895
895
|
#
|
896
896
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
897
897
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
898
898
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
899
899
|
def list_channels(part, category_id: nil, for_username: nil, hl: nil, id: nil, managed_by_me: nil, max_results: nil, mine: nil, my_subscribers: nil, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
900
900
|
command = make_simple_command(:get, 'channels', options)
|
901
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
902
|
-
command.response_class = Google::Apis::YoutubeV3::
|
901
|
+
command.response_representation = Google::Apis::YoutubeV3::ListChannelsResponse::Representation
|
902
|
+
command.response_class = Google::Apis::YoutubeV3::ListChannelsResponse
|
903
903
|
command.query['categoryId'] = category_id unless category_id.nil?
|
904
904
|
command.query['forUsername'] = for_username unless for_username.nil?
|
905
905
|
command.query['hl'] = hl unless hl.nil?
|
@@ -1076,18 +1076,18 @@ module Google
|
|
1076
1076
|
# Request-specific options
|
1077
1077
|
#
|
1078
1078
|
# @yield [result, err] Result & error if block supplied
|
1079
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
1079
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListCommentThreadsResponse] parsed result object
|
1080
1080
|
# @yieldparam err [StandardError] error object if request failed
|
1081
1081
|
#
|
1082
|
-
# @return [Google::Apis::YoutubeV3::
|
1082
|
+
# @return [Google::Apis::YoutubeV3::ListCommentThreadsResponse]
|
1083
1083
|
#
|
1084
1084
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1085
1085
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1086
1086
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1087
1087
|
def list_comment_threads(part, all_threads_related_to_channel_id: nil, channel_id: nil, id: nil, max_results: nil, moderation_status: nil, order: nil, page_token: nil, search_terms: nil, text_format: nil, video_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1088
1088
|
command = make_simple_command(:get, 'commentThreads', options)
|
1089
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
1090
|
-
command.response_class = Google::Apis::YoutubeV3::
|
1089
|
+
command.response_representation = Google::Apis::YoutubeV3::ListCommentThreadsResponse::Representation
|
1090
|
+
command.response_class = Google::Apis::YoutubeV3::ListCommentThreadsResponse
|
1091
1091
|
command.query['allThreadsRelatedToChannelId'] = all_threads_related_to_channel_id unless all_threads_related_to_channel_id.nil?
|
1092
1092
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
1093
1093
|
command.query['id'] = id unless id.nil?
|
@@ -1261,18 +1261,18 @@ module Google
|
|
1261
1261
|
# Request-specific options
|
1262
1262
|
#
|
1263
1263
|
# @yield [result, err] Result & error if block supplied
|
1264
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
1264
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListCommentsResponse] parsed result object
|
1265
1265
|
# @yieldparam err [StandardError] error object if request failed
|
1266
1266
|
#
|
1267
|
-
# @return [Google::Apis::YoutubeV3::
|
1267
|
+
# @return [Google::Apis::YoutubeV3::ListCommentsResponse]
|
1268
1268
|
#
|
1269
1269
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1270
1270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1271
1271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1272
1272
|
def list_comments(part, id: nil, max_results: nil, page_token: nil, parent_id: nil, text_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1273
1273
|
command = make_simple_command(:get, 'comments', options)
|
1274
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
1275
|
-
command.response_class = Google::Apis::YoutubeV3::
|
1274
|
+
command.response_representation = Google::Apis::YoutubeV3::ListCommentsResponse::Representation
|
1275
|
+
command.response_class = Google::Apis::YoutubeV3::ListCommentsResponse
|
1276
1276
|
command.query['id'] = id unless id.nil?
|
1277
1277
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1278
1278
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1489,18 +1489,18 @@ module Google
|
|
1489
1489
|
# Request-specific options
|
1490
1490
|
#
|
1491
1491
|
# @yield [result, err] Result & error if block supplied
|
1492
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
1492
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListGuideCategoriesResponse] parsed result object
|
1493
1493
|
# @yieldparam err [StandardError] error object if request failed
|
1494
1494
|
#
|
1495
|
-
# @return [Google::Apis::YoutubeV3::
|
1495
|
+
# @return [Google::Apis::YoutubeV3::ListGuideCategoriesResponse]
|
1496
1496
|
#
|
1497
1497
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1498
1498
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1499
1499
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1500
1500
|
def list_guide_categories(part, hl: nil, id: nil, region_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1501
1501
|
command = make_simple_command(:get, 'guideCategories', options)
|
1502
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
1503
|
-
command.response_class = Google::Apis::YoutubeV3::
|
1502
|
+
command.response_representation = Google::Apis::YoutubeV3::ListGuideCategoriesResponse::Representation
|
1503
|
+
command.response_class = Google::Apis::YoutubeV3::ListGuideCategoriesResponse
|
1504
1504
|
command.query['hl'] = hl unless hl.nil?
|
1505
1505
|
command.query['id'] = id unless id.nil?
|
1506
1506
|
command.query['part'] = part unless part.nil?
|
@@ -1531,18 +1531,18 @@ module Google
|
|
1531
1531
|
# Request-specific options
|
1532
1532
|
#
|
1533
1533
|
# @yield [result, err] Result & error if block supplied
|
1534
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
1534
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListI18nLanguagesResponse] parsed result object
|
1535
1535
|
# @yieldparam err [StandardError] error object if request failed
|
1536
1536
|
#
|
1537
|
-
# @return [Google::Apis::YoutubeV3::
|
1537
|
+
# @return [Google::Apis::YoutubeV3::ListI18nLanguagesResponse]
|
1538
1538
|
#
|
1539
1539
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1540
1540
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1541
1541
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1542
1542
|
def list_i18n_languages(part, hl: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1543
1543
|
command = make_simple_command(:get, 'i18nLanguages', options)
|
1544
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
1545
|
-
command.response_class = Google::Apis::YoutubeV3::
|
1544
|
+
command.response_representation = Google::Apis::YoutubeV3::ListI18nLanguagesResponse::Representation
|
1545
|
+
command.response_class = Google::Apis::YoutubeV3::ListI18nLanguagesResponse
|
1546
1546
|
command.query['hl'] = hl unless hl.nil?
|
1547
1547
|
command.query['part'] = part unless part.nil?
|
1548
1548
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1571,18 +1571,18 @@ module Google
|
|
1571
1571
|
# Request-specific options
|
1572
1572
|
#
|
1573
1573
|
# @yield [result, err] Result & error if block supplied
|
1574
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
1574
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListI18nRegionsResponse] parsed result object
|
1575
1575
|
# @yieldparam err [StandardError] error object if request failed
|
1576
1576
|
#
|
1577
|
-
# @return [Google::Apis::YoutubeV3::
|
1577
|
+
# @return [Google::Apis::YoutubeV3::ListI18nRegionsResponse]
|
1578
1578
|
#
|
1579
1579
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1580
1580
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1581
1581
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1582
1582
|
def list_i18n_regions(part, hl: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1583
1583
|
command = make_simple_command(:get, 'i18nRegions', options)
|
1584
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
1585
|
-
command.response_class = Google::Apis::YoutubeV3::
|
1584
|
+
command.response_representation = Google::Apis::YoutubeV3::ListI18nRegionsResponse::Representation
|
1585
|
+
command.response_class = Google::Apis::YoutubeV3::ListI18nRegionsResponse
|
1586
1586
|
command.query['hl'] = hl unless hl.nil?
|
1587
1587
|
command.query['part'] = part unless part.nil?
|
1588
1588
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1959,18 +1959,18 @@ module Google
|
|
1959
1959
|
# Request-specific options
|
1960
1960
|
#
|
1961
1961
|
# @yield [result, err] Result & error if block supplied
|
1962
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
1962
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListLiveBroadcastsResponse] parsed result object
|
1963
1963
|
# @yieldparam err [StandardError] error object if request failed
|
1964
1964
|
#
|
1965
|
-
# @return [Google::Apis::YoutubeV3::
|
1965
|
+
# @return [Google::Apis::YoutubeV3::ListLiveBroadcastsResponse]
|
1966
1966
|
#
|
1967
1967
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1968
1968
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1969
1969
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1970
1970
|
def list_live_broadcasts(part, broadcast_status: nil, broadcast_type: nil, id: nil, max_results: nil, mine: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1971
1971
|
command = make_simple_command(:get, 'liveBroadcasts', options)
|
1972
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
1973
|
-
command.response_class = Google::Apis::YoutubeV3::
|
1972
|
+
command.response_representation = Google::Apis::YoutubeV3::ListLiveBroadcastsResponse::Representation
|
1973
|
+
command.response_class = Google::Apis::YoutubeV3::ListLiveBroadcastsResponse
|
1974
1974
|
command.query['broadcastStatus'] = broadcast_status unless broadcast_status.nil?
|
1975
1975
|
command.query['broadcastType'] = broadcast_type unless broadcast_type.nil?
|
1976
1976
|
command.query['id'] = id unless id.nil?
|
@@ -2672,18 +2672,18 @@ module Google
|
|
2672
2672
|
# Request-specific options
|
2673
2673
|
#
|
2674
2674
|
# @yield [result, err] Result & error if block supplied
|
2675
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
2675
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListLiveStreamsResponse] parsed result object
|
2676
2676
|
# @yieldparam err [StandardError] error object if request failed
|
2677
2677
|
#
|
2678
|
-
# @return [Google::Apis::YoutubeV3::
|
2678
|
+
# @return [Google::Apis::YoutubeV3::ListLiveStreamsResponse]
|
2679
2679
|
#
|
2680
2680
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2681
2681
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2682
2682
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2683
2683
|
def list_live_streams(part, id: nil, max_results: nil, mine: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2684
2684
|
command = make_simple_command(:get, 'liveStreams', options)
|
2685
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
2686
|
-
command.response_class = Google::Apis::YoutubeV3::
|
2685
|
+
command.response_representation = Google::Apis::YoutubeV3::ListLiveStreamsResponse::Representation
|
2686
|
+
command.response_class = Google::Apis::YoutubeV3::ListLiveStreamsResponse
|
2687
2687
|
command.query['id'] = id unless id.nil?
|
2688
2688
|
command.query['maxResults'] = max_results unless max_results.nil?
|
2689
2689
|
command.query['mine'] = mine unless mine.nil?
|
@@ -2922,18 +2922,18 @@ module Google
|
|
2922
2922
|
# Request-specific options
|
2923
2923
|
#
|
2924
2924
|
# @yield [result, err] Result & error if block supplied
|
2925
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
2925
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListPlaylistItemsResponse] parsed result object
|
2926
2926
|
# @yieldparam err [StandardError] error object if request failed
|
2927
2927
|
#
|
2928
|
-
# @return [Google::Apis::YoutubeV3::
|
2928
|
+
# @return [Google::Apis::YoutubeV3::ListPlaylistItemsResponse]
|
2929
2929
|
#
|
2930
2930
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2931
2931
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2932
2932
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2933
2933
|
def list_playlist_items(part, id: nil, max_results: nil, on_behalf_of_content_owner: nil, page_token: nil, playlist_id: nil, video_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2934
2934
|
command = make_simple_command(:get, 'playlistItems', options)
|
2935
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
2936
|
-
command.response_class = Google::Apis::YoutubeV3::
|
2935
|
+
command.response_representation = Google::Apis::YoutubeV3::ListPlaylistItemsResponse::Representation
|
2936
|
+
command.response_class = Google::Apis::YoutubeV3::ListPlaylistItemsResponse
|
2937
2937
|
command.query['id'] = id unless id.nil?
|
2938
2938
|
command.query['maxResults'] = max_results unless max_results.nil?
|
2939
2939
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
@@ -3193,18 +3193,18 @@ module Google
|
|
3193
3193
|
# Request-specific options
|
3194
3194
|
#
|
3195
3195
|
# @yield [result, err] Result & error if block supplied
|
3196
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
3196
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListPlaylistResponse] parsed result object
|
3197
3197
|
# @yieldparam err [StandardError] error object if request failed
|
3198
3198
|
#
|
3199
|
-
# @return [Google::Apis::YoutubeV3::
|
3199
|
+
# @return [Google::Apis::YoutubeV3::ListPlaylistResponse]
|
3200
3200
|
#
|
3201
3201
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3202
3202
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3203
3203
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3204
3204
|
def list_playlists(part, channel_id: nil, hl: nil, id: nil, max_results: nil, mine: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3205
3205
|
command = make_simple_command(:get, 'playlists', options)
|
3206
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
3207
|
-
command.response_class = Google::Apis::YoutubeV3::
|
3206
|
+
command.response_representation = Google::Apis::YoutubeV3::ListPlaylistResponse::Representation
|
3207
|
+
command.response_class = Google::Apis::YoutubeV3::ListPlaylistResponse
|
3208
3208
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
3209
3209
|
command.query['hl'] = hl unless hl.nil?
|
3210
3210
|
command.query['id'] = id unless id.nil?
|
@@ -3448,18 +3448,18 @@ module Google
|
|
3448
3448
|
# Request-specific options
|
3449
3449
|
#
|
3450
3450
|
# @yield [result, err] Result & error if block supplied
|
3451
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
3451
|
+
# @yieldparam result [Google::Apis::YoutubeV3::SearchListsResponse] parsed result object
|
3452
3452
|
# @yieldparam err [StandardError] error object if request failed
|
3453
3453
|
#
|
3454
|
-
# @return [Google::Apis::YoutubeV3::
|
3454
|
+
# @return [Google::Apis::YoutubeV3::SearchListsResponse]
|
3455
3455
|
#
|
3456
3456
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3457
3457
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3458
3458
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3459
3459
|
def list_searches(part, channel_id: nil, channel_type: nil, event_type: nil, for_content_owner: nil, for_developer: nil, for_mine: nil, location: nil, location_radius: nil, max_results: nil, on_behalf_of_content_owner: nil, order: nil, page_token: nil, published_after: nil, published_before: nil, q: nil, region_code: nil, related_to_video_id: nil, relevance_language: nil, safe_search: nil, topic_id: nil, type: nil, video_caption: nil, video_category_id: nil, video_definition: nil, video_dimension: nil, video_duration: nil, video_embeddable: nil, video_license: nil, video_syndicated: nil, video_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3460
3460
|
command = make_simple_command(:get, 'search', options)
|
3461
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
3462
|
-
command.response_class = Google::Apis::YoutubeV3::
|
3461
|
+
command.response_representation = Google::Apis::YoutubeV3::SearchListsResponse::Representation
|
3462
|
+
command.response_class = Google::Apis::YoutubeV3::SearchListsResponse
|
3463
3463
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
3464
3464
|
command.query['channelType'] = channel_type unless channel_type.nil?
|
3465
3465
|
command.query['eventType'] = event_type unless event_type.nil?
|
@@ -3697,18 +3697,18 @@ module Google
|
|
3697
3697
|
# Request-specific options
|
3698
3698
|
#
|
3699
3699
|
# @yield [result, err] Result & error if block supplied
|
3700
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
3700
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListSubscriptionResponse] parsed result object
|
3701
3701
|
# @yieldparam err [StandardError] error object if request failed
|
3702
3702
|
#
|
3703
|
-
# @return [Google::Apis::YoutubeV3::
|
3703
|
+
# @return [Google::Apis::YoutubeV3::ListSubscriptionResponse]
|
3704
3704
|
#
|
3705
3705
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3706
3706
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3707
3707
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3708
3708
|
def list_subscriptions(part, channel_id: nil, for_channel_id: nil, id: nil, max_results: nil, mine: nil, my_recent_subscribers: nil, my_subscribers: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, order: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3709
3709
|
command = make_simple_command(:get, 'subscriptions', options)
|
3710
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
3711
|
-
command.response_class = Google::Apis::YoutubeV3::
|
3710
|
+
command.response_representation = Google::Apis::YoutubeV3::ListSubscriptionResponse::Representation
|
3711
|
+
command.response_class = Google::Apis::YoutubeV3::ListSubscriptionResponse
|
3712
3712
|
command.query['channelId'] = channel_id unless channel_id.nil?
|
3713
3713
|
command.query['forChannelId'] = for_channel_id unless for_channel_id.nil?
|
3714
3714
|
command.query['id'] = id unless id.nil?
|
@@ -3813,10 +3813,10 @@ module Google
|
|
3813
3813
|
# Request-specific options
|
3814
3814
|
#
|
3815
3815
|
# @yield [result, err] Result & error if block supplied
|
3816
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
3816
|
+
# @yieldparam result [Google::Apis::YoutubeV3::SetThumbnailResponse] parsed result object
|
3817
3817
|
# @yieldparam err [StandardError] error object if request failed
|
3818
3818
|
#
|
3819
|
-
# @return [Google::Apis::YoutubeV3::
|
3819
|
+
# @return [Google::Apis::YoutubeV3::SetThumbnailResponse]
|
3820
3820
|
#
|
3821
3821
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3822
3822
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
@@ -3829,8 +3829,8 @@ module Google
|
|
3829
3829
|
command.upload_source = upload_source
|
3830
3830
|
command.upload_content_type = content_type
|
3831
3831
|
end
|
3832
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
3833
|
-
command.response_class = Google::Apis::YoutubeV3::
|
3832
|
+
command.response_representation = Google::Apis::YoutubeV3::SetThumbnailResponse::Representation
|
3833
|
+
command.response_class = Google::Apis::YoutubeV3::SetThumbnailResponse
|
3834
3834
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
3835
3835
|
command.query['videoId'] = video_id unless video_id.nil?
|
3836
3836
|
command.query['fields'] = fields unless fields.nil?
|
@@ -3859,18 +3859,18 @@ module Google
|
|
3859
3859
|
# Request-specific options
|
3860
3860
|
#
|
3861
3861
|
# @yield [result, err] Result & error if block supplied
|
3862
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
3862
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListVideoAbuseReportReasonResponse] parsed result object
|
3863
3863
|
# @yieldparam err [StandardError] error object if request failed
|
3864
3864
|
#
|
3865
|
-
# @return [Google::Apis::YoutubeV3::
|
3865
|
+
# @return [Google::Apis::YoutubeV3::ListVideoAbuseReportReasonResponse]
|
3866
3866
|
#
|
3867
3867
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3868
3868
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3869
3869
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3870
3870
|
def list_video_abuse_report_reasons(part, hl: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3871
3871
|
command = make_simple_command(:get, 'videoAbuseReportReasons', options)
|
3872
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
3873
|
-
command.response_class = Google::Apis::YoutubeV3::
|
3872
|
+
command.response_representation = Google::Apis::YoutubeV3::ListVideoAbuseReportReasonResponse::Representation
|
3873
|
+
command.response_class = Google::Apis::YoutubeV3::ListVideoAbuseReportReasonResponse
|
3874
3874
|
command.query['hl'] = hl unless hl.nil?
|
3875
3875
|
command.query['part'] = part unless part.nil?
|
3876
3876
|
command.query['fields'] = fields unless fields.nil?
|
@@ -3906,18 +3906,18 @@ module Google
|
|
3906
3906
|
# Request-specific options
|
3907
3907
|
#
|
3908
3908
|
# @yield [result, err] Result & error if block supplied
|
3909
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
3909
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListVideoCategoryResponse] parsed result object
|
3910
3910
|
# @yieldparam err [StandardError] error object if request failed
|
3911
3911
|
#
|
3912
|
-
# @return [Google::Apis::YoutubeV3::
|
3912
|
+
# @return [Google::Apis::YoutubeV3::ListVideoCategoryResponse]
|
3913
3913
|
#
|
3914
3914
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3915
3915
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3916
3916
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3917
3917
|
def list_video_categories(part, hl: nil, id: nil, region_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3918
3918
|
command = make_simple_command(:get, 'videoCategories', options)
|
3919
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
3920
|
-
command.response_class = Google::Apis::YoutubeV3::
|
3919
|
+
command.response_representation = Google::Apis::YoutubeV3::ListVideoCategoryResponse::Representation
|
3920
|
+
command.response_class = Google::Apis::YoutubeV3::ListVideoCategoryResponse
|
3921
3921
|
command.query['hl'] = hl unless hl.nil?
|
3922
3922
|
command.query['id'] = id unless id.nil?
|
3923
3923
|
command.query['part'] = part unless part.nil?
|
@@ -4002,18 +4002,18 @@ module Google
|
|
4002
4002
|
# Request-specific options
|
4003
4003
|
#
|
4004
4004
|
# @yield [result, err] Result & error if block supplied
|
4005
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
4005
|
+
# @yieldparam result [Google::Apis::YoutubeV3::GetVideoRatingResponse] parsed result object
|
4006
4006
|
# @yieldparam err [StandardError] error object if request failed
|
4007
4007
|
#
|
4008
|
-
# @return [Google::Apis::YoutubeV3::
|
4008
|
+
# @return [Google::Apis::YoutubeV3::GetVideoRatingResponse]
|
4009
4009
|
#
|
4010
4010
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4011
4011
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4012
4012
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4013
4013
|
def get_video_rating(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4014
4014
|
command = make_simple_command(:get, 'videos/getRating', options)
|
4015
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
4016
|
-
command.response_class = Google::Apis::YoutubeV3::
|
4015
|
+
command.response_representation = Google::Apis::YoutubeV3::GetVideoRatingResponse::Representation
|
4016
|
+
command.response_class = Google::Apis::YoutubeV3::GetVideoRatingResponse
|
4017
4017
|
command.query['id'] = id unless id.nil?
|
4018
4018
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
4019
4019
|
command.query['fields'] = fields unless fields.nil?
|
@@ -4203,18 +4203,18 @@ module Google
|
|
4203
4203
|
# Request-specific options
|
4204
4204
|
#
|
4205
4205
|
# @yield [result, err] Result & error if block supplied
|
4206
|
-
# @yieldparam result [Google::Apis::YoutubeV3::
|
4206
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ListVideosResponse] parsed result object
|
4207
4207
|
# @yieldparam err [StandardError] error object if request failed
|
4208
4208
|
#
|
4209
|
-
# @return [Google::Apis::YoutubeV3::
|
4209
|
+
# @return [Google::Apis::YoutubeV3::ListVideosResponse]
|
4210
4210
|
#
|
4211
4211
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4212
4212
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4213
4213
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4214
4214
|
def list_videos(part, chart: nil, hl: nil, id: nil, locale: nil, max_height: nil, max_results: nil, max_width: nil, my_rating: nil, on_behalf_of_content_owner: nil, page_token: nil, region_code: nil, video_category_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4215
4215
|
command = make_simple_command(:get, 'videos', options)
|
4216
|
-
command.response_representation = Google::Apis::YoutubeV3::
|
4217
|
-
command.response_class = Google::Apis::YoutubeV3::
|
4216
|
+
command.response_representation = Google::Apis::YoutubeV3::ListVideosResponse::Representation
|
4217
|
+
command.response_class = Google::Apis::YoutubeV3::ListVideosResponse
|
4218
4218
|
command.query['chart'] = chart unless chart.nil?
|
4219
4219
|
command.query['hl'] = hl unless hl.nil?
|
4220
4220
|
command.query['id'] = id unless id.nil?
|