google-apis-youtube_v3 0.58.0 → 0.60.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: 11b31e042e010ad3c0e2d6a9906044512b74281c5aa9d3d05bf6392174fca932
4
- data.tar.gz: c160b513c2fcecd05d91e3c2397f91df82a2e468b2a85d1301f84d76d2ebe91d
3
+ metadata.gz: 9609f40448cb8e4f60ed0d0e211563e62237d3dead651d111189b5a6f10e62dc
4
+ data.tar.gz: fda7adaef27cd246109e2b698ab92087fe1213474f0b5219d165cf098edee977
5
5
  SHA512:
6
- metadata.gz: 8e66c4db3516cc8f2e58da133b5b952aa88bcdb43b809ac4a48de055fe4c67728c64d99355e5ee3ed29b33d84ae902e43b0de8efc51d36eb8b2750694757a569
7
- data.tar.gz: 8d1cf2604b29c4ab99a00b3798800e8050c7142bcb8056a92fa174012fd6d454937500b161700efa5da50a1d311292f218f2b5a10774866bd361f5eb076beaa9
6
+ metadata.gz: a39670ce77164e9458ace28e7fc99f9fbb252d72f23189bbed0697ec25a5a2657e429d2311e843a7f80ae0a80d6aca89db1b4727dbc0f66da119bb0e71449a02
7
+ data.tar.gz: 1b3c3afc1f821c4d98a6b07a2bc53262cbe401a0813dc6e8bd4906250108d11e028cddce4f3e54df3dba7c936778131145c733bb08a7c2fd43f2a92049d56d77
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.60.0 (2026-01-11)
4
+
5
+ * Regenerated from discovery document revision 20260105
6
+
7
+ ### v0.59.0 (2025-12-21)
8
+
9
+ * Regenerated from discovery document revision 20251217
10
+
3
11
  ### v0.58.0 (2025-11-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20251125
@@ -9064,18 +9064,17 @@ module Google
9064
9064
  # @return [String]
9065
9065
  attr_accessor :etag
9066
9066
 
9067
+ # Output only. The ID that YouTube uses to uniquely identify the video.
9068
+ # Corresponds to the JSON property `id`
9069
+ # @return [String]
9070
+ attr_accessor :id
9071
+
9067
9072
  # Output only. Identifies what kind of resource this is. Value: the fixed string
9068
9073
  # "youtube#videoStats".
9069
9074
  # Corresponds to the JSON property `kind`
9070
9075
  # @return [String]
9071
9076
  attr_accessor :kind
9072
9077
 
9073
- # Output only. Identifier. The resource name for the `VideoStats` resource, in
9074
- # the format `videoStats/`video_stat``.
9075
- # Corresponds to the JSON property `name`
9076
- # @return [String]
9077
- attr_accessor :name
9078
-
9079
9078
  # Basic details about a video. This is a subset of the information in
9080
9079
  # VideoSnippet specifically for the Videos.stats API.
9081
9080
  # Corresponds to the JSON property `snippet`
@@ -9088,11 +9087,6 @@ module Google
9088
9087
  # @return [Google::Apis::YoutubeV3::VideoStatsStatistics]
9089
9088
  attr_accessor :statistics
9090
9089
 
9091
- # Output only. The ID that YouTube uses to uniquely identify the video.
9092
- # Corresponds to the JSON property `videoId`
9093
- # @return [String]
9094
- attr_accessor :video_id
9095
-
9096
9090
  def initialize(**args)
9097
9091
  update!(**args)
9098
9092
  end
@@ -9101,11 +9095,10 @@ module Google
9101
9095
  def update!(**args)
9102
9096
  @content_details = args[:content_details] if args.key?(:content_details)
9103
9097
  @etag = args[:etag] if args.key?(:etag)
9098
+ @id = args[:id] if args.key?(:id)
9104
9099
  @kind = args[:kind] if args.key?(:kind)
9105
- @name = args[:name] if args.key?(:name)
9106
9100
  @snippet = args[:snippet] if args.key?(:snippet)
9107
9101
  @statistics = args[:statistics] if args.key?(:statistics)
9108
- @video_id = args[:video_id] if args.key?(:video_id)
9109
9102
  end
9110
9103
  end
9111
9104
 
@@ -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.58.0"
19
+ GEM_VERSION = "0.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251125"
25
+ REVISION = "20260105"
26
26
  end
27
27
  end
28
28
  end
@@ -3650,13 +3650,12 @@ module Google
3650
3650
  property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::VideoStatsContentDetails, decorator: Google::Apis::YoutubeV3::VideoStatsContentDetails::Representation
3651
3651
 
3652
3652
  property :etag, as: 'etag'
3653
+ property :id, as: 'id'
3653
3654
  property :kind, as: 'kind'
3654
- property :name, as: 'name'
3655
3655
  property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::VideoStatsSnippet, decorator: Google::Apis::YoutubeV3::VideoStatsSnippet::Representation
3656
3656
 
3657
3657
  property :statistics, as: 'statistics', class: Google::Apis::YoutubeV3::VideoStatsStatistics, decorator: Google::Apis::YoutubeV3::VideoStatsStatistics::Representation
3658
3658
 
3659
- property :video_id, as: 'videoId'
3660
3659
  end
3661
3660
  end
3662
3661
 
@@ -4244,6 +4244,9 @@ module Google
4244
4244
  end
4245
4245
 
4246
4246
  # Retrieves a batch of VideoStat resources, possibly filtered.
4247
+ # @param [Array<String>, String] id
4248
+ # Required. Return videos with the given ids. The number of IDs specified cannot
4249
+ # exceed 50.
4247
4250
  # @param [String] on_behalf_of_content_owner
4248
4251
  # Optional. **Note:** This parameter is intended exclusively for YouTube content
4249
4252
  # partners. The `onBehalfOfContentOwner` parameter indicates that the request's
@@ -4262,8 +4265,6 @@ module Google
4262
4265
  # resource, the `statistics` property contains `view_count` and `like_count`. As
4263
4266
  # such, if you set `**part=snippet**`, the API response will contain all of
4264
4267
  # those properties.
4265
- # @param [Array<String>, String] video_ids
4266
- # Required. Return videos with the given ids.
4267
4268
  # @param [String] fields
4268
4269
  # Selector specifying which fields to include in a partial response.
4269
4270
  # @param [String] quota_user
@@ -4281,13 +4282,13 @@ module Google
4281
4282
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4282
4283
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4283
4284
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4284
- def batch_youtube_v3_video_get_stats(on_behalf_of_content_owner: nil, part: nil, video_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
4285
+ def batch_youtube_v3_video_get_stats(id: nil, on_behalf_of_content_owner: nil, part: nil, fields: nil, quota_user: nil, options: nil, &block)
4285
4286
  command = make_simple_command(:get, 'youtube/v3/videos:batchGetStats', options)
4286
4287
  command.response_representation = Google::Apis::YoutubeV3::BatchGetStatsResponse::Representation
4287
4288
  command.response_class = Google::Apis::YoutubeV3::BatchGetStatsResponse
4289
+ command.query['id'] = id unless id.nil?
4288
4290
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
4289
4291
  command.query['part'] = part unless part.nil?
4290
- command.query['videoIds'] = video_ids unless video_ids.nil?
4291
4292
  command.query['fields'] = fields unless fields.nil?
4292
4293
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4293
4294
  execute_or_queue_command(command, &block)
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.58.0
4
+ version: 0.60.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.58.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.60.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: