google-apis-youtube_v3 0.43.0 → 0.45.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: a288768ac37c0a9806fd2506a979b1bde45377892ed40041894146f3d9459c8a
4
- data.tar.gz: 005ec094dd8b3a970c42ec3ded5f227632708eb96fb9638a4fbfc0d7477289d2
3
+ metadata.gz: 7382914ddc4ce79ba072677232d964f4a5ad701f7895e022b69d96f9947ce83b
4
+ data.tar.gz: 887e0339d34d3824960515a5f754e83d4958c8ad96f4bd2ed9695dcfb1e1b849
5
5
  SHA512:
6
- metadata.gz: 26014e6f18ccf5f1e0fbd1061e0529f399789fc0fbe19e0d7a8f3e8fa6cde39b986be7a30700df9b014d1209a6d1569c270314bd088d95cf17ccd3f323cd27aa
7
- data.tar.gz: 844bddba52df02bd840d182255b16d8eb807c3908954de5762473a6383337f603dfbd5baa84464d1ed925f497e2dbba3a79b6a7664d362aec64cca09382b80bc
6
+ metadata.gz: 7c1cb31cd8c22b5b18b3e5094589ea4f666fb80ab2c07bd6d194be7776c1d5992fd1601c6a8dd46dae7fdcf05ef67d5e38aa646bee9bf8d581c92c9dad7dcc63
7
+ data.tar.gz: '0398d45c0800d7c26b7bcbdb3562448184086ad6e20bc1562be2da489315aea46c6a1f5fd37b8c08f61eaca5e1ea417b78af9bcebd5935e297c688226859ca3e'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.45.0 (2024-09-22)
4
+
5
+ * Regenerated from discovery document revision 20240916
6
+
7
+ ### v0.44.0 (2024-09-15)
8
+
9
+ * Regenerated from discovery document revision 20240909
10
+
3
11
  ### v0.43.0 (2024-08-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20240814
@@ -7662,6 +7662,13 @@ module Google
7662
7662
  # @return [Google::Apis::YoutubeV3::VideoMonetizationDetails]
7663
7663
  attr_accessor :monetization_details
7664
7664
 
7665
+ # Details about paid content, such as paid product placement, sponsorships or
7666
+ # endorsement, contained in a YouTube video and a method to inform viewers of
7667
+ # paid promotion. This data can only be retrieved by the video owner.
7668
+ # Corresponds to the JSON property `paidProductPlacementDetails`
7669
+ # @return [Google::Apis::YoutubeV3::VideoPaidProductPlacementDetails]
7670
+ attr_accessor :paid_product_placement_details
7671
+
7665
7672
  # Player to be used for a video playback.
7666
7673
  # Corresponds to the JSON property `player`
7667
7674
  # @return [Google::Apis::YoutubeV3::VideoPlayer]
@@ -7703,7 +7710,7 @@ module Google
7703
7710
  # @return [Google::Apis::YoutubeV3::VideoStatistics]
7704
7711
  attr_accessor :statistics
7705
7712
 
7706
- # Basic details about a video category, such as its localized title. Next Id: 18
7713
+ # Basic details about a video category, such as its localized title. Next Id: 19
7707
7714
  # Corresponds to the JSON property `status`
7708
7715
  # @return [Google::Apis::YoutubeV3::VideoStatus]
7709
7716
  attr_accessor :status
@@ -7734,6 +7741,7 @@ module Google
7734
7741
  @live_streaming_details = args[:live_streaming_details] if args.key?(:live_streaming_details)
7735
7742
  @localizations = args[:localizations] if args.key?(:localizations)
7736
7743
  @monetization_details = args[:monetization_details] if args.key?(:monetization_details)
7744
+ @paid_product_placement_details = args[:paid_product_placement_details] if args.key?(:paid_product_placement_details)
7737
7745
  @player = args[:player] if args.key?(:player)
7738
7746
  @processing_details = args[:processing_details] if args.key?(:processing_details)
7739
7747
  @project_details = args[:project_details] if args.key?(:project_details)
@@ -8627,6 +8635,29 @@ module Google
8627
8635
  end
8628
8636
  end
8629
8637
 
8638
+ # Details about paid content, such as paid product placement, sponsorships or
8639
+ # endorsement, contained in a YouTube video and a method to inform viewers of
8640
+ # paid promotion. This data can only be retrieved by the video owner.
8641
+ class VideoPaidProductPlacementDetails
8642
+ include Google::Apis::Core::Hashable
8643
+
8644
+ # This boolean represents whether the video contains Paid Product Placement,
8645
+ # Studio equivalent: https://screenshot.googleplex.com/4Me79DE6AfT2ktp.png
8646
+ # Corresponds to the JSON property `hasPaidProductPlacement`
8647
+ # @return [Boolean]
8648
+ attr_accessor :has_paid_product_placement
8649
+ alias_method :has_paid_product_placement?, :has_paid_product_placement
8650
+
8651
+ def initialize(**args)
8652
+ update!(**args)
8653
+ end
8654
+
8655
+ # Update properties of this object
8656
+ def update!(**args)
8657
+ @has_paid_product_placement = args[:has_paid_product_placement] if args.key?(:has_paid_product_placement)
8658
+ end
8659
+ end
8660
+
8630
8661
  # Player to be used for a video playback.
8631
8662
  class VideoPlayer
8632
8663
  include Google::Apis::Core::Hashable
@@ -8986,7 +9017,7 @@ module Google
8986
9017
  end
8987
9018
  end
8988
9019
 
8989
- # Basic details about a video category, such as its localized title. Next Id: 18
9020
+ # Basic details about a video category, such as its localized title. Next Id: 19
8990
9021
  class VideoStatus
8991
9022
  include Google::Apis::Core::Hashable
8992
9023
 
@@ -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.43.0"
19
+ GEM_VERSION = "0.45.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 = "20240814"
25
+ REVISION = "20240916"
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
 
@@ -3237,6 +3243,8 @@ module Google
3237
3243
 
3238
3244
  property :monetization_details, as: 'monetizationDetails', class: Google::Apis::YoutubeV3::VideoMonetizationDetails, decorator: Google::Apis::YoutubeV3::VideoMonetizationDetails::Representation
3239
3245
 
3246
+ property :paid_product_placement_details, as: 'paidProductPlacementDetails', class: Google::Apis::YoutubeV3::VideoPaidProductPlacementDetails, decorator: Google::Apis::YoutubeV3::VideoPaidProductPlacementDetails::Representation
3247
+
3240
3248
  property :player, as: 'player', class: Google::Apis::YoutubeV3::VideoPlayer, decorator: Google::Apis::YoutubeV3::VideoPlayer::Representation
3241
3249
 
3242
3250
  property :processing_details, as: 'processingDetails', class: Google::Apis::YoutubeV3::VideoProcessingDetails, decorator: Google::Apis::YoutubeV3::VideoProcessingDetails::Representation
@@ -3486,6 +3494,13 @@ module Google
3486
3494
  end
3487
3495
  end
3488
3496
 
3497
+ class VideoPaidProductPlacementDetails
3498
+ # @private
3499
+ class Representation < Google::Apis::Core::JsonRepresentation
3500
+ property :has_paid_product_placement, as: 'hasPaidProductPlacement'
3501
+ end
3502
+ end
3503
+
3489
3504
  class VideoPlayer
3490
3505
  # @private
3491
3506
  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.43.0
4
+ version: 0.45.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-08-18 00:00:00.000000000 Z
11
+ date: 2024-09-22 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.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.45.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: []