google-apis-youtube_v3 0.67.0 → 0.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b70c8f46e435eb3fd1ea4abb19332b7f04e41948d03ef105e495bd610f5bb00
4
- data.tar.gz: eff35798996027aac9ea9b3dc1f3f6930764d95c044c6c5b230131f82c18e0bd
3
+ metadata.gz: 503a4d42360c14398929c40d588cab10ad658126e0767f050e35ed86955a40ce
4
+ data.tar.gz: 70bb7143c10412385c58af093565095fbb2a456265aae0038ba668fdc632e65a
5
5
  SHA512:
6
- metadata.gz: 723840b00eec2a9b29c3d19b0e56f2b5fc8570eabc42cc486949cf0668ac3a2827e13fcafc9f30b7a7c0aa46e7a091e2adf9e28dd25fd3380cc15b259f0d4155
7
- data.tar.gz: 666af3f5eb87d4582c0de0194ea77c505d1afc7d1b37e3a5394b19b10e2c21d013da77cedefb16b2ea916519da182a513c663279338a140b8c17dde067b1f376
6
+ metadata.gz: a987bfb0340cf38e5efe8a6a897ecdbd80feb45c3ffa2b1096a308a605178ed99c4dd372823cf8356bcd58c4552dd8c24f4c51610e74793784f17287bc89aec0
7
+ data.tar.gz: de22e5880289f09dd62664ef9b5c9c51a41b159ab75a2ba2125c2799d92511157b9144ad4015726e15be7b64a613e95b9355d8913938462c4041b75fe4b9fefa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-youtube_v3
2
2
 
3
+ ### v0.68.0 (2026-08-09)
4
+
5
+ * Regenerated from discovery document revision 20260805
6
+
3
7
  ### v0.67.0 (2026-07-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20260709
@@ -697,6 +697,109 @@ module Google
697
697
  end
698
698
  end
699
699
 
700
+ # Common proto for Live and VOD geo-restrictions
701
+ class AvailabilityConfig
702
+ include Google::Apis::Core::Hashable
703
+
704
+ # Video is available in all regions except the ones specified in the
705
+ # excluded_region_codes list.
706
+ # Corresponds to the JSON property `globalConfig`
707
+ # @return [Google::Apis::YoutubeV3::AvailabilityConfigGlobalConfig]
708
+ attr_accessor :global_config
709
+
710
+ # Video is available in the specified regions only.
711
+ # Corresponds to the JSON property `regionsConfig`
712
+ # @return [Google::Apis::YoutubeV3::AvailabilityConfigRegionsConfig]
713
+ attr_accessor :regions_config
714
+
715
+ def initialize(**args)
716
+ update!(**args)
717
+ end
718
+
719
+ # Update properties of this object
720
+ def update!(**args)
721
+ @global_config = args[:global_config] if args.key?(:global_config)
722
+ @regions_config = args[:regions_config] if args.key?(:regions_config)
723
+ end
724
+ end
725
+
726
+ # Video is available in all regions except the ones specified in the
727
+ # excluded_region_codes list.
728
+ class AvailabilityConfigGlobalConfig
729
+ include Google::Apis::Core::Hashable
730
+
731
+ # Optional. Regions where video is blocked
732
+ # Corresponds to the JSON property `excludedRegionCodes`
733
+ # @return [Array<String>]
734
+ attr_accessor :excluded_region_codes
735
+
736
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
737
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
738
+ # When the start equals the end, the interval is empty (matches no time). When
739
+ # both start and end are unspecified, the interval matches any time.
740
+ # Corresponds to the JSON property `interval`
741
+ # @return [Google::Apis::YoutubeV3::Interval]
742
+ attr_accessor :interval
743
+
744
+ def initialize(**args)
745
+ update!(**args)
746
+ end
747
+
748
+ # Update properties of this object
749
+ def update!(**args)
750
+ @excluded_region_codes = args[:excluded_region_codes] if args.key?(:excluded_region_codes)
751
+ @interval = args[:interval] if args.key?(:interval)
752
+ end
753
+ end
754
+
755
+ # Video is available in the specified regions only.
756
+ class AvailabilityConfigRegionsConfig
757
+ include Google::Apis::Core::Hashable
758
+
759
+ # Required. List of regions and time windows where video is available. If a
760
+ # region is specified multiple times, the union of all intervals is used.
761
+ # Corresponds to the JSON property `regionIntervals`
762
+ # @return [Array<Google::Apis::YoutubeV3::AvailabilityConfigRegionsConfigRegionInterval>]
763
+ attr_accessor :region_intervals
764
+
765
+ def initialize(**args)
766
+ update!(**args)
767
+ end
768
+
769
+ # Update properties of this object
770
+ def update!(**args)
771
+ @region_intervals = args[:region_intervals] if args.key?(:region_intervals)
772
+ end
773
+ end
774
+
775
+ # Region and time window where video is available for the region.
776
+ class AvailabilityConfigRegionsConfigRegionInterval
777
+ include Google::Apis::Core::Hashable
778
+
779
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
780
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
781
+ # When the start equals the end, the interval is empty (matches no time). When
782
+ # both start and end are unspecified, the interval matches any time.
783
+ # Corresponds to the JSON property `interval`
784
+ # @return [Google::Apis::YoutubeV3::Interval]
785
+ attr_accessor :interval
786
+
787
+ # Required. Region where video is available
788
+ # Corresponds to the JSON property `regionCode`
789
+ # @return [String]
790
+ attr_accessor :region_code
791
+
792
+ def initialize(**args)
793
+ update!(**args)
794
+ end
795
+
796
+ # Update properties of this object
797
+ def update!(**args)
798
+ @interval = args[:interval] if args.key?(:interval)
799
+ @region_code = args[:region_code] if args.key?(:region_code)
800
+ end
801
+ end
802
+
700
803
  # Response for the Videos.stats API. Returns VideoStat information about a batch
701
804
  # of videos. VideoStat contains a subset of the information in Video that is
702
805
  # relevant to statistics and content details. BatchGetStats is intentionally not
@@ -3609,6 +3712,36 @@ module Google
3609
3712
  end
3610
3713
  end
3611
3714
 
3715
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
3716
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
3717
+ # When the start equals the end, the interval is empty (matches no time). When
3718
+ # both start and end are unspecified, the interval matches any time.
3719
+ class Interval
3720
+ include Google::Apis::Core::Hashable
3721
+
3722
+ # Optional. Exclusive end of the interval. If specified, a Timestamp matching
3723
+ # this interval will have to be before the end.
3724
+ # Corresponds to the JSON property `endTime`
3725
+ # @return [String]
3726
+ attr_accessor :end_time
3727
+
3728
+ # Optional. Inclusive start of the interval. If specified, a Timestamp matching
3729
+ # this interval will have to be the same or after the start.
3730
+ # Corresponds to the JSON property `startTime`
3731
+ # @return [String]
3732
+ attr_accessor :start_time
3733
+
3734
+ def initialize(**args)
3735
+ update!(**args)
3736
+ end
3737
+
3738
+ # Update properties of this object
3739
+ def update!(**args)
3740
+ @end_time = args[:end_time] if args.key?(:end_time)
3741
+ @start_time = args[:start_time] if args.key?(:start_time)
3742
+ end
3743
+ end
3744
+
3612
3745
  # Describes an invideo branding.
3613
3746
  class InvideoBranding
3614
3747
  include Google::Apis::Core::Hashable
@@ -3824,6 +3957,11 @@ module Google
3824
3957
  class LiveBroadcastContentDetails
3825
3958
  include Google::Apis::Core::Hashable
3826
3959
 
3960
+ # Common proto for Live and VOD geo-restrictions
3961
+ # Corresponds to the JSON property `availabilityConfig`
3962
+ # @return [Google::Apis::YoutubeV3::AvailabilityConfig]
3963
+ attr_accessor :availability_config
3964
+
3827
3965
  # This value uniquely identifies the live stream bound to the broadcast.
3828
3966
  # Corresponds to the JSON property `boundStreamId`
3829
3967
  # @return [String]
@@ -3958,6 +4096,7 @@ module Google
3958
4096
 
3959
4097
  # Update properties of this object
3960
4098
  def update!(**args)
4099
+ @availability_config = args[:availability_config] if args.key?(:availability_config)
3961
4100
  @bound_stream_id = args[:bound_stream_id] if args.key?(:bound_stream_id)
3962
4101
  @bound_stream_last_update_time_ms = args[:bound_stream_last_update_time_ms] if args.key?(:bound_stream_last_update_time_ms)
3963
4102
  @closed_captions_type = args[:closed_captions_type] if args.key?(:closed_captions_type)
@@ -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.67.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260709"
25
+ REVISION = "20260805"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,30 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class AvailabilityConfig
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class AvailabilityConfigGlobalConfig
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class AvailabilityConfigRegionsConfig
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class AvailabilityConfigRegionsConfigRegionInterval
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
133
157
  class BatchGetStatsResponse
134
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
159
 
@@ -454,6 +478,12 @@ module Google
454
478
  include Google::Apis::Core::JsonObjectSupport
455
479
  end
456
480
 
481
+ class Interval
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
457
487
  class InvideoBranding
458
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
489
 
@@ -1471,6 +1501,42 @@ module Google
1471
1501
  end
1472
1502
  end
1473
1503
 
1504
+ class AvailabilityConfig
1505
+ # @private
1506
+ class Representation < Google::Apis::Core::JsonRepresentation
1507
+ property :global_config, as: 'globalConfig', class: Google::Apis::YoutubeV3::AvailabilityConfigGlobalConfig, decorator: Google::Apis::YoutubeV3::AvailabilityConfigGlobalConfig::Representation
1508
+
1509
+ property :regions_config, as: 'regionsConfig', class: Google::Apis::YoutubeV3::AvailabilityConfigRegionsConfig, decorator: Google::Apis::YoutubeV3::AvailabilityConfigRegionsConfig::Representation
1510
+
1511
+ end
1512
+ end
1513
+
1514
+ class AvailabilityConfigGlobalConfig
1515
+ # @private
1516
+ class Representation < Google::Apis::Core::JsonRepresentation
1517
+ collection :excluded_region_codes, as: 'excludedRegionCodes'
1518
+ property :interval, as: 'interval', class: Google::Apis::YoutubeV3::Interval, decorator: Google::Apis::YoutubeV3::Interval::Representation
1519
+
1520
+ end
1521
+ end
1522
+
1523
+ class AvailabilityConfigRegionsConfig
1524
+ # @private
1525
+ class Representation < Google::Apis::Core::JsonRepresentation
1526
+ collection :region_intervals, as: 'regionIntervals', class: Google::Apis::YoutubeV3::AvailabilityConfigRegionsConfigRegionInterval, decorator: Google::Apis::YoutubeV3::AvailabilityConfigRegionsConfigRegionInterval::Representation
1527
+
1528
+ end
1529
+ end
1530
+
1531
+ class AvailabilityConfigRegionsConfigRegionInterval
1532
+ # @private
1533
+ class Representation < Google::Apis::Core::JsonRepresentation
1534
+ property :interval, as: 'interval', class: Google::Apis::YoutubeV3::Interval, decorator: Google::Apis::YoutubeV3::Interval::Representation
1535
+
1536
+ property :region_code, as: 'regionCode'
1537
+ end
1538
+ end
1539
+
1474
1540
  class BatchGetStatsResponse
1475
1541
  # @private
1476
1542
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2192,6 +2258,14 @@ module Google
2192
2258
  end
2193
2259
  end
2194
2260
 
2261
+ class Interval
2262
+ # @private
2263
+ class Representation < Google::Apis::Core::JsonRepresentation
2264
+ property :end_time, as: 'endTime'
2265
+ property :start_time, as: 'startTime'
2266
+ end
2267
+ end
2268
+
2195
2269
  class InvideoBranding
2196
2270
  # @private
2197
2271
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2258,6 +2332,8 @@ module Google
2258
2332
  class LiveBroadcastContentDetails
2259
2333
  # @private
2260
2334
  class Representation < Google::Apis::Core::JsonRepresentation
2335
+ property :availability_config, as: 'availabilityConfig', class: Google::Apis::YoutubeV3::AvailabilityConfig, decorator: Google::Apis::YoutubeV3::AvailabilityConfig::Representation
2336
+
2261
2337
  property :bound_stream_id, as: 'boundStreamId'
2262
2338
  property :bound_stream_last_update_time_ms, as: 'boundStreamLastUpdateTimeMs', type: DateTime
2263
2339
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-youtube_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.68.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.67.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-youtube_v3/v0.68.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-youtube_v3
62
62
  rdoc_options: []
63
63
  require_paths: