google-apis-youtube_v3 0.2.0 → 0.3.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: 23f7a46764ca65b2ea854272a099427027d0bcaf2f42cde1b7af0e3034d3f6b2
4
- data.tar.gz: 47f9c4e397415c671914258bb0347d27494410ac60b93405ddf41fdfd848677e
3
+ metadata.gz: fe628f1fef8be7d29406c36aebe2c7ac51946188415dd6eb463ffef80f376290
4
+ data.tar.gz: ddc3c849e91bbd9f26dcf1a20fe811028df72ef1b8bcba27d8eeadaf6137643e
5
5
  SHA512:
6
- metadata.gz: 8247cdb8208b632897a2604d077e6e5990d2b1ec17c022e1cd09c664b488eb92c03e873a5f0a29972600fd2efe3548e5f3ade95172e98c6f2cef4527eb8e42a1
7
- data.tar.gz: 97acaebde9f9eeb656395820e266f4c89323053855d9b639b66b7aabb4b923eaf117fbab953bc345a2326dd815191587b1b3098d3a93bd941463347a47ed2c1c
6
+ metadata.gz: 3b0d1d00fe73de1f6a2e6847e6d4d9e1da354a3e7f6316fe5eeb3ae2eeeffc8e0d831e7367dea91c11f0a744fc35790f3a2ce545874d658085a56f41b942612d
7
+ data.tar.gz: c429a3eb39e59c3eba22f930ce76323b67153ec1aa3e420a13bb74c835c37a93ee6f3a0fb143a6828a5142122f8ed56526dae37d1d3a526056088fdbfa8212df
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.3.0 (2021-02-11)
4
+
5
+ * Regenerated from discovery document revision 20210210
6
+
3
7
  ### v0.2.0 (2021-02-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20210130
@@ -5562,7 +5562,7 @@ module Google
5562
5562
  attr_accessor :kind
5563
5563
 
5564
5564
  # Basic details about a playlist, including title, description and thumbnails.
5565
- # Basic details of a YouTube Playlist item provided by the author. Next ID: 13
5565
+ # Basic details of a YouTube Playlist item provided by the author. Next ID: 15
5566
5566
  # Corresponds to the JSON property `snippet`
5567
5567
  # @return [Google::Apis::YoutubeV3::PlaylistItemSnippet]
5568
5568
  attr_accessor :snippet
@@ -5709,7 +5709,7 @@ module Google
5709
5709
  end
5710
5710
 
5711
5711
  # Basic details about a playlist, including title, description and thumbnails.
5712
- # Basic details of a YouTube Playlist item provided by the author. Next ID: 13
5712
+ # Basic details of a YouTube Playlist item provided by the author. Next ID: 15
5713
5713
  class PlaylistItemSnippet
5714
5714
  include Google::Apis::Core::Hashable
5715
5715
 
@@ -5762,6 +5762,16 @@ module Google
5762
5762
  # @return [String]
5763
5763
  attr_accessor :title
5764
5764
 
5765
+ # Channel id for the channel this video belongs to.
5766
+ # Corresponds to the JSON property `videoOwnerChannelId`
5767
+ # @return [String]
5768
+ attr_accessor :video_owner_channel_id
5769
+
5770
+ # Channel title for the channel this video belongs to.
5771
+ # Corresponds to the JSON property `videoOwnerChannelTitle`
5772
+ # @return [String]
5773
+ attr_accessor :video_owner_channel_title
5774
+
5765
5775
  def initialize(**args)
5766
5776
  update!(**args)
5767
5777
  end
@@ -5777,6 +5787,8 @@ module Google
5777
5787
  @resource_id = args[:resource_id] if args.key?(:resource_id)
5778
5788
  @thumbnails = args[:thumbnails] if args.key?(:thumbnails)
5779
5789
  @title = args[:title] if args.key?(:title)
5790
+ @video_owner_channel_id = args[:video_owner_channel_id] if args.key?(:video_owner_channel_id)
5791
+ @video_owner_channel_title = args[:video_owner_channel_title] if args.key?(:video_owner_channel_title)
5780
5792
  end
5781
5793
  end
5782
5794
 
@@ -5954,6 +5966,17 @@ module Google
5954
5966
  # @return [Array<String>]
5955
5967
  attr_accessor :tags
5956
5968
 
5969
+ # Note: if the playlist has a custom thumbnail, this field will not be populated.
5970
+ # The video id selected by the user that will be used as the thumbnail of this
5971
+ # playlist. This field defaults to the first publicly viewable video in the
5972
+ # playlist, if: 1. The user has never selected a video to be the thumbnail of
5973
+ # the playlist. 2. The user selects a video to be the thumbnail, and then
5974
+ # removes that video from the playlist. 3. The user selects a non-owned video to
5975
+ # be the thumbnail, but that video becomes private, or gets deleted.
5976
+ # Corresponds to the JSON property `thumbnailVideoId`
5977
+ # @return [String]
5978
+ attr_accessor :thumbnail_video_id
5979
+
5957
5980
  # Internal representation of thumbnails for a YouTube resource.
5958
5981
  # Corresponds to the JSON property `thumbnails`
5959
5982
  # @return [Google::Apis::YoutubeV3::ThumbnailDetails]
@@ -5977,6 +6000,7 @@ module Google
5977
6000
  @localized = args[:localized] if args.key?(:localized)
5978
6001
  @published_at = args[:published_at] if args.key?(:published_at)
5979
6002
  @tags = args[:tags] if args.key?(:tags)
6003
+ @thumbnail_video_id = args[:thumbnail_video_id] if args.key?(:thumbnail_video_id)
5980
6004
  @thumbnails = args[:thumbnails] if args.key?(:thumbnails)
5981
6005
  @title = args[:title] if args.key?(:title)
5982
6006
  end
@@ -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.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210130"
25
+ REVISION = "20210210"
26
26
  end
27
27
  end
28
28
  end
@@ -2614,6 +2614,8 @@ module Google
2614
2614
  property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
2615
2615
 
2616
2616
  property :title, as: 'title'
2617
+ property :video_owner_channel_id, as: 'videoOwnerChannelId'
2618
+ property :video_owner_channel_title, as: 'videoOwnerChannelTitle'
2617
2619
  end
2618
2620
  end
2619
2621
 
@@ -2669,6 +2671,7 @@ module Google
2669
2671
  property :published_at, as: 'publishedAt', type: DateTime
2670
2672
 
2671
2673
  collection :tags, as: 'tags'
2674
+ property :thumbnail_video_id, as: 'thumbnailVideoId'
2672
2675
  property :thumbnails, as: 'thumbnails', class: Google::Apis::YoutubeV3::ThumbnailDetails, decorator: Google::Apis::YoutubeV3::ThumbnailDetails::Representation
2673
2676
 
2674
2677
  property :title, as: 'title'
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.2.0
4
+ version: 0.3.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: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-youtube_v3/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.3.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-youtube_v3
57
57
  post_install_message:
58
58
  rdoc_options: []