google-apis-youtube_v3 0.44.0 → 0.46.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: dd01d267a17ebedfcb4cf5e17040bbd47fc25ffc41c1b8a7c5cb5f1d3f742e66
4
- data.tar.gz: 78378c324c64347ed3899a44db8b25c66e06f114a920bbcdfb77a3112de4e221
3
+ metadata.gz: 28a1a706e98b0565d6daa480dc47050f05b642f14f84e4ab813c292504db6e5c
4
+ data.tar.gz: 543ac9ef6683bb3dd715f7fb5191d7e6479d097b2d7ac8d2a32ed3f2d19587d5
5
5
  SHA512:
6
- metadata.gz: 98e2aed2620956ea8211f079eee1da9e49473b6e87de115749a34b1919c24e8b84db77a8eade5775e3a972b7cac1143e45006c18346db23342543a9c2a360e2b
7
- data.tar.gz: bac44eb97c66a0cea6ee9cb3820572c7500a5d635b1d36f24238e3a3b251782f388630e240d5cb5ca94faaa5a8c5ab7da722e087d78222b375365312f34df8ec
6
+ metadata.gz: 9c982362b71b9b866aa4f0f32d99fce694c7ed3a1e70e027648cda62c4fd850060285014fa810aae9e6aa23258c5ab9842328f734e14bf89c98eba165756e93a
7
+ data.tar.gz: 8c2c37be13abbdb7d3b3fe3d62d1f46eb3b647e4839ca79bf258a52dd1233ea23721927ea69ce1695f718e858b311f781dad6222e8a45cfc4b5b4d3473b50660
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.46.0 (2024-09-29)
4
+
5
+ * Regenerated from discovery document revision 20240926
6
+
7
+ ### v0.45.0 (2024-09-22)
8
+
9
+ * Regenerated from discovery document revision 20240916
10
+
3
11
  ### v0.44.0 (2024-09-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20240909
@@ -7001,11 +7001,6 @@ module Google
7001
7001
  # @return [String]
7002
7002
  attr_accessor :channel_id
7003
7003
 
7004
- # Channel title for the channel that the subscription belongs to.
7005
- # Corresponds to the JSON property `channelTitle`
7006
- # @return [String]
7007
- attr_accessor :channel_title
7008
-
7009
7004
  # The subscription's details.
7010
7005
  # Corresponds to the JSON property `description`
7011
7006
  # @return [String]
@@ -7038,7 +7033,6 @@ module Google
7038
7033
  # Update properties of this object
7039
7034
  def update!(**args)
7040
7035
  @channel_id = args[:channel_id] if args.key?(:channel_id)
7041
- @channel_title = args[:channel_title] if args.key?(:channel_title)
7042
7036
  @description = args[:description] if args.key?(:description)
7043
7037
  @published_at = args[:published_at] if args.key?(:published_at)
7044
7038
  @resource_id = args[:resource_id] if args.key?(:resource_id)
@@ -7662,6 +7656,13 @@ module Google
7662
7656
  # @return [Google::Apis::YoutubeV3::VideoMonetizationDetails]
7663
7657
  attr_accessor :monetization_details
7664
7658
 
7659
+ # Details about paid content, such as paid product placement, sponsorships or
7660
+ # endorsement, contained in a YouTube video and a method to inform viewers of
7661
+ # paid promotion. This data can only be retrieved by the video owner.
7662
+ # Corresponds to the JSON property `paidProductPlacementDetails`
7663
+ # @return [Google::Apis::YoutubeV3::VideoPaidProductPlacementDetails]
7664
+ attr_accessor :paid_product_placement_details
7665
+
7665
7666
  # Player to be used for a video playback.
7666
7667
  # Corresponds to the JSON property `player`
7667
7668
  # @return [Google::Apis::YoutubeV3::VideoPlayer]
@@ -7734,6 +7735,7 @@ module Google
7734
7735
  @live_streaming_details = args[:live_streaming_details] if args.key?(:live_streaming_details)
7735
7736
  @localizations = args[:localizations] if args.key?(:localizations)
7736
7737
  @monetization_details = args[:monetization_details] if args.key?(:monetization_details)
7738
+ @paid_product_placement_details = args[:paid_product_placement_details] if args.key?(:paid_product_placement_details)
7737
7739
  @player = args[:player] if args.key?(:player)
7738
7740
  @processing_details = args[:processing_details] if args.key?(:processing_details)
7739
7741
  @project_details = args[:project_details] if args.key?(:project_details)
@@ -8627,6 +8629,29 @@ module Google
8627
8629
  end
8628
8630
  end
8629
8631
 
8632
+ # Details about paid content, such as paid product placement, sponsorships or
8633
+ # endorsement, contained in a YouTube video and a method to inform viewers of
8634
+ # paid promotion. This data can only be retrieved by the video owner.
8635
+ class VideoPaidProductPlacementDetails
8636
+ include Google::Apis::Core::Hashable
8637
+
8638
+ # This boolean represents whether the video contains Paid Product Placement,
8639
+ # Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
8640
+ # Corresponds to the JSON property `hasPaidProductPlacement`
8641
+ # @return [Boolean]
8642
+ attr_accessor :has_paid_product_placement
8643
+ alias_method :has_paid_product_placement?, :has_paid_product_placement
8644
+
8645
+ def initialize(**args)
8646
+ update!(**args)
8647
+ end
8648
+
8649
+ # Update properties of this object
8650
+ def update!(**args)
8651
+ @has_paid_product_placement = args[:has_paid_product_placement] if args.key?(:has_paid_product_placement)
8652
+ end
8653
+ end
8654
+
8630
8655
  # Player to be used for a video playback.
8631
8656
  class VideoPlayer
8632
8657
  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.44.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240909"
25
+ REVISION = "20240926"
26
26
  end
27
27
  end
28
28
  end
@@ -1120,6 +1120,12 @@ module Google
1120
1120
  include Google::Apis::Core::JsonObjectSupport
1121
1121
  end
1122
1122
 
1123
+ class VideoPaidProductPlacementDetails
1124
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1125
+
1126
+ include Google::Apis::Core::JsonObjectSupport
1127
+ end
1128
+
1123
1129
  class VideoPlayer
1124
1130
  class Representation < Google::Apis::Core::JsonRepresentation; end
1125
1131
 
@@ -3041,7 +3047,6 @@ module Google
3041
3047
  # @private
3042
3048
  class Representation < Google::Apis::Core::JsonRepresentation
3043
3049
  property :channel_id, as: 'channelId'
3044
- property :channel_title, as: 'channelTitle'
3045
3050
  property :description, as: 'description'
3046
3051
  property :published_at, as: 'publishedAt', type: DateTime
3047
3052
 
@@ -3237,6 +3242,8 @@ module Google
3237
3242
 
3238
3243
  property :monetization_details, as: 'monetizationDetails', class: Google::Apis::YoutubeV3::VideoMonetizationDetails, decorator: Google::Apis::YoutubeV3::VideoMonetizationDetails::Representation
3239
3244
 
3245
+ property :paid_product_placement_details, as: 'paidProductPlacementDetails', class: Google::Apis::YoutubeV3::VideoPaidProductPlacementDetails, decorator: Google::Apis::YoutubeV3::VideoPaidProductPlacementDetails::Representation
3246
+
3240
3247
  property :player, as: 'player', class: Google::Apis::YoutubeV3::VideoPlayer, decorator: Google::Apis::YoutubeV3::VideoPlayer::Representation
3241
3248
 
3242
3249
  property :processing_details, as: 'processingDetails', class: Google::Apis::YoutubeV3::VideoProcessingDetails, decorator: Google::Apis::YoutubeV3::VideoProcessingDetails::Representation
@@ -3486,6 +3493,13 @@ module Google
3486
3493
  end
3487
3494
  end
3488
3495
 
3496
+ class VideoPaidProductPlacementDetails
3497
+ # @private
3498
+ class Representation < Google::Apis::Core::JsonRepresentation
3499
+ property :has_paid_product_placement, as: 'hasPaidProductPlacement'
3500
+ end
3501
+ end
3502
+
3489
3503
  class VideoPlayer
3490
3504
  # @private
3491
3505
  class Representation < Google::Apis::Core::JsonRepresentation
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.44.0
4
+ version: 0.46.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: 2024-09-15 00:00:00.000000000 Z
11
+ date: 2024-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.46.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: []