google-apis-youtube_v3 0.19.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b47f9cdca683ea25264d98a638b7e7543d331d58abc8aa1f926fa5e77ab354d2
4
- data.tar.gz: b91253ea6e764c15dcc5d5c3a6a96647ea3122e9a2a62071e73d3a25be420bc5
3
+ metadata.gz: a88bb8385109c8276c55fd7ccee78505062c3dc30288d51b581939c545112ec1
4
+ data.tar.gz: 03d5c9c39532c20e9519faf629c419f65887978e2e14d9fd69e0fab0fe588e63
5
5
  SHA512:
6
- metadata.gz: 6bc826f70879565ac9f12ffa80b718770f2cd9bde8c126b494e6496e4b6d45cc99072edd57b2be48f0de447026b3f0e91d845ab6f1e7e804e03c990d84b2a48a
7
- data.tar.gz: 1c1e25472c750d58c1751b88758e4276ba71c5c2bc90cdad655a12e1f8ba4ef1d4f1519441bce3d52da1fe83f2f2169760a4fac7de8059df5a1dbf131e16a28e
6
+ metadata.gz: 683856bb993020e9038e9b478cd01791b236b61bccf6ebed00616aae7ade29adc7e90924e8905d6879dc3eb8f7f96de9d166a7f9130aecb890c575a4e3b8993a
7
+ data.tar.gz: 93ca7c0ae0b3efcefa8e00dc6a6fc79700f0a308dc6453ae4992fa65b2997f72b0566e834e432a884f5b06ca382fefe74c76b2d6c371a3d949f1b78d353dbc17
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.22.0 (2022-07-15)
4
+
5
+ * Regenerated from discovery document revision 20220713
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.21.0 (2022-06-30)
9
+
10
+ * Regenerated from discovery document revision 20220628
11
+ * Regenerated using generator version 0.8.0
12
+
13
+ ### v0.20.0 (2022-06-21)
14
+
15
+ * Regenerated using generator version 0.7.0
16
+
3
17
  ### v0.19.0 (2022-06-14)
4
18
 
5
19
  * Regenerated from discovery document revision 20220612
@@ -2877,6 +2877,11 @@ module Google
2877
2877
  # @return [Fixnum]
2878
2878
  attr_accessor :duration_secs
2879
2879
 
2880
+ #
2881
+ # Corresponds to the JSON property `etag`
2882
+ # @return [String]
2883
+ attr_accessor :etag
2884
+
2880
2885
  # The identifier for cuepoint resource.
2881
2886
  # Corresponds to the JSON property `id`
2882
2887
  # @return [String]
@@ -2902,6 +2907,7 @@ module Google
2902
2907
  def update!(**args)
2903
2908
  @cue_type = args[:cue_type] if args.key?(:cue_type)
2904
2909
  @duration_secs = args[:duration_secs] if args.key?(:duration_secs)
2910
+ @etag = args[:etag] if args.key?(:etag)
2905
2911
  @id = args[:id] if args.key?(:id)
2906
2912
  @insertion_offset_time_ms = args[:insertion_offset_time_ms] if args.key?(:insertion_offset_time_ms)
2907
2913
  @walltime_ms = args[:walltime_ms] if args.key?(:walltime_ms)
@@ -7373,7 +7379,7 @@ module Google
7373
7379
  # @return [Google::Apis::YoutubeV3::VideoStatistics]
7374
7380
  attr_accessor :statistics
7375
7381
 
7376
- # Basic details about a video category, such as its localized title. Next Id: 17
7382
+ # Basic details about a video category, such as its localized title. Next Id: 18
7377
7383
  # Corresponds to the JSON property `status`
7378
7384
  # @return [Google::Apis::YoutubeV3::VideoStatus]
7379
7385
  attr_accessor :status
@@ -8656,7 +8662,7 @@ module Google
8656
8662
  end
8657
8663
  end
8658
8664
 
8659
- # Basic details about a video category, such as its localized title. Next Id: 17
8665
+ # Basic details about a video category, such as its localized title. Next Id: 18
8660
8666
  class VideoStatus
8661
8667
  include Google::Apis::Core::Hashable
8662
8668
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module YoutubeV3
18
18
  # Version of the google-apis-youtube_v3 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.6.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220612"
25
+ REVISION = "20220713"
26
26
  end
27
27
  end
28
28
  end
@@ -1882,6 +1882,7 @@ module Google
1882
1882
  class Representation < Google::Apis::Core::JsonRepresentation
1883
1883
  property :cue_type, as: 'cueType'
1884
1884
  property :duration_secs, as: 'durationSecs'
1885
+ property :etag, as: 'etag'
1885
1886
  property :id, as: 'id'
1886
1887
  property :insertion_offset_time_ms, :numeric_string => true, as: 'insertionOffsetTimeMs'
1887
1888
  property :walltime_ms, :numeric_string => true, as: 'walltimeMs'
@@ -1394,6 +1394,73 @@ module Google
1394
1394
  execute_or_queue_command(command, &block)
1395
1395
  end
1396
1396
 
1397
+ # Insert cuepoints in a broadcast
1398
+ # @param [Google::Apis::YoutubeV3::Cuepoint] cuepoint_object
1399
+ # @param [String] id
1400
+ # Broadcast to insert ads to, or equivalently `external_video_id` for internal
1401
+ # use.
1402
+ # @param [String] on_behalf_of_content_owner
1403
+ # *Note:* This parameter is intended exclusively for YouTube content partners.
1404
+ # The *onBehalfOfContentOwner* parameter indicates that the request's
1405
+ # authorization credentials identify a YouTube CMS user who is acting on behalf
1406
+ # of the content owner specified in the parameter value. This parameter is
1407
+ # intended for YouTube content partners that own and manage many different
1408
+ # YouTube channels. It allows content owners to authenticate once and get access
1409
+ # to all their video and channel data, without having to provide authentication
1410
+ # credentials for each individual channel. The CMS account that the user
1411
+ # authenticates with must be linked to the specified YouTube content owner.
1412
+ # @param [String] on_behalf_of_content_owner_channel
1413
+ # This parameter can only be used in a properly authorized request. *Note:* This
1414
+ # parameter is intended exclusively for YouTube content partners. The *
1415
+ # onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
1416
+ # the channel to which a video is being added. This parameter is required when a
1417
+ # request specifies a value for the onBehalfOfContentOwner parameter, and it can
1418
+ # only be used in conjunction with that parameter. In addition, the request must
1419
+ # be authorized using a CMS account that is linked to the content owner that the
1420
+ # onBehalfOfContentOwner parameter specifies. Finally, the channel that the
1421
+ # onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
1422
+ # content owner that the onBehalfOfContentOwner parameter specifies. This
1423
+ # parameter is intended for YouTube content partners that own and manage many
1424
+ # different YouTube channels. It allows content owners to authenticate once and
1425
+ # perform actions on behalf of the channel specified in the parameter value,
1426
+ # without having to provide authentication credentials for each separate channel.
1427
+ # @param [Array<String>, String] part
1428
+ # The *part* parameter specifies a comma-separated list of one or more
1429
+ # liveBroadcast resource properties that the API response will include. The part
1430
+ # names that you can include in the parameter value are id, snippet,
1431
+ # contentDetails, and status.
1432
+ # @param [String] fields
1433
+ # Selector specifying which fields to include in a partial response.
1434
+ # @param [String] quota_user
1435
+ # Available to use for quota purposes for server-side applications. Can be any
1436
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1437
+ # @param [Google::Apis::RequestOptions] options
1438
+ # Request-specific options
1439
+ #
1440
+ # @yield [result, err] Result & error if block supplied
1441
+ # @yieldparam result [Google::Apis::YoutubeV3::Cuepoint] parsed result object
1442
+ # @yieldparam err [StandardError] error object if request failed
1443
+ #
1444
+ # @return [Google::Apis::YoutubeV3::Cuepoint]
1445
+ #
1446
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1447
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1448
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1449
+ def insert_live_broadcast_cuepoint(cuepoint_object = nil, id: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, part: nil, fields: nil, quota_user: nil, options: nil, &block)
1450
+ command = make_simple_command(:post, 'youtube/v3/liveBroadcasts/cuepoint', options)
1451
+ command.request_representation = Google::Apis::YoutubeV3::Cuepoint::Representation
1452
+ command.request_object = cuepoint_object
1453
+ command.response_representation = Google::Apis::YoutubeV3::Cuepoint::Representation
1454
+ command.response_class = Google::Apis::YoutubeV3::Cuepoint
1455
+ command.query['id'] = id unless id.nil?
1456
+ command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
1457
+ command.query['onBehalfOfContentOwnerChannel'] = on_behalf_of_content_owner_channel unless on_behalf_of_content_owner_channel.nil?
1458
+ command.query['part'] = part unless part.nil?
1459
+ command.query['fields'] = fields unless fields.nil?
1460
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1461
+ execute_or_queue_command(command, &block)
1462
+ end
1463
+
1397
1464
  # Retrieve the list of broadcasts associated with the given channel.
1398
1465
  # @param [Array<String>, String] part
1399
1466
  # The *part* parameter specifies a comma-separated list of one or more
@@ -3819,86 +3886,6 @@ module Google
3819
3886
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3820
3887
  execute_or_queue_command(command, &block)
3821
3888
  end
