google-apis-youtube_v3 0.30.0 → 0.32.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: 568f7ff62c7b123bcf8f34c724ff00da3fa0d6f15551ff222a418ca98471a283
4
- data.tar.gz: 2ddc2bc9577e9fa7b1515b3a9f4d3ff06cb900aa2ec9f2c0532d8bcb733baf24
3
+ metadata.gz: 4cc56a036fa5aa25127f7fef36d414518c33a8978075046c99208ec482e76e90
4
+ data.tar.gz: 1f00e030f33943525527d6bee5713842b226753b29ae6dc0cfe5037f4df2ff0f
5
5
  SHA512:
6
- metadata.gz: 8b20e07434189c63a12a161f1110af5e7f2667f6af52934fb79350ca369d41294fa0a0464ca52ec37a94ccfa4f8fda0766b707b49a1dfe5d4322b7a56b1ba7e9
7
- data.tar.gz: 4f8deee635627eb7069516cafb9e4e063c7ca0fe629b3b0ae55a00d64c0f6418a092a776ce341b3165ba408d273379461f908980e4899e7f08c1b306630ad535
6
+ metadata.gz: bdcd9211ec4b42d4b06f702cb0a02d6bad46cd6eb5f98a5d8764373fe515dddb123cd39245aa9ad48a14449bbff4cf85aaf353f7637c39c761c55677b3360d94
7
+ data.tar.gz: d3140d6caddea5c6642fcb380b4c2a79308e4969a81e5073b654fbe514ec8ac897c25a6e54e349dbf6e85a0c40cbc32b6bb177a60929cc3c4c88a7da4973a7cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.32.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230822
6
+
7
+ ### v0.31.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230807
10
+
3
11
  ### v0.30.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230711
@@ -2914,6 +2914,46 @@ module Google
2914
2914
  end
2915
2915
  end
2916
2916
 
2917
+ # Schedule to insert cuepoints into a broadcast by ads automator.
2918
+ class CuepointSchedule
2919
+ include Google::Apis::Core::Hashable
2920
+
2921
+ # This field is semantically required. If it is set false or not set, other
2922
+ # fields in this message will be ignored.
2923
+ # Corresponds to the JSON property `enabled`
2924
+ # @return [Boolean]
2925
+ attr_accessor :enabled
2926
+ alias_method :enabled?, :enabled
2927
+
2928
+ # If set, automatic cuepoint insertion is paused until this timestamp ("No Ad
2929
+ # Zone"). The value is specified in ISO 8601 format.
2930
+ # Corresponds to the JSON property `pauseAdsUntil`
2931
+ # @return [String]
2932
+ attr_accessor :pause_ads_until
2933
+
2934
+ # Interval frequency that api uses to insert cuepoints automatically.
2935
+ # Corresponds to the JSON property `repeatInterval`
2936
+ # @return [String]
2937
+ attr_accessor :repeat_interval
2938
+
2939
+ # The strategy to use when scheduling cuepoints.
2940
+ # Corresponds to the JSON property `scheduleStrategy`
2941
+ # @return [String]
2942
+ attr_accessor :schedule_strategy
2943
+
2944
+ def initialize(**args)
2945
+ update!(**args)
2946
+ end
2947
+
2948
+ # Update properties of this object
2949
+ def update!(**args)
2950
+ @enabled = args[:enabled] if args.key?(:enabled)
2951
+ @pause_ads_until = args[:pause_ads_until] if args.key?(:pause_ads_until)
2952
+ @repeat_interval = args[:repeat_interval] if args.key?(:repeat_interval)
2953
+ @schedule_strategy = args[:schedule_strategy] if args.key?(:schedule_strategy)
2954
+ end
2955
+ end
2956
+
2917
2957
  #
2918
2958
  class Entity
2919
2959
  include Google::Apis::Core::Hashable
@@ -3573,6 +3613,11 @@ module Google
3573
3613
  # @return [String]
3574
3614
  attr_accessor :kind
3575
3615
 
3616
+ # Monetization settings of a broadcast.
3617
+ # Corresponds to the JSON property `monetizationDetails`
3618
+ # @return [Google::Apis::YoutubeV3::LiveBroadcastMonetizationDetails]
3619
+ attr_accessor :monetization_details
3620
+
3576
3621
  # Basic broadcast information.
3577
3622
  # Corresponds to the JSON property `snippet`
