google-apis-youtube_v3 0.65.0 → 0.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d08e12c748ae2a8f5dc821f801ee9dbe258a504ebb01b1479883d9969b90fb65
4
- data.tar.gz: f895a9d7484128b19a4b45078f7eaeefd429a8e4ab80c73135a8206695f2d67d
3
+ metadata.gz: fe9fed0ae3337fc6306fbd2bd2e7de838aa9961ff8b5b51acd85deb3e50f4695
4
+ data.tar.gz: c4eed728772895c9305d5d48e74b3d5d6555f52c5c91b26e6261404ded1ba8c6
5
5
  SHA512:
6
- metadata.gz: 8cfe7fd659cfbe4793318385c3a6db42a995c0a40068ace3434dfc49409520097f82589ff0b1cd1c59f79ce4c74fc5de34edf4e67e3f7bcdec6b2e775a344756
7
- data.tar.gz: a610ddbcff705ed8722d780b41b0c72542235c2a7ecb36b18835f8a5e557866deb7cee325d12fc0f0a434d9bab250b7ed3767796501eebcc0b08f3973f7ec384
6
+ metadata.gz: 69b28747ab3e16e2b13cf57ef0792905957b0c7c91eb63ac7dd081f0b3d920985016f18bebbea8dca0f7d292bf0d89f2f8fd054a529e0b4aac18e86fa87e2328
7
+ data.tar.gz: 3f0287fb1e9deb2932c8a838b62201027d78450f29af7ef59191c3287d0b0679e3e02ac7d50f3787b334123c7bf7a9390752b9183998f8c63bad46c62587403e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.66.0 (2026-06-14)
4
+
5
+ * Regenerated from discovery document revision 20260608
6
+ * Regenerated using generator version 0.19.0
7
+
3
8
  ### v0.65.0 (2026-05-31)
4
9
 
5
10
  * Regenerated from discovery document revision 20260525
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/youtube/) may provide
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -697,6 +697,42 @@ module Google
697
697
  end
698
698
  end
699
699
 
700
+ # Response for the Videos.stats API. Returns VideoStat information about a batch
701
+ # of videos. VideoStat contains a subset of the information in Video that is
702
+ # relevant to statistics and content details. BatchGetStats is intentionally not
703
+ # atomic to provide a better user experience. BatchGetStatsResponse returns a
704
+ # summary to help users understand the outcome of the operation.
705
+ class BatchGetStatsResponse
706
+ include Google::Apis::Core::Hashable
707
+
708
+ # Etag of this resource.
709
+ # Corresponds to the JSON property `etag`
710
+ # @return [String]
711
+ attr_accessor :etag
712
+
713
+ # The videos' stats information.
714
+ # Corresponds to the JSON property `items`
715
+ # @return [Array<Google::Apis::YoutubeV3::VideoStat>]
716
+ attr_accessor :items
717
+
718
+ # Identifies what kind of resource this is. Value: the fixed string "youtube#
719
+ # batchGetStatsResponse".
720
+ # Corresponds to the JSON property `kind`
721
+ # @return [String]
722
+ attr_accessor :kind
723
+
724
+ def initialize(**args)
725
+ update!(**args)
726
+ end
727
+
728
+ # Update properties of this object
729
+ def update!(**args)
730
+ @etag = args[:etag] if args.key?(:etag)
731
+ @items = args[:items] if args.key?(:items)
732
+ @kind = args[:kind] if args.key?(:kind)
733
+ end
734
+ end
735
+
700
736
  # A *caption* resource represents a YouTube caption track. A caption track is
701
737
  # associated with exactly one YouTube video.
702
738
  class Caption
@@ -1914,6 +1950,44 @@ module Google
1914
1950
  end
1915
1951
  end
1916
1952
 