3822
-
3823
- # Insert cuepoints in a broadcast
3824
- # @param [String] id
3825
- # Broadcast to insert ads to, or equivalently `external_video_id` for internal
3826
- # use.
3827
- # @param [String] on_behalf_of_content_owner
3828
- # *Note:* This parameter is intended exclusively for YouTube content partners.
3829
- # The *onBehalfOfContentOwner* parameter indicates that the request's
3830
- # authorization credentials identify a YouTube CMS user who is acting on behalf
3831
- # of the content owner specified in the parameter value. This parameter is
3832
- # intended for YouTube content partners that own and manage many different
3833
- # YouTube channels. It allows content owners to authenticate once and get access
3834
- # to all their video and channel data, without having to provide authentication
3835
- # credentials for each individual channel. The CMS account that the user
3836
- # authenticates with must be linked to the specified YouTube content owner.
3837
- # @param [String] on_behalf_of_content_owner_channel
3838
- # This parameter can only be used in a properly authorized request. *Note:* This
3839
- # parameter is intended exclusively for YouTube content partners. The *
3840
- # onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of
3841
- # the channel to which a video is being added. This parameter is required when a
3842
- # request specifies a value for the onBehalfOfContentOwner parameter, and it can
3843
- # only be used in conjunction with that parameter. In addition, the request must
3844
- # be authorized using a CMS account that is linked to the content owner that the
3845
- # onBehalfOfContentOwner parameter specifies. Finally, the channel that the
3846
- # onBehalfOfContentOwnerChannel parameter value specifies must be linked to the
3847
- # content owner that the onBehalfOfContentOwner parameter specifies. This
3848
- # parameter is intended for YouTube content partners that own and manage many
3849
- # different YouTube channels. It allows content owners to authenticate once and
3850
- # perform actions on behalf of the channel specified in the parameter value,
3851
- # without having to provide authentication credentials for each separate channel.
3852
- # @param [Array<String>, String] part
3853
- # The *part* parameter specifies a comma-separated list of one or more
3854
- # liveBroadcast resource properties that the API response will include. The part
3855
- # names that you can include in the parameter value are id, snippet,
3856
- # contentDetails, and status.
3857
- # @param [String] resource_cue_type
3858
- # @param [Fixnum] resource_duration_secs
3859
- # The duration of this cuepoint.
3860
- # @param [String] resource_id
3861
- # The identifier for cuepoint resource.
3862
- # @param [Fixnum] resource_insertion_offset_time_ms
3863
- # The time when the cuepoint should be inserted by offset to the broadcast
3864
- # actual start time.
3865
- # @param [Fixnum] resource_walltime_ms
3866
- # The wall clock time at which the cuepoint should be inserted. Only one of
3867
- # insertion_offset_time_ms and walltime_ms may be set at a time.
3868
- # @param [String] fields
3869
- # Selector specifying which fields to include in a partial response.
3870
- # @param [String] quota_user
3871
- # Available to use for quota purposes for server-side applications. Can be any
3872
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3873
- # @param [Google::Apis::RequestOptions] options
3874
- # Request-specific options
3875
- #
3876
- # @yield [result, err] Result & error if block supplied
3877
- # @yieldparam result [Google::Apis::YoutubeV3::Cuepoint] parsed result object
3878
- # @yieldparam err [StandardError] error object if request failed
3879
- #
3880
- # @return [Google::Apis::YoutubeV3::Cuepoint]
3881
- #
3882
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3883
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3884
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3885
- def create_youtube_v3_live_broadcast_cuepoint(id: nil, on_behalf_of_content_owner: nil, on_behalf_of_content_owner_channel: nil, part: nil, resource_cue_type: nil, resource_duration_secs: nil, resource_id: nil, resource_insertion_offset_time_ms: nil, resource_walltime_ms: nil, fields: nil, quota_user: nil, options: nil, &block)
3886
- command = make_simple_command(:post, 'youtube/v3/liveBroadcasts/cuepoint', options)
3887
- command.response_representation = Google::Apis::YoutubeV3::Cuepoint::Representation
3888
- command.response_class = Google::Apis::YoutubeV3::Cuepoint
3889
- command.query['id'] = id unless id.nil?
3890
- command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
3891
- command.query['onBehalfOfContentOwnerChannel'] = on_behalf_of_content_owner_channel unless on_behalf_of_content_owner_channel.nil?
3892
- command.query['part'] = part unless part.nil?
3893
- command.query['resource.cueType'] = resource_cue_type unless resource_cue_type.nil?
3894
- command.query['resource.durationSecs'] = resource_duration_secs unless resource_duration_secs.nil?
3895
- command.query['resource.id'] = resource_id unless resource_id.nil?
3896
- command.query['resource.insertionOffsetTimeMs'] = resource_insertion_offset_time_ms unless resource_insertion_offset_time_ms.nil?
3897
- command.query['resource.walltimeMs'] = resource_walltime_ms unless resource_walltime_ms.nil?
3898
- command.query['fields'] = fields unless fields.nil?
3899
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3900
- execute_or_queue_command(command, &block)
3901
- end
3902
3889
 
3903
3890
  protected
3904
3891
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-youtube_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-20 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3
63
63
  post_install_message:
64
64
  rdoc_options: []