3578
3623
  # @return [Google::Apis::YoutubeV3::LiveBroadcastSnippet]
@@ -3599,6 +3644,7 @@ module Google
3599
3644
  @etag = args[:etag] if args.key?(:etag)
3600
3645
  @id = args[:id] if args.key?(:id)
3601
3646
  @kind = args[:kind] if args.key?(:kind)
3647
+ @monetization_details = args[:monetization_details] if args.key?(:monetization_details)
3602
3648
  @snippet = args[:snippet] if args.key?(:snippet)
3603
3649
  @statistics = args[:statistics] if args.key?(:statistics)
3604
3650
  @status = args[:status] if args.key?(:status)
@@ -3834,6 +3880,25 @@ module Google
3834
3880
  end
3835
3881
  end
3836
3882
 
3883
+ # Monetization settings of a broadcast.
3884
+ class LiveBroadcastMonetizationDetails
3885
+ include Google::Apis::Core::Hashable
3886
+
3887
+ # Schedule to insert cuepoints into a broadcast by ads automator.
3888
+ # Corresponds to the JSON property `cuepointSchedule`
3889
+ # @return [Google::Apis::YoutubeV3::CuepointSchedule]
3890
+ attr_accessor :cuepoint_schedule
3891
+
3892
+ def initialize(**args)
3893
+ update!(**args)
3894
+ end
3895
+
3896
+ # Update properties of this object
3897
+ def update!(**args)
3898
+ @cuepoint_schedule = args[:cuepoint_schedule] if args.key?(:cuepoint_schedule)
3899
+ end
3900
+ end
3901
+
3837
3902
  # Basic broadcast information.
3838
3903
  class LiveBroadcastSnippet
3839
3904
  include Google::Apis::Core::Hashable
@@ -6229,11 +6294,6 @@ module Google
6229
6294
  class PlaylistStatus
6230
6295
  include Google::Apis::Core::Hashable
6231
6296
 
6232
- #
6233
- # Corresponds to the JSON property `podcastStatus`
6234
- # @return [String]
6235
- attr_accessor :podcast_status
6236
-
6237
6297
  # The playlist's privacy status.
6238
6298
  # Corresponds to the JSON property `privacyStatus`
6239
6299
  # @return [String]
@@ -6245,7 +6305,6 @@ module Google
6245
6305
 
6246
6306
  # Update properties of this object
6247
6307
  def update!(**args)
6248
- @podcast_status = args[:podcast_status] if args.key?(:podcast_status)
6249
6308
  @privacy_status = args[:privacy_status] if args.key?(:privacy_status)
6250
6309
  end
6251
6310
  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.30.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230711"
25
+ REVISION = "20230822"
26
26
  end
27
27
  end
28
28
  end
@@ -358,6 +358,12 @@ module Google
358
358
  include Google::Apis::Core::JsonObjectSupport
359
359
  end
360
360
 
361
+ class CuepointSchedule
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
361
367
  class Entity
362
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
369
 
@@ -466,6 +472,12 @@ module Google
466
472
  include Google::Apis::Core::JsonObjectSupport
467
473
  end
468
474
 
475
+ class LiveBroadcastMonetizationDetails
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
469
481
  class LiveBroadcastSnippet
470
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
483
 
@@ -1889,6 +1901,16 @@ module Google
1889
1901
  end
1890
1902
  end
1891
1903
 
1904
+ class CuepointSchedule
1905
+ # @private
1906
+ class Representation < Google::Apis::Core::JsonRepresentation
1907
+ property :enabled, as: 'enabled'
1908
+ property :pause_ads_until, as: 'pauseAdsUntil'
1909
+ property :repeat_interval, as: 'repeatInterval'
1910
+ property :schedule_strategy, as: 'scheduleStrategy'
1911
+ end
1912
+ end
1913
+
1892
1914
  class Entity
1893
1915
  # @private
1894
1916
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2065,6 +2087,8 @@ module Google
2065
2087
  property :etag, as: 'etag'
2066
2088
  property :id, as: 'id'
2067
2089
  property :kind, as: 'kind'
2090
+ property :monetization_details, as: 'monetizationDetails', class: Google::Apis::YoutubeV3::LiveBroadcastMonetizationDetails, decorator: Google::Apis::YoutubeV3::LiveBroadcastMonetizationDetails::Representation
2091
+
2068
2092
  property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::LiveBroadcastSnippet, decorator: Google::Apis::YoutubeV3::LiveBroadcastSnippet::Representation
