google-apis-youtube_v3 0.30.0 → 0.31.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: 52c73abcae901f735a4703f3748f43459fd293b092ecb954d59c7bf5c801c870
4
+ data.tar.gz: 1a28878ac3c82b40582a7c99c44272102274001152f61e6ad218553d4d8926d2
5
5
  SHA512:
6
- metadata.gz: 8b20e07434189c63a12a161f1110af5e7f2667f6af52934fb79350ca369d41294fa0a0464ca52ec37a94ccfa4f8fda0766b707b49a1dfe5d4322b7a56b1ba7e9
7
- data.tar.gz: 4f8deee635627eb7069516cafb9e4e063c7ca0fe629b3b0ae55a00d64c0f6418a092a776ce341b3165ba408d273379461f908980e4899e7f08c1b306630ad535
6
+ metadata.gz: 337064ba7b571fa78cb79b74080e3a34cc55b11abc2e70f4d5363c0b36a50358a605d4a78d8c792db5e0c70dcde0173c7c78bd924fd0840c78625bc160ae28e0
7
+ data.tar.gz: 1bc77ad27d1c658777f1a83edda62115aaab5babb6b67dfcfd5a7e09daa8e0c1f98f25b54a7e98fb6facd8e77c4ede527c9f971f427e9ad4f7978c947a98f12a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.31.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230807
6
+
3
7
  ### v0.30.0 (2023-07-16)
4
8
 
5
9
  * 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").
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.31.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 = "20230807"
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
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.31.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-20 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.31.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: []