1953
+ # Information specific to a creator in an affiliate program linked to a YouTube
1954
+ # channel.
1955
+ class ChannelToAffiliateProgramLinkDetails
1956
+ include Google::Apis::Core::Hashable
1957
+
1958
+ # Required. Google Merchant Center ID of the partner.
1959
+ # Corresponds to the JSON property `merchantId`
1960
+ # @return [Fixnum]
1961
+ attr_accessor :merchant_id
1962
+
1963
+ # Required. Affiliate program status.
1964
+ # Corresponds to the JSON property `programStatus`
1965
+ # @return [String]
1966
+ attr_accessor :program_status
1967
+
1968
+ # Optional. Reason for the last update of the affiliate program status.
1969
+ # Corresponds to the JSON property `statusUpdateReason`
1970
+ # @return [String]
1971
+ attr_accessor :status_update_reason
1972
+
1973
+ # Optional. Timestamp when the affiliate program status was last updated.
1974
+ # Corresponds to the JSON property `statusUpdateTime`
1975
+ # @return [String]
1976
+ attr_accessor :status_update_time
1977
+
1978
+ def initialize(**args)
1979
+ update!(**args)
1980
+ end
1981
+
1982
+ # Update properties of this object
1983
+ def update!(**args)
1984
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
1985
+ @program_status = args[:program_status] if args.key?(:program_status)
1986
+ @status_update_reason = args[:status_update_reason] if args.key?(:status_update_reason)
1987
+ @status_update_time = args[:status_update_time] if args.key?(:status_update_time)
1988
+ end
1989
+ end
1990
+
1917
1991
  # Information specific to a store on a merchandising platform linked to a
1918
1992
  # YouTube channel.
1919
1993
  class ChannelToStoreLinkDetails
@@ -7547,6 +7621,12 @@ module Google
7547
7621
  class ThirdPartyLinkSnippet
7548
7622
  include Google::Apis::Core::Hashable
7549
7623
 
7624
+ # Information specific to a creator in an affiliate program linked to a YouTube
7625
+ # channel.
7626
+ # Corresponds to the JSON property `channelToAffiliateProgramLink`
7627
+ # @return [Google::Apis::YoutubeV3::ChannelToAffiliateProgramLinkDetails]
7628
+ attr_accessor :channel_to_affiliate_program_link
7629
+
7550
7630
  # Information specific to a store on a merchandising platform linked to a
7551
7631
  # YouTube channel.
7552
7632
  # Corresponds to the JSON property `channelToStoreLink`
@@ -7564,6 +7644,7 @@ module Google
7564
7644
 
7565
7645
  # Update properties of this object
7566
7646
  def update!(**args)
7647
+ @channel_to_affiliate_program_link = args[:channel_to_affiliate_program_link] if args.key?(:channel_to_affiliate_program_link)
7567
7648
  @channel_to_store_link = args[:channel_to_store_link] if args.key?(:channel_to_store_link)
7568
7649
  @type = args[:type] if args.key?(:type)
7569
7650
  end
@@ -9083,6 +9164,59 @@ module Google
9083
9164
  end
9084
9165
  end
9085
9166
 
