google-apis-youtube_v3 0.58.0 → 0.59.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: 95f06cd93c4c95a77f05f81916c8a3db71c65862d31ad55575e1da6b0eb86d99
4
+ data.tar.gz: 506d15178f46f4f6d6d8aaba4674c81f10c98dd6629ee3b9a72821fc811f8b14
5
5
  SHA512:
6
- metadata.gz: 8e66c4db3516cc8f2e58da133b5b952aa88bcdb43b809ac4a48de055fe4c67728c64d99355e5ee3ed29b33d84ae902e43b0de8efc51d36eb8b2750694757a569
7
- data.tar.gz: 8d1cf2604b29c4ab99a00b3798800e8050c7142bcb8056a92fa174012fd6d454937500b161700efa5da50a1d311292f218f2b5a10774866bd361f5eb076beaa9
6
+ metadata.gz: ad954edf72cc16aaf9f150930073dbaadad23ea1a33887cfb49c79951c5fd800835ab692c289f16f468a453a9d110371071b9d058e3bba77510736c6977811bc
7
+ data.tar.gz: bac35e1b9d3ce472530b6f3bd7afa0cffbd6f264f6fca36f1fc3bb0448938d8d4761666485b89ff4f33a9cd12b68183e7d157859a6dc39dc19c9c45aeddf7a4e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.59.0 (2025-12-21)
4
+
5
+ * Regenerated from discovery document revision 20251217
6
+
3
7
  ### v0.58.0 (2025-11-30)
4
8
 
5
9
  * 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.59.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 = "20251217"
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,8 @@ 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.
4247
4249
  # @param [String] on_behalf_of_content_owner
4248
4250
  # Optional. **Note:** This parameter is intended exclusively for YouTube content
4249
4251
  # partners. The `onBehalfOfContentOwner` parameter indicates that the request's
@@ -4262,8 +4264,6 @@ module Google
4262
4264
  # resource, the `statistics` property contains `view_count` and `like_count`. As
4263
4265
  # such, if you set `**part=snippet**`, the API response will contain all of
4264
4266
  # those properties.
4265
- # @param [Array<String>, String] video_ids
4266
- # Required. Return videos with the given ids.
4267
4267
  # @param [String] fields
4268
4268
  # Selector specifying which fields to include in a partial response.
4269
4269
  # @param [String] quota_user
@@ -4281,13 +4281,13 @@ module Google
4281
4281
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4282
4282
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4283
4283
  # @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)
4284
+ 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
4285
  command = make_simple_command(:get, 'youtube/v3/videos:batchGetStats', options)
4286
4286
  command.response_representation = Google::Apis::YoutubeV3::BatchGetStatsResponse::Representation
4287
4287
  command.response_class = Google::Apis::YoutubeV3::BatchGetStatsResponse
4288
+ command.query['id'] = id unless id.nil?
4288
4289
  command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
4289
4290
  command.query['part'] = part unless part.nil?
4290
- command.query['videoIds'] = video_ids unless video_ids.nil?
4291
4291
  command.query['fields'] = fields unless fields.nil?
4292
4292
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4293
4293
  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.59.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.59.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: