Skip to content

Commit 132fe74

Browse files
feat: Automated regeneration of youtube v3 client (#27598)
Auto-created at 2026-08-09 10:33:01 +0000 using the toys pull request generator.
1 parent 7288c4a commit 132fe74

6 files changed

Lines changed: 275 additions & 39 deletions

File tree

api_names_out.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443134,6 +443134,19 @@
443134443134
"/youtube:v3/ActivitySnippet/thumbnails": thumbnails
443135443135
"/youtube:v3/ActivitySnippet/title": title
443136443136
"/youtube:v3/ActivitySnippet/type": type
443137+
"/youtube:v3/AvailabilityConfig": availability_config
443138+
"/youtube:v3/AvailabilityConfig/globalConfig": global_config
443139+
"/youtube:v3/AvailabilityConfig/regionsConfig": regions_config
443140+
"/youtube:v3/AvailabilityConfigGlobalConfig": availability_config_global_config
443141+
"/youtube:v3/AvailabilityConfigGlobalConfig/excludedRegionCodes": excluded_region_codes
443142+
"/youtube:v3/AvailabilityConfigGlobalConfig/excludedRegionCodes/excluded_region_code": excluded_region_code
443143+
"/youtube:v3/AvailabilityConfigGlobalConfig/interval": interval
443144+
"/youtube:v3/AvailabilityConfigRegionsConfig": availability_config_regions_config
443145+
"/youtube:v3/AvailabilityConfigRegionsConfig/regionIntervals": region_intervals
443146+
"/youtube:v3/AvailabilityConfigRegionsConfig/regionIntervals/region_interval": region_interval
443147+
"/youtube:v3/AvailabilityConfigRegionsConfigRegionInterval": availability_config_regions_config_region_interval
443148+
"/youtube:v3/AvailabilityConfigRegionsConfigRegionInterval/interval": interval
443149+
"/youtube:v3/AvailabilityConfigRegionsConfigRegionInterval/regionCode": region_code
443137443150
"/youtube:v3/BatchGetStatsResponse": batch_get_stats_response
443138443151
"/youtube:v3/BatchGetStatsResponse/etag": etag
443139443152
"/youtube:v3/BatchGetStatsResponse/items": items
@@ -443646,6 +443659,9 @@
443646443659
"/youtube:v3/IngestionInfo/rtmpsBackupIngestionAddress": rtmps_backup_ingestion_address
443647443660
"/youtube:v3/IngestionInfo/rtmpsIngestionAddress": rtmps_ingestion_address
443648443661
"/youtube:v3/IngestionInfo/streamName": stream_name
443662+
"/youtube:v3/Interval": interval
443663+
"/youtube:v3/Interval/endTime": end_time
443664+
"/youtube:v3/Interval/startTime": start_time
443649443665
"/youtube:v3/InvideoBranding": invideo_branding
443650443666
"/youtube:v3/InvideoBranding/imageBytes": image_bytes
443651443667
"/youtube:v3/InvideoBranding/imageUrl": image_url
@@ -443699,6 +443715,7 @@
443699443715
"/youtube:v3/LiveBroadcast/status": status
443700443716
"/youtube:v3/LiveBroadcast/topicDetails": topic_details
443701443717
"/youtube:v3/LiveBroadcastContentDetails": live_broadcast_content_details
443718+
"/youtube:v3/LiveBroadcastContentDetails/availabilityConfig": availability_config
443702443719
"/youtube:v3/LiveBroadcastContentDetails/boundStreamId": bound_stream_id
443703443720
"/youtube:v3/LiveBroadcastContentDetails/boundStreamLastUpdateTimeMs": bound_stream_last_update_time_ms
443704443721
"/youtube:v3/LiveBroadcastContentDetails/closedCaptionsType": closed_captions_type

generated/google-apis-youtube_v3/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-youtube_v3
22

3+
### v0.68.0 (2026-08-09)
4+
5+
* Regenerated from discovery document revision 20260805
6+
37
### v0.67.0 (2026-07-12)
48

59
* Regenerated from discovery document revision 20260709

generated/google-apis-youtube_v3/Gemfile.lock

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
google-apis-youtube_v3 (0.67.0)
4+
google-apis-youtube_v3 (0.68.0)
55
google-apis-core (>= 0.15.0, < 2.a)
66

77
GEM
@@ -97,43 +97,43 @@ DEPENDENCIES
9797
yard (~> 0.9, >= 0.9.25)
9898

9999
CHECKSUMS
100-
addressable (2.9.0)
101-
base64 (0.3.0)
100+
addressable (2.9.0) sha256=7fdf6ac3660f7f4e867a0838be3f6cf722ace541dd97767fa42bc6cfa980c7af
101+
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
102102
bundler (4.0.14) sha256=d09a0a965cf772266a7e49e83610be7c2f4e49e61134c42a56804bb383cc24b8
103-
declarative (0.0.20)
104-
diff-lcs (1.6.2)
105-
faraday (2.14.3)
106-
faraday-follow_redirects (0.5.0)
107-
faraday-net_http (3.4.4)
108-
google-apis-core (1.2.1)
109-
google-apis-youtube_v3 (0.67.0)
110-
google-cloud-env (2.3.1)
111-
google-logging-utils (0.2.0)
112-
googleauth (1.17.1)
113-
json (2.20.0)
114-
jwt (3.2.0)
115-
logger (1.7.0)
116-
mini_mime (1.1.5)
117-
multi_json (1.21.1)
118-
net-http (0.9.1)
119-
opencensus (0.5.0)
120-
os (1.1.4)
121-
pstore (0.2.1)
122-
public_suffix (7.0.5)
123-
rake (13.4.2)
124-
redcarpet (3.6.1)
125-
representable (3.2.0)
126-
retriable (3.8.0)
127-
rspec (3.13.2)
128-
rspec-core (3.13.6)
129-
rspec-expectations (3.13.5)
130-
rspec-mocks (3.13.8)
131-
rspec-support (3.13.7)
132-
signet (0.22.0)
133-
trailblazer-option (0.1.2)
134-
uber (0.1.0)
135-
uri (1.1.1)
136-
yard (0.9.44)
103+
declarative (0.0.20) sha256=8021dd6cb17ab2b61233c56903d3f5a259c5cf43c80ff332d447d395b17d9ff9
104+
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
105+
faraday (2.14.3) sha256=1882247e6766615c8220b4392bf1d27f6ebb63d8e28267587cef1fb0bf37f278
106+
faraday-follow_redirects (0.5.0) sha256=5cde93c894b30943a5d2b93c2fe9284216a6b756f7af406a1e55f211d97d10ad
107+
faraday-net_http (3.4.4) sha256=0e78af151747ed1b00f33e25973b4bc220d7f16c00c39676817c8b12331eb588
108+
google-apis-core (1.2.1) sha256=3739030455277e3be90f2d07321ad4d0bf0d6b1ed820b2d092916d6cdef05337
109+
google-apis-youtube_v3 (0.68.0)
110+
google-cloud-env (2.3.1) sha256=0faac01eb27be78c2591d64433663b1a114f8f7af55a4f819755426cac9178e7
111+
google-logging-utils (0.2.0) sha256=675462b4ea5affa825a3442694ca2d75d0069455a1d0956127207498fca3df7b
112+
googleauth (1.17.1) sha256=0f7e6fc70e204cee1b2d71f1e1de2d3b349d432404197fe68ebf7fa23d0821b9
113+
json (2.20.0) sha256=9362bc6e55a952b056abf9167cf053358181c904cb70cd6eee0808ea830fc32b
114+
jwt (3.2.0) sha256=5419b1fe37b1da0982bd07051f573a8b8789ab724c2aa7e785e4784a3ed217d7
115+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
116+
mini_mime (1.1.5) sha256=8681b7e2e4215f2a159f9400b5816d85e9d8c6c6b491e96a12797e798f8bccef
117+
multi_json (1.21.1) sha256=e6126a31808e3b4d19f483c775ceac34df190dffa62adfb63a165ee14ba68080
118+
net-http (0.9.1) sha256=25ba0b67c63e89df626ed8fac771d0ad24ad151a858af2cc8e6a716ca4336996
119+
opencensus (0.5.0) sha256=0456d1878fd91685c21a4bfa7feac85480a0c3bc969d25550f6d3f36dd75cbba
120+
os (1.1.4) sha256=57816d6a334e7bd6aed048f4b0308226c5fb027433b67d90a9ab435f35108d3f
121+
pstore (0.2.1) sha256=03904d0f2c66579e96d1e6704cdabc0c88df7ea8ed8782d9f3569f6f6c702c1a
122+
public_suffix (7.0.5) sha256=1a8bb08f1bbea19228d3bed6e5ed908d1cb4f7c2726d18bd9cadf60bc676f623
123+
rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701
124+
redcarpet (3.6.1) sha256=d444910e6aa55480c6bcdc0cdb057626e8a32c054c29e793fa642ba2f155f445
125+
representable (3.2.0) sha256=cc29bf7eebc31653586849371a43ffe36c60b54b0a6365b5f7d95ec34d1ebace
126+
retriable (3.8.0) sha256=9f2f1b0207594c7817f17f671587b8ec7587387ac6cebda6c941a802bb98a8e5
127+
rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
128+
rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
129+
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
130+
rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
131+
rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
132+
signet (0.22.0) sha256=b76d495ccb07ad35dbc89f3e920665a9d8ed717141955034005d7843dcfe4780
133+
trailblazer-option (0.1.2) sha256=20e4f12ea4e1f718c8007e7944ca21a329eee4eed9e0fa5dde6e8ad8ac4344a3
134+
uber (0.1.0) sha256=5beeb407ff807b5db994f82fa9ee07cfceaa561dad8af20be880bc67eba935dc
135+
uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6
136+
yard (0.9.44) sha256=eb087e9b631ccd887b049f303d489963945452d5e2a7eb49a5a74a7cf6887f28
137137

138138
BUNDLED WITH
139139
4.0.14

generated/google-apis-youtube_v3/lib/google/apis/youtube_v3/classes.rb

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,109 @@ def update!(**args)
697697
end
698698
end
699699

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+
700803
# Response for the Videos.stats API. Returns VideoStat information about a batch
701804
# of videos. VideoStat contains a subset of the information in Video that is
702805
# relevant to statistics and content details. BatchGetStats is intentionally not
@@ -3609,6 +3712,36 @@ def update!(**args)
36093712
end
36103713
end
36113714

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+
36123745
# Describes an invideo branding.
36133746
class InvideoBranding
36143747
include Google::Apis::Core::Hashable
@@ -3824,6 +3957,11 @@ def update!(**args)
38243957
class LiveBroadcastContentDetails
38253958
include Google::Apis::Core::Hashable
38263959

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+
38273965
# This value uniquely identifies the live stream bound to the broadcast.
38283966
# Corresponds to the JSON property `boundStreamId`
38293967
# @return [String]
@@ -3958,6 +4096,7 @@ def initialize(**args)
39584096

39594097
# Update properties of this object
39604098
def update!(**args)
4099+
@availability_config = args[:availability_config] if args.key?(:availability_config)
39614100
@bound_stream_id = args[:bound_stream_id] if args.key?(:bound_stream_id)
39624101
@bound_stream_last_update_time_ms = args[:bound_stream_last_update_time_ms] if args.key?(:bound_stream_last_update_time_ms)
39634102
@closed_captions_type = args[:closed_captions_type] if args.key?(:closed_captions_type)

generated/google-apis-youtube_v3/lib/google/apis/youtube_v3/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module YoutubeV3
1818
# Version of the google-apis-youtube_v3 gem
19-
GEM_VERSION = "0.67.0"
19+
GEM_VERSION = "0.68.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260709"
25+
REVISION = "20260805"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)