9167
+ # A *VideoStat* resource represents a YouTube video's stats.
9168
+ class VideoStat
9169
+ include Google::Apis::Core::Hashable
9170
+
9171
+ # Details about the content of a YouTube Video. This is a subset of the
9172
+ # information in VideoContentDetails specifically for the Videos.stats API.
9173
+ # Corresponds to the JSON property `contentDetails`
9174
+ # @return [Google::Apis::YoutubeV3::VideoStatsContentDetails]
9175
+ attr_accessor :content_details
9176
+
9177
+ # Output only. Etag of this resource.
9178
+ # Corresponds to the JSON property `etag`
9179
+ # @return [String]
9180
+ attr_accessor :etag
9181
+
9182
+ # Output only. The ID that YouTube uses to uniquely identify the video.
9183
+ # Corresponds to the JSON property `id`
9184
+ # @return [String]
9185
+ attr_accessor :id
9186
+
9187
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
9188
+ # "youtube#videoStats".
9189
+ # Corresponds to the JSON property `kind`
9190
+ # @return [String]
9191
+ attr_accessor :kind
9192
+
9193
+ # Basic details about a video. This is a subset of the information in
9194
+ # VideoSnippet specifically for the Videos.stats API.
9195
+ # Corresponds to the JSON property `snippet`
9196
+ # @return [Google::Apis::YoutubeV3::VideoStatsSnippet]
9197
+ attr_accessor :snippet
9198
+
9199
+ # Statistics about the video, such as the number of times the video was viewed
9200
+ # or liked.
9201
+ # Corresponds to the JSON property `statistics`
9202
+ # @return [Google::Apis::YoutubeV3::VideoStatsStatistics]
9203
+ attr_accessor :statistics
9204
+
9205
+ def initialize(**args)
9206
+ update!(**args)
9207
+ end
9208
+
9209
+ # Update properties of this object
9210
+ def update!(**args)
9211
+ @content_details = args[:content_details] if args.key?(:content_details)
9212
+ @etag = args[:etag] if args.key?(:etag)
9213
+ @id = args[:id] if args.key?(:id)
9214
+ @kind = args[:kind] if args.key?(:kind)
9215
+ @snippet = args[:snippet] if args.key?(:snippet)
9216
+ @statistics = args[:statistics] if args.key?(:statistics)
9217
+ end
9218
+ end
9219
+
9086
9220
  # Statistics about the video, such as the number of times the video was viewed
9087
9221
  # or liked.
9088
9222
  class VideoStatistics
@@ -9129,6 +9263,83 @@ module Google
9129
9263
  end
9130
9264
  end
9131
9265
 
9266
+ # Details about the content of a YouTube Video. This is a subset of the
9267
+ # information in VideoContentDetails specifically for the Videos.stats API.
9268
+ class VideoStatsContentDetails
9269
+ include Google::Apis::Core::Hashable
9270
+
9271
+ # Output only. The length of the video. The property value is a [`google.
9272
+ # protobuf.Duration`](https://developers.google.com/protocol-buffers/docs/
9273
+ # reference/google.protobuf#duration) object.
9274
+ # Corresponds to the JSON property `duration`
9275
+ # @return [String]
9276
+ attr_accessor :duration
9277
+
9278
+ def initialize(**args)
9279
+ update!(**args)
9280
+ end
9281
+
9282
+ # Update properties of this object
9283
+ def update!(**args)
9284
+ @duration = args[:duration] if args.key?(:duration)
9285
+ end
9286
+ end
9287
+
9288
+ # Basic details about a video. This is a subset of the information in
9289
+ # VideoSnippet specifically for the Videos.stats API.
9290
+ class VideoStatsSnippet
9291
+ include Google::Apis::Core::Hashable
9292
+
9293
+ # Output only. The date and time that the video was uploaded. The property value
9294
+ # is a [`google.protobuf.Timestamp`](https://developers.google.com/protocol-
9295
+ # buffers/docs/reference/google.protobuf#timestamp) object.
9296
+ # Corresponds to the JSON property `publishTime`
9297
+ # @return [String]
9298
+ attr_accessor :publish_time
9299
+
9300
+ def initialize(**args)
9301
+ update!(**args)
9302
+ end
9303
+
9304
+ # Update properties of this object
9305
+ def update!(**args)
9306
+ @publish_time = args[:publish_time] if args.key?(:publish_time)
9307
+ end
9308
+ end
9309
+
9310
+ # Statistics about the video, such as the number of times the video was viewed
9311
+ # or liked.
9312
+ class VideoStatsStatistics
9313
+ include Google::Apis::Core::Hashable
9314
+
9315
+ # Output only. The number of comments for the video.
9316
+ # Corresponds to the JSON property `commentCount`
9317
+ # @return [Fixnum]
9318
+ attr_accessor :comment_count
9319
+
9320
+ # Output only. The number of users who have indicated that they liked the video
9321
+ # by giving it a positive rating.
9322
+ # Corresponds to the JSON property `likeCount`
9323
+ # @return [Fixnum]
9324
+ attr_accessor :like_count
9325
+
9326
+ # Output only. The number of times the video has been viewed.
9327
+ # Corresponds to the JSON property `viewCount`
9328
+ # @return [Fixnum]
9329
+ attr_accessor :view_count
9330
+
9331
+ def initialize(**args)
9332
+ update!(**args)
9333
+ end
9334
+
9335
+ # Update properties of this object
9336
+ def update!(**args)
9337
+ @comment_count = args[:comment_count] if args.key?(:comment_count)
9338
+ @like_count = args[:like_count] if args.key?(:like_count)
9339
+ @view_count = args[:view_count] if args.key?(:view_count)
9340
+ end
9341
+ end
9342
+
9132
9343
  # Basic details about a video category, such as its localized title. Next Id: 19
9133
9344
  class VideoStatus
9134
9345
  include Google::Apis::Core::Hashable
@@ -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.65.0"
19
+ GEM_VERSION = "0.66.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260525"
25
+ REVISION = "20260608"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class BatchGetStatsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class Caption
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -286,6 +292,12 @@ module Google
286
292
  include Google::Apis::Core::JsonObjectSupport
287
293
  end
288
294
 
295
+ class ChannelToAffiliateProgramLinkDetails
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
289
301
  class ChannelToStoreLinkDetails
290
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
303
 
@@ -1180,12 +1192,36 @@ module Google
1180
1192
  include Google::Apis::Core::JsonObjectSupport
1181
1193
  end
1182
1194
 
1195
+ class VideoStat
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1183
1201
  class VideoStatistics
1184
1202
  class Representation < Google::Apis::Core::JsonRepresentation; end
1185
1203
 
1186
1204
  include Google::Apis::Core::JsonObjectSupport
1187
1205
  end
1188
1206
 
1207
+ class VideoStatsContentDetails
1208
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1209
+
1210
+ include Google::Apis::Core::JsonObjectSupport
1211
+ end
1212
+
1213
+ class VideoStatsSnippet
1214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1215
+
1216
+ include Google::Apis::Core::JsonObjectSupport
1217
+ end
1218
+
1219
+ class VideoStatsStatistics
1220
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1221
+
1222
+ include Google::Apis::Core::JsonObjectSupport
1223
+ end
1224
+
1189
1225
  class VideoStatus
1190
1226
  class Representation < Google::Apis::Core::JsonRepresentation; end
1191
1227
 
@@ -1429,6 +1465,16 @@ module Google
1429
1465
  end
1430
1466
  end
1431
1467
 
1468
+ class BatchGetStatsResponse
1469
+ # @private
1470
+ class Representation < Google::Apis::Core::JsonRepresentation
1471
+ property :etag, as: 'etag'
1472
+ collection :items, as: 'items', class: Google::Apis::YoutubeV3::VideoStat, decorator: Google::Apis::YoutubeV3::VideoStat::Representation
1473
+
1474
+ property :kind, as: 'kind'
1475
+ end
1476
+ end
1477
+
1432
1478
  class Caption
1433
1479
  # @private
1434
1480
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1752,6 +1798,16 @@ module Google
1752
1798
  end
1753
1799
  end
1754
1800
 
1801
+ class ChannelToAffiliateProgramLinkDetails
1802
+ # @private
1803
+ class Representation < Google::Apis::Core::JsonRepresentation
1804
+ property :merchant_id, :numeric_string => true, as: 'merchantId'
1805
+ property :program_status, as: 'programStatus'
1806
+ property :status_update_reason, as: 'statusUpdateReason'
1807
+ property :status_update_time, as: 'statusUpdateTime'
1808
+ end
1809
+ end
1810
+
1755
1811
  class ChannelToStoreLinkDetails
1756
1812
  # @private
1757
1813
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3215,6 +3271,8 @@ module Google
3215
3271
  class ThirdPartyLinkSnippet
3216
3272
  # @private
3217
3273
  class Representation < Google::Apis::Core::JsonRepresentation
3274
+ property :channel_to_affiliate_program_link, as: 'channelToAffiliateProgramLink', class: Google::Apis::YoutubeV3::ChannelToAffiliateProgramLinkDetails, decorator: Google::Apis::YoutubeV3::ChannelToAffiliateProgramLinkDetails::Representation
3275
+
3218
3276
  property :channel_to_store_link, as: 'channelToStoreLink', class: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails, decorator: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails::Representation
3219
3277
 
3220
3278
  property :type, as: 'type'
@@ -3626,6 +3684,21 @@ module Google
3626
3684
  end
3627
3685
  end
3628
3686
 
3687
+ class VideoStat
3688
+ # @private
3689
+ class Representation < Google::Apis::Core::JsonRepresentation
3690
+ property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::VideoStatsContentDetails, decorator: Google::Apis::YoutubeV3::VideoStatsContentDetails::Representation
3691
+
3692
+ property :etag, as: 'etag'
3693
+ property :id, as: 'id'
3694
+ property :kind, as: 'kind'
3695
+ property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::VideoStatsSnippet, decorator: Google::Apis::YoutubeV3::VideoStatsSnippet::Representation
3696
+
3697
+ property :statistics, as: 'statistics', class: Google::Apis::YoutubeV3::VideoStatsStatistics, decorator: Google::Apis::YoutubeV3::VideoStatsStatistics::Representation
3698
+
3699
+ end
3700
+ end
3701
+
3629
3702
  class VideoStatistics
3630
3703
  # @private
3631
3704
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3637,6 +3710,29 @@ module Google
3637
3710
  end
3638
3711
  end
3639
3712
 
3713
+ class VideoStatsContentDetails
3714
+ # @private
3715
+ class Representation < Google::Apis::Core::JsonRepresentation
3716
+ property :duration, as: 'duration'
3717
+ end
3718
+ end
3719
+
3720
+ class VideoStatsSnippet
3721
+ # @private
3722
+ class Representation < Google::Apis::Core::JsonRepresentation
3723
+ property :publish_time, as: 'publishTime'
3724
+ end
3725
+ end
3726
+
3727
+ class VideoStatsStatistics
3728
+ # @private
3729
+ class Representation < Google::Apis::Core::JsonRepresentation
3730
+ property :comment_count, :numeric_string => true, as: 'commentCount'
3731
+ property :like_count, :numeric_string => true, as: 'likeCount'
3732
+ property :view_count, :numeric_string => true, as: 'viewCount'
3733
+ end
3734
+ end
3735
+
3640
3736
  class VideoStatus
3641
3737
  # @private
3642
3738
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3686,6 +3686,58 @@ module Google
3686
3686
  execute_or_queue_command(command, &block)
3687
3687
  end
3688
3688
 
3689
+ # Retrieves a batch of VideoStat resources, possibly filtered. BatchGetStats is
3690
+ # intentionally not atomic to provide a better user experience.
3691
+ # @param [Array<String>, String] id
3692
+ # Required. Return videos with the given ids. The number of IDs specified cannot
3693
+ # exceed 50.
3694
+ # @param [String] on_behalf_of_content_owner
3695
+ # Optional. **Note:** This parameter is intended exclusively for YouTube content
3696
+ # partners. The `onBehalfOfContentOwner` parameter indicates that the request's
3697
+ # authorization credentials identify a YouTube CMS user who is acting on behalf
3698
+ # of the content owner specified in the parameter value. This parameter is
3699
+ # intended for YouTube content partners that own and manage many different
3700
+ # YouTube channels. It allows content owners to authenticate once and get access
3701
+ # to all their video and channel data, without having to provide authentication
3702
+ # credentials for each individual channel. The CMS account that the user
3703
+ # authenticates with must be linked to the specified YouTube content owner.
3704
+ # @param [Array<String>, String] part
3705
+ # Required. The `**part**` parameter specifies a comma-separated list of one or
3706
+ # more `videoStat` resource properties that the API response will include. If
3707
+ # the parameter identifies a property that contains child properties, the child
3708
+ # properties will be included in the response. For example, in a `videoStat`
3709
+ # resource, the `statistics` property contains `view_count` and `like_count`. As
3710
+ # such, if you set `**part=snippet**`, the API response will contain all of
3711
+ # those properties.
3712
+ # @param [String] fields
3713
+ # Selector specifying which fields to include in a partial response.
3714
+ # @param [String] quota_user
3715
+ # Available to use for quota purposes for server-side applications. Can be any
3716
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3717
+ # @param [Google::Apis::RequestOptions] options
3718
+ # Request-specific options
3719
+ #
3720
+ # @yield [result, err] Result & error if block supplied
3721
+ # @yieldparam result [Google::Apis::YoutubeV3::BatchGetStatsResponse] parsed result object
3722
+ # @yieldparam err [StandardError] error object if request failed
3723
+ #
3724
+ # @return [Google::Apis::YoutubeV3::BatchGetStatsResponse]
3725
+ #
3726
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3727
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3728
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3729
+ def batch_video_get_stats(id: nil, on_behalf_of_content_owner: nil, part: nil, fields: nil, quota_user: nil, options: nil, &block)
3730
+ command = make_simple_command(:get, 'youtube/v3/videos:batchGetStats', options)
3731
+ command.response_representation = Google::Apis::YoutubeV3::BatchGetStatsResponse::Representation
3732
+ command.response_class = Google::Apis::YoutubeV3::BatchGetStatsResponse
3733
+ command.query['id'] = id unless id.nil?
3734
+ command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
3735
+ command.query['part'] = part unless part.nil?
3736
+ command.query['fields'] = fields unless fields.nil?
3737
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3738
+ execute_or_queue_command(command, &block)
3739
+ end
3740
+
3689
3741
  # Deletes a resource.
