google-api-client 0.9.1 → 0.9.2
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 +4 -0
- data/README.md +11 -2
- data/api_names.yaml +76 -43
- data/api_names_out.yaml +3853 -3508
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +151 -151
- data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +2785 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1033 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1378 -0
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +79 -79
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +26 -26
- data/generated/google/apis/admin_directory_v1/classes.rb +374 -374
- data/generated/google/apis/admin_reports_v1/classes.rb +63 -63
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +145 -143
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +95 -92
- data/generated/google/apis/analytics_v3/classes.rb +582 -582
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +132 -132
- data/generated/google/apis/androidenterprise_v1/service.rb +9 -8
- data/generated/google/apis/androidpublisher_v2/classes.rb +122 -122
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +195 -142
- data/generated/google/apis/appengine_v1beta4/representations.rb +16 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +3 -2
- data/generated/google/apis/appengine_v1beta5.rb +35 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +1523 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +525 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +478 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +34 -34
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/classes.rb +12 -12
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +82 -82
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +266 -265
- data/generated/google/apis/blogger_v3/classes.rb +145 -145
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +431 -431
- data/generated/google/apis/books_v1/service.rb +3 -12
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +180 -180
- data/generated/google/apis/civicinfo_v2/classes.rb +125 -125
- data/generated/google/apis/classroom_v1/classes.rb +42 -42
- data/generated/google/apis/cloudbilling_v1/classes.rb +11 -11
- data/generated/google/apis/{mapsengine_v1.rb → cloudbuild_v1.rb} +11 -14
- data/generated/google/apis/cloudbuild_v1/classes.rb +521 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +190 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +278 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +81 -81
- data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +113 -0
- data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +55 -55
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -26
- data/generated/google/apis/cloudtrace_v1/classes.rb +13 -13
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +85 -85
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1051 -998
- data/generated/google/apis/compute_beta/representations.rb +1 -0
- data/generated/google/apis/compute_beta/service.rb +426 -366
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1332 -946
- data/generated/google/apis/compute_v1/representations.rb +108 -0
- data/generated/google/apis/compute_v1/service.rb +686 -318
- data/generated/google/apis/container_v1/classes.rb +43 -43
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +767 -639
- data/generated/google/apis/content_v2/representations.rb +40 -0
- data/generated/google/apis/coordinate_v1/classes.rb +66 -66
- data/generated/google/apis/customsearch_v1/classes.rb +96 -96
- data/generated/google/apis/dataproc_v1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +175 -0
- data/generated/google/apis/dataproc_v1/representations.rb +84 -0
- data/generated/google/apis/dataproc_v1/service.rb +142 -0
- data/generated/google/apis/datastore_v1beta2/classes.rb +105 -105
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +183 -112
- data/generated/google/apis/deploymentmanager_v2/representations.rb +28 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +42 -37
- data/generated/google/apis/dfareporting_v2_3.rb +37 -0
- data/generated/google/apis/dfareporting_v2_3/classes.rb +10830 -0
- data/generated/google/apis/dfareporting_v2_3/representations.rb +3443 -0
- data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
- data/generated/google/apis/discovery_v1/classes.rb +106 -106
- data/generated/google/apis/dns_v1/classes.rb +39 -39
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +155 -69
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +31 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +106 -104
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +308 -308
- data/generated/google/apis/drive_v2/service.rb +44 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +178 -178
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/fitness_v1/classes.rb +74 -74
- data/generated/google/apis/fusiontables_v2/classes.rb +108 -108
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +52 -52
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_management_v1management/classes.rb +55 -46
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/games_v1/classes.rb +484 -475
- data/generated/google/apis/games_v1/representations.rb +1 -0
- data/generated/google/apis/gan_v1beta1/classes.rb +187 -187
- data/generated/google/apis/genomics_v1.rb +2 -2
- data/generated/google/apis/genomics_v1/classes.rb +441 -232
- data/generated/google/apis/genomics_v1/representations.rb +85 -0
- data/generated/google/apis/genomics_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +73 -73
- data/generated/google/apis/groupsmigration_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +28 -28
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +232 -166
- data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +11 -11
- data/generated/google/apis/logging_v2beta1.rb +47 -0
- data/generated/google/apis/logging_v2beta1/classes.rb +990 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +337 -0
- data/generated/google/apis/logging_v2beta1/service.rb +547 -0
- data/generated/google/apis/manager_v1beta2/classes.rb +125 -125
- data/generated/google/apis/mirror_v1/classes.rb +101 -101
- data/generated/google/apis/oauth2_v2.rb +2 -2
- data/generated/google/apis/oauth2_v2/classes.rb +27 -27
- data/generated/google/apis/pagespeedonline_v2/classes.rb +62 -62
- data/generated/google/apis/partners_v2/classes.rb +87 -87
- data/generated/google/apis/people_v1.rb +59 -0
- data/generated/google/apis/people_v1/classes.rb +1594 -0
- data/generated/google/apis/people_v1/representations.rb +593 -0
- data/generated/google/apis/people_v1/service.rb +193 -0
- data/generated/google/apis/plus_domains_v1.rb +2 -2
- data/generated/google/apis/plus_domains_v1/classes.rb +274 -274
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/classes.rb +215 -215
- data/generated/google/apis/prediction_v1_6/classes.rb +73 -73
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +45 -45
- data/generated/google/apis/pubsub_v1/classes.rb +36 -36
- data/generated/google/apis/qpx_express_v1/classes.rb +135 -135
- data/generated/google/apis/replicapool_v1beta2/classes.rb +63 -63
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +76 -76
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +55 -55
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +68 -68
- data/generated/google/apis/script_v1/classes.rb +18 -18
- data/generated/google/apis/site_verification_v1/classes.rb +12 -12
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +203 -203
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +130 -130
- data/generated/google/apis/storagetransfer_v1/classes.rb +84 -84
- data/generated/google/apis/tagmanager_v1/classes.rb +154 -154
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +24 -24
- data/generated/google/apis/tasks_v1/classes.rb +32 -32
- data/generated/google/apis/translate_v2/classes.rb +10 -10
- data/generated/google/apis/urlshortener_v1/classes.rb +24 -24
- data/generated/google/apis/webmasters_v3/classes.rb +49 -49
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +49 -49
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +882 -895
- data/generated/google/apis/youtube_v3/representations.rb +2 -13
- data/generated/google/apis/youtubereporting_v1/classes.rb +19 -19
- data/lib/google/apis/core/api_command.rb +1 -1
- data/lib/google/apis/core/upload.rb +1 -1
- data/lib/google/apis/generator/templates/_class.tmpl +1 -1
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/base_cli.rb +2 -1
- data/samples/cli/lib/samples/androidpublisher.rb +47 -0
- data/script/generate +17 -13
- metadata +35 -6
- data/generated/google/apis/mapsengine_v1/classes.rb +0 -2873
- data/generated/google/apis/mapsengine_v1/representations.rb +0 -1235
- data/generated/google/apis/mapsengine_v1/service.rb +0 -3388
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see http://developers.google.com/youtube/analytics/
|
|
26
26
|
module YoutubeAnalyticsV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160204'
|
|
29
29
|
|
|
30
30
|
# Manage your YouTube account
|
|
31
31
|
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
|
@@ -64,12 +64,12 @@ module Google
|
|
|
64
64
|
|
|
65
65
|
# Update properties of this object
|
|
66
66
|
def update!(**args)
|
|
67
|
-
@id = args[:id]
|
|
68
|
-
@kind = args[:kind]
|
|
69
|
-
@outputs = args[:outputs]
|
|
70
|
-
@report_id = args[:report_id]
|
|
71
|
-
@time_span = args[:time_span]
|
|
72
|
-
@time_updated = args[:time_updated]
|
|
67
|
+
@id = args[:id] if args.key?(:id)
|
|
68
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
69
|
+
@outputs = args[:outputs] if args.key?(:outputs)
|
|
70
|
+
@report_id = args[:report_id] if args.key?(:report_id)
|
|
71
|
+
@time_span = args[:time_span] if args.key?(:time_span)
|
|
72
|
+
@time_updated = args[:time_updated] if args.key?(:time_updated)
|
|
73
73
|
end
|
|
74
74
|
|
|
75
75
|
#
|
|
@@ -97,9 +97,9 @@ module Google
|
|
|
97
97
|
|
|
98
98
|
# Update properties of this object
|
|
99
99
|
def update!(**args)
|
|
100
|
-
@download_url = args[:download_url]
|
|
101
|
-
@format = args[:format]
|
|
102
|
-
@type = args[:type]
|
|
100
|
+
@download_url = args[:download_url] if args.key?(:download_url)
|
|
101
|
+
@format = args[:format] if args.key?(:format)
|
|
102
|
+
@type = args[:type] if args.key?(:type)
|
|
103
103
|
end
|
|
104
104
|
end
|
|
105
105
|
|
|
@@ -125,8 +125,8 @@ module Google
|
|
|
125
125
|
|
|
126
126
|
# Update properties of this object
|
|
127
127
|
def update!(**args)
|
|
128
|
-
@end_time = args[:end_time]
|
|
129
|
-
@start_time = args[:start_time]
|
|
128
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
129
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
130
130
|
end
|
|
131
131
|
end
|
|
132
132
|
end
|
|
@@ -168,11 +168,11 @@ module Google
|
|
|
168
168
|
|
|
169
169
|
# Update properties of this object
|
|
170
170
|
def update!(**args)
|
|
171
|
-
@id = args[:id]
|
|
172
|
-
@kind = args[:kind]
|
|
173
|
-
@name = args[:name]
|
|
174
|
-
@status = args[:status]
|
|
175
|
-
@type = args[:type]
|
|
171
|
+
@id = args[:id] if args.key?(:id)
|
|
172
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
173
|
+
@name = args[:name] if args.key?(:name)
|
|
174
|
+
@status = args[:status] if args.key?(:status)
|
|
175
|
+
@type = args[:type] if args.key?(:type)
|
|
176
176
|
end
|
|
177
177
|
end
|
|
178
178
|
|
|
@@ -199,8 +199,8 @@ module Google
|
|
|
199
199
|
|
|
200
200
|
# Update properties of this object
|
|
201
201
|
def update!(**args)
|
|
202
|
-
@items = args[:items]
|
|
203
|
-
@kind = args[:kind]
|
|
202
|
+
@items = args[:items] if args.key?(:items)
|
|
203
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
204
204
|
end
|
|
205
205
|
end
|
|
206
206
|
|
|
@@ -226,8 +226,8 @@ module Google
|
|
|
226
226
|
|
|
227
227
|
# Update properties of this object
|
|
228
228
|
def update!(**args)
|
|
229
|
-
@items = args[:items]
|
|
230
|
-
@kind = args[:kind]
|
|
229
|
+
@items = args[:items] if args.key?(:items)
|
|
230
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
231
231
|
end
|
|
232
232
|
end
|
|
233
233
|
|
|
@@ -266,11 +266,11 @@ module Google
|
|
|
266
266
|
|
|
267
267
|
# Update properties of this object
|
|
268
268
|
def update!(**args)
|
|
269
|
-
@content_details = args[:content_details]
|
|
270
|
-
@etag = args[:etag]
|
|
271
|
-
@id = args[:id]
|
|
272
|
-
@kind = args[:kind]
|
|
273
|
-
@snippet = args[:snippet]
|
|
269
|
+
@content_details = args[:content_details] if args.key?(:content_details)
|
|
270
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
271
|
+
@id = args[:id] if args.key?(:id)
|
|
272
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
273
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
274
274
|
end
|
|
275
275
|
|
|
276
276
|
#
|
|
@@ -293,8 +293,8 @@ module Google
|
|
|
293
293
|
|
|
294
294
|
# Update properties of this object
|
|
295
295
|
def update!(**args)
|
|
296
|
-
@item_count = args[:item_count]
|
|
297
|
-
@item_type = args[:item_type]
|
|
296
|
+
@item_count = args[:item_count] if args.key?(:item_count)
|
|
297
|
+
@item_type = args[:item_type] if args.key?(:item_type)
|
|
298
298
|
end
|
|
299
299
|
end
|
|
300
300
|
|
|
@@ -318,8 +318,8 @@ module Google
|
|
|
318
318
|
|
|
319
319
|
# Update properties of this object
|
|
320
320
|
def update!(**args)
|
|
321
|
-
@published_at = args[:published_at]
|
|
322
|
-
@title = args[:title]
|
|
321
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
|
322
|
+
@title = args[:title] if args.key?(:title)
|
|
323
323
|
end
|
|
324
324
|
end
|
|
325
325
|
end
|
|
@@ -359,11 +359,11 @@ module Google
|
|
|
359
359
|
|
|
360
360
|
# Update properties of this object
|
|
361
361
|
def update!(**args)
|
|
362
|
-
@etag = args[:etag]
|
|
363
|
-
@group_id = args[:group_id]
|
|
364
|
-
@id = args[:id]
|
|
365
|
-
@kind = args[:kind]
|
|
366
|
-
@resource = args[:resource]
|
|
362
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
363
|
+
@group_id = args[:group_id] if args.key?(:group_id)
|
|
364
|
+
@id = args[:id] if args.key?(:id)
|
|
365
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
366
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
367
367
|
end
|
|
368
368
|
|
|
369
369
|
#
|
|
@@ -386,8 +386,8 @@ module Google
|
|
|
386
386
|
|
|
387
387
|
# Update properties of this object
|
|
388
388
|
def update!(**args)
|
|
389
|
-
@id = args[:id]
|
|
390
|
-
@kind = args[:kind]
|
|
389
|
+
@id = args[:id] if args.key?(:id)
|
|
390
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
391
391
|
end
|
|
392
392
|
end
|
|
393
393
|
end
|
|
@@ -418,9 +418,9 @@ module Google
|
|
|
418
418
|
|
|
419
419
|
# Update properties of this object
|
|
420
420
|
def update!(**args)
|
|
421
|
-
@etag = args[:etag]
|
|
422
|
-
@items = args[:items]
|
|
423
|
-
@kind = args[:kind]
|
|
421
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
422
|
+
@items = args[:items] if args.key?(:items)
|
|
423
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
424
424
|
end
|
|
425
425
|
end
|
|
426
426
|
|
|
@@ -455,10 +455,10 @@ module Google
|
|
|
455
455
|
|
|
456
456
|
# Update properties of this object
|
|
457
457
|
def update!(**args)
|
|
458
|
-
@etag = args[:etag]
|
|
459
|
-
@items = args[:items]
|
|
460
|
-
@kind = args[:kind]
|
|
461
|
-
@next_page_token = args[:next_page_token]
|
|
458
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
459
|
+
@items = args[:items] if args.key?(:items)
|
|
460
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
461
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
462
462
|
end
|
|
463
463
|
end
|
|
464
464
|
|
|
@@ -505,9 +505,9 @@ module Google
|
|
|
505
505
|
|
|
506
506
|
# Update properties of this object
|
|
507
507
|
def update!(**args)
|
|
508
|
-
@column_headers = args[:column_headers]
|
|
509
|
-
@kind = args[:kind]
|
|
510
|
-
@rows = args[:rows]
|
|
508
|
+
@column_headers = args[:column_headers] if args.key?(:column_headers)
|
|
509
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
510
|
+
@rows = args[:rows] if args.key?(:rows)
|
|
511
511
|
end
|
|
512
512
|
|
|
513
513
|
#
|
|
@@ -535,9 +535,9 @@ module Google
|
|
|
535
535
|
|
|
536
536
|
# Update properties of this object
|
|
537
537
|
def update!(**args)
|
|
538
|
-
@column_type = args[:column_type]
|
|
539
|
-
@data_type = args[:data_type]
|
|
540
|
-
@name = args[:name]
|
|
538
|
+
@column_type = args[:column_type] if args.key?(:column_type)
|
|
539
|
+
@data_type = args[:data_type] if args.key?(:data_type)
|
|
540
|
+
@name = args[:name] if args.key?(:name)
|
|
541
541
|
end
|
|
542
542
|
end
|
|
543
543
|
end
|
|
@@ -45,8 +45,8 @@ module Google
|
|
|
45
45
|
|
|
46
46
|
# Update properties of this object
|
|
47
47
|
def update!(**args)
|
|
48
|
-
@allowed = args[:allowed]
|
|
49
|
-
@exception = args[:exception]
|
|
48
|
+
@allowed = args[:allowed] if args.key?(:allowed)
|
|
49
|
+
@exception = args[:exception] if args.key?(:exception)
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
@@ -94,11 +94,11 @@ module Google
|
|
|
94
94
|
|
|
95
95
|
# Update properties of this object
|
|
96
96
|
def update!(**args)
|
|
97
|
-
@content_details = args[:content_details]
|
|
98
|
-
@etag = args[:etag]
|
|
99
|
-
@id = args[:id]
|
|
100
|
-
@kind = args[:kind]
|
|
101
|
-
@snippet = args[:snippet]
|
|
97
|
+
@content_details = args[:content_details] if args.key?(:content_details)
|
|
98
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
99
|
+
@id = args[:id] if args.key?(:id)
|
|
100
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
101
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
102
102
|
end
|
|
103
103
|
end
|
|
104
104
|
|
|
@@ -168,17 +168,17 @@ module Google
|
|
|
168
168
|
|
|
169
169
|
# Update properties of this object
|
|
170
170
|
def update!(**args)
|
|
171
|
-
@bulletin = args[:bulletin]
|
|
172
|
-
@channel_item = args[:channel_item]
|
|
173
|
-
@comment = args[:comment]
|
|
174
|
-
@favorite = args[:favorite]
|
|
175
|
-
@like = args[:like]
|
|
176
|
-
@playlist_item = args[:playlist_item]
|
|
177
|
-
@promoted_item = args[:promoted_item]
|
|
178
|
-
@recommendation = args[:recommendation]
|
|
179
|
-
@social = args[:social]
|
|
180
|
-
@subscription = args[:subscription]
|
|
181
|
-
@upload = args[:upload]
|
|
171
|
+
@bulletin = args[:bulletin] if args.key?(:bulletin)
|
|
172
|
+
@channel_item = args[:channel_item] if args.key?(:channel_item)
|
|
173
|
+
@comment = args[:comment] if args.key?(:comment)
|
|
174
|
+
@favorite = args[:favorite] if args.key?(:favorite)
|
|
175
|
+
@like = args[:like] if args.key?(:like)
|
|
176
|
+
@playlist_item = args[:playlist_item] if args.key?(:playlist_item)
|
|
177
|
+
@promoted_item = args[:promoted_item] if args.key?(:promoted_item)
|
|
178
|
+
@recommendation = args[:recommendation] if args.key?(:recommendation)
|
|
179
|
+
@social = args[:social] if args.key?(:social)
|
|
180
|
+
@subscription = args[:subscription] if args.key?(:subscription)
|
|
181
|
+
@upload = args[:upload] if args.key?(:upload)
|
|
182
182
|
end
|
|
183
183
|
end
|
|
184
184
|
|
|
@@ -197,7 +197,7 @@ module Google
|
|
|
197
197
|
|
|
198
198
|
# Update properties of this object
|
|
199
199
|
def update!(**args)
|
|
200
|
-
@resource_id = args[:resource_id]
|
|
200
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
201
201
|
end
|
|
202
202
|
end
|
|
203
203
|
|
|
@@ -216,7 +216,7 @@ module Google
|
|
|
216
216
|
|
|
217
217
|
# Update properties of this object
|
|
218
218
|
def update!(**args)
|
|
219
|
-
@resource_id = args[:resource_id]
|
|
219
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
220
220
|
end
|
|
221
221
|
end
|
|
222
222
|
|
|
@@ -235,7 +235,7 @@ module Google
|
|
|
235
235
|
|
|
236
236
|
# Update properties of this object
|
|
237
237
|
def update!(**args)
|
|
238
|
-
@resource_id = args[:resource_id]
|
|
238
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
239
239
|
end
|
|
240
240
|
end
|
|
241
241
|
|
|
@@ -254,7 +254,7 @@ module Google
|
|
|
254
254
|
|
|
255
255
|
# Update properties of this object
|
|
256
256
|
def update!(**args)
|
|
257
|
-
@resource_id = args[:resource_id]
|
|
257
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
258
258
|
end
|
|
259
259
|
end
|
|
260
260
|
|
|
@@ -273,7 +273,7 @@ module Google
|
|
|
273
273
|
|
|
274
274
|
# Update properties of this object
|
|
275
275
|
def update!(**args)
|
|
276
|
-
@resource_id = args[:resource_id]
|
|
276
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
277
277
|
end
|
|
278
278
|
end
|
|
279
279
|
|
|
@@ -302,9 +302,9 @@ module Google
|
|
|
302
302
|
|
|
303
303
|
# Update properties of this object
|
|
304
304
|
def update!(**args)
|
|
305
|
-
@playlist_id = args[:playlist_id]
|
|
306
|
-
@playlist_item_id = args[:playlist_item_id]
|
|
307
|
-
@resource_id = args[:resource_id]
|
|
305
|
+
@playlist_id = args[:playlist_id] if args.key?(:playlist_id)
|
|
306
|
+
@playlist_item_id = args[:playlist_item_id] if args.key?(:playlist_item_id)
|
|
307
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
308
308
|
end
|
|
309
309
|
end
|
|
310
310
|
|
|
@@ -376,16 +376,16 @@ module Google
|
|
|
376
376
|
|
|
377
377
|
# Update properties of this object
|
|
378
378
|
def update!(**args)
|
|
379
|
-
@ad_tag = args[:ad_tag]
|
|
380
|
-
@click_tracking_url = args[:click_tracking_url]
|
|
381
|
-
@creative_view_url = args[:creative_view_url]
|
|
382
|
-
@cta_type = args[:cta_type]
|
|
383
|
-
@custom_cta_button_text = args[:custom_cta_button_text]
|
|
384
|
-
@description_text = args[:description_text]
|
|
385
|
-
@destination_url = args[:destination_url]
|
|
386
|
-
@forecasting_url = args[:forecasting_url]
|
|
387
|
-
@impression_url = args[:impression_url]
|
|
388
|
-
@video_id = args[:video_id]
|
|
379
|
+
@ad_tag = args[:ad_tag] if args.key?(:ad_tag)
|
|
380
|
+
@click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url)
|
|
381
|
+
@creative_view_url = args[:creative_view_url] if args.key?(:creative_view_url)
|
|
382
|
+
@cta_type = args[:cta_type] if args.key?(:cta_type)
|
|
383
|
+
@custom_cta_button_text = args[:custom_cta_button_text] if args.key?(:custom_cta_button_text)
|
|
384
|
+
@description_text = args[:description_text] if args.key?(:description_text)
|
|
385
|
+
@destination_url = args[:destination_url] if args.key?(:destination_url)
|
|
386
|
+
@forecasting_url = args[:forecasting_url] if args.key?(:forecasting_url)
|
|
387
|
+
@impression_url = args[:impression_url] if args.key?(:impression_url)
|
|
388
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
|
389
389
|
end
|
|
390
390
|
end
|
|
391
391
|
|
|
@@ -414,9 +414,9 @@ module Google
|
|
|
414
414
|
|
|
415
415
|
# Update properties of this object
|
|
416
416
|
def update!(**args)
|
|
417
|
-
@reason = args[:reason]
|
|
418
|
-
@resource_id = args[:resource_id]
|
|
419
|
-
@seed_resource_id = args[:seed_resource_id]
|
|
417
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
418
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
419
|
+
@seed_resource_id = args[:seed_resource_id] if args.key?(:seed_resource_id)
|
|
420
420
|
end
|
|
421
421
|
end
|
|
422
422
|
|
|
@@ -455,11 +455,11 @@ module Google
|
|
|
455
455
|
|
|
456
456
|
# Update properties of this object
|
|
457
457
|
def update!(**args)
|
|
458
|
-
@author = args[:author]
|
|
459
|
-
@image_url = args[:image_url]
|
|
460
|
-
@reference_url = args[:reference_url]
|
|
461
|
-
@resource_id = args[:resource_id]
|
|
462
|
-
@type = args[:type]
|
|
458
|
+
@author = args[:author] if args.key?(:author)
|
|
459
|
+
@image_url = args[:image_url] if args.key?(:image_url)
|
|
460
|
+
@reference_url = args[:reference_url] if args.key?(:reference_url)
|
|
461
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
462
|
+
@type = args[:type] if args.key?(:type)
|
|
463
463
|
end
|
|
464
464
|
end
|
|
465
465
|
|
|
@@ -478,7 +478,7 @@ module Google
|
|
|
478
478
|
|
|
479
479
|
# Update properties of this object
|
|
480
480
|
def update!(**args)
|
|
481
|
-
@resource_id = args[:resource_id]
|
|
481
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
482
482
|
end
|
|
483
483
|
end
|
|
484
484
|
|
|
@@ -497,7 +497,7 @@ module Google
|
|
|
497
497
|
|
|
498
498
|
# Update properties of this object
|
|
499
499
|
def update!(**args)
|
|
500
|
-
@video_id = args[:video_id]
|
|
500
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
|
501
501
|
end
|
|
502
502
|
end
|
|
503
503
|
|
|
@@ -560,15 +560,15 @@ module Google
|
|
|
560
560
|
|
|
561
561
|
# Update properties of this object
|
|
562
562
|
def update!(**args)
|
|
563
|
-
@etag = args[:etag]
|
|
564
|
-
@event_id = args[:event_id]
|
|
565
|
-
@items = args[:items]
|
|
566
|
-
@kind = args[:kind]
|
|
567
|
-
@next_page_token = args[:next_page_token]
|
|
568
|
-
@page_info = args[:page_info]
|
|
569
|
-
@prev_page_token = args[:prev_page_token]
|
|
570
|
-
@token_pagination = args[:token_pagination]
|
|
571
|
-
@visitor_id = args[:visitor_id]
|
|
563
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
564
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
565
|
+
@items = args[:items] if args.key?(:items)
|
|
566
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
567
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
568
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
569
|
+
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
|
570
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
571
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
572
572
|
end
|
|
573
573
|
end
|
|
574
574
|
|
|
@@ -630,14 +630,14 @@ module Google
|
|
|
630
630
|
|
|
631
631
|
# Update properties of this object
|
|
632
632
|
def update!(**args)
|
|
633
|
-
@channel_id = args[:channel_id]
|
|
634
|
-
@channel_title = args[:channel_title]
|
|
635
|
-
@description = args[:description]
|
|
636
|
-
@group_id = args[:group_id]
|
|
637
|
-
@published_at = args[:published_at]
|
|
638
|
-
@thumbnails = args[:thumbnails]
|
|
639
|
-
@title = args[:title]
|
|
640
|
-
@type = args[:type]
|
|
633
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
634
|
+
@channel_title = args[:channel_title] if args.key?(:channel_title)
|
|
635
|
+
@description = args[:description] if args.key?(:description)
|
|
636
|
+
@group_id = args[:group_id] if args.key?(:group_id)
|
|
637
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
|
638
|
+
@thumbnails = args[:thumbnails] if args.key?(:thumbnails)
|
|
639
|
+
@title = args[:title] if args.key?(:title)
|
|
640
|
+
@type = args[:type] if args.key?(:type)
|
|
641
641
|
end
|
|
642
642
|
end
|
|
643
643
|
|
|
@@ -673,10 +673,10 @@ module Google
|
|
|
673
673
|
|
|
674
674
|
# Update properties of this object
|
|
675
675
|
def update!(**args)
|
|
676
|
-
@etag = args[:etag]
|
|
677
|
-
@id = args[:id]
|
|
678
|
-
@kind = args[:kind]
|
|
679
|
-
@snippet = args[:snippet]
|
|
676
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
677
|
+
@id = args[:id] if args.key?(:id)
|
|
678
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
679
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
680
680
|
end
|
|
681
681
|
end
|
|
682
682
|
|
|
@@ -716,11 +716,11 @@ module Google
|
|
|
716
716
|
|
|
717
717
|
# Update properties of this object
|
|
718
718
|
def update!(**args)
|
|
719
|
-
@etag = args[:etag]
|
|
720
|
-
@event_id = args[:event_id]
|
|
721
|
-
@items = args[:items]
|
|
722
|
-
@kind = args[:kind]
|
|
723
|
-
@visitor_id = args[:visitor_id]
|
|
719
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
720
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
721
|
+
@items = args[:items] if args.key?(:items)
|
|
722
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
723
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
724
724
|
end
|
|
725
725
|
end
|
|
726
726
|
|
|
@@ -818,19 +818,19 @@ module Google
|
|
|
818
818
|
|
|
819
819
|
# Update properties of this object
|
|
820
820
|
def update!(**args)
|
|
821
|
-
@audio_track_type = args[:audio_track_type]
|
|
822
|
-
@failure_reason = args[:failure_reason]
|
|
823
|
-
@is_auto_synced = args[:is_auto_synced]
|
|
824
|
-
@is_cc = args[:is_cc]
|
|
825
|
-
@is_draft = args[:is_draft]
|
|
826
|
-
@is_easy_reader = args[:is_easy_reader]
|
|
827
|
-
@is_large = args[:is_large]
|
|
828
|
-
@language = args[:language]
|
|
829
|
-
@last_updated = args[:last_updated]
|
|
830
|
-
@name = args[:name]
|
|
831
|
-
@status = args[:status]
|
|
832
|
-
@track_kind = args[:track_kind]
|
|
833
|
-
@video_id = args[:video_id]
|
|
821
|
+
@audio_track_type = args[:audio_track_type] if args.key?(:audio_track_type)
|
|
822
|
+
@failure_reason = args[:failure_reason] if args.key?(:failure_reason)
|
|
823
|
+
@is_auto_synced = args[:is_auto_synced] if args.key?(:is_auto_synced)
|
|
824
|
+
@is_cc = args[:is_cc] if args.key?(:is_cc)
|
|
825
|
+
@is_draft = args[:is_draft] if args.key?(:is_draft)
|
|
826
|
+
@is_easy_reader = args[:is_easy_reader] if args.key?(:is_easy_reader)
|
|
827
|
+
@is_large = args[:is_large] if args.key?(:is_large)
|
|
828
|
+
@language = args[:language] if args.key?(:language)
|
|
829
|
+
@last_updated = args[:last_updated] if args.key?(:last_updated)
|
|
830
|
+
@name = args[:name] if args.key?(:name)
|
|
831
|
+
@status = args[:status] if args.key?(:status)
|
|
832
|
+
@track_kind = args[:track_kind] if args.key?(:track_kind)
|
|
833
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
|
834
834
|
end
|
|
835
835
|
end
|
|
836
836
|
|
|
@@ -859,9 +859,9 @@ module Google
|
|
|
859
859
|
|
|
860
860
|
# Update properties of this object
|
|
861
861
|
def update!(**args)
|
|
862
|
-
@format = args[:format]
|
|
863
|
-
@ingestion_info = args[:ingestion_info]
|
|
864
|
-
@ingestion_type = args[:ingestion_type]
|
|
862
|
+
@format = args[:format] if args.key?(:format)
|
|
863
|
+
@ingestion_info = args[:ingestion_info] if args.key?(:ingestion_info)
|
|
864
|
+
@ingestion_type = args[:ingestion_type] if args.key?(:ingestion_type)
|
|
865
865
|
end
|
|
866
866
|
end
|
|
867
867
|
|
|
@@ -951,20 +951,20 @@ module Google
|
|
|
951
951
|
|
|
952
952
|
# Update properties of this object
|
|
953
953
|
def update!(**args)
|
|
954
|
-
@audit_details = args[:audit_details]
|
|
955
|
-
@branding_settings = args[:branding_settings]
|
|
956
|
-
@content_details = args[:content_details]
|
|
957
|
-
@content_owner_details = args[:content_owner_details]
|
|
958
|
-
@conversion_pings = args[:conversion_pings]
|
|
959
|
-
@etag = args[:etag]
|
|
960
|
-
@id = args[:id]
|
|
961
|
-
@invideo_promotion = args[:invideo_promotion]
|
|
962
|
-
@kind = args[:kind]
|
|
963
|
-
@localizations = args[:localizations]
|
|
964
|
-
@snippet = args[:snippet]
|
|
965
|
-
@statistics = args[:statistics]
|
|
966
|
-
@status = args[:status]
|
|
967
|
-
@topic_details = args[:topic_details]
|
|
954
|
+
@audit_details = args[:audit_details] if args.key?(:audit_details)
|
|
955
|
+
@branding_settings = args[:branding_settings] if args.key?(:branding_settings)
|
|
956
|
+
@content_details = args[:content_details] if args.key?(:content_details)
|
|
957
|
+
@content_owner_details = args[:content_owner_details] if args.key?(:content_owner_details)
|
|
958
|
+
@conversion_pings = args[:conversion_pings] if args.key?(:conversion_pings)
|
|
959
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
960
|
+
@id = args[:id] if args.key?(:id)
|
|
961
|
+
@invideo_promotion = args[:invideo_promotion] if args.key?(:invideo_promotion)
|
|
962
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
963
|
+
@localizations = args[:localizations] if args.key?(:localizations)
|
|
964
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
965
|
+
@statistics = args[:statistics] if args.key?(:statistics)
|
|
966
|
+
@status = args[:status] if args.key?(:status)
|
|
967
|
+
@topic_details = args[:topic_details] if args.key?(:topic_details)
|
|
968
968
|
end
|
|
969
969
|
end
|
|
970
970
|
|
|
@@ -1007,10 +1007,10 @@ module Google
|
|
|
1007
1007
|
|
|
1008
1008
|
# Update properties of this object
|
|
1009
1009
|
def update!(**args)
|
|
1010
|
-
@community_guidelines_good_standing = args[:community_guidelines_good_standing]
|
|
1011
|
-
@content_id_claims_good_standing = args[:content_id_claims_good_standing]
|
|
1012
|
-
@copyright_strikes_good_standing = args[:copyright_strikes_good_standing]
|
|
1013
|
-
@overall_good_standing = args[:overall_good_standing]
|
|
1010
|
+
@community_guidelines_good_standing = args[:community_guidelines_good_standing] if args.key?(:community_guidelines_good_standing)
|
|
1011
|
+
@content_id_claims_good_standing = args[:content_id_claims_good_standing] if args.key?(:content_id_claims_good_standing)
|
|
1012
|
+
@copyright_strikes_good_standing = args[:copyright_strikes_good_standing] if args.key?(:copyright_strikes_good_standing)
|
|
1013
|
+
@overall_good_standing = args[:overall_good_standing] if args.key?(:overall_good_standing)
|
|
1014
1014
|
end
|
|
1015
1015
|
end
|
|
1016
1016
|
|
|
@@ -1040,9 +1040,9 @@ module Google
|
|
|
1040
1040
|
|
|
1041
1041
|
# Update properties of this object
|
|
1042
1042
|
def update!(**args)
|
|
1043
|
-
@etag = args[:etag]
|
|
1044
|
-
@kind = args[:kind]
|
|
1045
|
-
@url = args[:url]
|
|
1043
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1044
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1045
|
+
@url = args[:url] if args.key?(:url)
|
|
1046
1046
|
end
|
|
1047
1047
|
end
|
|
1048
1048
|
|
|
@@ -1076,10 +1076,10 @@ module Google
|
|
|
1076
1076
|
|
|
1077
1077
|
# Update properties of this object
|
|
1078
1078
|
def update!(**args)
|
|
1079
|
-
@channel = args[:channel]
|
|
1080
|
-
@hints = args[:hints]
|
|
1081
|
-
@image = args[:image]
|
|
1082
|
-
@watch = args[:watch]
|
|
1079
|
+
@channel = args[:channel] if args.key?(:channel)
|
|
1080
|
+
@hints = args[:hints] if args.key?(:hints)
|
|
1081
|
+
@image = args[:image] if args.key?(:image)
|
|
1082
|
+
@watch = args[:watch] if args.key?(:watch)
|
|
1083
1083
|
end
|
|
1084
1084
|
end
|
|
1085
1085
|
|
|
@@ -1104,8 +1104,8 @@ module Google
|
|
|
1104
1104
|
|
|
1105
1105
|
# Update properties of this object
|
|
1106
1106
|
def update!(**args)
|
|
1107
|
-
@google_plus_user_id = args[:google_plus_user_id]
|
|
1108
|
-
@related_playlists = args[:related_playlists]
|
|
1107
|
+
@google_plus_user_id = args[:google_plus_user_id] if args.key?(:google_plus_user_id)
|
|
1108
|
+
@related_playlists = args[:related_playlists] if args.key?(:related_playlists)
|
|
1109
1109
|
end
|
|
1110
1110
|
|
|
1111
1111
|
#
|
|
@@ -1153,11 +1153,11 @@ module Google
|
|
|
1153
1153
|
|
|
1154
1154
|
# Update properties of this object
|
|
1155
1155
|
def update!(**args)
|
|
1156
|
-
@favorites = args[:favorites]
|
|
1157
|
-
@likes = args[:likes]
|
|
1158
|
-
@uploads = args[:uploads]
|
|
1159
|
-
@watch_history = args[:watch_history]
|
|
1160
|
-
@watch_later = args[:watch_later]
|
|
1156
|
+
@favorites = args[:favorites] if args.key?(:favorites)
|
|
1157
|
+
@likes = args[:likes] if args.key?(:likes)
|
|
1158
|
+
@uploads = args[:uploads] if args.key?(:uploads)
|
|
1159
|
+
@watch_history = args[:watch_history] if args.key?(:watch_history)
|
|
1160
|
+
@watch_later = args[:watch_later] if args.key?(:watch_later)
|
|
1161
1161
|
end
|
|
1162
1162
|
end
|
|
1163
1163
|
end
|
|
@@ -1184,8 +1184,8 @@ module Google
|
|
|
1184
1184
|
|
|
1185
1185
|
# Update properties of this object
|
|
1186
1186
|
def update!(**args)
|
|
1187
|
-
@content_owner = args[:content_owner]
|
|
1188
|
-
@time_linked = args[:time_linked]
|
|
1187
|
+
@content_owner = args[:content_owner] if args.key?(:content_owner)
|
|
1188
|
+
@time_linked = args[:time_linked] if args.key?(:time_linked)
|
|
1189
1189
|
end
|
|
1190
1190
|
end
|
|
1191
1191
|
|
|
@@ -1216,8 +1216,8 @@ module Google
|
|
|
1216
1216
|
|
|
1217
1217
|
# Update properties of this object
|
|
1218
1218
|
def update!(**args)
|
|
1219
|
-
@context = args[:context]
|
|
1220
|
-
@conversion_url = args[:conversion_url]
|
|
1219
|
+
@context = args[:context] if args.key?(:context)
|
|
1220
|
+
@conversion_url = args[:conversion_url] if args.key?(:conversion_url)
|
|
1221
1221
|
end
|
|
1222
1222
|
end
|
|
1223
1223
|
|
|
@@ -1239,26 +1239,7 @@ module Google
|
|
|
1239
1239
|
|
|
1240
1240
|
# Update properties of this object
|
|
1241
1241
|
def update!(**args)
|
|
1242
|
-
@pings = args[:pings]
|
|
1243
|
-
end
|
|
1244
|
-
end
|
|
1245
|
-
|
|
1246
|
-
#
|
|
1247
|
-
class ChannelId
|
|
1248
|
-
include Google::Apis::Core::Hashable
|
|
1249
|
-
|
|
1250
|
-
#
|
|
1251
|
-
# Corresponds to the JSON property `value`
|
|
1252
|
-
# @return [String]
|
|
1253
|
-
attr_accessor :value
|
|
1254
|
-
|
|
1255
|
-
def initialize(**args)
|
|
1256
|
-
update!(**args)
|
|
1257
|
-
end
|
|
1258
|
-
|
|
1259
|
-
# Update properties of this object
|
|
1260
|
-
def update!(**args)
|
|
1261
|
-
@value = args[:value] unless args[:value].nil?
|
|
1242
|
+
@pings = args[:pings] if args.key?(:pings)
|
|
1262
1243
|
end
|
|
1263
1244
|
end
|
|
1264
1245
|
|
|
@@ -1321,15 +1302,15 @@ module Google
|
|
|
1321
1302
|
|
|
1322
1303
|
# Update properties of this object
|
|
1323
1304
|
def update!(**args)
|
|
1324
|
-
@etag = args[:etag]
|
|
1325
|
-
@event_id = args[:event_id]
|
|
1326
|
-
@items = args[:items]
|
|
1327
|
-
@kind = args[:kind]
|
|
1328
|
-
@next_page_token = args[:next_page_token]
|
|
1329
|
-
@page_info = args[:page_info]
|
|
1330
|
-
@prev_page_token = args[:prev_page_token]
|
|
1331
|
-
@token_pagination = args[:token_pagination]
|
|
1332
|
-
@visitor_id = args[:visitor_id]
|
|
1305
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1306
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
1307
|
+
@items = args[:items] if args.key?(:items)
|
|
1308
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1309
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1310
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
1311
|
+
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
|
1312
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
1313
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
1333
1314
|
end
|
|
1334
1315
|
end
|
|
1335
1316
|
|
|
@@ -1353,8 +1334,8 @@ module Google
|
|
|
1353
1334
|
|
|
1354
1335
|
# Update properties of this object
|
|
1355
1336
|
def update!(**args)
|
|
1356
|
-
@description = args[:description]
|
|
1357
|
-
@title = args[:title]
|
|
1337
|
+
@description = args[:description] if args.key?(:description)
|
|
1338
|
+
@title = args[:title] if args.key?(:title)
|
|
1358
1339
|
end
|
|
1359
1340
|
end
|
|
1360
1341
|
|
|
@@ -1388,10 +1369,10 @@ module Google
|
|
|
1388
1369
|
|
|
1389
1370
|
# Update properties of this object
|
|
1390
1371
|
def update!(**args)
|
|
1391
|
-
@channel_id = args[:channel_id]
|
|
1392
|
-
@channel_url = args[:channel_url]
|
|
1393
|
-
@display_name = args[:display_name]
|
|
1394
|
-
@profile_image_url = args[:profile_image_url]
|
|
1372
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
1373
|
+
@channel_url = args[:channel_url] if args.key?(:channel_url)
|
|
1374
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1375
|
+
@profile_image_url = args[:profile_image_url] if args.key?(:profile_image_url)
|
|
1395
1376
|
end
|
|
1396
1377
|
end
|
|
1397
1378
|
|
|
@@ -1441,13 +1422,13 @@ module Google
|
|
|
1441
1422
|
|
|
1442
1423
|
# Update properties of this object
|
|
1443
1424
|
def update!(**args)
|
|
1444
|
-
@content_details = args[:content_details]
|
|
1445
|
-
@etag = args[:etag]
|
|
1446
|
-
@id = args[:id]
|
|
1447
|
-
@kind = args[:kind]
|
|
1448
|
-
@localizations = args[:localizations]
|
|
1449
|
-
@snippet = args[:snippet]
|
|
1450
|
-
@targeting = args[:targeting]
|
|
1425
|
+
@content_details = args[:content_details] if args.key?(:content_details)
|
|
1426
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1427
|
+
@id = args[:id] if args.key?(:id)
|
|
1428
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1429
|
+
@localizations = args[:localizations] if args.key?(:localizations)
|
|
1430
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
1431
|
+
@targeting = args[:targeting] if args.key?(:targeting)
|
|
1451
1432
|
end
|
|
1452
1433
|
end
|
|
1453
1434
|
|
|
@@ -1472,8 +1453,8 @@ module Google
|
|
|
1472
1453
|
|
|
1473
1454
|
# Update properties of this object
|
|
1474
1455
|
def update!(**args)
|
|
1475
|
-
@channels = args[:channels]
|
|
1476
|
-
@playlists = args[:playlists]
|
|
1456
|
+
@channels = args[:channels] if args.key?(:channels)
|
|
1457
|
+
@playlists = args[:playlists] if args.key?(:playlists)
|
|
1477
1458
|
end
|
|
1478
1459
|
end
|
|
1479
1460
|
|
|
@@ -1513,11 +1494,11 @@ module Google
|
|
|
1513
1494
|
|
|
1514
1495
|
# Update properties of this object
|
|
1515
1496
|
def update!(**args)
|
|
1516
|
-
@etag = args[:etag]
|
|
1517
|
-
@event_id = args[:event_id]
|
|
1518
|
-
@items = args[:items]
|
|
1519
|
-
@kind = args[:kind]
|
|
1520
|
-
@visitor_id = args[:visitor_id]
|
|
1497
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1498
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
1499
|
+
@items = args[:items] if args.key?(:items)
|
|
1500
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1501
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
1521
1502
|
end
|
|
1522
1503
|
end
|
|
1523
1504
|
|
|
@@ -1536,7 +1517,7 @@ module Google
|
|
|
1536
1517
|
|
|
1537
1518
|
# Update properties of this object
|
|
1538
1519
|
def update!(**args)
|
|
1539
|
-
@title = args[:title]
|
|
1520
|
+
@title = args[:title] if args.key?(:title)
|
|
1540
1521
|
end
|
|
1541
1522
|
end
|
|
1542
1523
|
|
|
@@ -1586,13 +1567,13 @@ module Google
|
|
|
1586
1567
|
|
|
1587
1568
|
# Update properties of this object
|
|
1588
1569
|
def update!(**args)
|
|
1589
|
-
@channel_id = args[:channel_id]
|
|
1590
|
-
@default_language = args[:default_language]
|
|
1591
|
-
@localized = args[:localized]
|
|
1592
|
-
@position = args[:position]
|
|
1593
|
-
@style = args[:style]
|
|
1594
|
-
@title = args[:title]
|
|
1595
|
-
@type = args[:type]
|
|
1570
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
1571
|
+
@default_language = args[:default_language] if args.key?(:default_language)
|
|
1572
|
+
@localized = args[:localized] if args.key?(:localized)
|
|
1573
|
+
@position = args[:position] if args.key?(:position)
|
|
1574
|
+
@style = args[:style] if args.key?(:style)
|
|
1575
|
+
@title = args[:title] if args.key?(:title)
|
|
1576
|
+
@type = args[:type] if args.key?(:type)
|
|
1596
1577
|
end
|
|
1597
1578
|
end
|
|
1598
1579
|
|
|
@@ -1621,9 +1602,9 @@ module Google
|
|
|
1621
1602
|
|
|
1622
1603
|
# Update properties of this object
|
|
1623
1604
|
def update!(**args)
|
|
1624
|
-
@countries = args[:countries]
|
|
1625
|
-
@languages = args[:languages]
|
|
1626
|
-
@regions = args[:regions]
|
|
1605
|
+
@countries = args[:countries] if args.key?(:countries)
|
|
1606
|
+
@languages = args[:languages] if args.key?(:languages)
|
|
1607
|
+
@regions = args[:regions] if args.key?(:regions)
|
|
1627
1608
|
end
|
|
1628
1609
|
end
|
|
1629
1610
|
|
|
@@ -1712,20 +1693,20 @@ module Google
|
|
|
1712
1693
|
|
|
1713
1694
|
# Update properties of this object
|
|
1714
1695
|
def update!(**args)
|
|
1715
|
-
@country = args[:country]
|
|
1716
|
-
@default_language = args[:default_language]
|
|
1717
|
-
@default_tab = args[:default_tab]
|
|
1718
|
-
@description = args[:description]
|
|
1719
|
-
@featured_channels_title = args[:featured_channels_title]
|
|
1720
|
-
@featured_channels_urls = args[:featured_channels_urls]
|
|
1721
|
-
@keywords = args[:keywords]
|
|
1722
|
-
@moderate_comments = args[:moderate_comments]
|
|
1723
|
-
@profile_color = args[:profile_color]
|
|
1724
|
-
@show_browse_view = args[:show_browse_view]
|
|
1725
|
-
@show_related_channels = args[:show_related_channels]
|
|
1726
|
-
@title = args[:title]
|
|
1727
|
-
@tracking_analytics_account_id = args[:tracking_analytics_account_id]
|
|
1728
|
-
@unsubscribed_trailer = args[:unsubscribed_trailer]
|
|
1696
|
+
@country = args[:country] if args.key?(:country)
|
|
1697
|
+
@default_language = args[:default_language] if args.key?(:default_language)
|
|
1698
|
+
@default_tab = args[:default_tab] if args.key?(:default_tab)
|
|
1699
|
+
@description = args[:description] if args.key?(:description)
|
|
1700
|
+
@featured_channels_title = args[:featured_channels_title] if args.key?(:featured_channels_title)
|
|
1701
|
+
@featured_channels_urls = args[:featured_channels_urls] if args.key?(:featured_channels_urls)
|
|
1702
|
+
@keywords = args[:keywords] if args.key?(:keywords)
|
|
1703
|
+
@moderate_comments = args[:moderate_comments] if args.key?(:moderate_comments)
|
|
1704
|
+
@profile_color = args[:profile_color] if args.key?(:profile_color)
|
|
1705
|
+
@show_browse_view = args[:show_browse_view] if args.key?(:show_browse_view)
|
|
1706
|
+
@show_related_channels = args[:show_related_channels] if args.key?(:show_related_channels)
|
|
1707
|
+
@title = args[:title] if args.key?(:title)
|
|
1708
|
+
@tracking_analytics_account_id = args[:tracking_analytics_account_id] if args.key?(:tracking_analytics_account_id)
|
|
1709
|
+
@unsubscribed_trailer = args[:unsubscribed_trailer] if args.key?(:unsubscribed_trailer)
|
|
1729
1710
|
end
|
|
1730
1711
|
end
|
|
1731
1712
|
|
|
@@ -1775,13 +1756,13 @@ module Google
|
|
|
1775
1756
|
|
|
1776
1757
|
# Update properties of this object
|
|
1777
1758
|
def update!(**args)
|
|
1778
|
-
@country = args[:country]
|
|
1779
|
-
@default_language = args[:default_language]
|
|
1780
|
-
@description = args[:description]
|
|
1781
|
-
@localized = args[:localized]
|
|
1782
|
-
@published_at = args[:published_at]
|
|
1783
|
-
@thumbnails = args[:thumbnails]
|
|
1784
|
-
@title = args[:title]
|
|
1759
|
+
@country = args[:country] if args.key?(:country)
|
|
1760
|
+
@default_language = args[:default_language] if args.key?(:default_language)
|
|
1761
|
+
@description = args[:description] if args.key?(:description)
|
|
1762
|
+
@localized = args[:localized] if args.key?(:localized)
|
|
1763
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
|
1764
|
+
@thumbnails = args[:thumbnails] if args.key?(:thumbnails)
|
|
1765
|
+
@title = args[:title] if args.key?(:title)
|
|
1785
1766
|
end
|
|
1786
1767
|
end
|
|
1787
1768
|
|
|
@@ -1822,11 +1803,11 @@ module Google
|
|
|
1822
1803
|
|
|
1823
1804
|
# Update properties of this object
|
|
1824
1805
|
def update!(**args)
|
|
1825
|
-
@comment_count = args[:comment_count]
|
|
1826
|
-
@hidden_subscriber_count = args[:hidden_subscriber_count]
|
|
1827
|
-
@subscriber_count = args[:subscriber_count]
|
|
1828
|
-
@video_count = args[:video_count]
|
|
1829
|
-
@view_count = args[:view_count]
|
|
1806
|
+
@comment_count = args[:comment_count] if args.key?(:comment_count)
|
|
1807
|
+
@hidden_subscriber_count = args[:hidden_subscriber_count] if args.key?(:hidden_subscriber_count)
|
|
1808
|
+
@subscriber_count = args[:subscriber_count] if args.key?(:subscriber_count)
|
|
1809
|
+
@video_count = args[:video_count] if args.key?(:video_count)
|
|
1810
|
+
@view_count = args[:view_count] if args.key?(:view_count)
|
|
1830
1811
|
end
|
|
1831
1812
|
end
|
|
1832
1813
|
|
|
@@ -1857,9 +1838,9 @@ module Google
|
|
|
1857
1838
|
|
|
1858
1839
|
# Update properties of this object
|
|
1859
1840
|
def update!(**args)
|
|
1860
|
-
@is_linked = args[:is_linked]
|
|
1861
|
-
@long_uploads_status = args[:long_uploads_status]
|
|
1862
|
-
@privacy_status = args[:privacy_status]
|
|
1841
|
+
@is_linked = args[:is_linked] if args.key?(:is_linked)
|
|
1842
|
+
@long_uploads_status = args[:long_uploads_status] if args.key?(:long_uploads_status)
|
|
1843
|
+
@privacy_status = args[:privacy_status] if args.key?(:privacy_status)
|
|
1863
1844
|
end
|
|
1864
1845
|
end
|
|
1865
1846
|
|
|
@@ -1879,7 +1860,7 @@ module Google
|
|
|
1879
1860
|
|
|
1880
1861
|
# Update properties of this object
|
|
1881
1862
|
def update!(**args)
|
|
1882
|
-
@topic_ids = args[:topic_ids]
|
|
1863
|
+
@topic_ids = args[:topic_ids] if args.key?(:topic_ids)
|
|
1883
1864
|
end
|
|
1884
1865
|
end
|
|
1885
1866
|
|
|
@@ -1914,10 +1895,10 @@ module Google
|
|
|
1914
1895
|
|
|
1915
1896
|
# Update properties of this object
|
|
1916
1897
|
def update!(**args)
|
|
1917
|
-
@etag = args[:etag]
|
|
1918
|
-
@id = args[:id]
|
|
1919
|
-
@kind = args[:kind]
|
|
1920
|
-
@snippet = args[:snippet]
|
|
1898
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1899
|
+
@id = args[:id] if args.key?(:id)
|
|
1900
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1901
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
1921
1902
|
end
|
|
1922
1903
|
end
|
|
1923
1904
|
|
|
@@ -1974,14 +1955,14 @@ module Google
|
|
|
1974
1955
|
|
|
1975
1956
|
# Update properties of this object
|
|
1976
1957
|
def update!(**args)
|
|
1977
|
-
@etag = args[:etag]
|
|
1978
|
-
@event_id = args[:event_id]
|
|
1979
|
-
@items = args[:items]
|
|
1980
|
-
@kind = args[:kind]
|
|
1981
|
-
@next_page_token = args[:next_page_token]
|
|
1982
|
-
@page_info = args[:page_info]
|
|
1983
|
-
@token_pagination = args[:token_pagination]
|
|
1984
|
-
@visitor_id = args[:visitor_id]
|
|
1958
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1959
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
1960
|
+
@items = args[:items] if args.key?(:items)
|
|
1961
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1962
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1963
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
1964
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
1965
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
1985
1966
|
end
|
|
1986
1967
|
end
|
|
1987
1968
|
|
|
@@ -1991,7 +1972,7 @@ module Google
|
|
|
1991
1972
|
|
|
1992
1973
|
# The id of the author's YouTube channel, if any.
|
|
1993
1974
|
# Corresponds to the JSON property `authorChannelId`
|
|
1994
|
-
# @return [
|
|
1975
|
+
# @return [Object]
|
|
1995
1976
|
attr_accessor :author_channel_id
|
|
1996
1977
|
|
|
1997
1978
|
# Link to the author's YouTube channel, if any.
|
|
@@ -2088,22 +2069,22 @@ module Google
|
|
|
2088
2069
|
|
|
2089
2070
|
# Update properties of this object
|
|
2090
2071
|
def update!(**args)
|
|
2091
|
-
@author_channel_id = args[:author_channel_id]
|
|
2092
|
-
@author_channel_url = args[:author_channel_url]
|
|
2093
|
-
@author_display_name = args[:author_display_name]
|
|
2094
|
-
@author_googleplus_profile_url = args[:author_googleplus_profile_url]
|
|
2095
|
-
@author_profile_image_url = args[:author_profile_image_url]
|
|
2096
|
-
@can_rate = args[:can_rate]
|
|
2097
|
-
@channel_id = args[:channel_id]
|
|
2098
|
-
@like_count = args[:like_count]
|
|
2099
|
-
@moderation_status = args[:moderation_status]
|
|
2100
|
-
@parent_id = args[:parent_id]
|
|
2101
|
-
@published_at = args[:published_at]
|
|
2102
|
-
@text_display = args[:text_display]
|
|
2103
|
-
@text_original = args[:text_original]
|
|
2104
|
-
@updated_at = args[:updated_at]
|
|
2105
|
-
@video_id = args[:video_id]
|
|
2106
|
-
@viewer_rating = args[:viewer_rating]
|
|
2072
|
+
@author_channel_id = args[:author_channel_id] if args.key?(:author_channel_id)
|
|
2073
|
+
@author_channel_url = args[:author_channel_url] if args.key?(:author_channel_url)
|
|
2074
|
+
@author_display_name = args[:author_display_name] if args.key?(:author_display_name)
|
|
2075
|
+
@author_googleplus_profile_url = args[:author_googleplus_profile_url] if args.key?(:author_googleplus_profile_url)
|
|
2076
|
+
@author_profile_image_url = args[:author_profile_image_url] if args.key?(:author_profile_image_url)
|
|
2077
|
+
@can_rate = args[:can_rate] if args.key?(:can_rate)
|
|
2078
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
2079
|
+
@like_count = args[:like_count] if args.key?(:like_count)
|
|
2080
|
+
@moderation_status = args[:moderation_status] if args.key?(:moderation_status)
|
|
2081
|
+
@parent_id = args[:parent_id] if args.key?(:parent_id)
|
|
2082
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
|
2083
|
+
@text_display = args[:text_display] if args.key?(:text_display)
|
|
2084
|
+
@text_original = args[:text_original] if args.key?(:text_original)
|
|
2085
|
+
@updated_at = args[:updated_at] if args.key?(:updated_at)
|
|
2086
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
|
2087
|
+
@viewer_rating = args[:viewer_rating] if args.key?(:viewer_rating)
|
|
2107
2088
|
end
|
|
2108
2089
|
end
|
|
2109
2090
|
|
|
@@ -2145,11 +2126,11 @@ module Google
|
|
|
2145
2126
|
|
|
2146
2127
|
# Update properties of this object
|
|
2147
2128
|
def update!(**args)
|
|
2148
|
-
@etag = args[:etag]
|
|
2149
|
-
@id = args[:id]
|
|
2150
|
-
@kind = args[:kind]
|
|
2151
|
-
@replies = args[:replies]
|
|
2152
|
-
@snippet = args[:snippet]
|
|
2129
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
2130
|
+
@id = args[:id] if args.key?(:id)
|
|
2131
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2132
|
+
@replies = args[:replies] if args.key?(:replies)
|
|
2133
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
2153
2134
|
end
|
|
2154
2135
|
end
|
|
2155
2136
|
|
|
@@ -2206,14 +2187,14 @@ module Google
|
|
|
2206
2187
|
|
|
2207
2188
|
# Update properties of this object
|
|
2208
2189
|
def update!(**args)
|
|
2209
|
-
@etag = args[:etag]
|
|
2210
|
-
@event_id = args[:event_id]
|
|
2211
|
-
@items = args[:items]
|
|
2212
|
-
@kind = args[:kind]
|
|
2213
|
-
@next_page_token = args[:next_page_token]
|
|
2214
|
-
@page_info = args[:page_info]
|
|
2215
|
-
@token_pagination = args[:token_pagination]
|
|
2216
|
-
@visitor_id = args[:visitor_id]
|
|
2190
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
2191
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
2192
|
+
@items = args[:items] if args.key?(:items)
|
|
2193
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2194
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2195
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
2196
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
2197
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
2217
2198
|
end
|
|
2218
2199
|
end
|
|
2219
2200
|
|
|
@@ -2234,7 +2215,7 @@ module Google
|
|
|
2234
2215
|
|
|
2235
2216
|
# Update properties of this object
|
|
2236
2217
|
def update!(**args)
|
|
2237
|
-
@comments = args[:comments]
|
|
2218
|
+
@comments = args[:comments] if args.key?(:comments)
|
|
2238
2219
|
end
|
|
2239
2220
|
end
|
|
2240
2221
|
|
|
@@ -2285,12 +2266,12 @@ module Google
|
|
|
2285
2266
|
|
|
2286
2267
|
# Update properties of this object
|
|
2287
2268
|
def update!(**args)
|
|
2288
|
-
@can_reply = args[:can_reply]
|
|
2289
|
-
@channel_id = args[:channel_id]
|
|
2290
|
-
@is_public = args[:is_public]
|
|
2291
|
-
@top_level_comment = args[:top_level_comment]
|
|
2292
|
-
@total_reply_count = args[:total_reply_count]
|
|
2293
|
-
@video_id = args[:video_id]
|
|
2269
|
+
@can_reply = args[:can_reply] if args.key?(:can_reply)
|
|
2270
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
2271
|
+
@is_public = args[:is_public] if args.key?(:is_public)
|
|
2272
|
+
@top_level_comment = args[:top_level_comment] if args.key?(:top_level_comment)
|
|
2273
|
+
@total_reply_count = args[:total_reply_count] if args.key?(:total_reply_count)
|
|
2274
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
|
2294
2275
|
end
|
|
2295
2276
|
end
|
|
2296
2277
|
|
|
@@ -2666,72 +2647,72 @@ module Google
|
|
|
2666
2647
|
|
|
2667
2648
|
# Update properties of this object
|
|
2668
2649
|
def update!(**args)
|
|
2669
|
-
@acb_rating = args[:acb_rating]
|
|
2670
|
-
@agcom_rating = args[:agcom_rating]
|
|
2671
|
-
@anatel_rating = args[:anatel_rating]
|
|
2672
|
-
@bbfc_rating = args[:bbfc_rating]
|
|
2673
|
-
@bfvc_rating = args[:bfvc_rating]
|
|
2674
|
-
@bmukk_rating = args[:bmukk_rating]
|
|
2675
|
-
@catv_rating = args[:catv_rating]
|
|
2676
|
-
@catvfr_rating = args[:catvfr_rating]
|
|
2677
|
-
@cbfc_rating = args[:cbfc_rating]
|
|
2678
|
-
@ccc_rating = args[:ccc_rating]
|
|
2679
|
-
@cce_rating = args[:cce_rating]
|
|
2680
|
-
@chfilm_rating = args[:chfilm_rating]
|
|
2681
|
-
@chvrs_rating = args[:chvrs_rating]
|
|
2682
|
-
@cicf_rating = args[:cicf_rating]
|
|
2683
|
-
@cna_rating = args[:cna_rating]
|
|
2684
|
-
@cnc_rating = args[:cnc_rating]
|
|
2685
|
-
@csa_rating = args[:csa_rating]
|
|
2686
|
-
@cscf_rating = args[:cscf_rating]
|
|
2687
|
-
@czfilm_rating = args[:czfilm_rating]
|
|
2688
|
-
@djctq_rating = args[:djctq_rating]
|
|
2689
|
-
@djctq_rating_reasons = args[:djctq_rating_reasons]
|
|
2690
|
-
@ecbmct_rating = args[:ecbmct_rating]
|
|
2691
|
-
@eefilm_rating = args[:eefilm_rating]
|
|
2692
|
-
@egfilm_rating = args[:egfilm_rating]
|
|
2693
|
-
@eirin_rating = args[:eirin_rating]
|
|
2694
|
-
@fcbm_rating = args[:fcbm_rating]
|
|
2695
|
-
@fco_rating = args[:fco_rating]
|
|
2696
|
-
@fmoc_rating = args[:fmoc_rating]
|
|
2697
|
-
@fpb_rating = args[:fpb_rating]
|
|
2698
|
-
@fsk_rating = args[:fsk_rating]
|
|
2699
|
-
@grfilm_rating = args[:grfilm_rating]
|
|
2700
|
-
@icaa_rating = args[:icaa_rating]
|
|
2701
|
-
@ifco_rating = args[:ifco_rating]
|
|
2702
|
-
@ilfilm_rating = args[:ilfilm_rating]
|
|
2703
|
-
@incaa_rating = args[:incaa_rating]
|
|
2704
|
-
@kfcb_rating = args[:kfcb_rating]
|
|
2705
|
-
@kijkwijzer_rating = args[:kijkwijzer_rating]
|
|
2706
|
-
@kmrb_rating = args[:kmrb_rating]
|
|
2707
|
-
@lsf_rating = args[:lsf_rating]
|
|
2708
|
-
@mccaa_rating = args[:mccaa_rating]
|
|
2709
|
-
@mccyp_rating = args[:mccyp_rating]
|
|
2710
|
-
@mda_rating = args[:mda_rating]
|
|
2711
|
-
@medietilsynet_rating = args[:medietilsynet_rating]
|
|
2712
|
-
@meku_rating = args[:meku_rating]
|
|
2713
|
-
@mibac_rating = args[:mibac_rating]
|
|
2714
|
-
@moc_rating = args[:moc_rating]
|
|
2715
|
-
@moctw_rating = args[:moctw_rating]
|
|
2716
|
-
@mpaa_rating = args[:mpaa_rating]
|
|
2717
|
-
@mtrcb_rating = args[:mtrcb_rating]
|
|
2718
|
-
@nbc_rating = args[:nbc_rating]
|
|
2719
|
-
@nbcpl_rating = args[:nbcpl_rating]
|
|
2720
|
-
@nfrc_rating = args[:nfrc_rating]
|
|
2721
|
-
@nfvcb_rating = args[:nfvcb_rating]
|
|
2722
|
-
@nkclv_rating = args[:nkclv_rating]
|
|
2723
|
-
@oflc_rating = args[:oflc_rating]
|
|
2724
|
-
@pefilm_rating = args[:pefilm_rating]
|
|
2725
|
-
@rcnof_rating = args[:rcnof_rating]
|
|
2726
|
-
@resorteviolencia_rating = args[:resorteviolencia_rating]
|
|
2727
|
-
@rtc_rating = args[:rtc_rating]
|
|
2728
|
-
@rte_rating = args[:rte_rating]
|
|
2729
|
-
@russia_rating = args[:russia_rating]
|
|
2730
|
-
@skfilm_rating = args[:skfilm_rating]
|
|
2731
|
-
@smais_rating = args[:smais_rating]
|
|
2732
|
-
@smsa_rating = args[:smsa_rating]
|
|
2733
|
-
@tvpg_rating = args[:tvpg_rating]
|
|
2734
|
-
@yt_rating = args[:yt_rating]
|
|
2650
|
+
@acb_rating = args[:acb_rating] if args.key?(:acb_rating)
|
|
2651
|
+
@agcom_rating = args[:agcom_rating] if args.key?(:agcom_rating)
|
|
2652
|
+
@anatel_rating = args[:anatel_rating] if args.key?(:anatel_rating)
|
|
2653
|
+
@bbfc_rating = args[:bbfc_rating] if args.key?(:bbfc_rating)
|
|
2654
|
+
@bfvc_rating = args[:bfvc_rating] if args.key?(:bfvc_rating)
|
|
2655
|
+
@bmukk_rating = args[:bmukk_rating] if args.key?(:bmukk_rating)
|
|
2656
|
+
@catv_rating = args[:catv_rating] if args.key?(:catv_rating)
|
|
2657
|
+
@catvfr_rating = args[:catvfr_rating] if args.key?(:catvfr_rating)
|
|
2658
|
+
@cbfc_rating = args[:cbfc_rating] if args.key?(:cbfc_rating)
|
|
2659
|
+
@ccc_rating = args[:ccc_rating] if args.key?(:ccc_rating)
|
|
2660
|
+
@cce_rating = args[:cce_rating] if args.key?(:cce_rating)
|
|
2661
|
+
@chfilm_rating = args[:chfilm_rating] if args.key?(:chfilm_rating)
|
|
2662
|
+
@chvrs_rating = args[:chvrs_rating] if args.key?(:chvrs_rating)
|
|
2663
|
+
@cicf_rating = args[:cicf_rating] if args.key?(:cicf_rating)
|
|
2664
|
+
@cna_rating = args[:cna_rating] if args.key?(:cna_rating)
|
|
2665
|
+
@cnc_rating = args[:cnc_rating] if args.key?(:cnc_rating)
|
|
2666
|
+
@csa_rating = args[:csa_rating] if args.key?(:csa_rating)
|
|
2667
|
+
@cscf_rating = args[:cscf_rating] if args.key?(:cscf_rating)
|
|
2668
|
+
@czfilm_rating = args[:czfilm_rating] if args.key?(:czfilm_rating)
|
|
2669
|
+
@djctq_rating = args[:djctq_rating] if args.key?(:djctq_rating)
|
|
2670
|
+
@djctq_rating_reasons = args[:djctq_rating_reasons] if args.key?(:djctq_rating_reasons)
|
|
2671
|
+
@ecbmct_rating = args[:ecbmct_rating] if args.key?(:ecbmct_rating)
|
|
2672
|
+
@eefilm_rating = args[:eefilm_rating] if args.key?(:eefilm_rating)
|
|
2673
|
+
@egfilm_rating = args[:egfilm_rating] if args.key?(:egfilm_rating)
|
|
2674
|
+
@eirin_rating = args[:eirin_rating] if args.key?(:eirin_rating)
|
|
2675
|
+
@fcbm_rating = args[:fcbm_rating] if args.key?(:fcbm_rating)
|
|
2676
|
+
@fco_rating = args[:fco_rating] if args.key?(:fco_rating)
|
|
2677
|
+
@fmoc_rating = args[:fmoc_rating] if args.key?(:fmoc_rating)
|
|
2678
|
+
@fpb_rating = args[:fpb_rating] if args.key?(:fpb_rating)
|
|
2679
|
+
@fsk_rating = args[:fsk_rating] if args.key?(:fsk_rating)
|
|
2680
|
+
@grfilm_rating = args[:grfilm_rating] if args.key?(:grfilm_rating)
|
|
2681
|
+
@icaa_rating = args[:icaa_rating] if args.key?(:icaa_rating)
|
|
2682
|
+
@ifco_rating = args[:ifco_rating] if args.key?(:ifco_rating)
|
|
2683
|
+
@ilfilm_rating = args[:ilfilm_rating] if args.key?(:ilfilm_rating)
|
|
2684
|
+
@incaa_rating = args[:incaa_rating] if args.key?(:incaa_rating)
|
|
2685
|
+
@kfcb_rating = args[:kfcb_rating] if args.key?(:kfcb_rating)
|
|
2686
|
+
@kijkwijzer_rating = args[:kijkwijzer_rating] if args.key?(:kijkwijzer_rating)
|
|
2687
|
+
@kmrb_rating = args[:kmrb_rating] if args.key?(:kmrb_rating)
|
|
2688
|
+
@lsf_rating = args[:lsf_rating] if args.key?(:lsf_rating)
|
|
2689
|
+
@mccaa_rating = args[:mccaa_rating] if args.key?(:mccaa_rating)
|
|
2690
|
+
@mccyp_rating = args[:mccyp_rating] if args.key?(:mccyp_rating)
|
|
2691
|
+
@mda_rating = args[:mda_rating] if args.key?(:mda_rating)
|
|
2692
|
+
@medietilsynet_rating = args[:medietilsynet_rating] if args.key?(:medietilsynet_rating)
|
|
2693
|
+
@meku_rating = args[:meku_rating] if args.key?(:meku_rating)
|
|
2694
|
+
@mibac_rating = args[:mibac_rating] if args.key?(:mibac_rating)
|
|
2695
|
+
@moc_rating = args[:moc_rating] if args.key?(:moc_rating)
|
|
2696
|
+
@moctw_rating = args[:moctw_rating] if args.key?(:moctw_rating)
|
|
2697
|
+
@mpaa_rating = args[:mpaa_rating] if args.key?(:mpaa_rating)
|
|
2698
|
+
@mtrcb_rating = args[:mtrcb_rating] if args.key?(:mtrcb_rating)
|
|
2699
|
+
@nbc_rating = args[:nbc_rating] if args.key?(:nbc_rating)
|
|
2700
|
+
@nbcpl_rating = args[:nbcpl_rating] if args.key?(:nbcpl_rating)
|
|
2701
|
+
@nfrc_rating = args[:nfrc_rating] if args.key?(:nfrc_rating)
|
|
2702
|
+
@nfvcb_rating = args[:nfvcb_rating] if args.key?(:nfvcb_rating)
|
|
2703
|
+
@nkclv_rating = args[:nkclv_rating] if args.key?(:nkclv_rating)
|
|
2704
|
+
@oflc_rating = args[:oflc_rating] if args.key?(:oflc_rating)
|
|
2705
|
+
@pefilm_rating = args[:pefilm_rating] if args.key?(:pefilm_rating)
|
|
2706
|
+
@rcnof_rating = args[:rcnof_rating] if args.key?(:rcnof_rating)
|
|
2707
|
+
@resorteviolencia_rating = args[:resorteviolencia_rating] if args.key?(:resorteviolencia_rating)
|
|
2708
|
+
@rtc_rating = args[:rtc_rating] if args.key?(:rtc_rating)
|
|
2709
|
+
@rte_rating = args[:rte_rating] if args.key?(:rte_rating)
|
|
2710
|
+
@russia_rating = args[:russia_rating] if args.key?(:russia_rating)
|
|
2711
|
+
@skfilm_rating = args[:skfilm_rating] if args.key?(:skfilm_rating)
|
|
2712
|
+
@smais_rating = args[:smais_rating] if args.key?(:smais_rating)
|
|
2713
|
+
@smsa_rating = args[:smsa_rating] if args.key?(:smsa_rating)
|
|
2714
|
+
@tvpg_rating = args[:tvpg_rating] if args.key?(:tvpg_rating)
|
|
2715
|
+
@yt_rating = args[:yt_rating] if args.key?(:yt_rating)
|
|
2735
2716
|
end
|
|
2736
2717
|
end
|
|
2737
2718
|
|
|
@@ -2768,10 +2749,10 @@ module Google
|
|
|
2768
2749
|
|
|
2769
2750
|
# Update properties of this object
|
|
2770
2751
|
def update!(**args)
|
|
2771
|
-
@etag = args[:etag]
|
|
2772
|
-
@id = args[:id]
|
|
2773
|
-
@kind = args[:kind]
|
|
2774
|
-
@snippet = args[:snippet]
|
|
2752
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
2753
|
+
@id = args[:id] if args.key?(:id)
|
|
2754
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2755
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
2775
2756
|
end
|
|
2776
2757
|
end
|
|
2777
2758
|
|
|
@@ -2828,14 +2809,14 @@ module Google
|
|
|
2828
2809
|
|
|
2829
2810
|
# Update properties of this object
|
|
2830
2811
|
def update!(**args)
|
|
2831
|
-
@etag = args[:etag]
|
|
2832
|
-
@event_id = args[:event_id]
|
|
2833
|
-
@items = args[:items]
|
|
2834
|
-
@kind = args[:kind]
|
|
2835
|
-
@next_page_token = args[:next_page_token]
|
|
2836
|
-
@page_info = args[:page_info]
|
|
2837
|
-
@token_pagination = args[:token_pagination]
|
|
2838
|
-
@visitor_id = args[:visitor_id]
|
|
2812
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
2813
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
2814
|
+
@items = args[:items] if args.key?(:items)
|
|
2815
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2816
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2817
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
2818
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
2819
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
2839
2820
|
end
|
|
2840
2821
|
end
|
|
2841
2822
|
|
|
@@ -2887,13 +2868,13 @@ module Google
|
|
|
2887
2868
|
|
|
2888
2869
|
# Update properties of this object
|
|
2889
2870
|
def update!(**args)
|
|
2890
|
-
@amount_micros = args[:amount_micros]
|
|
2891
|
-
@channel_id = args[:channel_id]
|
|
2892
|
-
@comment_text = args[:comment_text]
|
|
2893
|
-
@created_at = args[:created_at]
|
|
2894
|
-
@currency = args[:currency]
|
|
2895
|
-
@display_string = args[:display_string]
|
|
2896
|
-
@supporter_details = args[:supporter_details]
|
|
2871
|
+
@amount_micros = args[:amount_micros] if args.key?(:amount_micros)
|
|
2872
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
2873
|
+
@comment_text = args[:comment_text] if args.key?(:comment_text)
|
|
2874
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
|
2875
|
+
@currency = args[:currency] if args.key?(:currency)
|
|
2876
|
+
@display_string = args[:display_string] if args.key?(:display_string)
|
|
2877
|
+
@supporter_details = args[:supporter_details] if args.key?(:supporter_details)
|
|
2897
2878
|
end
|
|
2898
2879
|
end
|
|
2899
2880
|
|
|
@@ -2922,9 +2903,9 @@ module Google
|
|
|
2922
2903
|
|
|
2923
2904
|
# Update properties of this object
|
|
2924
2905
|
def update!(**args)
|
|
2925
|
-
@altitude = args[:altitude]
|
|
2926
|
-
@latitude = args[:latitude]
|
|
2927
|
-
@longitude = args[:longitude]
|
|
2906
|
+
@altitude = args[:altitude] if args.key?(:altitude)
|
|
2907
|
+
@latitude = args[:latitude] if args.key?(:latitude)
|
|
2908
|
+
@longitude = args[:longitude] if args.key?(:longitude)
|
|
2928
2909
|
end
|
|
2929
2910
|
end
|
|
2930
2911
|
|
|
@@ -2963,10 +2944,10 @@ module Google
|
|
|
2963
2944
|
|
|
2964
2945
|
# Update properties of this object
|
|
2965
2946
|
def update!(**args)
|
|
2966
|
-
@etag = args[:etag]
|
|
2967
|
-
@id = args[:id]
|
|
2968
|
-
@kind = args[:kind]
|
|
2969
|
-
@snippet = args[:snippet]
|
|
2947
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
2948
|
+
@id = args[:id] if args.key?(:id)
|
|
2949
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2950
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
2970
2951
|
end
|
|
2971
2952
|
end
|
|
2972
2953
|
|
|
@@ -3031,15 +3012,15 @@ module Google
|
|
|
3031
3012
|
|
|
3032
3013
|
# Update properties of this object
|
|
3033
3014
|
def update!(**args)
|
|
3034
|
-
@etag = args[:etag]
|
|
3035
|
-
@event_id = args[:event_id]
|
|
3036
|
-
@items = args[:items]
|
|
3037
|
-
@kind = args[:kind]
|
|
3038
|
-
@next_page_token = args[:next_page_token]
|
|
3039
|
-
@page_info = args[:page_info]
|
|
3040
|
-
@prev_page_token = args[:prev_page_token]
|
|
3041
|
-
@token_pagination = args[:token_pagination]
|
|
3042
|
-
@visitor_id = args[:visitor_id]
|
|
3015
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
3016
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
3017
|
+
@items = args[:items] if args.key?(:items)
|
|
3018
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3019
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3020
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
3021
|
+
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
|
3022
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
3023
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
3043
3024
|
end
|
|
3044
3025
|
end
|
|
3045
3026
|
|
|
@@ -3063,8 +3044,8 @@ module Google
|
|
|
3063
3044
|
|
|
3064
3045
|
# Update properties of this object
|
|
3065
3046
|
def update!(**args)
|
|
3066
|
-
@channel_id = args[:channel_id]
|
|
3067
|
-
@title = args[:title]
|
|
3047
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
3048
|
+
@title = args[:title] if args.key?(:title)
|
|
3068
3049
|
end
|
|
3069
3050
|
end
|
|
3070
3051
|
|
|
@@ -3101,10 +3082,10 @@ module Google
|
|
|
3101
3082
|
|
|
3102
3083
|
# Update properties of this object
|
|
3103
3084
|
def update!(**args)
|
|
3104
|
-
@etag = args[:etag]
|
|
3105
|
-
@id = args[:id]
|
|
3106
|
-
@kind = args[:kind]
|
|
3107
|
-
@snippet = args[:snippet]
|
|
3085
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
3086
|
+
@id = args[:id] if args.key?(:id)
|
|
3087
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3088
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
3108
3089
|
end
|
|
3109
3090
|
end
|
|
3110
3091
|
|
|
@@ -3145,11 +3126,11 @@ module Google
|
|
|
3145
3126
|
|
|
3146
3127
|
# Update properties of this object
|
|
3147
3128
|
def update!(**args)
|
|
3148
|
-
@etag = args[:etag]
|
|
3149
|
-
@event_id = args[:event_id]
|
|
3150
|
-
@items = args[:items]
|
|
3151
|
-
@kind = args[:kind]
|
|
3152
|
-
@visitor_id = args[:visitor_id]
|
|
3129
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
3130
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
3131
|
+
@items = args[:items] if args.key?(:items)
|
|
3132
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3133
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
3153
3134
|
end
|
|
3154
3135
|
end
|
|
3155
3136
|
|
|
@@ -3174,8 +3155,8 @@ module Google
|
|
|
3174
3155
|
|
|
3175
3156
|
# Update properties of this object
|
|
3176
3157
|
def update!(**args)
|
|
3177
|
-
@hl = args[:hl]
|
|
3178
|
-
@name = args[:name]
|
|
3158
|
+
@hl = args[:hl] if args.key?(:hl)
|
|
3159
|
+
@name = args[:name] if args.key?(:name)
|
|
3179
3160
|
end
|
|
3180
3161
|
end
|
|
3181
3162
|
|
|
@@ -3211,10 +3192,10 @@ module Google
|
|
|
3211
3192
|
|
|
3212
3193
|
# Update properties of this object
|
|
3213
3194
|
def update!(**args)
|
|
3214
|
-
@etag = args[:etag]
|
|
3215
|
-
@id = args[:id]
|
|
3216
|
-
@kind = args[:kind]
|
|
3217
|
-
@snippet = args[:snippet]
|
|
3195
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
3196
|
+
@id = args[:id] if args.key?(:id)
|
|
3197
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3198
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
3218
3199
|
end
|
|
3219
3200
|
end
|
|
3220
3201
|
|
|
@@ -3255,11 +3236,11 @@ module Google
|
|
|
3255
3236
|
|
|
3256
3237
|
# Update properties of this object
|
|
3257
3238
|
def update!(**args)
|
|
3258
|
-
@etag = args[:etag]
|
|
3259
|
-
@event_id = args[:event_id]
|
|
3260
|
-
@items = args[:items]
|
|
3261
|
-
@kind = args[:kind]
|
|
3262
|
-
@visitor_id = args[:visitor_id]
|
|
3239
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
3240
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
3241
|
+
@items = args[:items] if args.key?(:items)
|
|
3242
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3243
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
3263
3244
|
end
|
|
3264
3245
|
end
|
|
3265
3246
|
|
|
@@ -3284,8 +3265,8 @@ module Google
|
|
|
3284
3265
|
|
|
3285
3266
|
# Update properties of this object
|
|
3286
3267
|
def update!(**args)
|
|
3287
|
-
@gl = args[:gl]
|
|
3288
|
-
@name = args[:name]
|
|
3268
|
+
@gl = args[:gl] if args.key?(:gl)
|
|
3269
|
+
@name = args[:name] if args.key?(:name)
|
|
3289
3270
|
end
|
|
3290
3271
|
end
|
|
3291
3272
|
|
|
@@ -3416,28 +3397,28 @@ module Google
|
|
|
3416
3397
|
|
|
3417
3398
|
# Update properties of this object
|
|
3418
3399
|
def update!(**args)
|
|
3419
|
-
@background_image_url = args[:background_image_url]
|
|
3420
|
-
@banner_external_url = args[:banner_external_url]
|
|
3421
|
-
@banner_image_url = args[:banner_image_url]
|
|
3422
|
-
@banner_mobile_extra_hd_image_url = args[:banner_mobile_extra_hd_image_url]
|
|
3423
|
-
@banner_mobile_hd_image_url = args[:banner_mobile_hd_image_url]
|
|
3424
|
-
@banner_mobile_image_url = args[:banner_mobile_image_url]
|
|
3425
|
-
@banner_mobile_low_image_url = args[:banner_mobile_low_image_url]
|
|
3426
|
-
@banner_mobile_medium_hd_image_url = args[:banner_mobile_medium_hd_image_url]
|
|
3427
|
-
@banner_tablet_extra_hd_image_url = args[:banner_tablet_extra_hd_image_url]
|
|
3428
|
-
@banner_tablet_hd_image_url = args[:banner_tablet_hd_image_url]
|
|
3429
|
-
@banner_tablet_image_url = args[:banner_tablet_image_url]
|
|
3430
|
-
@banner_tablet_low_image_url = args[:banner_tablet_low_image_url]
|
|
3431
|
-
@banner_tv_high_image_url = args[:banner_tv_high_image_url]
|
|
3432
|
-
@banner_tv_image_url = args[:banner_tv_image_url]
|
|
3433
|
-
@banner_tv_low_image_url = args[:banner_tv_low_image_url]
|
|
3434
|
-
@banner_tv_medium_image_url = args[:banner_tv_medium_image_url]
|
|
3435
|
-
@large_branded_banner_image_imap_script = args[:large_branded_banner_image_imap_script]
|
|
3436
|
-
@large_branded_banner_image_url = args[:large_branded_banner_image_url]
|
|
3437
|
-
@small_branded_banner_image_imap_script = args[:small_branded_banner_image_imap_script]
|
|
3438
|
-
@small_branded_banner_image_url = args[:small_branded_banner_image_url]
|
|
3439
|
-
@tracking_image_url = args[:tracking_image_url]
|
|
3440
|
-
@watch_icon_image_url = args[:watch_icon_image_url]
|
|
3400
|
+
@background_image_url = args[:background_image_url] if args.key?(:background_image_url)
|
|
3401
|
+
@banner_external_url = args[:banner_external_url] if args.key?(:banner_external_url)
|
|
3402
|
+
@banner_image_url = args[:banner_image_url] if args.key?(:banner_image_url)
|
|
3403
|
+
@banner_mobile_extra_hd_image_url = args[:banner_mobile_extra_hd_image_url] if args.key?(:banner_mobile_extra_hd_image_url)
|
|
3404
|
+
@banner_mobile_hd_image_url = args[:banner_mobile_hd_image_url] if args.key?(:banner_mobile_hd_image_url)
|
|
3405
|
+
@banner_mobile_image_url = args[:banner_mobile_image_url] if args.key?(:banner_mobile_image_url)
|
|
3406
|
+
@banner_mobile_low_image_url = args[:banner_mobile_low_image_url] if args.key?(:banner_mobile_low_image_url)
|
|
3407
|
+
@banner_mobile_medium_hd_image_url = args[:banner_mobile_medium_hd_image_url] if args.key?(:banner_mobile_medium_hd_image_url)
|
|
3408
|
+
@banner_tablet_extra_hd_image_url = args[:banner_tablet_extra_hd_image_url] if args.key?(:banner_tablet_extra_hd_image_url)
|
|
3409
|
+
@banner_tablet_hd_image_url = args[:banner_tablet_hd_image_url] if args.key?(:banner_tablet_hd_image_url)
|
|
3410
|
+
@banner_tablet_image_url = args[:banner_tablet_image_url] if args.key?(:banner_tablet_image_url)
|
|
3411
|
+
@banner_tablet_low_image_url = args[:banner_tablet_low_image_url] if args.key?(:banner_tablet_low_image_url)
|
|
3412
|
+
@banner_tv_high_image_url = args[:banner_tv_high_image_url] if args.key?(:banner_tv_high_image_url)
|
|
3413
|
+
@banner_tv_image_url = args[:banner_tv_image_url] if args.key?(:banner_tv_image_url)
|
|
3414
|
+
@banner_tv_low_image_url = args[:banner_tv_low_image_url] if args.key?(:banner_tv_low_image_url)
|
|
3415
|
+
@banner_tv_medium_image_url = args[:banner_tv_medium_image_url] if args.key?(:banner_tv_medium_image_url)
|
|
3416
|
+
@large_branded_banner_image_imap_script = args[:large_branded_banner_image_imap_script] if args.key?(:large_branded_banner_image_imap_script)
|
|
3417
|
+
@large_branded_banner_image_url = args[:large_branded_banner_image_url] if args.key?(:large_branded_banner_image_url)
|
|
3418
|
+
@small_branded_banner_image_imap_script = args[:small_branded_banner_image_imap_script] if args.key?(:small_branded_banner_image_imap_script)
|
|
3419
|
+
@small_branded_banner_image_url = args[:small_branded_banner_image_url] if args.key?(:small_branded_banner_image_url)
|
|
3420
|
+
@tracking_image_url = args[:tracking_image_url] if args.key?(:tracking_image_url)
|
|
3421
|
+
@watch_icon_image_url = args[:watch_icon_image_url] if args.key?(:watch_icon_image_url)
|
|
3441
3422
|
end
|
|
3442
3423
|
end
|
|
3443
3424
|
|
|
@@ -3473,9 +3454,9 @@ module Google
|
|
|
3473
3454
|
|
|
3474
3455
|
# Update properties of this object
|
|
3475
3456
|
def update!(**args)
|
|
3476
|
-
@backup_ingestion_address = args[:backup_ingestion_address]
|
|
3477
|
-
@ingestion_address = args[:ingestion_address]
|
|
3478
|
-
@stream_name = args[:stream_name]
|
|
3457
|
+
@backup_ingestion_address = args[:backup_ingestion_address] if args.key?(:backup_ingestion_address)
|
|
3458
|
+
@ingestion_address = args[:ingestion_address] if args.key?(:ingestion_address)
|
|
3459
|
+
@stream_name = args[:stream_name] if args.key?(:stream_name)
|
|
3479
3460
|
end
|
|
3480
3461
|
end
|
|
3481
3462
|
|
|
@@ -3515,11 +3496,11 @@ module Google
|
|
|
3515
3496
|
|
|
3516
3497
|
# Update properties of this object
|
|
3517
3498
|
def update!(**args)
|
|
3518
|
-
@image_bytes = args[:image_bytes]
|
|
3519
|
-
@image_url = args[:image_url]
|
|
3520
|
-
@position = args[:position]
|
|
3521
|
-
@target_channel_id = args[:target_channel_id]
|
|
3522
|
-
@timing = args[:timing]
|
|
3499
|
+
@image_bytes = args[:image_bytes] if args.key?(:image_bytes)
|
|
3500
|
+
@image_url = args[:image_url] if args.key?(:image_url)
|
|
3501
|
+
@position = args[:position] if args.key?(:position)
|
|
3502
|
+
@target_channel_id = args[:target_channel_id] if args.key?(:target_channel_id)
|
|
3503
|
+
@timing = args[:timing] if args.key?(:timing)
|
|
3523
3504
|
end
|
|
3524
3505
|
end
|
|
3525
3506
|
|
|
@@ -3544,8 +3525,8 @@ module Google
|
|
|
3544
3525
|
|
|
3545
3526
|
# Update properties of this object
|
|
3546
3527
|
def update!(**args)
|
|
3547
|
-
@corner_position = args[:corner_position]
|
|
3548
|
-
@type = args[:type]
|
|
3528
|
+
@corner_position = args[:corner_position] if args.key?(:corner_position)
|
|
3529
|
+
@type = args[:type] if args.key?(:type)
|
|
3549
3530
|
end
|
|
3550
3531
|
end
|
|
3551
3532
|
|
|
@@ -3585,10 +3566,10 @@ module Google
|
|
|
3585
3566
|
|
|
3586
3567
|
# Update properties of this object
|
|
3587
3568
|
def update!(**args)
|
|
3588
|
-
@default_timing = args[:default_timing]
|
|
3589
|
-
@items = args[:items]
|
|
3590
|
-
@position = args[:position]
|
|
3591
|
-
@use_smart_timing = args[:use_smart_timing]
|
|
3569
|
+
@default_timing = args[:default_timing] if args.key?(:default_timing)
|
|
3570
|
+
@items = args[:items] if args.key?(:items)
|
|
3571
|
+
@position = args[:position] if args.key?(:position)
|
|
3572
|
+
@use_smart_timing = args[:use_smart_timing] if args.key?(:use_smart_timing)
|
|
3592
3573
|
end
|
|
3593
3574
|
end
|
|
3594
3575
|
|
|
@@ -3623,9 +3604,9 @@ module Google
|
|
|
3623
3604
|
|
|
3624
3605
|
# Update properties of this object
|
|
3625
3606
|
def update!(**args)
|
|
3626
|
-
@duration_ms = args[:duration_ms]
|
|
3627
|
-
@offset_ms = args[:offset_ms]
|
|
3628
|
-
@type = args[:type]
|
|
3607
|
+
@duration_ms = args[:duration_ms] if args.key?(:duration_ms)
|
|
3608
|
+
@offset_ms = args[:offset_ms] if args.key?(:offset_ms)
|
|
3609
|
+
@type = args[:type] if args.key?(:type)
|
|
3629
3610
|
end
|
|
3630
3611
|
end
|
|
3631
3612
|
|
|
@@ -3644,7 +3625,7 @@ module Google
|
|
|
3644
3625
|
|
|
3645
3626
|
# Update properties of this object
|
|
3646
3627
|
def update!(**args)
|
|
3647
|
-
@value = args[:value]
|
|
3628
|
+
@value = args[:value] if args.key?(:value)
|
|
3648
3629
|
end
|
|
3649
3630
|
end
|
|
3650
3631
|
|
|
@@ -3702,14 +3683,14 @@ module Google
|
|
|
3702
3683
|
|
|
3703
3684
|
# Update properties of this object
|
|
3704
3685
|
def update!(**args)
|
|
3705
|
-
@content_details = args[:content_details]
|
|
3706
|
-
@etag = args[:etag]
|
|
3707
|
-
@id = args[:id]
|
|
3708
|
-
@kind = args[:kind]
|
|
3709
|
-
@snippet = args[:snippet]
|
|
3710
|
-
@statistics = args[:statistics]
|
|
3711
|
-
@status = args[:status]
|
|
3712
|
-
@topic_details = args[:topic_details]
|
|
3686
|
+
@content_details = args[:content_details] if args.key?(:content_details)
|
|
3687
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
3688
|
+
@id = args[:id] if args.key?(:id)
|
|
3689
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3690
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
3691
|
+
@statistics = args[:statistics] if args.key?(:statistics)
|
|
3692
|
+
@status = args[:status] if args.key?(:status)
|
|
3693
|
+
@topic_details = args[:topic_details] if args.key?(:topic_details)
|
|
3713
3694
|
end
|
|
3714
3695
|
end
|
|
3715
3696
|
|
|
@@ -3803,16 +3784,16 @@ module Google
|
|
|
3803
3784
|
|
|
3804
3785
|
# Update properties of this object
|
|
3805
3786
|
def update!(**args)
|
|
3806
|
-
@bound_stream_id = args[:bound_stream_id]
|
|
3807
|
-
@closed_captions_type = args[:closed_captions_type]
|
|
3808
|
-
@enable_closed_captions = args[:enable_closed_captions]
|
|
3809
|
-
@enable_content_encryption = args[:enable_content_encryption]
|
|
3810
|
-
@enable_dvr = args[:enable_dvr]
|
|
3811
|
-
@enable_embed = args[:enable_embed]
|
|
3812
|
-
@enable_low_latency = args[:enable_low_latency]
|
|
3813
|
-
@monitor_stream = args[:monitor_stream]
|
|
3814
|
-
@record_from_start = args[:record_from_start]
|
|
3815
|
-
@start_with_slate = args[:start_with_slate]
|
|
3787
|
+
@bound_stream_id = args[:bound_stream_id] if args.key?(:bound_stream_id)
|
|
3788
|
+
@closed_captions_type = args[:closed_captions_type] if args.key?(:closed_captions_type)
|
|
3789
|
+
@enable_closed_captions = args[:enable_closed_captions] if args.key?(:enable_closed_captions)
|
|
3790
|
+
@enable_content_encryption = args[:enable_content_encryption] if args.key?(:enable_content_encryption)
|
|
3791
|
+
@enable_dvr = args[:enable_dvr] if args.key?(:enable_dvr)
|
|
3792
|
+
@enable_embed = args[:enable_embed] if args.key?(:enable_embed)
|
|
3793
|
+
@enable_low_latency = args[:enable_low_latency] if args.key?(:enable_low_latency)
|
|
3794
|
+
@monitor_stream = args[:monitor_stream] if args.key?(:monitor_stream)
|
|
3795
|
+
@record_from_start = args[:record_from_start] if args.key?(:record_from_start)
|
|
3796
|
+
@start_with_slate = args[:start_with_slate] if args.key?(:start_with_slate)
|
|
3816
3797
|
end
|
|
3817
3798
|
end
|
|
3818
3799
|
|
|
@@ -3875,15 +3856,15 @@ module Google
|
|
|
3875
3856
|
|
|
3876
3857
|
# Update properties of this object
|
|
3877
3858
|
def update!(**args)
|
|
3878
|
-
@etag = args[:etag]
|
|
3879
|
-
@event_id = args[:event_id]
|
|
3880
|
-
@items = args[:items]
|
|
3881
|
-
@kind = args[:kind]
|
|
3882
|
-
@next_page_token = args[:next_page_token]
|
|
3883
|
-
@page_info = args[:page_info]
|
|
3884
|
-
@prev_page_token = args[:prev_page_token]
|
|
3885
|
-
@token_pagination = args[:token_pagination]
|
|
3886
|
-
@visitor_id = args[:visitor_id]
|
|
3859
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
3860
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
3861
|
+
@items = args[:items] if args.key?(:items)
|
|
3862
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3863
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3864
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
3865
|
+
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
|
3866
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
3867
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
3887
3868
|
end
|
|
3888
3869
|
end
|
|
3889
3870
|
|
|
@@ -3965,17 +3946,17 @@ module Google
|
|
|
3965
3946
|
|
|
3966
3947
|
# Update properties of this object
|
|
3967
3948
|
def update!(**args)
|
|
3968
|
-
@actual_end_time = args[:actual_end_time]
|
|
3969
|
-
@actual_start_time = args[:actual_start_time]
|
|
3970
|
-
@channel_id = args[:channel_id]
|
|
3971
|
-
@description = args[:description]
|
|
3972
|
-
@is_default_broadcast = args[:is_default_broadcast]
|
|
3973
|
-
@live_chat_id = args[:live_chat_id]
|
|
3974
|
-
@published_at = args[:published_at]
|
|
3975
|
-
@scheduled_end_time = args[:scheduled_end_time]
|
|
3976
|
-
@scheduled_start_time = args[:scheduled_start_time]
|
|
3977
|
-
@thumbnails = args[:thumbnails]
|
|
3978
|
-
@title = args[:title]
|
|
3949
|
+
@actual_end_time = args[:actual_end_time] if args.key?(:actual_end_time)
|
|
3950
|
+
@actual_start_time = args[:actual_start_time] if args.key?(:actual_start_time)
|
|
3951
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
3952
|
+
@description = args[:description] if args.key?(:description)
|
|
3953
|
+
@is_default_broadcast = args[:is_default_broadcast] if args.key?(:is_default_broadcast)
|
|
3954
|
+
@live_chat_id = args[:live_chat_id] if args.key?(:live_chat_id)
|
|
3955
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
|
3956
|
+
@scheduled_end_time = args[:scheduled_end_time] if args.key?(:scheduled_end_time)
|
|
3957
|
+
@scheduled_start_time = args[:scheduled_start_time] if args.key?(:scheduled_start_time)
|
|
3958
|
+
@thumbnails = args[:thumbnails] if args.key?(:thumbnails)
|
|
3959
|
+
@title = args[:title] if args.key?(:title)
|
|
3979
3960
|
end
|
|
3980
3961
|
end
|
|
3981
3962
|
|
|
@@ -4010,8 +3991,8 @@ module Google
|
|
|
4010
3991
|
|
|
4011
3992
|
# Update properties of this object
|
|
4012
3993
|
def update!(**args)
|
|
4013
|
-
@concurrent_viewers = args[:concurrent_viewers]
|
|
4014
|
-
@total_chat_count = args[:total_chat_count]
|
|
3994
|
+
@concurrent_viewers = args[:concurrent_viewers] if args.key?(:concurrent_viewers)
|
|
3995
|
+
@total_chat_count = args[:total_chat_count] if args.key?(:total_chat_count)
|
|
4015
3996
|
end
|
|
4016
3997
|
end
|
|
4017
3998
|
|
|
@@ -4050,10 +4031,10 @@ module Google
|
|
|
4050
4031
|
|
|
4051
4032
|
# Update properties of this object
|
|
4052
4033
|
def update!(**args)
|
|
4053
|
-
@life_cycle_status = args[:life_cycle_status]
|
|
4054
|
-
@live_broadcast_priority = args[:live_broadcast_priority]
|
|
4055
|
-
@privacy_status = args[:privacy_status]
|
|
4056
|
-
@recording_status = args[:recording_status]
|
|
4034
|
+
@life_cycle_status = args[:life_cycle_status] if args.key?(:life_cycle_status)
|
|
4035
|
+
@live_broadcast_priority = args[:live_broadcast_priority] if args.key?(:live_broadcast_priority)
|
|
4036
|
+
@privacy_status = args[:privacy_status] if args.key?(:privacy_status)
|
|
4037
|
+
@recording_status = args[:recording_status] if args.key?(:recording_status)
|
|
4057
4038
|
end
|
|
4058
4039
|
end
|
|
4059
4040
|
|
|
@@ -4084,9 +4065,9 @@ module Google
|
|
|
4084
4065
|
|
|
4085
4066
|
# Update properties of this object
|
|
4086
4067
|
def update!(**args)
|
|
4087
|
-
@snippet = args[:snippet]
|
|
4088
|
-
@type = args[:type]
|
|
4089
|
-
@unmatched = args[:unmatched]
|
|
4068
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
4069
|
+
@type = args[:type] if args.key?(:type)
|
|
4070
|
+
@unmatched = args[:unmatched] if args.key?(:unmatched)
|
|
4090
4071
|
end
|
|
4091
4072
|
end
|
|
4092
4073
|
|
|
@@ -4105,7 +4086,7 @@ module Google
|
|
|
4105
4086
|
|
|
4106
4087
|
# Update properties of this object
|
|
4107
4088
|
def update!(**args)
|
|
4108
|
-
@topics = args[:topics]
|
|
4089
|
+
@topics = args[:topics] if args.key?(:topics)
|
|
4109
4090
|
end
|
|
4110
4091
|
end
|
|
4111
4092
|
|
|
@@ -4129,8 +4110,8 @@ module Google
|
|
|
4129
4110
|
|
|
4130
4111
|
# Update properties of this object
|
|
4131
4112
|
def update!(**args)
|
|
4132
|
-
@name = args[:name]
|
|
4133
|
-
@release_date = args[:release_date]
|
|
4113
|
+
@name = args[:name] if args.key?(:name)
|
|
4114
|
+
@release_date = args[:release_date] if args.key?(:release_date)
|
|
4134
4115
|
end
|
|
4135
4116
|
end
|
|
4136
4117
|
|
|
@@ -4165,10 +4146,10 @@ module Google
|
|
|
4165
4146
|
|
|
4166
4147
|
# Update properties of this object
|
|
4167
4148
|
def update!(**args)
|
|
4168
|
-
@etag = args[:etag]
|
|
4169
|
-
@id = args[:id]
|
|
4170
|
-
@kind = args[:kind]
|
|
4171
|
-
@snippet = args[:snippet]
|
|
4149
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
4150
|
+
@id = args[:id] if args.key?(:id)
|
|
4151
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4152
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
4172
4153
|
end
|
|
4173
4154
|
end
|
|
4174
4155
|
|
|
@@ -4202,10 +4183,10 @@ module Google
|
|
|
4202
4183
|
|
|
4203
4184
|
# Update properties of this object
|
|
4204
4185
|
def update!(**args)
|
|
4205
|
-
@ban_duration_seconds = args[:ban_duration_seconds]
|
|
4206
|
-
@banned_user_details = args[:banned_user_details]
|
|
4207
|
-
@live_chat_id = args[:live_chat_id]
|
|
4208
|
-
@type = args[:type]
|
|
4186
|
+
@ban_duration_seconds = args[:ban_duration_seconds] if args.key?(:ban_duration_seconds)
|
|
4187
|
+
@banned_user_details = args[:banned_user_details] if args.key?(:banned_user_details)
|
|
4188
|
+
@live_chat_id = args[:live_chat_id] if args.key?(:live_chat_id)
|
|
4189
|
+
@type = args[:type] if args.key?(:type)
|
|
4209
4190
|
end
|
|
4210
4191
|
end
|
|
4211
4192
|
|
|
@@ -4239,10 +4220,10 @@ module Google
|
|
|
4239
4220
|
|
|
4240
4221
|
# Update properties of this object
|
|
4241
4222
|
def update!(**args)
|
|
4242
|
-
@amount_display_string = args[:amount_display_string]
|
|
4243
|
-
@amount_micros = args[:amount_micros]
|
|
4244
|
-
@currency = args[:currency]
|
|
4245
|
-
@user_comment = args[:user_comment]
|
|
4223
|
+
@amount_display_string = args[:amount_display_string] if args.key?(:amount_display_string)
|
|
4224
|
+
@amount_micros = args[:amount_micros] if args.key?(:amount_micros)
|
|
4225
|
+
@currency = args[:currency] if args.key?(:currency)
|
|
4226
|
+
@user_comment = args[:user_comment] if args.key?(:user_comment)
|
|
4246
4227
|
end
|
|
4247
4228
|
end
|
|
4248
4229
|
|
|
@@ -4283,11 +4264,11 @@ module Google
|
|
|
4283
4264
|
|
|
4284
4265
|
# Update properties of this object
|
|
4285
4266
|
def update!(**args)
|
|
4286
|
-
@author_details = args[:author_details]
|
|
4287
|
-
@etag = args[:etag]
|
|
4288
|
-
@id = args[:id]
|
|
4289
|
-
@kind = args[:kind]
|
|
4290
|
-
@snippet = args[:snippet]
|
|
4267
|
+
@author_details = args[:author_details] if args.key?(:author_details)
|
|
4268
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
4269
|
+
@id = args[:id] if args.key?(:id)
|
|
4270
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4271
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
4291
4272
|
end
|
|
4292
4273
|
end
|
|
4293
4274
|
|
|
@@ -4345,14 +4326,14 @@ module Google
|
|
|
4345
4326
|
|
|
4346
4327
|
# Update properties of this object
|
|
4347
4328
|
def update!(**args)
|
|
4348
|
-
@channel_id = args[:channel_id]
|
|
4349
|
-
@channel_url = args[:channel_url]
|
|
4350
|
-
@display_name = args[:display_name]
|
|
4351
|
-
@is_chat_moderator = args[:is_chat_moderator]
|
|
4352
|
-
@is_chat_owner = args[:is_chat_owner]
|
|
4353
|
-
@is_chat_sponsor = args[:is_chat_sponsor]
|
|
4354
|
-
@is_verified = args[:is_verified]
|
|
4355
|
-
@profile_image_url = args[:profile_image_url]
|
|
4329
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
4330
|
+
@channel_url = args[:channel_url] if args.key?(:channel_url)
|
|
4331
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
4332
|
+
@is_chat_moderator = args[:is_chat_moderator] if args.key?(:is_chat_moderator)
|
|
4333
|
+
@is_chat_owner = args[:is_chat_owner] if args.key?(:is_chat_owner)
|
|
4334
|
+
@is_chat_sponsor = args[:is_chat_sponsor] if args.key?(:is_chat_sponsor)
|
|
4335
|
+
@is_verified = args[:is_verified] if args.key?(:is_verified)
|
|
4336
|
+
@profile_image_url = args[:profile_image_url] if args.key?(:profile_image_url)
|
|
4356
4337
|
end
|
|
4357
4338
|
end
|
|
4358
4339
|
|
|
@@ -4420,16 +4401,16 @@ module Google
|
|
|
4420
4401
|
|
|
4421
4402
|
# Update properties of this object
|
|
4422
4403
|
def update!(**args)
|
|
4423
|
-
@etag = args[:etag]
|
|
4424
|
-
@event_id = args[:event_id]
|
|
4425
|
-
@items = args[:items]
|
|
4426
|
-
@kind = args[:kind]
|
|
4427
|
-
@next_page_token = args[:next_page_token]
|
|
4428
|
-
@offline_at = args[:offline_at]
|
|
4429
|
-
@page_info = args[:page_info]
|
|
4430
|
-
@polling_interval_millis = args[:polling_interval_millis]
|
|
4431
|
-
@token_pagination = args[:token_pagination]
|
|
4432
|
-
@visitor_id = args[:visitor_id]
|
|
4404
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
4405
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
4406
|
+
@items = args[:items] if args.key?(:items)
|
|
4407
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4408
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
4409
|
+
@offline_at = args[:offline_at] if args.key?(:offline_at)
|
|
4410
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
4411
|
+
@polling_interval_millis = args[:polling_interval_millis] if args.key?(:polling_interval_millis)
|
|
4412
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
4413
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
4433
4414
|
end
|
|
4434
4415
|
end
|
|
4435
4416
|
|
|
@@ -4493,14 +4474,14 @@ module Google
|
|
|
4493
4474
|
|
|
4494
4475
|
# Update properties of this object
|
|
4495
4476
|
def update!(**args)
|
|
4496
|
-
@author_channel_id = args[:author_channel_id]
|
|
4497
|
-
@display_message = args[:display_message]
|
|
4498
|
-
@fan_funding_event_details = args[:fan_funding_event_details]
|
|
4499
|
-
@has_display_content = args[:has_display_content]
|
|
4500
|
-
@live_chat_id = args[:live_chat_id]
|
|
4501
|
-
@published_at = args[:published_at]
|
|
4502
|
-
@text_message_details = args[:text_message_details]
|
|
4503
|
-
@type = args[:type]
|
|
4477
|
+
@author_channel_id = args[:author_channel_id] if args.key?(:author_channel_id)
|
|
4478
|
+
@display_message = args[:display_message] if args.key?(:display_message)
|
|
4479
|
+
@fan_funding_event_details = args[:fan_funding_event_details] if args.key?(:fan_funding_event_details)
|
|
4480
|
+
@has_display_content = args[:has_display_content] if args.key?(:has_display_content)
|
|
4481
|
+
@live_chat_id = args[:live_chat_id] if args.key?(:live_chat_id)
|
|
4482
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
|
4483
|
+
@text_message_details = args[:text_message_details] if args.key?(:text_message_details)
|
|
4484
|
+
@type = args[:type] if args.key?(:type)
|
|
4504
4485
|
end
|
|
4505
4486
|
end
|
|
4506
4487
|
|
|
@@ -4537,10 +4518,10 @@ module Google
|
|
|
4537
4518
|
|
|
4538
4519
|
# Update properties of this object
|
|
4539
4520
|
def update!(**args)
|
|
4540
|
-
@etag = args[:etag]
|
|
4541
|
-
@id = args[:id]
|
|
4542
|
-
@kind = args[:kind]
|
|
4543
|
-
@snippet = args[:snippet]
|
|
4521
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
4522
|
+
@id = args[:id] if args.key?(:id)
|
|
4523
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4524
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
4544
4525
|
end
|
|
4545
4526
|
end
|
|
4546
4527
|
|
|
@@ -4603,15 +4584,15 @@ module Google
|
|
|
4603
4584
|
|
|
4604
4585
|
# Update properties of this object
|
|
4605
4586
|
def update!(**args)
|
|
4606
|
-
@etag = args[:etag]
|
|
4607
|
-
@event_id = args[:event_id]
|
|
4608
|
-
@items = args[:items]
|
|
4609
|
-
@kind = args[:kind]
|
|
4610
|
-
@next_page_token = args[:next_page_token]
|
|
4611
|
-
@page_info = args[:page_info]
|
|
4612
|
-
@prev_page_token = args[:prev_page_token]
|
|
4613
|
-
@token_pagination = args[:token_pagination]
|
|
4614
|
-
@visitor_id = args[:visitor_id]
|
|
4587
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
4588
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
4589
|
+
@items = args[:items] if args.key?(:items)
|
|
4590
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4591
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
4592
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
4593
|
+
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
|
4594
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
4595
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
4615
4596
|
end
|
|
4616
4597
|
end
|
|
4617
4598
|
|
|
@@ -4635,8 +4616,8 @@ module Google
|
|
|
4635
4616
|
|
|
4636
4617
|
# Update properties of this object
|
|
4637
4618
|
def update!(**args)
|
|
4638
|
-
@live_chat_id = args[:live_chat_id]
|
|
4639
|
-
@moderator_details = args[:moderator_details]
|
|
4619
|
+
@live_chat_id = args[:live_chat_id] if args.key?(:live_chat_id)
|
|
4620
|
+
@moderator_details = args[:moderator_details] if args.key?(:moderator_details)
|
|
4640
4621
|
end
|
|
4641
4622
|
end
|
|
4642
4623
|
|
|
@@ -4655,7 +4636,7 @@ module Google
|
|
|
4655
4636
|
|
|
4656
4637
|
# Update properties of this object
|
|
4657
4638
|
def update!(**args)
|
|
4658
|
-
@message_text = args[:message_text]
|
|
4639
|
+
@message_text = args[:message_text] if args.key?(:message_text)
|
|
4659
4640
|
end
|
|
4660
4641
|
end
|
|
4661
4642
|
|
|
@@ -4706,13 +4687,13 @@ module Google
|
|
|
4706
4687
|
|
|
4707
4688
|
# Update properties of this object
|
|
4708
4689
|
def update!(**args)
|
|
4709
|
-
@cdn = args[:cdn]
|
|
4710
|
-
@content_details = args[:content_details]
|
|
4711
|
-
@etag = args[:etag]
|
|
4712
|
-
@id = args[:id]
|
|
4713
|
-
@kind = args[:kind]
|
|
4714
|
-
@snippet = args[:snippet]
|
|
4715
|
-
@status = args[:status]
|
|
4690
|
+
@cdn = args[:cdn] if args.key?(:cdn)
|
|
4691
|
+
@content_details = args[:content_details] if args.key?(:content_details)
|
|
4692
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
4693
|
+
@id = args[:id] if args.key?(:id)
|
|
4694
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4695
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
4696
|
+
@status = args[:status] if args.key?(:status)
|
|
4716
4697
|
end
|
|
4717
4698
|
end
|
|
4718
4699
|
|
|
@@ -4746,10 +4727,10 @@ module Google
|
|
|
4746
4727
|
|
|
4747
4728
|
# Update properties of this object
|
|
4748
4729
|
def update!(**args)
|
|
4749
|
-
@description = args[:description]
|
|
4750
|
-
@reason = args[:reason]
|
|
4751
|
-
@severity = args[:severity]
|
|
4752
|
-
@type = args[:type]
|
|
4730
|
+
@description = args[:description] if args.key?(:description)
|
|
4731
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
4732
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
4733
|
+
@type = args[:type] if args.key?(:type)
|
|
4753
4734
|
end
|
|
4754
4735
|
end
|
|
4755
4736
|
|
|
@@ -4786,8 +4767,8 @@ module Google
|
|
|
4786
4767
|
|
|
4787
4768
|
# Update properties of this object
|
|
4788
4769
|
def update!(**args)
|
|
4789
|
-
@closed_captions_ingestion_url = args[:closed_captions_ingestion_url]
|
|
4790
|
-
@is_reusable = args[:is_reusable]
|
|
4770
|
+
@closed_captions_ingestion_url = args[:closed_captions_ingestion_url] if args.key?(:closed_captions_ingestion_url)
|
|
4771
|
+
@is_reusable = args[:is_reusable] if args.key?(:is_reusable)
|
|
4791
4772
|
end
|
|
4792
4773
|
end
|
|
4793
4774
|
|
|
@@ -4816,9 +4797,9 @@ module Google
|
|
|
4816
4797
|
|
|
4817
4798
|
# Update properties of this object
|
|
4818
4799
|
def update!(**args)
|
|
4819
|
-
@configuration_issues = args[:configuration_issues]
|
|
4820
|
-
@last_update_time_seconds = args[:last_update_time_seconds]
|
|
4821
|
-
@status = args[:status]
|
|
4800
|
+
@configuration_issues = args[:configuration_issues] if args.key?(:configuration_issues)
|
|
4801
|
+
@last_update_time_seconds = args[:last_update_time_seconds] if args.key?(:last_update_time_seconds)
|
|
4802
|
+
@status = args[:status] if args.key?(:status)
|
|
4822
4803
|
end
|
|
4823
4804
|
end
|
|
4824
4805
|
|
|
@@ -4881,15 +4862,15 @@ module Google
|
|
|
4881
4862
|
|
|
4882
4863
|
# Update properties of this object
|
|
4883
4864
|
def update!(**args)
|
|
4884
|
-
@etag = args[:etag]
|
|
4885
|
-
@event_id = args[:event_id]
|
|
4886
|
-
@items = args[:items]
|
|
4887
|
-
@kind = args[:kind]
|
|
4888
|
-
@next_page_token = args[:next_page_token]
|
|
4889
|
-
@page_info = args[:page_info]
|
|
4890
|
-
@prev_page_token = args[:prev_page_token]
|
|
4891
|
-
@token_pagination = args[:token_pagination]
|
|
4892
|
-
@visitor_id = args[:visitor_id]
|
|
4865
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
4866
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
4867
|
+
@items = args[:items] if args.key?(:items)
|
|
4868
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4869
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
4870
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
4871
|
+
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
|
4872
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
4873
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
4893
4874
|
end
|
|
4894
4875
|
end
|
|
4895
4876
|
|
|
@@ -4931,11 +4912,11 @@ module Google
|
|
|
4931
4912
|
|
|
4932
4913
|
# Update properties of this object
|
|
4933
4914
|
def update!(**args)
|
|
4934
|
-
@channel_id = args[:channel_id]
|
|
4935
|
-
@description = args[:description]
|
|
4936
|
-
@is_default_stream = args[:is_default_stream]
|
|
4937
|
-
@published_at = args[:published_at]
|
|
4938
|
-
@title = args[:title]
|
|
4915
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
4916
|
+
@description = args[:description] if args.key?(:description)
|
|
4917
|
+
@is_default_stream = args[:is_default_stream] if args.key?(:is_default_stream)
|
|
4918
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
|
4919
|
+
@title = args[:title] if args.key?(:title)
|
|
4939
4920
|
end
|
|
4940
4921
|
end
|
|
4941
4922
|
|
|
@@ -4959,8 +4940,8 @@ module Google
|
|
|
4959
4940
|
|
|
4960
4941
|
# Update properties of this object
|
|
4961
4942
|
def update!(**args)
|
|
4962
|
-
@health_status = args[:health_status]
|
|
4963
|
-
@stream_status = args[:stream_status]
|
|
4943
|
+
@health_status = args[:health_status] if args.key?(:health_status)
|
|
4944
|
+
@stream_status = args[:stream_status] if args.key?(:stream_status)
|
|
4964
4945
|
end
|
|
4965
4946
|
end
|
|
4966
4947
|
|
|
@@ -4989,9 +4970,9 @@ module Google
|
|
|
4989
4970
|
|
|
4990
4971
|
# Update properties of this object
|
|
4991
4972
|
def update!(**args)
|
|
4992
|
-
@default = args[:default]
|
|
4993
|
-
@default_language = args[:default_language]
|
|
4994
|
-
@localized = args[:localized]
|
|
4973
|
+
@default = args[:default] if args.key?(:default)
|
|
4974
|
+
@default_language = args[:default_language] if args.key?(:default_language)
|
|
4975
|
+
@localized = args[:localized] if args.key?(:localized)
|
|
4995
4976
|
end
|
|
4996
4977
|
end
|
|
4997
4978
|
|
|
@@ -5015,8 +4996,8 @@ module Google
|
|
|
5015
4996
|
|
|
5016
4997
|
# Update properties of this object
|
|
5017
4998
|
def update!(**args)
|
|
5018
|
-
@language = args[:language]
|
|
5019
|
-
@value = args[:value]
|
|
4999
|
+
@language = args[:language] if args.key?(:language)
|
|
5000
|
+
@value = args[:value] if args.key?(:value)
|
|
5020
5001
|
end
|
|
5021
5002
|
end
|
|
5022
5003
|
|
|
@@ -5055,9 +5036,9 @@ module Google
|
|
|
5055
5036
|
|
|
5056
5037
|
# Update properties of this object
|
|
5057
5038
|
def update!(**args)
|
|
5058
|
-
@broadcast_stream_delay_ms = args[:broadcast_stream_delay_ms]
|
|
5059
|
-
@embed_html = args[:embed_html]
|
|
5060
|
-
@enable_monitor_stream = args[:enable_monitor_stream]
|
|
5039
|
+
@broadcast_stream_delay_ms = args[:broadcast_stream_delay_ms] if args.key?(:broadcast_stream_delay_ms)
|
|
5040
|
+
@embed_html = args[:embed_html] if args.key?(:embed_html)
|
|
5041
|
+
@enable_monitor_stream = args[:enable_monitor_stream] if args.key?(:enable_monitor_stream)
|
|
5061
5042
|
end
|
|
5062
5043
|
end
|
|
5063
5044
|
|
|
@@ -5082,8 +5063,8 @@ module Google
|
|
|
5082
5063
|
|
|
5083
5064
|
# Update properties of this object
|
|
5084
5065
|
def update!(**args)
|
|
5085
|
-
@results_per_page = args[:results_per_page]
|
|
5086
|
-
@total_results = args[:total_results]
|
|
5066
|
+
@results_per_page = args[:results_per_page] if args.key?(:results_per_page)
|
|
5067
|
+
@total_results = args[:total_results] if args.key?(:total_results)
|
|
5087
5068
|
end
|
|
5088
5069
|
end
|
|
5089
5070
|
|
|
@@ -5156,14 +5137,14 @@ module Google
|
|
|
5156
5137
|
|
|
5157
5138
|
# Update properties of this object
|
|
5158
5139
|
def update!(**args)
|
|
5159
|
-
@content_details = args[:content_details]
|
|
5160
|
-
@etag = args[:etag]
|
|
5161
|
-
@id = args[:id]
|
|
5162
|
-
@kind = args[:kind]
|
|
5163
|
-
@localizations = args[:localizations]
|
|
5164
|
-
@player = args[:player]
|
|
5165
|
-
@snippet = args[:snippet]
|
|
5166
|
-
@status = args[:status]
|
|
5140
|
+
@content_details = args[:content_details] if args.key?(:content_details)
|
|
5141
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
5142
|
+
@id = args[:id] if args.key?(:id)
|
|
5143
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5144
|
+
@localizations = args[:localizations] if args.key?(:localizations)
|
|
5145
|
+
@player = args[:player] if args.key?(:player)
|
|
5146
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
5147
|
+
@status = args[:status] if args.key?(:status)
|
|
5167
5148
|
end
|
|
5168
5149
|
end
|
|
5169
5150
|
|
|
@@ -5182,7 +5163,7 @@ module Google
|
|
|
5182
5163
|
|
|
5183
5164
|
# Update properties of this object
|
|
5184
5165
|
def update!(**args)
|
|
5185
|
-
@item_count = args[:item_count]
|
|
5166
|
+
@item_count = args[:item_count] if args.key?(:item_count)
|
|
5186
5167
|
end
|
|
5187
5168
|
end
|
|
5188
5169
|
|
|
@@ -5246,12 +5227,12 @@ module Google
|
|
|
5246
5227
|
|
|
5247
5228
|
# Update properties of this object
|
|
5248
5229
|
def update!(**args)
|
|
5249
|
-
@content_details = args[:content_details]
|
|
5250
|
-
@etag = args[:etag]
|
|
5251
|
-
@id = args[:id]
|
|
5252
|
-
@kind = args[:kind]
|
|
5253
|
-
@snippet = args[:snippet]
|
|
5254
|
-
@status = args[:status]
|
|
5230
|
+
@content_details = args[:content_details] if args.key?(:content_details)
|
|
5231
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
5232
|
+
@id = args[:id] if args.key?(:id)
|
|
5233
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5234
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
5235
|
+
@status = args[:status] if args.key?(:status)
|
|
5255
5236
|
end
|
|
5256
5237
|
end
|
|
5257
5238
|
|
|
@@ -5292,10 +5273,10 @@ module Google
|
|
|
5292
5273
|
|
|
5293
5274
|
# Update properties of this object
|
|
5294
5275
|
def update!(**args)
|
|
5295
|
-
@end_at = args[:end_at]
|
|
5296
|
-
@note = args[:note]
|
|
5297
|
-
@start_at = args[:start_at]
|
|
5298
|
-
@video_id = args[:video_id]
|
|
5276
|
+
@end_at = args[:end_at] if args.key?(:end_at)
|
|
5277
|
+
@note = args[:note] if args.key?(:note)
|
|
5278
|
+
@start_at = args[:start_at] if args.key?(:start_at)
|
|
5279
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
|
5299
5280
|
end
|
|
5300
5281
|
end
|
|
5301
5282
|
|
|
@@ -5358,15 +5339,15 @@ module Google
|
|
|
5358
5339
|
|
|
5359
5340
|
# Update properties of this object
|
|
5360
5341
|
def update!(**args)
|
|
5361
|
-
@etag = args[:etag]
|
|
5362
|
-
@event_id = args[:event_id]
|
|
5363
|
-
@items = args[:items]
|
|
5364
|
-
@kind = args[:kind]
|
|
5365
|
-
@next_page_token = args[:next_page_token]
|
|
5366
|
-
@page_info = args[:page_info]
|
|
5367
|
-
@prev_page_token = args[:prev_page_token]
|
|
5368
|
-
@token_pagination = args[:token_pagination]
|
|
5369
|
-
@visitor_id = args[:visitor_id]
|
|
5342
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
5343
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
5344
|
+
@items = args[:items] if args.key?(:items)
|
|
5345
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5346
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
5347
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
5348
|
+
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
|
5349
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
5350
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
5370
5351
|
end
|
|
5371
5352
|
end
|
|
5372
5353
|
|
|
@@ -5430,15 +5411,15 @@ module Google
|
|
|
5430
5411
|
|
|
5431
5412
|
# Update properties of this object
|
|
5432
5413
|
def update!(**args)
|
|
5433
|
-
@channel_id = args[:channel_id]
|
|
5434
|
-
@channel_title = args[:channel_title]
|
|
5435
|
-
@description = args[:description]
|
|
5436
|
-
@playlist_id = args[:playlist_id]
|
|
5437
|
-
@position = args[:position]
|
|
5438
|
-
@published_at = args[:published_at]
|
|
5439
|
-
@resource_id = args[:resource_id]
|
|
5440
|
-
@thumbnails = args[:thumbnails]
|
|
5441
|
-
@title = args[:title]
|
|
5414
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
5415
|
+
@channel_title = args[:channel_title] if args.key?(:channel_title)
|
|
5416
|
+
@description = args[:description] if args.key?(:description)
|
|
5417
|
+
@playlist_id = args[:playlist_id] if args.key?(:playlist_id)
|
|
5418
|
+
@position = args[:position] if args.key?(:position)
|
|
5419
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
|
5420
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
5421
|
+
@thumbnails = args[:thumbnails] if args.key?(:thumbnails)
|
|
5422
|
+
@title = args[:title] if args.key?(:title)
|
|
5442
5423
|
end
|
|
5443
5424
|
end
|
|
5444
5425
|
|
|
@@ -5457,7 +5438,7 @@ module Google
|
|
|
5457
5438
|
|
|
5458
5439
|
# Update properties of this object
|
|
5459
5440
|
def update!(**args)
|
|
5460
|
-
@privacy_status = args[:privacy_status]
|
|
5441
|
+
@privacy_status = args[:privacy_status] if args.key?(:privacy_status)
|
|
5461
5442
|
end
|
|
5462
5443
|
end
|
|
5463
5444
|
|
|
@@ -5520,15 +5501,15 @@ module Google
|
|
|
5520
5501
|
|
|
5521
5502
|
# Update properties of this object
|
|
5522
5503
|
def update!(**args)
|
|
5523
|
-
@etag = args[:etag]
|
|
5524
|
-
@event_id = args[:event_id]
|
|
5525
|
-
@items = args[:items]
|
|
5526
|
-
@kind = args[:kind]
|
|
5527
|
-
@next_page_token = args[:next_page_token]
|
|
5528
|
-
@page_info = args[:page_info]
|
|
5529
|
-
@prev_page_token = args[:prev_page_token]
|
|
5530
|
-
@token_pagination = args[:token_pagination]
|
|
5531
|
-
@visitor_id = args[:visitor_id]
|
|
5504
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
5505
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
5506
|
+
@items = args[:items] if args.key?(:items)
|
|
5507
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5508
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
5509
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
5510
|
+
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
|
5511
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
5512
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
5532
5513
|
end
|
|
5533
5514
|
end
|
|
5534
5515
|
|
|
@@ -5552,8 +5533,8 @@ module Google
|
|
|
5552
5533
|
|
|
5553
5534
|
# Update properties of this object
|
|
5554
5535
|
def update!(**args)
|
|
5555
|
-
@description = args[:description]
|
|
5556
|
-
@title = args[:title]
|
|
5536
|
+
@description = args[:description] if args.key?(:description)
|
|
5537
|
+
@title = args[:title] if args.key?(:title)
|
|
5557
5538
|
end
|
|
5558
5539
|
end
|
|
5559
5540
|
|
|
@@ -5572,7 +5553,7 @@ module Google
|
|
|
5572
5553
|
|
|
5573
5554
|
# Update properties of this object
|
|
5574
5555
|
def update!(**args)
|
|
5575
|
-
@embed_html = args[:embed_html]
|
|
5556
|
+
@embed_html = args[:embed_html] if args.key?(:embed_html)
|
|
5576
5557
|
end
|
|
5577
5558
|
end
|
|
5578
5559
|
|
|
@@ -5633,15 +5614,15 @@ module Google
|
|
|
5633
5614
|
|
|
5634
5615
|
# Update properties of this object
|
|
5635
5616
|
def update!(**args)
|
|
5636
|
-
@channel_id = args[:channel_id]
|
|
5637
|
-
@channel_title = args[:channel_title]
|
|
5638
|
-
@default_language = args[:default_language]
|
|
5639
|
-
@description = args[:description]
|
|
5640
|
-
@localized = args[:localized]
|
|
5641
|
-
@published_at = args[:published_at]
|
|
5642
|
-
@tags = args[:tags]
|
|
5643
|
-
@thumbnails = args[:thumbnails]
|
|
5644
|
-
@title = args[:title]
|
|
5617
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
5618
|
+
@channel_title = args[:channel_title] if args.key?(:channel_title)
|
|
5619
|
+
@default_language = args[:default_language] if args.key?(:default_language)
|
|
5620
|
+
@description = args[:description] if args.key?(:description)
|
|
5621
|
+
@localized = args[:localized] if args.key?(:localized)
|
|
5622
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
|
5623
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
5624
|
+
@thumbnails = args[:thumbnails] if args.key?(:thumbnails)
|
|
5625
|
+
@title = args[:title] if args.key?(:title)
|
|
5645
5626
|
end
|
|
5646
5627
|
end
|
|
5647
5628
|
|
|
@@ -5660,7 +5641,7 @@ module Google
|
|
|
5660
5641
|
|
|
5661
5642
|
# Update properties of this object
|
|
5662
5643
|
def update!(**args)
|
|
5663
|
-
@privacy_status = args[:privacy_status]
|
|
5644
|
+
@privacy_status = args[:privacy_status] if args.key?(:privacy_status)
|
|
5664
5645
|
end
|
|
5665
5646
|
end
|
|
5666
5647
|
|
|
@@ -5698,10 +5679,10 @@ module Google
|
|
|
5698
5679
|
|
|
5699
5680
|
# Update properties of this object
|
|
5700
5681
|
def update!(**args)
|
|
5701
|
-
@custom_message = args[:custom_message]
|
|
5702
|
-
@id = args[:id]
|
|
5703
|
-
@promoted_by_content_owner = args[:promoted_by_content_owner]
|
|
5704
|
-
@timing = args[:timing]
|
|
5682
|
+
@custom_message = args[:custom_message] if args.key?(:custom_message)
|
|
5683
|
+
@id = args[:id] if args.key?(:id)
|
|
5684
|
+
@promoted_by_content_owner = args[:promoted_by_content_owner] if args.key?(:promoted_by_content_owner)
|
|
5685
|
+
@timing = args[:timing] if args.key?(:timing)
|
|
5705
5686
|
end
|
|
5706
5687
|
end
|
|
5707
5688
|
|
|
@@ -5741,10 +5722,10 @@ module Google
|
|
|
5741
5722
|
|
|
5742
5723
|
# Update properties of this object
|
|
5743
5724
|
def update!(**args)
|
|
5744
|
-
@recently_uploaded_by = args[:recently_uploaded_by]
|
|
5745
|
-
@type = args[:type]
|
|
5746
|
-
@video_id = args[:video_id]
|
|
5747
|
-
@website_url = args[:website_url]
|
|
5725
|
+
@recently_uploaded_by = args[:recently_uploaded_by] if args.key?(:recently_uploaded_by)
|
|
5726
|
+
@type = args[:type] if args.key?(:type)
|
|
5727
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
|
5728
|
+
@website_url = args[:website_url] if args.key?(:website_url)
|
|
5748
5729
|
end
|
|
5749
5730
|
end
|
|
5750
5731
|
|
|
@@ -5768,8 +5749,8 @@ module Google
|
|
|
5768
5749
|
|
|
5769
5750
|
# Update properties of this object
|
|
5770
5751
|
def update!(**args)
|
|
5771
|
-
@property = args[:property]
|
|
5772
|
-
@value = args[:value]
|
|
5752
|
+
@property = args[:property] if args.key?(:property)
|
|
5753
|
+
@value = args[:value] if args.key?(:value)
|
|
5773
5754
|
end
|
|
5774
5755
|
end
|
|
5775
5756
|
|
|
@@ -5809,10 +5790,10 @@ module Google
|
|
|
5809
5790
|
|
|
5810
5791
|
# Update properties of this object
|
|
5811
5792
|
def update!(**args)
|
|
5812
|
-
@channel_id = args[:channel_id]
|
|
5813
|
-
@kind = args[:kind]
|
|
5814
|
-
@playlist_id = args[:playlist_id]
|
|
5815
|
-
@video_id = args[:video_id]
|
|
5793
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
5794
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5795
|
+
@playlist_id = args[:playlist_id] if args.key?(:playlist_id)
|
|
5796
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
|
5816
5797
|
end
|
|
5817
5798
|
end
|
|
5818
5799
|
|
|
@@ -5859,6 +5840,11 @@ module Google
|
|
|
5859
5840
|
# @return [String]
|
|
5860
5841
|
attr_accessor :prev_page_token
|
|
5861
5842
|
|
|
5843
|
+
#
|
|
5844
|
+
# Corresponds to the JSON property `regionCode`
|
|
5845
|
+
# @return [String]
|
|
5846
|
+
attr_accessor :region_code
|
|
5847
|
+
|
|
5862
5848
|
# Stub token pagination template to suppress results.
|
|
5863
5849
|
# Corresponds to the JSON property `tokenPagination`
|
|
5864
5850
|
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
|
@@ -5875,15 +5861,16 @@ module Google
|
|
|
5875
5861
|
|
|
5876
5862
|
# Update properties of this object
|
|
5877
5863
|
def update!(**args)
|
|
5878
|
-
@etag = args[:etag]
|
|
5879
|
-
@event_id = args[:event_id]
|
|
5880
|
-
@items = args[:items]
|
|
5881
|
-
@kind = args[:kind]
|
|
5882
|
-
@next_page_token = args[:next_page_token]
|
|
5883
|
-
@page_info = args[:page_info]
|
|
5884
|
-
@prev_page_token = args[:prev_page_token]
|
|
5885
|
-
@
|
|
5886
|
-
@
|
|
5864
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
5865
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
5866
|
+
@items = args[:items] if args.key?(:items)
|
|
5867
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5868
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
5869
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
5870
|
+
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
|
5871
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
|
5872
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
5873
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
5887
5874
|
end
|
|
5888
5875
|
end
|
|
5889
5876
|
|
|
@@ -5922,10 +5909,10 @@ module Google
|
|
|
5922
5909
|
|
|
5923
5910
|
# Update properties of this object
|
|
5924
5911
|
def update!(**args)
|
|
5925
|
-
@etag = args[:etag]
|
|
5926
|
-
@id = args[:id]
|
|
5927
|
-
@kind = args[:kind]
|
|
5928
|
-
@snippet = args[:snippet]
|
|
5912
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
5913
|
+
@id = args[:id] if args.key?(:id)
|
|
5914
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5915
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
5929
5916
|
end
|
|
5930
5917
|
end
|
|
5931
5918
|
|
|
@@ -5980,13 +5967,13 @@ module Google
|
|
|
5980
5967
|
|
|
5981
5968
|
# Update properties of this object
|
|
5982
5969
|
def update!(**args)
|
|
5983
|
-
@channel_id = args[:channel_id]
|
|
5984
|
-
@channel_title = args[:channel_title]
|
|
5985
|
-
@description = args[:description]
|
|
5986
|
-
@live_broadcast_content = args[:live_broadcast_content]
|
|
5987
|
-
@published_at = args[:published_at]
|
|
5988
|
-
@thumbnails = args[:thumbnails]
|
|
5989
|
-
@title = args[:title]
|
|
5970
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
5971
|
+
@channel_title = args[:channel_title] if args.key?(:channel_title)
|
|
5972
|
+
@description = args[:description] if args.key?(:description)
|
|
5973
|
+
@live_broadcast_content = args[:live_broadcast_content] if args.key?(:live_broadcast_content)
|
|
5974
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
|
5975
|
+
@thumbnails = args[:thumbnails] if args.key?(:thumbnails)
|
|
5976
|
+
@title = args[:title] if args.key?(:title)
|
|
5990
5977
|
end
|
|
5991
5978
|
end
|
|
5992
5979
|
|
|
@@ -6022,10 +6009,10 @@ module Google
|
|
|
6022
6009
|
|
|
6023
6010
|
# Update properties of this object
|
|
6024
6011
|
def update!(**args)
|
|
6025
|
-
@etag = args[:etag]
|
|
6026
|
-
@id = args[:id]
|
|
6027
|
-
@kind = args[:kind]
|
|
6028
|
-
@snippet = args[:snippet]
|
|
6012
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
6013
|
+
@id = args[:id] if args.key?(:id)
|
|
6014
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
6015
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
6029
6016
|
end
|
|
6030
6017
|
end
|
|
6031
6018
|
|
|
@@ -6082,14 +6069,14 @@ module Google
|
|
|
6082
6069
|
|
|
6083
6070
|
# Update properties of this object
|
|
6084
6071
|
def update!(**args)
|
|
6085
|
-
@etag = args[:etag]
|
|
6086
|
-
@event_id = args[:event_id]
|
|
6087
|
-
@items = args[:items]
|
|
6088
|
-
@kind = args[:kind]
|
|
6089
|
-
@next_page_token = args[:next_page_token]
|
|
6090
|
-
@page_info = args[:page_info]
|
|
6091
|
-
@token_pagination = args[:token_pagination]
|
|
6092
|
-
@visitor_id = args[:visitor_id]
|
|
6072
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
6073
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
6074
|
+
@items = args[:items] if args.key?(:items)
|
|
6075
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
6076
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
6077
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
6078
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
6079
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
6093
6080
|
end
|
|
6094
6081
|
end
|
|
6095
6082
|
|
|
@@ -6119,9 +6106,9 @@ module Google
|
|
|
6119
6106
|
|
|
6120
6107
|
# Update properties of this object
|
|
6121
6108
|
def update!(**args)
|
|
6122
|
-
@channel_id = args[:channel_id]
|
|
6123
|
-
@sponsor_details = args[:sponsor_details]
|
|
6124
|
-
@sponsor_since = args[:sponsor_since]
|
|
6109
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
6110
|
+
@sponsor_details = args[:sponsor_details] if args.key?(:sponsor_details)
|
|
6111
|
+
@sponsor_since = args[:sponsor_since] if args.key?(:sponsor_since)
|
|
6125
6112
|
end
|
|
6126
6113
|
end
|
|
6127
6114
|
|
|
@@ -6171,12 +6158,12 @@ module Google
|
|
|
6171
6158
|
|
|
6172
6159
|
# Update properties of this object
|
|
6173
6160
|
def update!(**args)
|
|
6174
|
-
@content_details = args[:content_details]
|
|
6175
|
-
@etag = args[:etag]
|
|
6176
|
-
@id = args[:id]
|
|
6177
|
-
@kind = args[:kind]
|
|
6178
|
-
@snippet = args[:snippet]
|
|
6179
|
-
@subscriber_snippet = args[:subscriber_snippet]
|
|
6161
|
+
@content_details = args[:content_details] if args.key?(:content_details)
|
|
6162
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
6163
|
+
@id = args[:id] if args.key?(:id)
|
|
6164
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
6165
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
6166
|
+
@subscriber_snippet = args[:subscriber_snippet] if args.key?(:subscriber_snippet)
|
|
6180
6167
|
end
|
|
6181
6168
|
end
|
|
6182
6169
|
|
|
@@ -6205,9 +6192,9 @@ module Google
|
|
|
6205
6192
|
|
|
6206
6193
|
# Update properties of this object
|
|
6207
6194
|
def update!(**args)
|
|
6208
|
-
@activity_type = args[:activity_type]
|
|
6209
|
-
@new_item_count = args[:new_item_count]
|
|
6210
|
-
@total_item_count = args[:total_item_count]
|
|
6195
|
+
@activity_type = args[:activity_type] if args.key?(:activity_type)
|
|
6196
|
+
@new_item_count = args[:new_item_count] if args.key?(:new_item_count)
|
|
6197
|
+
@total_item_count = args[:total_item_count] if args.key?(:total_item_count)
|
|
6211
6198
|
end
|
|
6212
6199
|
end
|
|
6213
6200
|
|
|
@@ -6270,15 +6257,15 @@ module Google
|
|
|
6270
6257
|
|
|
6271
6258
|
# Update properties of this object
|
|
6272
6259
|
def update!(**args)
|
|
6273
|
-
@etag = args[:etag]
|
|
6274
|
-
@event_id = args[:event_id]
|
|
6275
|
-
@items = args[:items]
|
|
6276
|
-
@kind = args[:kind]
|
|
6277
|
-
@next_page_token = args[:next_page_token]
|
|
6278
|
-
@page_info = args[:page_info]
|
|
6279
|
-
@prev_page_token = args[:prev_page_token]
|
|
6280
|
-
@token_pagination = args[:token_pagination]
|
|
6281
|
-
@visitor_id = args[:visitor_id]
|
|
6260
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
6261
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
6262
|
+
@items = args[:items] if args.key?(:items)
|
|
6263
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
6264
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
6265
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
6266
|
+
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
|
6267
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
6268
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
6282
6269
|
end
|
|
6283
6270
|
end
|
|
6284
6271
|
|
|
@@ -6329,13 +6316,13 @@ module Google
|
|
|
6329
6316
|
|
|
6330
6317
|
# Update properties of this object
|
|
6331
6318
|
def update!(**args)
|
|
6332
|
-
@channel_id = args[:channel_id]
|
|
6333
|
-
@channel_title = args[:channel_title]
|
|
6334
|
-
@description = args[:description]
|
|
6335
|
-
@published_at = args[:published_at]
|
|
6336
|
-
@resource_id = args[:resource_id]
|
|
6337
|
-
@thumbnails = args[:thumbnails]
|
|
6338
|
-
@title = args[:title]
|
|
6319
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
6320
|
+
@channel_title = args[:channel_title] if args.key?(:channel_title)
|
|
6321
|
+
@description = args[:description] if args.key?(:description)
|
|
6322
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
|
6323
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
6324
|
+
@thumbnails = args[:thumbnails] if args.key?(:thumbnails)
|
|
6325
|
+
@title = args[:title] if args.key?(:title)
|
|
6339
6326
|
end
|
|
6340
6327
|
end
|
|
6341
6328
|
|
|
@@ -6370,10 +6357,10 @@ module Google
|
|
|
6370
6357
|
|
|
6371
6358
|
# Update properties of this object
|
|
6372
6359
|
def update!(**args)
|
|
6373
|
-
@channel_id = args[:channel_id]
|
|
6374
|
-
@description = args[:description]
|
|
6375
|
-
@thumbnails = args[:thumbnails]
|
|
6376
|
-
@title = args[:title]
|
|
6360
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
6361
|
+
@description = args[:description] if args.key?(:description)
|
|
6362
|
+
@thumbnails = args[:thumbnails] if args.key?(:thumbnails)
|
|
6363
|
+
@title = args[:title] if args.key?(:title)
|
|
6377
6364
|
end
|
|
6378
6365
|
end
|
|
6379
6366
|
|
|
@@ -6402,9 +6389,9 @@ module Google
|
|
|
6402
6389
|
|
|
6403
6390
|
# Update properties of this object
|
|
6404
6391
|
def update!(**args)
|
|
6405
|
-
@height = args[:height]
|
|
6406
|
-
@url = args[:url]
|
|
6407
|
-
@width = args[:width]
|
|
6392
|
+
@height = args[:height] if args.key?(:height)
|
|
6393
|
+
@url = args[:url] if args.key?(:url)
|
|
6394
|
+
@width = args[:width] if args.key?(:width)
|
|
6408
6395
|
end
|
|
6409
6396
|
end
|
|
6410
6397
|
|
|
@@ -6443,11 +6430,11 @@ module Google
|
|
|
6443
6430
|
|
|
6444
6431
|
# Update properties of this object
|
|
6445
6432
|
def update!(**args)
|
|
6446
|
-
@default = args[:default]
|
|
6447
|
-
@high = args[:high]
|
|
6448
|
-
@maxres = args[:maxres]
|
|
6449
|
-
@medium = args[:medium]
|
|
6450
|
-
@standard = args[:standard]
|
|
6433
|
+
@default = args[:default] if args.key?(:default)
|
|
6434
|
+
@high = args[:high] if args.key?(:high)
|
|
6435
|
+
@maxres = args[:maxres] if args.key?(:maxres)
|
|
6436
|
+
@medium = args[:medium] if args.key?(:medium)
|
|
6437
|
+
@standard = args[:standard] if args.key?(:standard)
|
|
6451
6438
|
end
|
|
6452
6439
|
end
|
|
6453
6440
|
|
|
@@ -6487,11 +6474,11 @@ module Google
|
|
|
6487
6474
|
|
|
6488
6475
|
# Update properties of this object
|
|
6489
6476
|
def update!(**args)
|
|
6490
|
-
@etag = args[:etag]
|
|
6491
|
-
@event_id = args[:event_id]
|
|
6492
|
-
@items = args[:items]
|
|
6493
|
-
@kind = args[:kind]
|
|
6494
|
-
@visitor_id = args[:visitor_id]
|
|
6477
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
6478
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
6479
|
+
@items = args[:items] if args.key?(:items)
|
|
6480
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
6481
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
6495
6482
|
end
|
|
6496
6483
|
end
|
|
6497
6484
|
|
|
@@ -6616,24 +6603,24 @@ module Google
|
|
|
6616
6603
|
|
|
6617
6604
|
# Update properties of this object
|
|
6618
6605
|
def update!(**args)
|
|
6619
|
-
@age_gating = args[:age_gating]
|
|
6620
|
-
@content_details = args[:content_details]
|
|
6621
|
-
@etag = args[:etag]
|
|
6622
|
-
@file_details = args[:file_details]
|
|
6623
|
-
@id = args[:id]
|
|
6624
|
-
@kind = args[:kind]
|
|
6625
|
-
@live_streaming_details = args[:live_streaming_details]
|
|
6626
|
-
@localizations = args[:localizations]
|
|
6627
|
-
@monetization_details = args[:monetization_details]
|
|
6628
|
-
@player = args[:player]
|
|
6629
|
-
@processing_details = args[:processing_details]
|
|
6630
|
-
@project_details = args[:project_details]
|
|
6631
|
-
@recording_details = args[:recording_details]
|
|
6632
|
-
@snippet = args[:snippet]
|
|
6633
|
-
@statistics = args[:statistics]
|
|
6634
|
-
@status = args[:status]
|
|
6635
|
-
@suggestions = args[:suggestions]
|
|
6636
|
-
@topic_details = args[:topic_details]
|
|
6606
|
+
@age_gating = args[:age_gating] if args.key?(:age_gating)
|
|
6607
|
+
@content_details = args[:content_details] if args.key?(:content_details)
|
|
6608
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
6609
|
+
@file_details = args[:file_details] if args.key?(:file_details)
|
|
6610
|
+
@id = args[:id] if args.key?(:id)
|
|
6611
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
6612
|
+
@live_streaming_details = args[:live_streaming_details] if args.key?(:live_streaming_details)
|
|
6613
|
+
@localizations = args[:localizations] if args.key?(:localizations)
|
|
6614
|
+
@monetization_details = args[:monetization_details] if args.key?(:monetization_details)
|
|
6615
|
+
@player = args[:player] if args.key?(:player)
|
|
6616
|
+
@processing_details = args[:processing_details] if args.key?(:processing_details)
|
|
6617
|
+
@project_details = args[:project_details] if args.key?(:project_details)
|
|
6618
|
+
@recording_details = args[:recording_details] if args.key?(:recording_details)
|
|
6619
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
6620
|
+
@statistics = args[:statistics] if args.key?(:statistics)
|
|
6621
|
+
@status = args[:status] if args.key?(:status)
|
|
6622
|
+
@suggestions = args[:suggestions] if args.key?(:suggestions)
|
|
6623
|
+
@topic_details = args[:topic_details] if args.key?(:topic_details)
|
|
6637
6624
|
end
|
|
6638
6625
|
end
|
|
6639
6626
|
|
|
@@ -6675,11 +6662,11 @@ module Google
|
|
|
6675
6662
|
|
|
6676
6663
|
# Update properties of this object
|
|
6677
6664
|
def update!(**args)
|
|
6678
|
-
@comments = args[:comments]
|
|
6679
|
-
@language = args[:language]
|
|
6680
|
-
@reason_id = args[:reason_id]
|
|
6681
|
-
@secondary_reason_id = args[:secondary_reason_id]
|
|
6682
|
-
@video_id = args[:video_id]
|
|
6665
|
+
@comments = args[:comments] if args.key?(:comments)
|
|
6666
|
+
@language = args[:language] if args.key?(:language)
|
|
6667
|
+
@reason_id = args[:reason_id] if args.key?(:reason_id)
|
|
6668
|
+
@secondary_reason_id = args[:secondary_reason_id] if args.key?(:secondary_reason_id)
|
|
6669
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
|
6683
6670
|
end
|
|
6684
6671
|
end
|
|
6685
6672
|
|
|
@@ -6716,10 +6703,10 @@ module Google
|
|
|
6716
6703
|
|
|
6717
6704
|
# Update properties of this object
|
|
6718
6705
|
def update!(**args)
|
|
6719
|
-
@etag = args[:etag]
|
|
6720
|
-
@id = args[:id]
|
|
6721
|
-
@kind = args[:kind]
|
|
6722
|
-
@snippet = args[:snippet]
|
|
6706
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
6707
|
+
@id = args[:id] if args.key?(:id)
|
|
6708
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
6709
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
6723
6710
|
end
|
|
6724
6711
|
end
|
|
6725
6712
|
|
|
@@ -6759,11 +6746,11 @@ module Google
|
|
|
6759
6746
|
|
|
6760
6747
|
# Update properties of this object
|
|
6761
6748
|
def update!(**args)
|
|
6762
|
-
@etag = args[:etag]
|
|
6763
|
-
@event_id = args[:event_id]
|
|
6764
|
-
@items = args[:items]
|
|
6765
|
-
@kind = args[:kind]
|
|
6766
|
-
@visitor_id = args[:visitor_id]
|
|
6749
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
6750
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
6751
|
+
@items = args[:items] if args.key?(:items)
|
|
6752
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
6753
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
6767
6754
|
end
|
|
6768
6755
|
end
|
|
6769
6756
|
|
|
@@ -6788,8 +6775,8 @@ module Google
|
|
|
6788
6775
|
|
|
6789
6776
|
# Update properties of this object
|
|
6790
6777
|
def update!(**args)
|
|
6791
|
-
@label = args[:label]
|
|
6792
|
-
@secondary_reasons = args[:secondary_reasons]
|
|
6778
|
+
@label = args[:label] if args.key?(:label)
|
|
6779
|
+
@secondary_reasons = args[:secondary_reasons] if args.key?(:secondary_reasons)
|
|
6793
6780
|
end
|
|
6794
6781
|
end
|
|
6795
6782
|
|
|
@@ -6813,8 +6800,8 @@ module Google
|
|
|
6813
6800
|
|
|
6814
6801
|
# Update properties of this object
|
|
6815
6802
|
def update!(**args)
|
|
6816
|
-
@id = args[:id]
|
|
6817
|
-
@label = args[:label]
|
|
6803
|
+
@id = args[:id] if args.key?(:id)
|
|
6804
|
+
@label = args[:label] if args.key?(:label)
|
|
6818
6805
|
end
|
|
6819
6806
|
end
|
|
6820
6807
|
|
|
@@ -6849,9 +6836,9 @@ module Google
|
|
|
6849
6836
|
|
|
6850
6837
|
# Update properties of this object
|
|
6851
6838
|
def update!(**args)
|
|
6852
|
-
@alcohol_content = args[:alcohol_content]
|
|
6853
|
-
@restricted = args[:restricted]
|
|
6854
|
-
@video_game_rating = args[:video_game_rating]
|
|
6839
|
+
@alcohol_content = args[:alcohol_content] if args.key?(:alcohol_content)
|
|
6840
|
+
@restricted = args[:restricted] if args.key?(:restricted)
|
|
6841
|
+
@video_game_rating = args[:video_game_rating] if args.key?(:video_game_rating)
|
|
6855
6842
|
end
|
|
6856
6843
|
end
|
|
6857
6844
|
|
|
@@ -6887,10 +6874,10 @@ module Google
|
|
|
6887
6874
|
|
|
6888
6875
|
# Update properties of this object
|
|
6889
6876
|
def update!(**args)
|
|
6890
|
-
@etag = args[:etag]
|
|
6891
|
-
@id = args[:id]
|
|
6892
|
-
@kind = args[:kind]
|
|
6893
|
-
@snippet = args[:snippet]
|
|
6877
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
6878
|
+
@id = args[:id] if args.key?(:id)
|
|
6879
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
6880
|
+
@snippet = args[:snippet] if args.key?(:snippet)
|
|
6894
6881
|
end
|
|
6895
6882
|
end
|
|
6896
6883
|
|
|
@@ -6955,15 +6942,15 @@ module Google
|
|
|
6955
6942
|
|
|
6956
6943
|
# Update properties of this object
|
|
6957
6944
|
def update!(**args)
|
|
6958
|
-
@etag = args[:etag]
|
|
6959
|
-
@event_id = args[:event_id]
|
|
6960
|
-
@items = args[:items]
|
|
6961
|
-
@kind = args[:kind]
|
|
6962
|
-
@next_page_token = args[:next_page_token]
|
|
6963
|
-
@page_info = args[:page_info]
|
|
6964
|
-
@prev_page_token = args[:prev_page_token]
|
|
6965
|
-
@token_pagination = args[:token_pagination]
|
|
6966
|
-
@visitor_id = args[:visitor_id]
|
|
6945
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
6946
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
6947
|
+
@items = args[:items] if args.key?(:items)
|
|
6948
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
6949
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
6950
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
6951
|
+
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
|
6952
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
6953
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
6967
6954
|
end
|
|
6968
6955
|
end
|
|
6969
6956
|
|
|
@@ -6993,9 +6980,9 @@ module Google
|
|
|
6993
6980
|
|
|
6994
6981
|
# Update properties of this object
|
|
6995
6982
|
def update!(**args)
|
|
6996
|
-
@assignable = args[:assignable]
|
|
6997
|
-
@channel_id = args[:channel_id]
|
|
6998
|
-
@title = args[:title]
|
|
6983
|
+
@assignable = args[:assignable] if args.key?(:assignable)
|
|
6984
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
6985
|
+
@title = args[:title] if args.key?(:title)
|
|
6999
6986
|
end
|
|
7000
6987
|
end
|
|
7001
6988
|
|
|
@@ -7058,14 +7045,14 @@ module Google
|
|
|
7058
7045
|
|
|
7059
7046
|
# Update properties of this object
|
|
7060
7047
|
def update!(**args)
|
|
7061
|
-
@caption = args[:caption]
|
|
7062
|
-
@content_rating = args[:content_rating]
|
|
7063
|
-
@country_restriction = args[:country_restriction]
|
|
7064
|
-
@definition = args[:definition]
|
|
7065
|
-
@dimension = args[:dimension]
|
|
7066
|
-
@duration = args[:duration]
|
|
7067
|
-
@licensed_content = args[:licensed_content]
|
|
7068
|
-
@region_restriction = args[:region_restriction]
|
|
7048
|
+
@caption = args[:caption] if args.key?(:caption)
|
|
7049
|
+
@content_rating = args[:content_rating] if args.key?(:content_rating)
|
|
7050
|
+
@country_restriction = args[:country_restriction] if args.key?(:country_restriction)
|
|
7051
|
+
@definition = args[:definition] if args.key?(:definition)
|
|
7052
|
+
@dimension = args[:dimension] if args.key?(:dimension)
|
|
7053
|
+
@duration = args[:duration] if args.key?(:duration)
|
|
7054
|
+
@licensed_content = args[:licensed_content] if args.key?(:licensed_content)
|
|
7055
|
+
@region_restriction = args[:region_restriction] if args.key?(:region_restriction)
|
|
7069
7056
|
end
|
|
7070
7057
|
end
|
|
7071
7058
|
|
|
@@ -7095,8 +7082,8 @@ module Google
|
|
|
7095
7082
|
|
|
7096
7083
|
# Update properties of this object
|
|
7097
7084
|
def update!(**args)
|
|
7098
|
-
@allowed = args[:allowed]
|
|
7099
|
-
@blocked = args[:blocked]
|
|
7085
|
+
@allowed = args[:allowed] if args.key?(:allowed)
|
|
7086
|
+
@blocked = args[:blocked] if args.key?(:blocked)
|
|
7100
7087
|
end
|
|
7101
7088
|
end
|
|
7102
7089
|
|
|
@@ -7174,16 +7161,16 @@ module Google
|
|
|
7174
7161
|
|
|
7175
7162
|
# Update properties of this object
|
|
7176
7163
|
def update!(**args)
|
|
7177
|
-
@audio_streams = args[:audio_streams]
|
|
7178
|
-
@bitrate_bps = args[:bitrate_bps]
|
|
7179
|
-
@container = args[:container]
|
|
7180
|
-
@creation_time = args[:creation_time]
|
|
7181
|
-
@duration_ms = args[:duration_ms]
|
|
7182
|
-
@file_name = args[:file_name]
|
|
7183
|
-
@file_size = args[:file_size]
|
|
7184
|
-
@file_type = args[:file_type]
|
|
7185
|
-
@recording_location = args[:recording_location]
|
|
7186
|
-
@video_streams = args[:video_streams]
|
|
7164
|
+
@audio_streams = args[:audio_streams] if args.key?(:audio_streams)
|
|
7165
|
+
@bitrate_bps = args[:bitrate_bps] if args.key?(:bitrate_bps)
|
|
7166
|
+
@container = args[:container] if args.key?(:container)
|
|
7167
|
+
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
|
7168
|
+
@duration_ms = args[:duration_ms] if args.key?(:duration_ms)
|
|
7169
|
+
@file_name = args[:file_name] if args.key?(:file_name)
|
|
7170
|
+
@file_size = args[:file_size] if args.key?(:file_size)
|
|
7171
|
+
@file_type = args[:file_type] if args.key?(:file_type)
|
|
7172
|
+
@recording_location = args[:recording_location] if args.key?(:recording_location)
|
|
7173
|
+
@video_streams = args[:video_streams] if args.key?(:video_streams)
|
|
7187
7174
|
end
|
|
7188
7175
|
end
|
|
7189
7176
|
|
|
@@ -7218,10 +7205,10 @@ module Google
|
|
|
7218
7205
|
|
|
7219
7206
|
# Update properties of this object
|
|
7220
7207
|
def update!(**args)
|
|
7221
|
-
@bitrate_bps = args[:bitrate_bps]
|
|
7222
|
-
@channel_count = args[:channel_count]
|
|
7223
|
-
@codec = args[:codec]
|
|
7224
|
-
@vendor = args[:vendor]
|
|
7208
|
+
@bitrate_bps = args[:bitrate_bps] if args.key?(:bitrate_bps)
|
|
7209
|
+
@channel_count = args[:channel_count] if args.key?(:channel_count)
|
|
7210
|
+
@codec = args[:codec] if args.key?(:codec)
|
|
7211
|
+
@vendor = args[:vendor] if args.key?(:vendor)
|
|
7225
7212
|
end
|
|
7226
7213
|
end
|
|
7227
7214
|
|
|
@@ -7279,14 +7266,14 @@ module Google
|
|
|
7279
7266
|
|
|
7280
7267
|
# Update properties of this object
|
|
7281
7268
|
def update!(**args)
|
|
7282
|
-
@aspect_ratio = args[:aspect_ratio]
|
|
7283
|
-
@bitrate_bps = args[:bitrate_bps]
|
|
7284
|
-
@codec = args[:codec]
|
|
7285
|
-
@frame_rate_fps = args[:frame_rate_fps]
|
|
7286
|
-
@height_pixels = args[:height_pixels]
|
|
7287
|
-
@rotation = args[:rotation]
|
|
7288
|
-
@vendor = args[:vendor]
|
|
7289
|
-
@width_pixels = args[:width_pixels]
|
|
7269
|
+
@aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
|
|
7270
|
+
@bitrate_bps = args[:bitrate_bps] if args.key?(:bitrate_bps)
|
|
7271
|
+
@codec = args[:codec] if args.key?(:codec)
|
|
7272
|
+
@frame_rate_fps = args[:frame_rate_fps] if args.key?(:frame_rate_fps)
|
|
7273
|
+
@height_pixels = args[:height_pixels] if args.key?(:height_pixels)
|
|
7274
|
+
@rotation = args[:rotation] if args.key?(:rotation)
|
|
7275
|
+
@vendor = args[:vendor] if args.key?(:vendor)
|
|
7276
|
+
@width_pixels = args[:width_pixels] if args.key?(:width_pixels)
|
|
7290
7277
|
end
|
|
7291
7278
|
end
|
|
7292
7279
|
|
|
@@ -7326,11 +7313,11 @@ module Google
|
|
|
7326
7313
|
|
|
7327
7314
|
# Update properties of this object
|
|
7328
7315
|
def update!(**args)
|
|
7329
|
-
@etag = args[:etag]
|
|
7330
|
-
@event_id = args[:event_id]
|
|
7331
|
-
@items = args[:items]
|
|
7332
|
-
@kind = args[:kind]
|
|
7333
|
-
@visitor_id = args[:visitor_id]
|
|
7316
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
7317
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
7318
|
+
@items = args[:items] if args.key?(:items)
|
|
7319
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
7320
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
7334
7321
|
end
|
|
7335
7322
|
end
|
|
7336
7323
|
|
|
@@ -7393,15 +7380,15 @@ module Google
|
|
|
7393
7380
|
|
|
7394
7381
|
# Update properties of this object
|
|
7395
7382
|
def update!(**args)
|
|
7396
|
-
@etag = args[:etag]
|
|
7397
|
-
@event_id = args[:event_id]
|
|
7398
|
-
@items = args[:items]
|
|
7399
|
-
@kind = args[:kind]
|
|
7400
|
-
@next_page_token = args[:next_page_token]
|
|
7401
|
-
@page_info = args[:page_info]
|
|
7402
|
-
@prev_page_token = args[:prev_page_token]
|
|
7403
|
-
@token_pagination = args[:token_pagination]
|
|
7404
|
-
@visitor_id = args[:visitor_id]
|
|
7383
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
7384
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
|
7385
|
+
@items = args[:items] if args.key?(:items)
|
|
7386
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
7387
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
7388
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
|
7389
|
+
@prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
|
|
7390
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
|
7391
|
+
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
|
7405
7392
|
end
|
|
7406
7393
|
end
|
|
7407
7394
|
|
|
@@ -7462,12 +7449,12 @@ module Google
|
|
|
7462
7449
|
|
|
7463
7450
|
# Update properties of this object
|
|
7464
7451
|
def update!(**args)
|
|
7465
|
-
@active_live_chat_id = args[:active_live_chat_id]
|
|
7466
|
-
@actual_end_time = args[:actual_end_time]
|
|
7467
|
-
@actual_start_time = args[:actual_start_time]
|
|
7468
|
-
@concurrent_viewers = args[:concurrent_viewers]
|
|
7469
|
-
@scheduled_end_time = args[:scheduled_end_time]
|
|
7470
|
-
@scheduled_start_time = args[:scheduled_start_time]
|
|
7452
|
+
@active_live_chat_id = args[:active_live_chat_id] if args.key?(:active_live_chat_id)
|
|
7453
|
+
@actual_end_time = args[:actual_end_time] if args.key?(:actual_end_time)
|
|
7454
|
+
@actual_start_time = args[:actual_start_time] if args.key?(:actual_start_time)
|
|
7455
|
+
@concurrent_viewers = args[:concurrent_viewers] if args.key?(:concurrent_viewers)
|
|
7456
|
+
@scheduled_end_time = args[:scheduled_end_time] if args.key?(:scheduled_end_time)
|
|
7457
|
+
@scheduled_start_time = args[:scheduled_start_time] if args.key?(:scheduled_start_time)
|
|
7471
7458
|
end
|
|
7472
7459
|
end
|
|
7473
7460
|
|
|
@@ -7491,8 +7478,8 @@ module Google
|
|
|
7491
7478
|
|
|
7492
7479
|
# Update properties of this object
|
|
7493
7480
|
def update!(**args)
|
|
7494
|
-
@description = args[:description]
|
|
7495
|
-
@title = args[:title]
|
|
7481
|
+
@description = args[:description] if args.key?(:description)
|
|
7482
|
+
@title = args[:title] if args.key?(:title)
|
|
7496
7483
|
end
|
|
7497
7484
|
end
|
|
7498
7485
|
|
|
@@ -7511,7 +7498,7 @@ module Google
|
|
|
7511
7498
|
|
|
7512
7499
|
# Update properties of this object
|
|
7513
7500
|
def update!(**args)
|
|
7514
|
-
@access = args[:access]
|
|
7501
|
+
@access = args[:access] if args.key?(:access)
|
|
7515
7502
|
end
|
|
7516
7503
|
end
|
|
7517
7504
|
|
|
@@ -7530,7 +7517,7 @@ module Google
|
|
|
7530
7517
|
|
|
7531
7518
|
# Update properties of this object
|
|
7532
7519
|
def update!(**args)
|
|
7533
|
-
@embed_html = args[:embed_html]
|
|
7520
|
+
@embed_html = args[:embed_html] if args.key?(:embed_html)
|
|
7534
7521
|
end
|
|
7535
7522
|
end
|
|
7536
7523
|
|
|
@@ -7600,14 +7587,14 @@ module Google
|
|
|
7600
7587
|
|
|
7601
7588
|
# Update properties of this object
|
|
7602
7589
|
def update!(**args)
|
|
7603
|
-
@editor_suggestions_availability = args[:editor_suggestions_availability]
|
|
7604
|
-
@file_details_availability = args[:file_details_availability]
|
|
7605
|
-
@processing_failure_reason = args[:processing_failure_reason]
|
|
7606
|
-
@processing_issues_availability = args[:processing_issues_availability]
|
|
7607
|
-
@processing_progress = args[:processing_progress]
|
|
7608
|
-
@processing_status = args[:processing_status]
|
|
7609
|
-
@tag_suggestions_availability = args[:tag_suggestions_availability]
|
|
7610
|
-
@thumbnails_availability = args[:thumbnails_availability]
|
|
7590
|
+
@editor_suggestions_availability = args[:editor_suggestions_availability] if args.key?(:editor_suggestions_availability)
|
|
7591
|
+
@file_details_availability = args[:file_details_availability] if args.key?(:file_details_availability)
|
|
7592
|
+
@processing_failure_reason = args[:processing_failure_reason] if args.key?(:processing_failure_reason)
|
|
7593
|
+
@processing_issues_availability = args[:processing_issues_availability] if args.key?(:processing_issues_availability)
|
|
7594
|
+
@processing_progress = args[:processing_progress] if args.key?(:processing_progress)
|
|
7595
|
+
@processing_status = args[:processing_status] if args.key?(:processing_status)
|
|
7596
|
+
@tag_suggestions_availability = args[:tag_suggestions_availability] if args.key?(:tag_suggestions_availability)
|
|
7597
|
+
@thumbnails_availability = args[:thumbnails_availability] if args.key?(:thumbnails_availability)
|
|
7611
7598
|
end
|
|
7612
7599
|
end
|
|
7613
7600
|
|
|
@@ -7646,9 +7633,9 @@ module Google
|
|
|
7646
7633
|
|
|
7647
7634
|
# Update properties of this object
|
|
7648
7635
|
def update!(**args)
|
|
7649
|
-
@parts_processed = args[:parts_processed]
|
|
7650
|
-
@parts_total = args[:parts_total]
|
|
7651
|
-
@time_left_ms = args[:time_left_ms]
|
|
7636
|
+
@parts_processed = args[:parts_processed] if args.key?(:parts_processed)
|
|
7637
|
+
@parts_total = args[:parts_total] if args.key?(:parts_total)
|
|
7638
|
+
@time_left_ms = args[:time_left_ms] if args.key?(:time_left_ms)
|
|
7652
7639
|
end
|
|
7653
7640
|
end
|
|
7654
7641
|
|
|
@@ -7667,7 +7654,7 @@ module Google
|
|
|
7667
7654
|
|
|
7668
7655
|
# Update properties of this object
|
|
7669
7656
|
def update!(**args)
|
|
7670
|
-
@tags = args[:tags]
|
|
7657
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
7671
7658
|
end
|
|
7672
7659
|
end
|
|
7673
7660
|
|
|
@@ -7691,8 +7678,8 @@ module Google
|
|
|
7691
7678
|
|
|
7692
7679
|
# Update properties of this object
|
|
7693
7680
|
def update!(**args)
|
|
7694
|
-
@rating = args[:rating]
|
|
7695
|
-
@video_id = args[:video_id]
|
|
7681
|
+
@rating = args[:rating] if args.key?(:rating)
|
|
7682
|
+
@video_id = args[:video_id] if args.key?(:video_id)
|
|
7696
7683
|
end
|
|
7697
7684
|
end
|
|
7698
7685
|
|
|
@@ -7722,9 +7709,9 @@ module Google
|
|
|
7722
7709
|
|
|
7723
7710
|
# Update properties of this object
|
|
7724
7711
|
def update!(**args)
|
|
7725
|
-
@location = args[:location]
|
|
7726
|
-
@location_description = args[:location_description]
|
|
7727
|
-
@recording_date = args[:recording_date]
|
|
7712
|
+
@location = args[:location] if args.key?(:location)
|
|
7713
|
+
@location_description = args[:location_description] if args.key?(:location_description)
|
|
7714
|
+
@recording_date = args[:recording_date] if args.key?(:recording_date)
|
|
7728
7715
|
end
|
|
7729
7716
|
end
|
|
7730
7717
|
|
|
@@ -7803,18 +7790,18 @@ module Google
|
|
|
7803
7790
|
|
|
7804
7791
|
# Update properties of this object
|
|
7805
7792
|
def update!(**args)
|
|
7806
|
-
@category_id = args[:category_id]
|
|
7807
|
-
@channel_id = args[:channel_id]
|
|
7808
|
-
@channel_title = args[:channel_title]
|
|
7809
|
-
@default_audio_language = args[:default_audio_language]
|
|
7810
|
-
@default_language = args[:default_language]
|
|
7811
|
-
@description = args[:description]
|
|
7812
|
-
@live_broadcast_content = args[:live_broadcast_content]
|
|
7813
|
-
@localized = args[:localized]
|
|
7814
|
-
@published_at = args[:published_at]
|
|
7815
|
-
@tags = args[:tags]
|
|
7816
|
-
@thumbnails = args[:thumbnails]
|
|
7817
|
-
@title = args[:title]
|
|
7793
|
+
@category_id = args[:category_id] if args.key?(:category_id)
|
|
7794
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
|
7795
|
+
@channel_title = args[:channel_title] if args.key?(:channel_title)
|
|
7796
|
+
@default_audio_language = args[:default_audio_language] if args.key?(:default_audio_language)
|
|
7797
|
+
@default_language = args[:default_language] if args.key?(:default_language)
|
|
7798
|
+
@description = args[:description] if args.key?(:description)
|
|
7799
|
+
@live_broadcast_content = args[:live_broadcast_content] if args.key?(:live_broadcast_content)
|
|
7800
|
+
@localized = args[:localized] if args.key?(:localized)
|
|
7801
|
+
@published_at = args[:published_at] if args.key?(:published_at)
|
|
7802
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
7803
|
+
@thumbnails = args[:thumbnails] if args.key?(:thumbnails)
|
|
7804
|
+
@title = args[:title] if args.key?(:title)
|
|
7818
7805
|
end
|
|
7819
7806
|
end
|
|
7820
7807
|
|
|
@@ -7856,11 +7843,11 @@ module Google
|
|
|
7856
7843
|
|
|
7857
7844
|
# Update properties of this object
|
|
7858
7845
|
def update!(**args)
|
|
7859
|
-
@comment_count = args[:comment_count]
|
|
7860
|
-
@dislike_count = args[:dislike_count]
|
|
7861
|
-
@favorite_count = args[:favorite_count]
|
|
7862
|
-
@like_count = args[:like_count]
|
|
7863
|
-
@view_count = args[:view_count]
|
|
7846
|
+
@comment_count = args[:comment_count] if args.key?(:comment_count)
|
|
7847
|
+
@dislike_count = args[:dislike_count] if args.key?(:dislike_count)
|
|
7848
|
+
@favorite_count = args[:favorite_count] if args.key?(:favorite_count)
|
|
7849
|
+
@like_count = args[:like_count] if args.key?(:like_count)
|
|
7850
|
+
@view_count = args[:view_count] if args.key?(:view_count)
|
|
7864
7851
|
end
|
|
7865
7852
|
end
|
|
7866
7853
|
|
|
@@ -7923,14 +7910,14 @@ module Google
|
|
|
7923
7910
|
|
|
7924
7911
|
# Update properties of this object
|
|
7925
7912
|
def update!(**args)
|
|
7926
|
-
@embeddable = args[:embeddable]
|
|
7927
|
-
@failure_reason = args[:failure_reason]
|
|
7928
|
-
@license = args[:license]
|
|
7929
|
-
@privacy_status = args[:privacy_status]
|
|
7930
|
-
@public_stats_viewable = args[:public_stats_viewable]
|
|
7931
|
-
@publish_at = args[:publish_at]
|
|
7932
|
-
@rejection_reason = args[:rejection_reason]
|
|
7933
|
-
@upload_status = args[:upload_status]
|
|
7913
|
+
@embeddable = args[:embeddable] if args.key?(:embeddable)
|
|
7914
|
+
@failure_reason = args[:failure_reason] if args.key?(:failure_reason)
|
|
7915
|
+
@license = args[:license] if args.key?(:license)
|
|
7916
|
+
@privacy_status = args[:privacy_status] if args.key?(:privacy_status)
|
|
7917
|
+
@public_stats_viewable = args[:public_stats_viewable] if args.key?(:public_stats_viewable)
|
|
7918
|
+
@publish_at = args[:publish_at] if args.key?(:publish_at)
|
|
7919
|
+
@rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason)
|
|
7920
|
+
@upload_status = args[:upload_status] if args.key?(:upload_status)
|
|
7934
7921
|
end
|
|
7935
7922
|
end
|
|
7936
7923
|
|
|
@@ -7981,11 +7968,11 @@ module Google
|
|
|
7981
7968
|
|
|
7982
7969
|
# Update properties of this object
|
|
7983
7970
|
def update!(**args)
|
|
7984
|
-
@editor_suggestions = args[:editor_suggestions]
|
|
7985
|
-
@processing_errors = args[:processing_errors]
|
|
7986
|
-
@processing_hints = args[:processing_hints]
|
|
7987
|
-
@processing_warnings = args[:processing_warnings]
|
|
7988
|
-
@tag_suggestions = args[:tag_suggestions]
|
|
7971
|
+
@editor_suggestions = args[:editor_suggestions] if args.key?(:editor_suggestions)
|
|
7972
|
+
@processing_errors = args[:processing_errors] if args.key?(:processing_errors)
|
|
7973
|
+
@processing_hints = args[:processing_hints] if args.key?(:processing_hints)
|
|
7974
|
+
@processing_warnings = args[:processing_warnings] if args.key?(:processing_warnings)
|
|
7975
|
+
@tag_suggestions = args[:tag_suggestions] if args.key?(:tag_suggestions)
|
|
7989
7976
|
end
|
|
7990
7977
|
end
|
|
7991
7978
|
|
|
@@ -8013,8 +8000,8 @@ module Google
|
|
|
8013
8000
|
|
|
8014
8001
|
# Update properties of this object
|
|
8015
8002
|
def update!(**args)
|
|
8016
|
-
@category_restricts = args[:category_restricts]
|
|
8017
|
-
@tag = args[:tag]
|
|
8003
|
+
@category_restricts = args[:category_restricts] if args.key?(:category_restricts)
|
|
8004
|
+
@tag = args[:tag] if args.key?(:tag)
|
|
8018
8005
|
end
|
|
8019
8006
|
end
|
|
8020
8007
|
|
|
@@ -8043,8 +8030,8 @@ module Google
|
|
|
8043
8030
|
|
|
8044
8031
|
# Update properties of this object
|
|
8045
8032
|
def update!(**args)
|
|
8046
|
-
@relevant_topic_ids = args[:relevant_topic_ids]
|
|
8047
|
-
@topic_ids = args[:topic_ids]
|
|
8033
|
+
@relevant_topic_ids = args[:relevant_topic_ids] if args.key?(:relevant_topic_ids)
|
|
8034
|
+
@topic_ids = args[:topic_ids] if args.key?(:topic_ids)
|
|
8048
8035
|
end
|
|
8049
8036
|
end
|
|
8050
8037
|
|
|
@@ -8074,9 +8061,9 @@ module Google
|
|
|
8074
8061
|
|
|
8075
8062
|
# Update properties of this object
|
|
8076
8063
|
def update!(**args)
|
|
8077
|
-
@background_color = args[:background_color]
|
|
8078
|
-
@featured_playlist_id = args[:featured_playlist_id]
|
|
8079
|
-
@text_color = args[:text_color]
|
|
8064
|
+
@background_color = args[:background_color] if args.key?(:background_color)
|
|
8065
|
+
@featured_playlist_id = args[:featured_playlist_id] if args.key?(:featured_playlist_id)
|
|
8066
|
+
@text_color = args[:text_color] if args.key?(:text_color)
|
|
8080
8067
|
end
|
|
8081
8068
|
end
|
|
8082
8069
|
end
|