2069
2093
 
2070
2094
  property :statistics, as: 'statistics', class: Google::Apis::YoutubeV3::LiveBroadcastStatistics, decorator: Google::Apis::YoutubeV3::LiveBroadcastStatistics::Representation
@@ -2117,6 +2141,14 @@ module Google
2117
2141
  end
2118
2142
  end
2119
2143
 
2144
+ class LiveBroadcastMonetizationDetails
2145
+ # @private
2146
+ class Representation < Google::Apis::Core::JsonRepresentation
2147
+ property :cuepoint_schedule, as: 'cuepointSchedule', class: Google::Apis::YoutubeV3::CuepointSchedule, decorator: Google::Apis::YoutubeV3::CuepointSchedule::Representation
2148
+
2149
+ end
2150
+ end
2151
+
2120
2152
  class LiveBroadcastSnippet
2121
2153
  # @private
2122
2154
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2772,7 +2804,6 @@ module Google
2772
2804
  class PlaylistStatus
2773
2805
  # @private
2774
2806
  class Representation < Google::Apis::Core::JsonRepresentation
2775
- property :podcast_status, as: 'podcastStatus'
2776
2807
  property :privacy_status, as: 'privacyStatus'
2777
2808
  end
2778
2809
  end
@@ -2807,6 +2807,7 @@ module Google
2807
2807
  # Filter on embeddable videos.
2808
2808
  # @param [String] video_license
2809
2809
  # Filter on the license of the videos.
2810
+ # @param [String] video_paid_product_placement
2810
2811
  # @param [String] video_syndicated
2811
2812
  # Filter on syndicated videos.
2812
2813
  # @param [String] video_type
@@ -2828,7 +2829,7 @@ module Google
2828
2829
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2829
2830
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2830
2831
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2831
- def list_searches(part, channel_id: nil, channel_type: nil, event_type: nil, for_content_owner: nil, for_developer: nil, for_mine: nil, location: nil, location_radius: nil, max_results: nil, on_behalf_of_content_owner: nil, order: nil, page_token: nil, published_after: nil, published_before: nil, q: nil, region_code: nil, related_to_video_id: nil, relevance_language: nil, safe_search: nil, topic_id: nil, type: nil, video_caption: nil, video_category_id: nil, video_definition: nil, video_dimension: nil, video_duration: nil, video_embeddable: nil, video_license: nil, video_syndicated: nil, video_type: nil, fields: nil, quota_user: nil, options: nil, &block)
2832
+ def list_searches(part, channel_id: nil, channel_type: nil, event_type: nil, for_content_owner: nil, for_developer: nil, for_mine: nil, location: nil, location_radius: nil, max_results: nil, on_behalf_of_content_owner: nil, order: nil, page_token: nil, published_after: nil, published_before: nil, q: nil, region_code: nil, related_to_video_id: nil, relevance_language: nil, safe_search: nil, topic_id: nil, type: nil, video_caption: nil, video_category_id: nil, video_definition: nil, video_dimension: nil, video_duration: nil, video_embeddable: nil, video_license: nil, video_paid_product_placement: nil, video_syndicated: nil, video_type: nil, fields: nil, quota_user: nil, options: nil, &block)
2832
2833
  command = make_simple_command(:get, 'youtube/v3/search', options)
2833
2834
  command.response_representation = Google::Apis::YoutubeV3::SearchListsResponse::Representation
2834
2835
  command.response_class = Google::Apis::YoutubeV3::SearchListsResponse
@@ -2861,6 +2862,7 @@ module Google
2861
2862
  command.query['videoDuration'] = video_duration unless video_duration.nil?
2862
2863
  command.query['videoEmbeddable'] = video_embeddable unless video_embeddable.nil?
2863
2864
  command.query['videoLicense'] = video_license unless video_license.nil?
2865
+ command.query['videoPaidProductPlacement'] = video_paid_product_placement unless video_paid_product_placement.nil?
2864
2866
  command.query['videoSyndicated'] = video_syndicated unless video_syndicated.nil?
2865
2867
  command.query['videoType'] = video_type unless video_type.nil?
2866
2868
  command.query['fields'] = fields unless fields.nil?
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.30.0
4
+ version: 0.32.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: 2023-07-16 00:00:00.000000000 Z
11
+ date: 2023-08-27 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.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.32.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for YouTube Data API v3 V3