3690
3742
  # @param [String] id
3691
3743
  # @param [String] on_behalf_of_content_owner
@@ -4159,42 +4211,6 @@ module Google
4159
4211
  execute_or_queue_command(command, &block)
4160
4212
  end
4161
4213
 
4162
- # Updates an existing resource.
4163
- # @param [Google::Apis::YoutubeV3::CommentThread] comment_thread_object
4164
- # @param [Array<String>, String] part
4165
- # The *part* parameter specifies a comma-separated list of commentThread
4166
- # resource properties that the API response will include. You must at least
4167
- # include the snippet part in the parameter value since that part contains all
4168
- # of the properties that the API request can update.
4169
- # @param [String] fields
4170
- # Selector specifying which fields to include in a partial response.
4171
- # @param [String] quota_user
4172
- # Available to use for quota purposes for server-side applications. Can be any
4173
- # arbitrary string assigned to a user, but should not exceed 40 characters.
4174
- # @param [Google::Apis::RequestOptions] options
4175
- # Request-specific options
4176
- #
4177
- # @yield [result, err] Result & error if block supplied
4178
- # @yieldparam result [Google::Apis::YoutubeV3::CommentThread] parsed result object
4179
- # @yieldparam err [StandardError] error object if request failed
4180
- #
4181
- # @return [Google::Apis::YoutubeV3::CommentThread]
4182
- #
4183
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4184
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4185
- # @raise [Google::Apis::AuthorizationError] Authorization is required
4186
- def update_youtube_v3_comment_threads(comment_thread_object = nil, part: nil, fields: nil, quota_user: nil, options: nil, &block)
4187
- command = make_simple_command(:put, 'youtube/v3/commentThreads', options)
4188
- command.request_representation = Google::Apis::YoutubeV3::CommentThread::Representation
4189
- command.request_object = comment_thread_object
4190
- command.response_representation = Google::Apis::YoutubeV3::CommentThread::Representation
4191
- command.response_class = Google::Apis::YoutubeV3::CommentThread
4192
- command.query['part'] = part unless part.nil?
4193
- command.query['fields'] = fields unless fields.nil?
4194
- command.query['quotaUser'] = quota_user unless quota_user.nil?
4195
- execute_or_queue_command(command, &block)
4196
- end
4197
-
4198
4214
  # Allows a user to load live chat through a server-streamed RPC.
4199
4215
  # @param [String] hl
4200
4216
  # Specifies the localization language in which the system messages should be
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-youtube_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.65.0
4
+ version: 0.66.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.65.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.66.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="