google-api-client 0.41.2 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1389 -105
- data/generated/google/apis/apigee_v1/representations.rb +543 -0
- data/generated/google/apis/apigee_v1/service.rb +1139 -93
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +4 -3
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1606 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +608 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +4 -2
- data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +12 -5
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
- data/generated/google/apis/games_v1.rb +5 -3
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +212 -1154
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +6 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -2
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +8 -5
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +24 -28
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +211 -0
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +123 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +17 -6
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +554 -0
- data/generated/google/apis/youtube_v3/representations.rb +281 -0
- data/generated/google/apis/youtube_v3/service.rb +259 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -19
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2.rb +0 -34
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
|
@@ -22,6 +22,18 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module YoutubeV3
|
|
24
24
|
|
|
25
|
+
class AbuseReport
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class AbuseType
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
25
37
|
class AccessPolicy
|
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
39
|
|
|
@@ -166,6 +178,12 @@ module Google
|
|
|
166
178
|
include Google::Apis::Core::JsonObjectSupport
|
|
167
179
|
end
|
|
168
180
|
|
|
181
|
+
class ChannelCard
|
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
+
|
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
+
end
|
|
186
|
+
|
|
169
187
|
class ChannelContentDetails
|
|
170
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
189
|
|
|
@@ -274,6 +292,12 @@ module Google
|
|
|
274
292
|
include Google::Apis::Core::JsonObjectSupport
|
|
275
293
|
end
|
|
276
294
|
|
|
295
|
+
class ChannelToStoreLinkDetails
|
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
|
+
|
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
299
|
+
end
|
|
300
|
+
|
|
277
301
|
class ChannelTopicDetails
|
|
278
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
303
|
|
|
@@ -334,6 +358,12 @@ module Google
|
|
|
334
358
|
include Google::Apis::Core::JsonObjectSupport
|
|
335
359
|
end
|
|
336
360
|
|
|
361
|
+
class Entity
|
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
|
+
|
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
365
|
+
end
|
|
366
|
+
|
|
337
367
|
class GeoPoint
|
|
338
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
369
|
|
|
@@ -400,6 +430,36 @@ module Google
|
|
|
400
430
|
include Google::Apis::Core::JsonObjectSupport
|
|
401
431
|
end
|
|
402
432
|
|
|
433
|
+
class InfoCard
|
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
435
|
+
|
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
class InfoCardSnippet
|
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
441
|
+
|
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
class InfoCardSnippetTeaser
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
+
|
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
class InfoCards
|
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
|
+
|
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
455
|
+
end
|
|
456
|
+
|
|
457
|
+
class InfocardListResponse
|
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
459
|
+
|
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
461
|
+
end
|
|
462
|
+
|
|
403
463
|
class IngestionInfo
|
|
404
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
405
465
|
|
|
@@ -442,6 +502,18 @@ module Google
|
|
|
442
502
|
include Google::Apis::Core::JsonObjectSupport
|
|
443
503
|
end
|
|
444
504
|
|
|
505
|
+
class LinkCard
|
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
507
|
+
|
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
509
|
+
end
|
|
510
|
+
|
|
511
|
+
class LinkCardUploadedImage
|
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
513
|
+
|
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
515
|
+
end
|
|
516
|
+
|
|
445
517
|
class LiveBroadcast
|
|
446
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
519
|
|
|
@@ -700,6 +772,12 @@ module Google
|
|
|
700
772
|
include Google::Apis::Core::JsonObjectSupport
|
|
701
773
|
end
|
|
702
774
|
|
|
775
|
+
class PlaylistCard
|
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
777
|
+
|
|
778
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
779
|
+
end
|
|
780
|
+
|
|
703
781
|
class PlaylistContentDetails
|
|
704
782
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
705
783
|
|
|
@@ -784,6 +862,12 @@ module Google
|
|
|
784
862
|
include Google::Apis::Core::JsonObjectSupport
|
|
785
863
|
end
|
|
786
864
|
|
|
865
|
+
class RelatedEntity
|
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
867
|
+
|
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
869
|
+
end
|
|
870
|
+
|
|
787
871
|
class ResourceId
|
|
788
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
789
873
|
|
|
@@ -892,6 +976,24 @@ module Google
|
|
|
892
976
|
include Google::Apis::Core::JsonObjectSupport
|
|
893
977
|
end
|
|
894
978
|
|
|
979
|
+
class ThirdPartyLink
|
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
981
|
+
|
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
983
|
+
end
|
|
984
|
+
|
|
985
|
+
class ThirdPartyLinkSnippet
|
|
986
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
987
|
+
|
|
988
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
989
|
+
end
|
|
990
|
+
|
|
991
|
+
class ThirdPartyLinkStatus
|
|
992
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
993
|
+
|
|
994
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
995
|
+
end
|
|
996
|
+
|
|
895
997
|
class Thumbnail
|
|
896
998
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
897
999
|
|
|
@@ -958,6 +1060,12 @@ module Google
|
|
|
958
1060
|
include Google::Apis::Core::JsonObjectSupport
|
|
959
1061
|
end
|
|
960
1062
|
|
|
1063
|
+
class VideoCard
|
|
1064
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1065
|
+
|
|
1066
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1067
|
+
end
|
|
1068
|
+
|
|
961
1069
|
class VideoCategory
|
|
962
1070
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
963
1071
|
|
|
@@ -1114,6 +1222,26 @@ module Google
|
|
|
1114
1222
|
include Google::Apis::Core::JsonObjectSupport
|
|
1115
1223
|
end
|
|
1116
1224
|
|
|
1225
|
+
class AbuseReport
|
|
1226
|
+
# @private
|
|
1227
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1228
|
+
collection :abuse_types, as: 'abuseTypes', class: Google::Apis::YoutubeV3::AbuseType, decorator: Google::Apis::YoutubeV3::AbuseType::Representation
|
|
1229
|
+
|
|
1230
|
+
property :description, as: 'description'
|
|
1231
|
+
collection :related_entities, as: 'relatedEntities', class: Google::Apis::YoutubeV3::RelatedEntity, decorator: Google::Apis::YoutubeV3::RelatedEntity::Representation
|
|
1232
|
+
|
|
1233
|
+
property :subject, as: 'subject', class: Google::Apis::YoutubeV3::Entity, decorator: Google::Apis::YoutubeV3::Entity::Representation
|
|
1234
|
+
|
|
1235
|
+
end
|
|
1236
|
+
end
|
|
1237
|
+
|
|
1238
|
+
class AbuseType
|
|
1239
|
+
# @private
|
|
1240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1241
|
+
property :id, as: 'id'
|
|
1242
|
+
end
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1117
1245
|
class AccessPolicy
|
|
1118
1246
|
# @private
|
|
1119
1247
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1417,6 +1545,14 @@ module Google
|
|
|
1417
1545
|
end
|
|
1418
1546
|
end
|
|
1419
1547
|
|
|
1548
|
+
class ChannelCard
|
|
1549
|
+
# @private
|
|
1550
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1551
|
+
property :channel_id, as: 'channelId'
|
|
1552
|
+
property :custom_message, as: 'customMessage'
|
|
1553
|
+
end
|
|
1554
|
+
end
|
|
1555
|
+
|
|
1420
1556
|
class ChannelContentDetails
|
|
1421
1557
|
# @private
|
|
1422
1558
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1621,6 +1757,14 @@ module Google
|
|
|
1621
1757
|
end
|
|
1622
1758
|
end
|
|
1623
1759
|
|
|
1760
|
+
class ChannelToStoreLinkDetails
|
|
1761
|
+
# @private
|
|
1762
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1763
|
+
property :store_name, as: 'storeName'
|
|
1764
|
+
property :store_url, as: 'storeUrl'
|
|
1765
|
+
end
|
|
1766
|
+
end
|
|
1767
|
+
|
|
1624
1768
|
class ChannelTopicDetails
|
|
1625
1769
|
# @private
|
|
1626
1770
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1814,6 +1958,15 @@ module Google
|
|
|
1814
1958
|
end
|
|
1815
1959
|
end
|
|
1816
1960
|
|
|
1961
|
+
class Entity
|
|
1962
|
+
# @private
|
|
1963
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1964
|
+
property :id, as: 'id'
|
|
1965
|
+
property :type_id, as: 'typeId'
|
|
1966
|
+
property :url, as: 'url'
|
|
1967
|
+
end
|
|
1968
|
+
end
|
|
1969
|
+
|
|
1817
1970
|
class GeoPoint
|
|
1818
1971
|
# @private
|
|
1819
1972
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1955,6 +2108,59 @@ module Google
|
|
|
1955
2108
|
end
|
|
1956
2109
|
end
|
|
1957
2110
|
|
|
2111
|
+
class InfoCard
|
|
2112
|
+
# @private
|
|
2113
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2114
|
+
property :etag, as: 'etag'
|
|
2115
|
+
property :id, as: 'id'
|
|
2116
|
+
property :kind, as: 'kind'
|
|
2117
|
+
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::InfoCardSnippet, decorator: Google::Apis::YoutubeV3::InfoCardSnippet::Representation
|
|
2118
|
+
|
|
2119
|
+
end
|
|
2120
|
+
end
|
|
2121
|
+
|
|
2122
|
+
class InfoCardSnippet
|
|
2123
|
+
# @private
|
|
2124
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2125
|
+
property :channel_infocard, as: 'channelInfocard', class: Google::Apis::YoutubeV3::ChannelCard, decorator: Google::Apis::YoutubeV3::ChannelCard::Representation
|
|
2126
|
+
|
|
2127
|
+
property :link_infocard, as: 'linkInfocard', class: Google::Apis::YoutubeV3::LinkCard, decorator: Google::Apis::YoutubeV3::LinkCard::Representation
|
|
2128
|
+
|
|
2129
|
+
property :playlist_infocard, as: 'playlistInfocard', class: Google::Apis::YoutubeV3::PlaylistCard, decorator: Google::Apis::YoutubeV3::PlaylistCard::Representation
|
|
2130
|
+
|
|
2131
|
+
property :teaser, as: 'teaser', class: Google::Apis::YoutubeV3::InfoCardSnippetTeaser, decorator: Google::Apis::YoutubeV3::InfoCardSnippetTeaser::Representation
|
|
2132
|
+
|
|
2133
|
+
property :video_infocard, as: 'videoInfocard', class: Google::Apis::YoutubeV3::VideoCard, decorator: Google::Apis::YoutubeV3::VideoCard::Representation
|
|
2134
|
+
|
|
2135
|
+
end
|
|
2136
|
+
end
|
|
2137
|
+
|
|
2138
|
+
class InfoCardSnippetTeaser
|
|
2139
|
+
# @private
|
|
2140
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2141
|
+
property :teaser_start_offset, as: 'teaserStartOffset'
|
|
2142
|
+
property :teaser_text, as: 'teaserText'
|
|
2143
|
+
end
|
|
2144
|
+
end
|
|
2145
|
+
|
|
2146
|
+
class InfoCards
|
|
2147
|
+
# @private
|
|
2148
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2149
|
+
collection :items, as: 'items', class: Google::Apis::YoutubeV3::InfoCard, decorator: Google::Apis::YoutubeV3::InfoCard::Representation
|
|
2150
|
+
|
|
2151
|
+
end
|
|
2152
|
+
end
|
|
2153
|
+
|
|
2154
|
+
class InfocardListResponse
|
|
2155
|
+
# @private
|
|
2156
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2157
|
+
property :etag, as: 'etag'
|
|
2158
|
+
collection :items, as: 'items', class: Google::Apis::YoutubeV3::InfoCard, decorator: Google::Apis::YoutubeV3::InfoCard::Representation
|
|
2159
|
+
|
|
2160
|
+
property :kind, as: 'kind'
|
|
2161
|
+
end
|
|
2162
|
+
end
|
|
2163
|
+
|
|
1958
2164
|
class IngestionInfo
|
|
1959
2165
|
# @private
|
|
1960
2166
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2023,6 +2229,26 @@ module Google
|
|
|
2023
2229
|
end
|
|
2024
2230
|
end
|
|
2025
2231
|
|
|
2232
|
+
class LinkCard
|
|
2233
|
+
# @private
|
|
2234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2235
|
+
property :custom_link_text, as: 'customLinkText'
|
|
2236
|
+
property :external_image_url, as: 'externalImageUrl'
|
|
2237
|
+
property :target_url, as: 'targetUrl'
|
|
2238
|
+
property :title, as: 'title'
|
|
2239
|
+
property :uploaded_image, as: 'uploadedImage', class: Google::Apis::YoutubeV3::LinkCardUploadedImage, decorator: Google::Apis::YoutubeV3::LinkCardUploadedImage::Representation
|
|
2240
|
+
|
|
2241
|
+
end
|
|
2242
|
+
end
|
|
2243
|
+
|
|
2244
|
+
class LinkCardUploadedImage
|
|
2245
|
+
# @private
|
|
2246
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2247
|
+
property :image_file, as: 'imageFile'
|
|
2248
|
+
property :version, :numeric_string => true, as: 'version'
|
|
2249
|
+
end
|
|
2250
|
+
end
|
|
2251
|
+
|
|
2026
2252
|
class LiveBroadcast
|
|
2027
2253
|
# @private
|
|
2028
2254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2552,6 +2778,15 @@ module Google
|
|
|
2552
2778
|
end
|
|
2553
2779
|
end
|
|
2554
2780
|
|
|
2781
|
+
class PlaylistCard
|
|
2782
|
+
# @private
|
|
2783
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2784
|
+
property :custom_message, as: 'customMessage'
|
|
2785
|
+
property :playlist_id, as: 'playlistId'
|
|
2786
|
+
property :start_video_id, as: 'startVideoId'
|
|
2787
|
+
end
|
|
2788
|
+
end
|
|
2789
|
+
|
|
2555
2790
|
class PlaylistContentDetails
|
|
2556
2791
|
# @private
|
|
2557
2792
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2714,6 +2949,14 @@ module Google
|
|
|
2714
2949
|
end
|
|
2715
2950
|
end
|
|
2716
2951
|
|
|
2952
|
+
class RelatedEntity
|
|
2953
|
+
# @private
|
|
2954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2955
|
+
property :entity, as: 'entity', class: Google::Apis::YoutubeV3::Entity, decorator: Google::Apis::YoutubeV3::Entity::Representation
|
|
2956
|
+
|
|
2957
|
+
end
|
|
2958
|
+
end
|
|
2959
|
+
|
|
2717
2960
|
class ResourceId
|
|
2718
2961
|
# @private
|
|
2719
2962
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2945,6 +3188,35 @@ module Google
|
|
|
2945
3188
|
end
|
|
2946
3189
|
end
|
|
2947
3190
|
|
|
3191
|
+
class ThirdPartyLink
|
|
3192
|
+
# @private
|
|
3193
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3194
|
+
property :etag, as: 'etag'
|
|
3195
|
+
property :kind, as: 'kind'
|
|
3196
|
+
property :linking_token, as: 'linkingToken'
|
|
3197
|
+
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::ThirdPartyLinkSnippet, decorator: Google::Apis::YoutubeV3::ThirdPartyLinkSnippet::Representation
|
|
3198
|
+
|
|
3199
|
+
property :status, as: 'status', class: Google::Apis::YoutubeV3::ThirdPartyLinkStatus, decorator: Google::Apis::YoutubeV3::ThirdPartyLinkStatus::Representation
|
|
3200
|
+
|
|
3201
|
+
end
|
|
3202
|
+
end
|
|
3203
|
+
|
|
3204
|
+
class ThirdPartyLinkSnippet
|
|
3205
|
+
# @private
|
|
3206
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3207
|
+
property :channel_to_store_link, as: 'channelToStoreLink', class: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails, decorator: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails::Representation
|
|
3208
|
+
|
|
3209
|
+
property :type, as: 'type'
|
|
3210
|
+
end
|
|
3211
|
+
end
|
|
3212
|
+
|
|
3213
|
+
class ThirdPartyLinkStatus
|
|
3214
|
+
# @private
|
|
3215
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3216
|
+
property :link_status, as: 'linkStatus'
|
|
3217
|
+
end
|
|
3218
|
+
end
|
|
3219
|
+
|
|
2948
3220
|
class Thumbnail
|
|
2949
3221
|
# @private
|
|
2950
3222
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3087,6 +3359,15 @@ module Google
|
|
|
3087
3359
|
end
|
|
3088
3360
|
end
|
|
3089
3361
|
|
|
3362
|
+
class VideoCard
|
|
3363
|
+
# @private
|
|
3364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3365
|
+
property :custom_message, as: 'customMessage'
|
|
3366
|
+
property :playback_start_offset, as: 'playbackStartOffset'
|
|
3367
|
+
property :video_id, as: 'videoId'
|
|
3368
|
+
end
|
|
3369
|
+
end
|
|
3370
|
+
|
|
3090
3371
|
class VideoCategory
|
|
3091
3372
|
# @private
|
|
3092
3373
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -48,6 +48,41 @@ module Google
|
|
|
48
48
|
@batch_path = 'batch/youtube'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
+
# Inserts a new resource into this collection.
|
|
52
|
+
# @param [Array<String>, String] part
|
|
53
|
+
# The <code><strong>part</strong></code> parameter serves two purposes in
|
|
54
|
+
# this operation. It identifies the properties that the write operation will
|
|
55
|
+
# set as well as the properties that the API response will include.
|
|
56
|
+
# @param [Google::Apis::YoutubeV3::AbuseReport] abuse_report_object
|
|
57
|
+
# @param [String] fields
|
|
58
|
+
# Selector specifying which fields to include in a partial response.
|
|
59
|
+
# @param [String] quota_user
|
|
60
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
61
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
62
|
+
# @param [Google::Apis::RequestOptions] options
|
|
63
|
+
# Request-specific options
|
|
64
|
+
#
|
|
65
|
+
# @yield [result, err] Result & error if block supplied
|
|
66
|
+
# @yieldparam result [Google::Apis::YoutubeV3::AbuseReport] parsed result object
|
|
67
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
68
|
+
#
|
|
69
|
+
# @return [Google::Apis::YoutubeV3::AbuseReport]
|
|
70
|
+
#
|
|
71
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
72
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
73
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
74
|
+
def insert_abuse_report(part, abuse_report_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
75
|
+
command = make_simple_command(:post, 'youtube/v3/abuseReports', options)
|
|
76
|
+
command.request_representation = Google::Apis::YoutubeV3::AbuseReport::Representation
|
|
77
|
+
command.request_object = abuse_report_object
|
|
78
|
+
command.response_representation = Google::Apis::YoutubeV3::AbuseReport::Representation
|
|
79
|
+
command.response_class = Google::Apis::YoutubeV3::AbuseReport
|
|
80
|
+
command.query['part'] = part unless part.nil?
|
|
81
|
+
command.query['fields'] = fields unless fields.nil?
|
|
82
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
83
|
+
execute_or_queue_command(command, &block)
|
|
84
|
+
end
|
|
85
|
+
|
|
51
86
|
# Retrieves a list of resources, possibly filtered.
|
|
52
87
|
# @param [Array<String>, String] part
|
|
53
88
|
# The <code><strong>part</strong></code> parameter specifies a
|
|
@@ -3414,6 +3449,151 @@ module Google
|
|
|
3414
3449
|
execute_or_queue_command(command, &block)
|
|
3415
3450
|
end
|
|
3416
3451
|
|
|
3452
|
+
# Deletes a resource.
|
|
3453
|
+
# @param [String] linking_token
|
|
3454
|
+
# Delete the partner links with the given linking token.
|
|
3455
|
+
# @param [String] type
|
|
3456
|
+
# Type of the link to be deleted.
|
|
3457
|
+
# @param [Array<String>, String] part
|
|
3458
|
+
# Do not use. Required for compatibility.
|
|
3459
|
+
# @param [String] fields
|
|
3460
|
+
# Selector specifying which fields to include in a partial response.
|
|
3461
|
+
# @param [String] quota_user
|
|
3462
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3463
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3464
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3465
|
+
# Request-specific options
|
|
3466
|
+
#
|
|
3467
|
+
# @yield [result, err] Result & error if block supplied
|
|
3468
|
+
# @yieldparam result [NilClass] No result returned for this method
|
|
3469
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3470
|
+
#
|
|
3471
|
+
# @return [void]
|
|
3472
|
+
#
|
|
3473
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3474
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3475
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3476
|
+
def delete_third_party_link(linking_token, type, part: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3477
|
+
command = make_simple_command(:delete, 'youtube/v3/thirdPartyLinks', options)
|
|
3478
|
+
command.query['linkingToken'] = linking_token unless linking_token.nil?
|
|
3479
|
+
command.query['part'] = part unless part.nil?
|
|
3480
|
+
command.query['type'] = type unless type.nil?
|
|
3481
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3482
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3483
|
+
execute_or_queue_command(command, &block)
|
|
3484
|
+
end
|
|
3485
|
+
|
|
3486
|
+
# Inserts a new resource into this collection.
|
|
3487
|
+
# @param [Array<String>, String] part
|
|
3488
|
+
# The <code><strong>part</strong></code> parameter specifies the
|
|
3489
|
+
# <code>thirdPartyLink</code> resource parts that the API request and
|
|
3490
|
+
# response will include. Supported values are <code>linkingToken</code>,
|
|
3491
|
+
# <code>status</code>, and <code>snippet</code>.
|
|
3492
|
+
# @param [Google::Apis::YoutubeV3::ThirdPartyLink] third_party_link_object
|
|
3493
|
+
# @param [String] fields
|
|
3494
|
+
# Selector specifying which fields to include in a partial response.
|
|
3495
|
+
# @param [String] quota_user
|
|
3496
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3497
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3498
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3499
|
+
# Request-specific options
|
|
3500
|
+
#
|
|
3501
|
+
# @yield [result, err] Result & error if block supplied
|
|
3502
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
|
|
3503
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3504
|
+
#
|
|
3505
|
+
# @return [Google::Apis::YoutubeV3::ThirdPartyLink]
|
|
3506
|
+
#
|
|
3507
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3508
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3509
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3510
|
+
def insert_third_party_link(part, third_party_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3511
|
+
command = make_simple_command(:post, 'youtube/v3/thirdPartyLinks', options)
|
|
3512
|
+
command.request_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
|
3513
|
+
command.request_object = third_party_link_object
|
|
3514
|
+
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
|
3515
|
+
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
|
|
3516
|
+
command.query['part'] = part unless part.nil?
|
|
3517
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3518
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3519
|
+
execute_or_queue_command(command, &block)
|
|
3520
|
+
end
|
|
3521
|
+
|
|
3522
|
+
# Retrieves a list of resources, possibly filtered.
|
|
3523
|
+
# @param [Array<String>, String] part
|
|
3524
|
+
# The <code><strong>part</strong></code> parameter specifies the
|
|
3525
|
+
# <code>thirdPartyLink</code> resource parts that the API response will
|
|
3526
|
+
# include. Supported values are <code>linkingToken</code>,
|
|
3527
|
+
# <code>status</code>, and <code>snippet</code>.
|
|
3528
|
+
# @param [String] linking_token
|
|
3529
|
+
# Get a third party link with the given linking token.
|
|
3530
|
+
# @param [String] type
|
|
3531
|
+
# Get a third party link of the given type.
|
|
3532
|
+
# @param [String] fields
|
|
3533
|
+
# Selector specifying which fields to include in a partial response.
|
|
3534
|
+
# @param [String] quota_user
|
|
3535
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3536
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3537
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3538
|
+
# Request-specific options
|
|
3539
|
+
#
|
|
3540
|
+
# @yield [result, err] Result & error if block supplied
|
|
3541
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
|
|
3542
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3543
|
+
#
|
|
3544
|
+
# @return [Google::Apis::YoutubeV3::ThirdPartyLink]
|
|
3545
|
+
#
|
|
3546
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3547
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3548
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3549
|
+
def list_third_party_links(part, linking_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3550
|
+
command = make_simple_command(:get, 'youtube/v3/thirdPartyLinks', options)
|
|
3551
|
+
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
|
3552
|
+
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
|
|
3553
|
+
command.query['linkingToken'] = linking_token unless linking_token.nil?
|
|
3554
|
+
command.query['part'] = part unless part.nil?
|
|
3555
|
+
command.query['type'] = type unless type.nil?
|
|
3556
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3557
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3558
|
+
execute_or_queue_command(command, &block)
|
|
3559
|
+
end
|
|
3560
|
+
|
|
3561
|
+
# Updates an existing resource.
|
|
3562
|
+
# @param [Array<String>, String] part
|
|
3563
|
+
# The <code><strong>part</strong></code> parameter specifies the
|
|
3564
|
+
# <code>thirdPartyLink</code> resource parts that the API request and
|
|
3565
|
+
# response will include. Supported values are <code>linkingToken</code>,
|
|
3566
|
+
# <code>status</code>, and <code>snippet</code>.
|
|
3567
|
+
# @param [Google::Apis::YoutubeV3::ThirdPartyLink] third_party_link_object
|
|
3568
|
+
# @param [String] fields
|
|
3569
|
+
# Selector specifying which fields to include in a partial response.
|
|
3570
|
+
# @param [String] quota_user
|
|
3571
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3572
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3573
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3574
|
+
# Request-specific options
|
|
3575
|
+
#
|
|
3576
|
+
# @yield [result, err] Result & error if block supplied
|
|
3577
|
+
# @yieldparam result [Google::Apis::YoutubeV3::ThirdPartyLink] parsed result object
|
|
3578
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3579
|
+
#
|
|
3580
|
+
# @return [Google::Apis::YoutubeV3::ThirdPartyLink]
|
|
3581
|
+
#
|
|
3582
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3583
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3584
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3585
|
+
def update_third_party_link(part, third_party_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3586
|
+
command = make_simple_command(:put, 'youtube/v3/thirdPartyLinks', options)
|
|
3587
|
+
command.request_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
|
3588
|
+
command.request_object = third_party_link_object
|
|
3589
|
+
command.response_representation = Google::Apis::YoutubeV3::ThirdPartyLink::Representation
|
|
3590
|
+
command.response_class = Google::Apis::YoutubeV3::ThirdPartyLink
|
|
3591
|
+
command.query['part'] = part unless part.nil?
|
|
3592
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3593
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3594
|
+
execute_or_queue_command(command, &block)
|
|
3595
|
+
end
|
|
3596
|
+
|
|
3417
3597
|
# As this is not an insert in a strict sense (it supports uploading/setting
|
|
3418
3598
|
# of a thumbnail for multiple videos, which doesn't result in creation of a
|
|
3419
3599
|
# single resource), I use a custom verb here.
|
|
@@ -4059,6 +4239,85 @@ module Google
|
|
|
4059
4239
|
execute_or_queue_command(command, &block)
|
|
4060
4240
|
end
|
|
4061
4241
|
|
|
4242
|
+
# Updates infocards for a given video.
|
|
4243
|
+
# Note:
|
|
4244
|
+
# * If the card id is not provided, a new card will be created.
|
|
4245
|
+
# * If the card id is provided, that card will be updated.
|
|
4246
|
+
# * Existing cards will be discarded if they're not included in the request.
|
|
4247
|
+
# @param [Array<String>, String] part
|
|
4248
|
+
# The properties to update.
|
|
4249
|
+
# @param [Google::Apis::YoutubeV3::InfoCards] info_cards_object
|
|
4250
|
+
# @param [String] on_behalf_of_content_owner
|
|
4251
|
+
# Content owner of the video.
|
|
4252
|
+
# @param [String] video_id
|
|
4253
|
+
# Encrypted id of the video.
|
|
4254
|
+
# @param [String] fields
|
|
4255
|
+
# Selector specifying which fields to include in a partial response.
|
|
4256
|
+
# @param [String] quota_user
|
|
4257
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4258
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4259
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4260
|
+
# Request-specific options
|
|
4261
|
+
#
|
|
4262
|
+
# @yield [result, err] Result & error if block supplied
|
|
4263
|
+
# @yieldparam result [Google::Apis::YoutubeV3::InfoCards] parsed result object
|
|
4264
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4265
|
+
#
|
|
4266
|
+
# @return [Google::Apis::YoutubeV3::InfoCards]
|
|
4267
|
+
#
|
|
4268
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4269
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4270
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4271
|
+
def infocards_youtube_v3(part, info_cards_object = nil, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4272
|
+
command = make_simple_command(:post, 'youtube/v3/infocards', options)
|
|
4273
|
+
command.request_representation = Google::Apis::YoutubeV3::InfoCards::Representation
|
|
4274
|
+
command.request_object = info_cards_object
|
|
4275
|
+
command.response_representation = Google::Apis::YoutubeV3::InfoCards::Representation
|
|
4276
|
+
command.response_class = Google::Apis::YoutubeV3::InfoCards
|
|
4277
|
+
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
|
4278
|
+
command.query['part'] = part unless part.nil?
|
|
4279
|
+
command.query['videoId'] = video_id unless video_id.nil?
|
|
4280
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4281
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4282
|
+
execute_or_queue_command(command, &block)
|
|
4283
|
+
end
|
|
4284
|
+
|
|
4285
|
+
# Retrieves all infocards for a given video.
|
|
4286
|
+
# @param [Array<String>, String] part
|
|
4287
|
+
# The properties to return.
|
|
4288
|
+
# @param [String] on_behalf_of_content_owner
|
|
4289
|
+
# Content owner of the video.
|
|
4290
|
+
# @param [String] video_id
|
|
4291
|
+
# Encrypted id of the video.
|
|
4292
|
+
# @param [String] fields
|
|
4293
|
+
# Selector specifying which fields to include in a partial response.
|
|
4294
|
+
# @param [String] quota_user
|
|
4295
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4296
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4297
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4298
|
+
# Request-specific options
|
|
4299
|
+
#
|
|
4300
|
+
# @yield [result, err] Result & error if block supplied
|
|
4301
|
+
# @yieldparam result [Google::Apis::YoutubeV3::InfocardListResponse] parsed result object
|
|
4302
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4303
|
+
#
|
|
4304
|
+
# @return [Google::Apis::YoutubeV3::InfocardListResponse]
|
|
4305
|
+
#
|
|
4306
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4307
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4308
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4309
|
+
def list_youtube_v3_infocards(part, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4310
|
+
command = make_simple_command(:get, 'youtube/v3/infocards', options)
|
|
4311
|
+
command.response_representation = Google::Apis::YoutubeV3::InfocardListResponse::Representation
|
|
4312
|
+
command.response_class = Google::Apis::YoutubeV3::InfocardListResponse
|
|
4313
|
+
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
|
4314
|
+
command.query['part'] = part unless part.nil?
|
|
4315
|
+
command.query['videoId'] = video_id unless video_id.nil?
|
|
4316
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4317
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4318
|
+
execute_or_queue_command(command, &block)
|
|
4319
|
+
end
|
|
4320
|
+
|
|
4062
4321
|
# POST method.
|
|
4063
4322
|
# @param [Google::Apis::YoutubeV3::TestItem] test_item_object
|
|
4064
4323
|
# @param [Array<String>, String] part
|