google-api-client 0.44.2 → 0.45.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 +61 -0
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +206 -2
- data/generated/google/apis/apigee_v1/representations.rb +74 -0
- data/generated/google/apis/apigee_v1/service.rb +41 -19
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +3 -3
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +84 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +46 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +39 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +28 -0
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +135 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +3 -3
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +5 -4
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +18 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +1 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +10 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +36 -30
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
- data/generated/google/apis/pubsublite_v1/service.rb +33 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +0 -386
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +0 -386
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -8
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -5
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +7 -4
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +7 -0
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +142 -97
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +104 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +46 -845
- data/generated/google/apis/youtube_v3/representations.rb +0 -390
- data/generated/google/apis/youtube_v3/service.rb +2 -197
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -11
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/tag-manager
|
26
26
|
module TagmanagerV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200916'
|
29
29
|
|
30
30
|
# Delete your Google Tag Manager containers
|
31
31
|
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
@@ -43,8 +43,8 @@ module Google
|
|
43
43
|
attr_accessor :quota_user
|
44
44
|
|
45
45
|
def initialize
|
46
|
-
super('https://
|
47
|
-
@batch_path = 'batch
|
46
|
+
super('https://tasks.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
50
|
# Deletes the authenticated user's specified task list.
|
@@ -393,7 +393,8 @@ module Google
|
|
393
393
|
# Token specifying the result page to return. Optional.
|
394
394
|
# @param [Boolean] show_completed
|
395
395
|
# Flag indicating whether completed tasks are returned in the result. Optional.
|
396
|
-
# The default is True.
|
396
|
+
# The default is True. Note that showHidden must also be True to show tasks
|
397
|
+
# completed in first party clients, such as the web UI and Google's mobile apps.
|
397
398
|
# @param [Boolean] show_deleted
|
398
399
|
# Flag indicating whether deleted tasks are returned in the result. Optional.
|
399
400
|
# The default is False.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/cloud-test-lab/
|
27
27
|
module TestingV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200914'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -382,7 +382,7 @@ module Google
|
|
382
382
|
end
|
383
383
|
|
384
384
|
# A test of an android application that explores the application on a virtual or
|
385
|
-
# physical Android Device, finding culprits and crashes as it goes.
|
385
|
+
# physical Android Device, finding culprits and crashes as it goes. Next tag: 29
|
386
386
|
class AndroidRoboTest
|
387
387
|
include Google::Apis::Core::Hashable
|
388
388
|
|
@@ -2271,7 +2271,7 @@ module Google
|
|
2271
2271
|
attr_accessor :android_instrumentation_test
|
2272
2272
|
|
2273
2273
|
# A test of an android application that explores the application on a virtual or
|
2274
|
-
# physical Android Device, finding culprits and crashes as it goes.
|
2274
|
+
# physical Android Device, finding culprits and crashes as it goes. Next tag: 29
|
2275
2275
|
# Corresponds to the JSON property `androidRoboTest`
|
2276
2276
|
# @return [Google::Apis::TestingV1::AndroidRoboTest]
|
2277
2277
|
attr_accessor :android_robo_test
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/
|
27
27
|
module YoutubePartnerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200918'
|
30
30
|
|
31
31
|
# View and manage your assets and associated content on YouTube
|
32
32
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
@@ -1142,31 +1142,6 @@ module Google
|
|
1142
1142
|
end
|
1143
1143
|
end
|
1144
1144
|
|
1145
|
-
#
|
1146
|
-
class ChannelCard
|
1147
|
-
include Google::Apis::Core::Hashable
|
1148
|
-
|
1149
|
-
# External channel ID. Required.
|
1150
|
-
# Corresponds to the JSON property `channelId`
|
1151
|
-
# @return [String]
|
1152
|
-
attr_accessor :channel_id
|
1153
|
-
|
1154
|
-
# Each card can have a custom message. Required.
|
1155
|
-
# Corresponds to the JSON property `customMessage`
|
1156
|
-
# @return [String]
|
1157
|
-
attr_accessor :custom_message
|
1158
|
-
|
1159
|
-
def initialize(**args)
|
1160
|
-
update!(**args)
|
1161
|
-
end
|
1162
|
-
|
1163
|
-
# Update properties of this object
|
1164
|
-
def update!(**args)
|
1165
|
-
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
1166
|
-
@custom_message = args[:custom_message] if args.key?(:custom_message)
|
1167
|
-
end
|
1168
|
-
end
|
1169
|
-
|
1170
1145
|
# Details about the content of a channel.
|
1171
1146
|
class ChannelContentDetails
|
1172
1147
|
include Google::Apis::Core::Hashable
|
@@ -1320,31 +1295,6 @@ module Google
|
|
1320
1295
|
end
|
1321
1296
|
end
|
1322
1297
|
|
1323
|
-
#
|
1324
|
-
class ChannelElement
|
1325
|
-
include Google::Apis::Core::Hashable
|
1326
|
-
|
1327
|
-
# External channel ID. Required.
|
1328
|
-
# Corresponds to the JSON property `channelId`
|
1329
|
-
# @return [String]
|
1330
|
-
attr_accessor :channel_id
|
1331
|
-
|
1332
|
-
# Customized message for the element. Required.
|
1333
|
-
# Corresponds to the JSON property `customMessage`
|
1334
|
-
# @return [String]
|
1335
|
-
attr_accessor :custom_message
|
1336
|
-
|
1337
|
-
def initialize(**args)
|
1338
|
-
update!(**args)
|
1339
|
-
end
|
1340
|
-
|
1341
|
-
# Update properties of this object
|
1342
|
-
def update!(**args)
|
1343
|
-
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
1344
|
-
@custom_message = args[:custom_message] if args.key?(:custom_message)
|
1345
|
-
end
|
1346
|
-
end
|
1347
|
-
|
1348
1298
|
#
|
1349
1299
|
class ListChannelsResponse
|
1350
1300
|
include Google::Apis::Core::Hashable
|
@@ -2918,178 +2868,6 @@ module Google
|
|
2918
2868
|
end
|
2919
2869
|
end
|
2920
2870
|
|
2921
|
-
#
|
2922
|
-
class Endscreen
|
2923
|
-
include Google::Apis::Core::Hashable
|
2924
|
-
|
2925
|
-
# A list of endscreen elements.
|
2926
|
-
# Corresponds to the JSON property `elements`
|
2927
|
-
# @return [Array<Google::Apis::YoutubeV3::EndscreenElement>]
|
2928
|
-
attr_accessor :elements
|
2929
|
-
|
2930
|
-
# The time we start the endscreen in milliseconds.
|
2931
|
-
# Corresponds to the JSON property `startOffset`
|
2932
|
-
# @return [String]
|
2933
|
-
attr_accessor :start_offset
|
2934
|
-
|
2935
|
-
def initialize(**args)
|
2936
|
-
update!(**args)
|
2937
|
-
end
|
2938
|
-
|
2939
|
-
# Update properties of this object
|
2940
|
-
def update!(**args)
|
2941
|
-
@elements = args[:elements] if args.key?(:elements)
|
2942
|
-
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
2943
|
-
end
|
2944
|
-
end
|
2945
|
-
|
2946
|
-
#
|
2947
|
-
class EndscreenElement
|
2948
|
-
include Google::Apis::Core::Hashable
|
2949
|
-
|
2950
|
-
# Etag of this resource.
|
2951
|
-
# Corresponds to the JSON property `etag`
|
2952
|
-
# @return [String]
|
2953
|
-
attr_accessor :etag
|
2954
|
-
|
2955
|
-
# UUID for this element.
|
2956
|
-
# Corresponds to the JSON property `id`
|
2957
|
-
# @return [String]
|
2958
|
-
attr_accessor :id
|
2959
|
-
|
2960
|
-
# Identifies what kind of resource this is.
|
2961
|
-
# Corresponds to the JSON property `kind`
|
2962
|
-
# @return [String]
|
2963
|
-
attr_accessor :kind
|
2964
|
-
|
2965
|
-
# The snippet object contains basic details about the element.
|
2966
|
-
# Corresponds to the JSON property `snippet`
|
2967
|
-
# @return [Google::Apis::YoutubeV3::EndscreenElementSnippet]
|
2968
|
-
attr_accessor :snippet
|
2969
|
-
|
2970
|
-
def initialize(**args)
|
2971
|
-
update!(**args)
|
2972
|
-
end
|
2973
|
-
|
2974
|
-
# Update properties of this object
|
2975
|
-
def update!(**args)
|
2976
|
-
@etag = args[:etag] if args.key?(:etag)
|
2977
|
-
@id = args[:id] if args.key?(:id)
|
2978
|
-
@kind = args[:kind] if args.key?(:kind)
|
2979
|
-
@snippet = args[:snippet] if args.key?(:snippet)
|
2980
|
-
end
|
2981
|
-
end
|
2982
|
-
|
2983
|
-
#
|
2984
|
-
class EndscreenElementSnippet
|
2985
|
-
include Google::Apis::Core::Hashable
|
2986
|
-
|
2987
|
-
#
|
2988
|
-
# Corresponds to the JSON property `channelElement`
|
2989
|
-
# @return [Google::Apis::YoutubeV3::ChannelElement]
|
2990
|
-
attr_accessor :channel_element
|
2991
|
-
|
2992
|
-
# Duration of the element in milliseconds. Required.
|
2993
|
-
# Corresponds to the JSON property `duration`
|
2994
|
-
# @return [String]
|
2995
|
-
attr_accessor :duration
|
2996
|
-
|
2997
|
-
# Fraction of video width.
|
2998
|
-
# Corresponds to the JSON property `left`
|
2999
|
-
# @return [Float]
|
3000
|
-
attr_accessor :left
|
3001
|
-
|
3002
|
-
#
|
3003
|
-
# Corresponds to the JSON property `linkElement`
|
3004
|
-
# @return [Google::Apis::YoutubeV3::LinkElement]
|
3005
|
-
attr_accessor :link_element
|
3006
|
-
|
3007
|
-
#
|
3008
|
-
# Corresponds to the JSON property `merchandiseElement`
|
3009
|
-
# @return [Google::Apis::YoutubeV3::MerchandiseElement]
|
3010
|
-
attr_accessor :merchandise_element
|
3011
|
-
|
3012
|
-
#
|
3013
|
-
# Corresponds to the JSON property `playlistElement`
|
3014
|
-
# @return [Google::Apis::YoutubeV3::PlaylistElement]
|
3015
|
-
attr_accessor :playlist_element
|
3016
|
-
|
3017
|
-
# Start of the element in milliseconds. Required.
|
3018
|
-
# Corresponds to the JSON property `startOffset`
|
3019
|
-
# @return [String]
|
3020
|
-
attr_accessor :start_offset
|
3021
|
-
|
3022
|
-
#
|
3023
|
-
# Corresponds to the JSON property `subscribeElement`
|
3024
|
-
# @return [Google::Apis::YoutubeV3::SubscribeElement]
|
3025
|
-
attr_accessor :subscribe_element
|
3026
|
-
|
3027
|
-
# Fraction of video height.
|
3028
|
-
# Corresponds to the JSON property `top`
|
3029
|
-
# @return [Float]
|
3030
|
-
attr_accessor :top
|
3031
|
-
|
3032
|
-
#
|
3033
|
-
# Corresponds to the JSON property `videoElement`
|
3034
|
-
# @return [Google::Apis::YoutubeV3::VideoElement]
|
3035
|
-
attr_accessor :video_element
|
3036
|
-
|
3037
|
-
# Fraction of video width.
|
3038
|
-
# Corresponds to the JSON property `width`
|
3039
|
-
# @return [Float]
|
3040
|
-
attr_accessor :width
|
3041
|
-
|
3042
|
-
def initialize(**args)
|
3043
|
-
update!(**args)
|
3044
|
-
end
|
3045
|
-
|
3046
|
-
# Update properties of this object
|
3047
|
-
def update!(**args)
|
3048
|
-
@channel_element = args[:channel_element] if args.key?(:channel_element)
|
3049
|
-
@duration = args[:duration] if args.key?(:duration)
|
3050
|
-
@left = args[:left] if args.key?(:left)
|
3051
|
-
@link_element = args[:link_element] if args.key?(:link_element)
|
3052
|
-
@merchandise_element = args[:merchandise_element] if args.key?(:merchandise_element)
|
3053
|
-
@playlist_element = args[:playlist_element] if args.key?(:playlist_element)
|
3054
|
-
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
3055
|
-
@subscribe_element = args[:subscribe_element] if args.key?(:subscribe_element)
|
3056
|
-
@top = args[:top] if args.key?(:top)
|
3057
|
-
@video_element = args[:video_element] if args.key?(:video_element)
|
3058
|
-
@width = args[:width] if args.key?(:width)
|
3059
|
-
end
|
3060
|
-
end
|
3061
|
-
|
3062
|
-
#
|
3063
|
-
class EndscreenGetResponse
|
3064
|
-
include Google::Apis::Core::Hashable
|
3065
|
-
|
3066
|
-
# Etag of this resource.
|
3067
|
-
# Corresponds to the JSON property `etag`
|
3068
|
-
# @return [String]
|
3069
|
-
attr_accessor :etag
|
3070
|
-
|
3071
|
-
# Identifies what kind of resource this is.
|
3072
|
-
# Corresponds to the JSON property `kind`
|
3073
|
-
# @return [String]
|
3074
|
-
attr_accessor :kind
|
3075
|
-
|
3076
|
-
# Endscreen resource.
|
3077
|
-
# Corresponds to the JSON property `resource`
|
3078
|
-
# @return [Google::Apis::YoutubeV3::Endscreen]
|
3079
|
-
attr_accessor :resource
|
3080
|
-
|
3081
|
-
def initialize(**args)
|
3082
|
-
update!(**args)
|
3083
|
-
end
|
3084
|
-
|
3085
|
-
# Update properties of this object
|
3086
|
-
def update!(**args)
|
3087
|
-
@etag = args[:etag] if args.key?(:etag)
|
3088
|
-
@kind = args[:kind] if args.key?(:kind)
|
3089
|
-
@resource = args[:resource] if args.key?(:resource)
|
3090
|
-
end
|
3091
|
-
end
|
3092
|
-
|
3093
2871
|
#
|
3094
2872
|
class Entity
|
3095
2873
|
include Google::Apis::Core::Hashable
|
@@ -3152,146 +2930,6 @@ module Google
|
|
3152
2930
|
end
|
3153
2931
|
end
|
3154
2932
|
|
3155
|
-
# A *guideCategory* resource identifies a category that YouTube algorithmically
|
3156
|
-
# assigns based on a channel's content or other indicators, such as the channel'
|
3157
|
-
# s popularity. The list is similar to video categories, with the difference
|
3158
|
-
# being that a video's uploader can assign a video category but only YouTube can
|
3159
|
-
# assign a channel category.
|
3160
|
-
class GuideCategory
|
3161
|
-
include Google::Apis::Core::Hashable
|
3162
|
-
|
3163
|
-
# Etag of this resource.
|
3164
|
-
# Corresponds to the JSON property `etag`
|
3165
|
-
# @return [String]
|
3166
|
-
attr_accessor :etag
|
3167
|
-
|
3168
|
-
# The ID that YouTube uses to uniquely identify the guide category.
|
3169
|
-
# Corresponds to the JSON property `id`
|
3170
|
-
# @return [String]
|
3171
|
-
attr_accessor :id
|
3172
|
-
|
3173
|
-
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
3174
|
-
# guideCategory".
|
3175
|
-
# Corresponds to the JSON property `kind`
|
3176
|
-
# @return [String]
|
3177
|
-
attr_accessor :kind
|
3178
|
-
|
3179
|
-
# Basic details about a guide category.
|
3180
|
-
# Corresponds to the JSON property `snippet`
|
3181
|
-
# @return [Google::Apis::YoutubeV3::GuideCategorySnippet]
|
3182
|
-
attr_accessor :snippet
|
3183
|
-
|
3184
|
-
def initialize(**args)
|
3185
|
-
update!(**args)
|
3186
|
-
end
|
3187
|
-
|
3188
|
-
# Update properties of this object
|
3189
|
-
def update!(**args)
|
3190
|
-
@etag = args[:etag] if args.key?(:etag)
|
3191
|
-
@id = args[:id] if args.key?(:id)
|
3192
|
-
@kind = args[:kind] if args.key?(:kind)
|
3193
|
-
@snippet = args[:snippet] if args.key?(:snippet)
|
3194
|
-
end
|
3195
|
-
end
|
3196
|
-
|
3197
|
-
#
|
3198
|
-
class ListGuideCategoriesResponse
|
3199
|
-
include Google::Apis::Core::Hashable
|
3200
|
-
|
3201
|
-
# Etag of this resource.
|
3202
|
-
# Corresponds to the JSON property `etag`
|
3203
|
-
# @return [String]
|
3204
|
-
attr_accessor :etag
|
3205
|
-
|
3206
|
-
# Serialized EventId of the request which produced this response.
|
3207
|
-
# Corresponds to the JSON property `eventId`
|
3208
|
-
# @return [String]
|
3209
|
-
attr_accessor :event_id
|
3210
|
-
|
3211
|
-
# A list of categories that can be associated with YouTube channels. In this map,
|
3212
|
-
# the category ID is the map key, and its value is the corresponding
|
3213
|
-
# guideCategory resource.
|
3214
|
-
# Corresponds to the JSON property `items`
|
3215
|
-
# @return [Array<Google::Apis::YoutubeV3::GuideCategory>]
|
3216
|
-
attr_accessor :items
|
3217
|
-
|
3218
|
-
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
3219
|
-
# guideCategoryListResponse".
|
3220
|
-
# Corresponds to the JSON property `kind`
|
3221
|
-
# @return [String]
|
3222
|
-
attr_accessor :kind
|
3223
|
-
|
3224
|
-
# The token that can be used as the value of the pageToken parameter to retrieve
|
3225
|
-
# the next page in the result set.
|
3226
|
-
# Corresponds to the JSON property `nextPageToken`
|
3227
|
-
# @return [String]
|
3228
|
-
attr_accessor :next_page_token
|
3229
|
-
|
3230
|
-
# Paging details for lists of resources, including total number of items
|
3231
|
-
# available and number of resources returned in a single page.
|
3232
|
-
# Corresponds to the JSON property `pageInfo`
|
3233
|
-
# @return [Google::Apis::YoutubeV3::PageInfo]
|
3234
|
-
attr_accessor :page_info
|
3235
|
-
|
3236
|
-
# The token that can be used as the value of the pageToken parameter to retrieve
|
3237
|
-
# the previous page in the result set.
|
3238
|
-
# Corresponds to the JSON property `prevPageToken`
|
3239
|
-
# @return [String]
|
3240
|
-
attr_accessor :prev_page_token
|
3241
|
-
|
3242
|
-
# Stub token pagination template to suppress results.
|
3243
|
-
# Corresponds to the JSON property `tokenPagination`
|
3244
|
-
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
3245
|
-
attr_accessor :token_pagination
|
3246
|
-
|
3247
|
-
# The visitorId identifies the visitor.
|
3248
|
-
# Corresponds to the JSON property `visitorId`
|
3249
|
-
# @return [String]
|
3250
|
-
attr_accessor :visitor_id
|
3251
|
-
|
3252
|
-
def initialize(**args)
|
3253
|
-
update!(**args)
|
3254
|
-
end
|
3255
|
-
|
3256
|
-
# Update properties of this object
|
3257
|
-
def update!(**args)
|
3258
|
-
@etag = args[:etag] if args.key?(:etag)
|
3259
|
-
@event_id = args[:event_id] if args.key?(:event_id)
|
3260
|
-
@items = args[:items] if args.key?(:items)
|
3261
|
-
@kind = args[:kind] if args.key?(:kind)
|
3262
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3263
|
-
@page_info = args[:page_info] if args.key?(:page_info)
|
3264
|
-
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
3265
|
-
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
3266
|
-
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
3267
|
-
end
|
3268
|
-
end
|
3269
|
-
|
3270
|
-
# Basic details about a guide category.
|
3271
|
-
class GuideCategorySnippet
|
3272
|
-
include Google::Apis::Core::Hashable
|
3273
|
-
|
3274
|
-
#
|
3275
|
-
# Corresponds to the JSON property `channelId`
|
3276
|
-
# @return [String]
|
3277
|
-
attr_accessor :channel_id
|
3278
|
-
|
3279
|
-
# Description of the guide category.
|
3280
|
-
# Corresponds to the JSON property `title`
|
3281
|
-
# @return [String]
|
3282
|
-
attr_accessor :title
|
3283
|
-
|
3284
|
-
def initialize(**args)
|
3285
|
-
update!(**args)
|
3286
|
-
end
|
3287
|
-
|
3288
|
-
# Update properties of this object
|
3289
|
-
def update!(**args)
|
3290
|
-
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
3291
|
-
@title = args[:title] if args.key?(:title)
|
3292
|
-
end
|
3293
|
-
end
|
3294
|
-
|
3295
2933
|
# An *i18nLanguage* resource identifies a UI language currently supported by
|
3296
2934
|
# YouTube.
|
3297
2935
|
class I18nLanguage
|
@@ -3604,211 +3242,35 @@ module Google
|
|
3604
3242
|
# @return [Google::Apis::YoutubeV3::LocalizedProperty]
|
3605
3243
|
attr_accessor :large_branded_banner_image_imap_script
|
3606
3244
|
|
3607
|
-
# The URL for the 854px by 70px image that appears below the video player in the
|
3608
|
-
# expanded video view of the video watch page.
|
3609
|
-
# Corresponds to the JSON property `largeBrandedBannerImageUrl`
|
3610
|
-
# @return [Google::Apis::YoutubeV3::LocalizedProperty]
|
3611
|
-
attr_accessor :large_branded_banner_image_url
|
3612
|
-
|
3613
|
-
# The image map script for the small banner image.
|
3614
|
-
# Corresponds to the JSON property `smallBrandedBannerImageImapScript`
|
3615
|
-
# @return [Google::Apis::YoutubeV3::LocalizedProperty]
|
3616
|
-
attr_accessor :small_branded_banner_image_imap_script
|
3617
|
-
|
3618
|
-
# The URL for the 640px by 70px banner image that appears below the video player
|
3619
|
-
# in the default view of the video watch page. The URL for the image that
|
3620
|
-
# appears above the top-left corner of the video player. This is a 25-pixel-high
|
3621
|
-
# image with a flexible width that cannot exceed 170 pixels.
|
3622
|
-
# Corresponds to the JSON property `smallBrandedBannerImageUrl`
|
3623
|
-
# @return [Google::Apis::YoutubeV3::LocalizedProperty]
|
3624
|
-
attr_accessor :small_branded_banner_image_url
|
3625
|
-
|
3626
|
-
# The URL for a 1px by 1px tracking pixel that can be used to collect statistics
|
3627
|
-
# for views of the channel or video pages.
|
3628
|
-
# Corresponds to the JSON property `trackingImageUrl`
|
3629
|
-
# @return [String]
|
3630
|
-
attr_accessor :tracking_image_url
|
3631
|
-
|
3632
|
-
#
|
3633
|
-
# Corresponds to the JSON property `watchIconImageUrl`
|
3634
|
-
# @return [String]
|
3635
|
-
attr_accessor :watch_icon_image_url
|
3636
|
-
|
3637
|
-
def initialize(**args)
|
3638
|
-
update!(**args)
|
3639
|
-
end
|
3640
|
-
|
3641
|
-
# Update properties of this object
|
3642
|
-
def update!(**args)
|
3643
|
-
@background_image_url = args[:background_image_url] if args.key?(:background_image_url)
|
3644
|
-
@banner_external_url = args[:banner_external_url] if args.key?(:banner_external_url)
|
3645
|
-
@banner_image_url = args[:banner_image_url] if args.key?(:banner_image_url)
|
3646
|
-
@banner_mobile_extra_hd_image_url = args[:banner_mobile_extra_hd_image_url] if args.key?(:banner_mobile_extra_hd_image_url)
|
3647
|
-
@banner_mobile_hd_image_url = args[:banner_mobile_hd_image_url] if args.key?(:banner_mobile_hd_image_url)
|
3648
|
-
@banner_mobile_image_url = args[:banner_mobile_image_url] if args.key?(:banner_mobile_image_url)
|
3649
|
-
@banner_mobile_low_image_url = args[:banner_mobile_low_image_url] if args.key?(:banner_mobile_low_image_url)
|
3650
|
-
@banner_mobile_medium_hd_image_url = args[:banner_mobile_medium_hd_image_url] if args.key?(:banner_mobile_medium_hd_image_url)
|
3651
|
-
@banner_tablet_extra_hd_image_url = args[:banner_tablet_extra_hd_image_url] if args.key?(:banner_tablet_extra_hd_image_url)
|
3652
|
-
@banner_tablet_hd_image_url = args[:banner_tablet_hd_image_url] if args.key?(:banner_tablet_hd_image_url)
|
3653
|
-
@banner_tablet_image_url = args[:banner_tablet_image_url] if args.key?(:banner_tablet_image_url)
|
3654
|
-
@banner_tablet_low_image_url = args[:banner_tablet_low_image_url] if args.key?(:banner_tablet_low_image_url)
|
3655
|
-
@banner_tv_high_image_url = args[:banner_tv_high_image_url] if args.key?(:banner_tv_high_image_url)
|
3656
|
-
@banner_tv_image_url = args[:banner_tv_image_url] if args.key?(:banner_tv_image_url)
|
3657
|
-
@banner_tv_low_image_url = args[:banner_tv_low_image_url] if args.key?(:banner_tv_low_image_url)
|
3658
|
-
@banner_tv_medium_image_url = args[:banner_tv_medium_image_url] if args.key?(:banner_tv_medium_image_url)
|
3659
|
-
@large_branded_banner_image_imap_script = args[:large_branded_banner_image_imap_script] if args.key?(:large_branded_banner_image_imap_script)
|
3660
|
-
@large_branded_banner_image_url = args[:large_branded_banner_image_url] if args.key?(:large_branded_banner_image_url)
|
3661
|
-
@small_branded_banner_image_imap_script = args[:small_branded_banner_image_imap_script] if args.key?(:small_branded_banner_image_imap_script)
|
3662
|
-
@small_branded_banner_image_url = args[:small_branded_banner_image_url] if args.key?(:small_branded_banner_image_url)
|
3663
|
-
@tracking_image_url = args[:tracking_image_url] if args.key?(:tracking_image_url)
|
3664
|
-
@watch_icon_image_url = args[:watch_icon_image_url] if args.key?(:watch_icon_image_url)
|
3665
|
-
end
|
3666
|
-
end
|
3667
|
-
|
3668
|
-
#
|
3669
|
-
class InfoCard
|
3670
|
-
include Google::Apis::Core::Hashable
|
3671
|
-
|
3672
|
-
# Etag of this resource.
|
3673
|
-
# Corresponds to the JSON property `etag`
|
3674
|
-
# @return [String]
|
3675
|
-
attr_accessor :etag
|
3676
|
-
|
3677
|
-
# UUID for this infocard.
|
3678
|
-
# Corresponds to the JSON property `id`
|
3679
|
-
# @return [String]
|
3680
|
-
attr_accessor :id
|
3681
|
-
|
3682
|
-
# Identifies what kind of resource this is.
|
3683
|
-
# Corresponds to the JSON property `kind`
|
3684
|
-
# @return [String]
|
3685
|
-
attr_accessor :kind
|
3686
|
-
|
3687
|
-
# The snippet object contains basic details about the infocard.
|
3688
|
-
# Corresponds to the JSON property `snippet`
|
3689
|
-
# @return [Google::Apis::YoutubeV3::InfoCardSnippet]
|
3690
|
-
attr_accessor :snippet
|
3691
|
-
|
3692
|
-
def initialize(**args)
|
3693
|
-
update!(**args)
|
3694
|
-
end
|
3695
|
-
|
3696
|
-
# Update properties of this object
|
3697
|
-
def update!(**args)
|
3698
|
-
@etag = args[:etag] if args.key?(:etag)
|
3699
|
-
@id = args[:id] if args.key?(:id)
|
3700
|
-
@kind = args[:kind] if args.key?(:kind)
|
3701
|
-
@snippet = args[:snippet] if args.key?(:snippet)
|
3702
|
-
end
|
3703
|
-
end
|
3704
|
-
|
3705
|
-
#
|
3706
|
-
class InfoCardSnippet
|
3707
|
-
include Google::Apis::Core::Hashable
|
3708
|
-
|
3709
|
-
#
|
3710
|
-
# Corresponds to the JSON property `channelInfocard`
|
3711
|
-
# @return [Google::Apis::YoutubeV3::ChannelCard]
|
3712
|
-
attr_accessor :channel_infocard
|
3713
|
-
|
3714
|
-
#
|
3715
|
-
# Corresponds to the JSON property `linkInfocard`
|
3716
|
-
# @return [Google::Apis::YoutubeV3::LinkCard]
|
3717
|
-
attr_accessor :link_infocard
|
3718
|
-
|
3719
|
-
#
|
3720
|
-
# Corresponds to the JSON property `playlistInfocard`
|
3721
|
-
# @return [Google::Apis::YoutubeV3::PlaylistCard]
|
3722
|
-
attr_accessor :playlist_infocard
|
3723
|
-
|
3724
|
-
# Each card can have a teaser. Required.
|
3725
|
-
# Corresponds to the JSON property `teaser`
|
3726
|
-
# @return [Google::Apis::YoutubeV3::InfoCardSnippetTeaser]
|
3727
|
-
attr_accessor :teaser
|
3728
|
-
|
3729
|
-
#
|
3730
|
-
# Corresponds to the JSON property `videoInfocard`
|
3731
|
-
# @return [Google::Apis::YoutubeV3::VideoCard]
|
3732
|
-
attr_accessor :video_infocard
|
3733
|
-
|
3734
|
-
def initialize(**args)
|
3735
|
-
update!(**args)
|
3736
|
-
end
|
3737
|
-
|
3738
|
-
# Update properties of this object
|
3739
|
-
def update!(**args)
|
3740
|
-
@channel_infocard = args[:channel_infocard] if args.key?(:channel_infocard)
|
3741
|
-
@link_infocard = args[:link_infocard] if args.key?(:link_infocard)
|
3742
|
-
@playlist_infocard = args[:playlist_infocard] if args.key?(:playlist_infocard)
|
3743
|
-
@teaser = args[:teaser] if args.key?(:teaser)
|
3744
|
-
@video_infocard = args[:video_infocard] if args.key?(:video_infocard)
|
3745
|
-
end
|
3746
|
-
end
|
3747
|
-
|
3748
|
-
#
|
3749
|
-
class InfoCardSnippetTeaser
|
3750
|
-
include Google::Apis::Core::Hashable
|
3751
|
-
|
3752
|
-
# The offset from the video start at which the teaser should be displayed (
|
3753
|
-
# activated), in milliseconds. Required.
|
3754
|
-
# Corresponds to the JSON property `teaserStartOffset`
|
3755
|
-
# @return [String]
|
3756
|
-
attr_accessor :teaser_start_offset
|
3757
|
-
|
3758
|
-
# The teaser text to show at the top of the player for the info-card. Required
|
3759
|
-
# for channel and link type cards. Optional for video and playlist type cards.
|
3760
|
-
# Corresponds to the JSON property `teaserText`
|
3761
|
-
# @return [String]
|
3762
|
-
attr_accessor :teaser_text
|
3763
|
-
|
3764
|
-
def initialize(**args)
|
3765
|
-
update!(**args)
|
3766
|
-
end
|
3767
|
-
|
3768
|
-
# Update properties of this object
|
3769
|
-
def update!(**args)
|
3770
|
-
@teaser_start_offset = args[:teaser_start_offset] if args.key?(:teaser_start_offset)
|
3771
|
-
@teaser_text = args[:teaser_text] if args.key?(:teaser_text)
|
3772
|
-
end
|
3773
|
-
end
|
3774
|
-
|
3775
|
-
#
|
3776
|
-
class InfoCards
|
3777
|
-
include Google::Apis::Core::Hashable
|
3778
|
-
|
3779
|
-
# A list of infocards.
|
3780
|
-
# Corresponds to the JSON property `items`
|
3781
|
-
# @return [Array<Google::Apis::YoutubeV3::InfoCard>]
|
3782
|
-
attr_accessor :items
|
3783
|
-
|
3784
|
-
def initialize(**args)
|
3785
|
-
update!(**args)
|
3786
|
-
end
|
3787
|
-
|
3788
|
-
# Update properties of this object
|
3789
|
-
def update!(**args)
|
3790
|
-
@items = args[:items] if args.key?(:items)
|
3791
|
-
end
|
3792
|
-
end
|
3245
|
+
# The URL for the 854px by 70px image that appears below the video player in the
|
3246
|
+
# expanded video view of the video watch page.
|
3247
|
+
# Corresponds to the JSON property `largeBrandedBannerImageUrl`
|
3248
|
+
# @return [Google::Apis::YoutubeV3::LocalizedProperty]
|
3249
|
+
attr_accessor :large_branded_banner_image_url
|
3793
3250
|
|
3794
|
-
|
3795
|
-
|
3796
|
-
|
3251
|
+
# The image map script for the small banner image.
|
3252
|
+
# Corresponds to the JSON property `smallBrandedBannerImageImapScript`
|
3253
|
+
# @return [Google::Apis::YoutubeV3::LocalizedProperty]
|
3254
|
+
attr_accessor :small_branded_banner_image_imap_script
|
3797
3255
|
|
3798
|
-
#
|
3799
|
-
#
|
3800
|
-
#
|
3801
|
-
|
3256
|
+
# The URL for the 640px by 70px banner image that appears below the video player
|
3257
|
+
# in the default view of the video watch page. The URL for the image that
|
3258
|
+
# appears above the top-left corner of the video player. This is a 25-pixel-high
|
3259
|
+
# image with a flexible width that cannot exceed 170 pixels.
|
3260
|
+
# Corresponds to the JSON property `smallBrandedBannerImageUrl`
|
3261
|
+
# @return [Google::Apis::YoutubeV3::LocalizedProperty]
|
3262
|
+
attr_accessor :small_branded_banner_image_url
|
3802
3263
|
|
3803
|
-
#
|
3804
|
-
#
|
3805
|
-
#
|
3806
|
-
|
3264
|
+
# The URL for a 1px by 1px tracking pixel that can be used to collect statistics
|
3265
|
+
# for views of the channel or video pages.
|
3266
|
+
# Corresponds to the JSON property `trackingImageUrl`
|
3267
|
+
# @return [String]
|
3268
|
+
attr_accessor :tracking_image_url
|
3807
3269
|
|
3808
|
-
#
|
3809
|
-
# Corresponds to the JSON property `
|
3270
|
+
#
|
3271
|
+
# Corresponds to the JSON property `watchIconImageUrl`
|
3810
3272
|
# @return [String]
|
3811
|
-
attr_accessor :
|
3273
|
+
attr_accessor :watch_icon_image_url
|
3812
3274
|
|
3813
3275
|
def initialize(**args)
|
3814
3276
|
update!(**args)
|
@@ -3816,9 +3278,28 @@ module Google
|
|
3816
3278
|
|
3817
3279
|
# Update properties of this object
|
3818
3280
|
def update!(**args)
|
3819
|
-
@
|
3820
|
-
@
|
3821
|
-
@
|
3281
|
+
@background_image_url = args[:background_image_url] if args.key?(:background_image_url)
|
3282
|
+
@banner_external_url = args[:banner_external_url] if args.key?(:banner_external_url)
|
3283
|
+
@banner_image_url = args[:banner_image_url] if args.key?(:banner_image_url)
|
3284
|
+
@banner_mobile_extra_hd_image_url = args[:banner_mobile_extra_hd_image_url] if args.key?(:banner_mobile_extra_hd_image_url)
|
3285
|
+
@banner_mobile_hd_image_url = args[:banner_mobile_hd_image_url] if args.key?(:banner_mobile_hd_image_url)
|
3286
|
+
@banner_mobile_image_url = args[:banner_mobile_image_url] if args.key?(:banner_mobile_image_url)
|
3287
|
+
@banner_mobile_low_image_url = args[:banner_mobile_low_image_url] if args.key?(:banner_mobile_low_image_url)
|
3288
|
+
@banner_mobile_medium_hd_image_url = args[:banner_mobile_medium_hd_image_url] if args.key?(:banner_mobile_medium_hd_image_url)
|
3289
|
+
@banner_tablet_extra_hd_image_url = args[:banner_tablet_extra_hd_image_url] if args.key?(:banner_tablet_extra_hd_image_url)
|
3290
|
+
@banner_tablet_hd_image_url = args[:banner_tablet_hd_image_url] if args.key?(:banner_tablet_hd_image_url)
|
3291
|
+
@banner_tablet_image_url = args[:banner_tablet_image_url] if args.key?(:banner_tablet_image_url)
|
3292
|
+
@banner_tablet_low_image_url = args[:banner_tablet_low_image_url] if args.key?(:banner_tablet_low_image_url)
|
3293
|
+
@banner_tv_high_image_url = args[:banner_tv_high_image_url] if args.key?(:banner_tv_high_image_url)
|
3294
|
+
@banner_tv_image_url = args[:banner_tv_image_url] if args.key?(:banner_tv_image_url)
|
3295
|
+
@banner_tv_low_image_url = args[:banner_tv_low_image_url] if args.key?(:banner_tv_low_image_url)
|
3296
|
+
@banner_tv_medium_image_url = args[:banner_tv_medium_image_url] if args.key?(:banner_tv_medium_image_url)
|
3297
|
+
@large_branded_banner_image_imap_script = args[:large_branded_banner_image_imap_script] if args.key?(:large_branded_banner_image_imap_script)
|
3298
|
+
@large_branded_banner_image_url = args[:large_branded_banner_image_url] if args.key?(:large_branded_banner_image_url)
|
3299
|
+
@small_branded_banner_image_imap_script = args[:small_branded_banner_image_imap_script] if args.key?(:small_branded_banner_image_imap_script)
|
3300
|
+
@small_branded_banner_image_url = args[:small_branded_banner_image_url] if args.key?(:small_branded_banner_image_url)
|
3301
|
+
@tracking_image_url = args[:tracking_image_url] if args.key?(:tracking_image_url)
|
3302
|
+
@watch_icon_image_url = args[:watch_icon_image_url] if args.key?(:watch_icon_image_url)
|
3822
3303
|
end
|
3823
3304
|
end
|
3824
3305
|
|
@@ -4063,148 +3544,6 @@ module Google
|
|
4063
3544
|
end
|
4064
3545
|
end
|
4065
3546
|
|
4066
|
-
#
|
4067
|
-
class LinkCard
|
4068
|
-
include Google::Apis::Core::Hashable
|
4069
|
-
|
4070
|
-
# Custom text to show as the website link. Required.
|
4071
|
-
# Corresponds to the JSON property `customLinkText`
|
4072
|
-
# @return [String]
|
4073
|
-
attr_accessor :custom_link_text
|
4074
|
-
|
4075
|
-
# URL to an externally hosted image.
|
4076
|
-
# Corresponds to the JSON property `externalImageUrl`
|
4077
|
-
# @return [String]
|
4078
|
-
attr_accessor :external_image_url
|
4079
|
-
|
4080
|
-
# The URL to which this card points. Required.
|
4081
|
-
# Corresponds to the JSON property `targetUrl`
|
4082
|
-
# @return [String]
|
4083
|
-
attr_accessor :target_url
|
4084
|
-
|
4085
|
-
# The title to show on the card. Required.
|
4086
|
-
# Corresponds to the JSON property `title`
|
4087
|
-
# @return [String]
|
4088
|
-
attr_accessor :title
|
4089
|
-
|
4090
|
-
# Previously uploaded image.
|
4091
|
-
# Corresponds to the JSON property `uploadedImage`
|
4092
|
-
# @return [Google::Apis::YoutubeV3::LinkCardUploadedImage]
|
4093
|
-
attr_accessor :uploaded_image
|
4094
|
-
|
4095
|
-
def initialize(**args)
|
4096
|
-
update!(**args)
|
4097
|
-
end
|
4098
|
-
|
4099
|
-
# Update properties of this object
|
4100
|
-
def update!(**args)
|
4101
|
-
@custom_link_text = args[:custom_link_text] if args.key?(:custom_link_text)
|
4102
|
-
@external_image_url = args[:external_image_url] if args.key?(:external_image_url)
|
4103
|
-
@target_url = args[:target_url] if args.key?(:target_url)
|
4104
|
-
@title = args[:title] if args.key?(:title)
|
4105
|
-
@uploaded_image = args[:uploaded_image] if args.key?(:uploaded_image)
|
4106
|
-
end
|
4107
|
-
end
|
4108
|
-
|
4109
|
-
#
|
4110
|
-
class LinkCardUploadedImage
|
4111
|
-
include Google::Apis::Core::Hashable
|
4112
|
-
|
4113
|
-
# Image reference on the thumbnail service.
|
4114
|
-
# Corresponds to the JSON property `imageFile`
|
4115
|
-
# @return [String]
|
4116
|
-
attr_accessor :image_file
|
4117
|
-
|
4118
|
-
# The version in the thumbnail service.
|
4119
|
-
# Corresponds to the JSON property `version`
|
4120
|
-
# @return [Fixnum]
|
4121
|
-
attr_accessor :version
|
4122
|
-
|
4123
|
-
def initialize(**args)
|
4124
|
-
update!(**args)
|
4125
|
-
end
|
4126
|
-
|
4127
|
-
# Update properties of this object
|
4128
|
-
def update!(**args)
|
4129
|
-
@image_file = args[:image_file] if args.key?(:image_file)
|
4130
|
-
@version = args[:version] if args.key?(:version)
|
4131
|
-
end
|
4132
|
-
end
|
4133
|
-
|
4134
|
-
#
|
4135
|
-
class LinkElement
|
4136
|
-
include Google::Apis::Core::Hashable
|
4137
|
-
|
4138
|
-
#
|
4139
|
-
# Corresponds to the JSON property `callToActionType`
|
4140
|
-
# @return [String]
|
4141
|
-
attr_accessor :call_to_action_type
|
4142
|
-
|
4143
|
-
# Custom text to show as the website link.
|
4144
|
-
# Corresponds to the JSON property `customLinkText`
|
4145
|
-
# @return [String]
|
4146
|
-
attr_accessor :custom_link_text
|
4147
|
-
|
4148
|
-
# URL to an externally hosted image.
|
4149
|
-
# Corresponds to the JSON property `externalImageUrl`
|
4150
|
-
# @return [String]
|
4151
|
-
attr_accessor :external_image_url
|
4152
|
-
|
4153
|
-
# The URL to which this card points. Required.
|
4154
|
-
# Corresponds to the JSON property `targetUrl`
|
4155
|
-
# @return [String]
|
4156
|
-
attr_accessor :target_url
|
4157
|
-
|
4158
|
-
# Previously uploaded image.
|
4159
|
-
# Corresponds to the JSON property `uploadedImage`
|
4160
|
-
# @return [Google::Apis::YoutubeV3::LinkElementUploadedImage]
|
4161
|
-
attr_accessor :uploaded_image
|
4162
|
-
|
4163
|
-
#
|
4164
|
-
# Corresponds to the JSON property `websiteType`
|
4165
|
-
# @return [String]
|
4166
|
-
attr_accessor :website_type
|
4167
|
-
|
4168
|
-
def initialize(**args)
|
4169
|
-
update!(**args)
|
4170
|
-
end
|
4171
|
-
|
4172
|
-
# Update properties of this object
|
4173
|
-
def update!(**args)
|
4174
|
-
@call_to_action_type = args[:call_to_action_type] if args.key?(:call_to_action_type)
|
4175
|
-
@custom_link_text = args[:custom_link_text] if args.key?(:custom_link_text)
|
4176
|
-
@external_image_url = args[:external_image_url] if args.key?(:external_image_url)
|
4177
|
-
@target_url = args[:target_url] if args.key?(:target_url)
|
4178
|
-
@uploaded_image = args[:uploaded_image] if args.key?(:uploaded_image)
|
4179
|
-
@website_type = args[:website_type] if args.key?(:website_type)
|
4180
|
-
end
|
4181
|
-
end
|
4182
|
-
|
4183
|
-
#
|
4184
|
-
class LinkElementUploadedImage
|
4185
|
-
include Google::Apis::Core::Hashable
|
4186
|
-
|
4187
|
-
# Image reference on the thumbnail service.
|
4188
|
-
# Corresponds to the JSON property `imageFile`
|
4189
|
-
# @return [String]
|
4190
|
-
attr_accessor :image_file
|
4191
|
-
|
4192
|
-
# The version in the thumbnail service.
|
4193
|
-
# Corresponds to the JSON property `version`
|
4194
|
-
# @return [Fixnum]
|
4195
|
-
attr_accessor :version
|
4196
|
-
|
4197
|
-
def initialize(**args)
|
4198
|
-
update!(**args)
|
4199
|
-
end
|
4200
|
-
|
4201
|
-
# Update properties of this object
|
4202
|
-
def update!(**args)
|
4203
|
-
@image_file = args[:image_file] if args.key?(:image_file)
|
4204
|
-
@version = args[:version] if args.key?(:version)
|
4205
|
-
end
|
4206
|
-
end
|
4207
|
-
|
4208
3547
|
# A *liveBroadcast* resource represents an event that will be streamed, via live
|
4209
3548
|
# video, on YouTube.
|
4210
3549
|
class LiveBroadcast
|
@@ -6079,19 +5418,6 @@ module Google
|
|
6079
5418
|
end
|
6080
5419
|
end
|
6081
5420
|
|
6082
|
-
#
|
6083
|
-
class MerchandiseElement
|
6084
|
-
include Google::Apis::Core::Hashable
|
6085
|
-
|
6086
|
-
def initialize(**args)
|
6087
|
-
update!(**args)
|
6088
|
-
end
|
6089
|
-
|
6090
|
-
# Update properties of this object
|
6091
|
-
def update!(**args)
|
6092
|
-
end
|
6093
|
-
end
|
6094
|
-
|
6095
5421
|
# Settings and Info of the monitor stream
|
6096
5422
|
class MonitorStreamInfo
|
6097
5423
|
include Google::Apis::Core::Hashable
|
@@ -6233,37 +5559,6 @@ module Google
|
|
6233
5559
|
end
|
6234
5560
|
end
|
6235
5561
|
|
6236
|
-
#
|
6237
|
-
class PlaylistCard
|
6238
|
-
include Google::Apis::Core::Hashable
|
6239
|
-
|
6240
|
-
# Each card can have a custom message. Optional.
|
6241
|
-
# Corresponds to the JSON property `customMessage`
|
6242
|
-
# @return [String]
|
6243
|
-
attr_accessor :custom_message
|
6244
|
-
|
6245
|
-
# External playlist ID. Required.
|
6246
|
-
# Corresponds to the JSON property `playlistId`
|
6247
|
-
# @return [String]
|
6248
|
-
attr_accessor :playlist_id
|
6249
|
-
|
6250
|
-
# Starting video, if not the first. Optional.
|
6251
|
-
# Corresponds to the JSON property `startVideoId`
|
6252
|
-
# @return [String]
|
6253
|
-
attr_accessor :start_video_id
|
6254
|
-
|
6255
|
-
def initialize(**args)
|
6256
|
-
update!(**args)
|
6257
|
-
end
|
6258
|
-
|
6259
|
-
# Update properties of this object
|
6260
|
-
def update!(**args)
|
6261
|
-
@custom_message = args[:custom_message] if args.key?(:custom_message)
|
6262
|
-
@playlist_id = args[:playlist_id] if args.key?(:playlist_id)
|
6263
|
-
@start_video_id = args[:start_video_id] if args.key?(:start_video_id)
|
6264
|
-
end
|
6265
|
-
end
|
6266
|
-
|
6267
5562
|
#
|
6268
5563
|
class PlaylistContentDetails
|
6269
5564
|
include Google::Apis::Core::Hashable
|
@@ -6283,25 +5578,6 @@ module Google
|
|
6283
5578
|
end
|
6284
5579
|
end
|
6285
5580
|
|
6286
|
-
#
|
6287
|
-
class PlaylistElement
|
6288
|
-
include Google::Apis::Core::Hashable
|
6289
|
-
|
6290
|
-
# External playlist ID. Required.
|
6291
|
-
# Corresponds to the JSON property `playlistId`
|
6292
|
-
# @return [String]
|
6293
|
-
attr_accessor :playlist_id
|
6294
|
-
|
6295
|
-
def initialize(**args)
|
6296
|
-
update!(**args)
|
6297
|
-
end
|
6298
|
-
|
6299
|
-
# Update properties of this object
|
6300
|
-
def update!(**args)
|
6301
|
-
@playlist_id = args[:playlist_id] if args.key?(:playlist_id)
|
6302
|
-
end
|
6303
|
-
end
|
6304
|
-
|
6305
5581
|
# A *playlistItem* resource identifies another resource, such as a video, that
|
6306
5582
|
# is included in a playlist. In addition, the playlistItem resource contains
|
6307
5583
|
# details about the included resource that pertain specifically to how that
|
@@ -7271,19 +6547,6 @@ module Google
|
|
7271
6547
|
end
|
7272
6548
|
end
|
7273
6549
|
|
7274
|
-
#
|
7275
|
-
class SubscribeElement
|
7276
|
-
include Google::Apis::Core::Hashable
|
7277
|
-
|
7278
|
-
def initialize(**args)
|
7279
|
-
update!(**args)
|
7280
|
-
end
|
7281
|
-
|
7282
|
-
# Update properties of this object
|
7283
|
-
def update!(**args)
|
7284
|
-
end
|
7285
|
-
end
|
7286
|
-
|
7287
6550
|
# A *subscription* resource contains information about a YouTube user
|
7288
6551
|
# subscription. A subscription notifies a user when new videos are added to a
|
7289
6552
|
# channel or when another user takes one of several actions on YouTube, such as
|
@@ -8369,37 +7632,6 @@ module Google
|
|
8369
7632
|
end
|
8370
7633
|
end
|
8371
7634
|
|
8372
|
-
#
|
8373
|
-
class VideoCard
|
8374
|
-
include Google::Apis::Core::Hashable
|
8375
|
-
|
8376
|
-
# Each card can have a custom message. Optional.
|
8377
|
-
# Corresponds to the JSON property `customMessage`
|
8378
|
-
# @return [String]
|
8379
|
-
attr_accessor :custom_message
|
8380
|
-
|
8381
|
-
# Playback start time offset in milliseconds. Optional.
|
8382
|
-
# Corresponds to the JSON property `playbackStartOffset`
|
8383
|
-
# @return [String]
|
8384
|
-
attr_accessor :playback_start_offset
|
8385
|
-
|
8386
|
-
# Encrypted Video ID. Required.
|
8387
|
-
# Corresponds to the JSON property `videoId`
|
8388
|
-
# @return [String]
|
8389
|
-
attr_accessor :video_id
|
8390
|
-
|
8391
|
-
def initialize(**args)
|
8392
|
-
update!(**args)
|
8393
|
-
end
|
8394
|
-
|
8395
|
-
# Update properties of this object
|
8396
|
-
def update!(**args)
|
8397
|
-
@custom_message = args[:custom_message] if args.key?(:custom_message)
|
8398
|
-
@playback_start_offset = args[:playback_start_offset] if args.key?(:playback_start_offset)
|
8399
|
-
@video_id = args[:video_id] if args.key?(:video_id)
|
8400
|
-
end
|
8401
|
-
end
|
8402
|
-
|
8403
7635
|
# A *videoCategory* resource identifies a category that has been or could be
|
8404
7636
|
# associated with uploaded videos.
|
8405
7637
|
class VideoCategory
|
@@ -8659,37 +7891,6 @@ module Google
|
|
8659
7891
|
end
|
8660
7892
|
end
|
8661
7893
|
|
8662
|
-
#
|
8663
|
-
class VideoElement
|
8664
|
-
include Google::Apis::Core::Hashable
|
8665
|
-
|
8666
|
-
# Playback start time offset in milliseconds. Optional.
|
8667
|
-
# Corresponds to the JSON property `playbackStartOffset`
|
8668
|
-
# @return [String]
|
8669
|
-
attr_accessor :playback_start_offset
|
8670
|
-
|
8671
|
-
# Encrypted Video ID. Required.
|
8672
|
-
# Corresponds to the JSON property `videoId`
|
8673
|
-
# @return [String]
|
8674
|
-
attr_accessor :video_id
|
8675
|
-
|
8676
|
-
#
|
8677
|
-
# Corresponds to the JSON property `videoType`
|
8678
|
-
# @return [String]
|
8679
|
-
attr_accessor :video_type
|
8680
|
-
|
8681
|
-
def initialize(**args)
|
8682
|
-
update!(**args)
|
8683
|
-
end
|
8684
|
-
|
8685
|
-
# Update properties of this object
|
8686
|
-
def update!(**args)
|
8687
|
-
@playback_start_offset = args[:playback_start_offset] if args.key?(:playback_start_offset)
|
8688
|
-
@video_id = args[:video_id] if args.key?(:video_id)
|
8689
|
-
@video_type = args[:video_type] if args.key?(:video_type)
|
8690
|
-
end
|
8691
|
-
end
|
8692
|
-
|
8693
7894
|
# Describes original video file properties, including technical details about
|
8694
7895
|
# audio and video streams, but also metadata information like content length,
|
8695
7896
|
# digitization time, or geotagging information.
|