Skip to content

Commit 8002e93

Browse files
feat: Automated regeneration of displayvideo v4 client (googleapis#23694)
Auto-created at 2025-07-13 10:39:29 +0000 using the toys pull request generator.
1 parent b80baab commit 8002e93

File tree

5 files changed

+68
-2
lines changed

5 files changed

+68
-2
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219814,6 +219814,10 @@
219814219814
"/displayvideo:v4/UserRewardedContentAssignedTargetingOptionDetails/userRewardedContent": user_rewarded_content
219815219815
"/displayvideo:v4/UserRewardedContentTargetingOptionDetails": user_rewarded_content_targeting_option_details
219816219816
"/displayvideo:v4/UserRewardedContentTargetingOptionDetails/userRewardedContent": user_rewarded_content
219817+
"/displayvideo:v4/VideoAdInventoryControl": video_ad_inventory_control
219818+
"/displayvideo:v4/VideoAdInventoryControl/allowInFeed": allow_in_feed
219819+
"/displayvideo:v4/VideoAdInventoryControl/allowInStream": allow_in_stream
219820+
"/displayvideo:v4/VideoAdInventoryControl/allowShorts": allow_shorts
219817219821
"/displayvideo:v4/VideoAdSequenceSettings": video_ad_sequence_settings
219818219822
"/displayvideo:v4/VideoAdSequenceSettings/minimumDuration": minimum_duration
219819219823
"/displayvideo:v4/VideoAdSequenceSettings/steps": steps
@@ -219876,6 +219880,7 @@
219876219880
"/displayvideo:v4/YoutubeAndPartnersSettings/relatedVideoIds/related_video_id": related_video_id
219877219881
"/displayvideo:v4/YoutubeAndPartnersSettings/targetFrequency": target_frequency
219878219882
"/displayvideo:v4/YoutubeAndPartnersSettings/thirdPartyMeasurementConfigs": third_party_measurement_configs
219883+
"/displayvideo:v4/YoutubeAndPartnersSettings/videoAdInventoryControl": video_ad_inventory_control
219879219884
"/displayvideo:v4/YoutubeAndPartnersSettings/videoAdSequenceSettings": video_ad_sequence_settings
219880219885
"/displayvideo:v4/YoutubeAndPartnersSettings/viewFrequencyCap": view_frequency_cap
219881219886
"/displayvideo:v4/YoutubeChannelAssignedTargetingOptionDetails": youtube_channel_assigned_targeting_option_details

generated/google-apis-displayvideo_v4/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-displayvideo_v4
22

3+
### v0.9.0 (2025-07-13)
4+
5+
* Regenerated from discovery document revision 20250709
6+
37
### v0.8.0 (2025-06-29)
48

59
* Regenerated from discovery document revision 20250625

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

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12485,6 +12485,40 @@ def update!(**args)
1248512485
end
1248612486
end
1248712487

12488+
# The video ad inventory control used in certain YouTube line item types.
12489+
class VideoAdInventoryControl
12490+
include Google::Apis::Core::Hashable
12491+
12492+
# Optional. Whether ads can serve as in-feed format.
12493+
# Corresponds to the JSON property `allowInFeed`
12494+
# @return [Boolean]
12495+
attr_accessor :allow_in_feed
12496+
alias_method :allow_in_feed?, :allow_in_feed
12497+
12498+
# Optional. Whether ads can serve as in-stream format.
12499+
# Corresponds to the JSON property `allowInStream`
12500+
# @return [Boolean]
12501+
attr_accessor :allow_in_stream
12502+
alias_method :allow_in_stream?, :allow_in_stream
12503+
12504+
# Optional. Whether ads can serve as shorts format.
12505+
# Corresponds to the JSON property `allowShorts`
12506+
# @return [Boolean]
12507+
attr_accessor :allow_shorts
12508+
alias_method :allow_shorts?, :allow_shorts
12509+
12510+
def initialize(**args)
12511+
update!(**args)
12512+
end
12513+
12514+
# Update properties of this object
12515+
def update!(**args)
12516+
@allow_in_feed = args[:allow_in_feed] if args.key?(:allow_in_feed)
12517+
@allow_in_stream = args[:allow_in_stream] if args.key?(:allow_in_stream)
12518+
@allow_shorts = args[:allow_shorts] if args.key?(:allow_shorts)
12519+
end
12520+
end
12521+
1248812522
# Settings related to VideoAdSequence.
1248912523
class VideoAdSequenceSettings
1249012524
include Google::Apis::Core::Hashable
@@ -12903,6 +12937,11 @@ class YoutubeAndPartnersSettings
1290312937
# @return [Google::Apis::DisplayvideoV4::ThirdPartyMeasurementConfigs]
1290412938
attr_accessor :third_party_measurement_configs
1290512939

12940+
# The video ad inventory control used in certain YouTube line item types.
12941+
# Corresponds to the JSON property `videoAdInventoryControl`
12942+
# @return [Google::Apis::DisplayvideoV4::VideoAdInventoryControl]
12943+
attr_accessor :video_ad_inventory_control
12944+
1290612945
# Settings related to VideoAdSequence.
1290712946
# Corresponds to the JSON property `videoAdSequenceSettings`
1290812947
# @return [Google::Apis::DisplayvideoV4::VideoAdSequenceSettings]
@@ -12928,6 +12967,7 @@ def update!(**args)
1292812967
@related_video_ids = args[:related_video_ids] if args.key?(:related_video_ids)
1292912968
@target_frequency = args[:target_frequency] if args.key?(:target_frequency)
1293012969
@third_party_measurement_configs = args[:third_party_measurement_configs] if args.key?(:third_party_measurement_configs)
12970+
@video_ad_inventory_control = args[:video_ad_inventory_control] if args.key?(:video_ad_inventory_control)
1293112971
@video_ad_sequence_settings = args[:video_ad_sequence_settings] if args.key?(:video_ad_sequence_settings)
1293212972
@view_frequency_cap = args[:view_frequency_cap] if args.key?(:view_frequency_cap)
1293312973
end

generated/google-apis-displayvideo_v4/lib/google/apis/displayvideo_v4/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 DisplayvideoV4
1818
# Version of the google-apis-displayvideo_v4 gem
19-
GEM_VERSION = "0.8.0"
19+
GEM_VERSION = "0.9.0"
2020

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

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

generated/google-apis-displayvideo_v4/lib/google/apis/displayvideo_v4/representations.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1948,6 +1948,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
19481948
include Google::Apis::Core::JsonObjectSupport
19491949
end
19501950

1951+
class VideoAdInventoryControl
1952+
class Representation < Google::Apis::Core::JsonRepresentation; end
1953+
1954+
include Google::Apis::Core::JsonObjectSupport
1955+
end
1956+
19511957
class VideoAdSequenceSettings
19521958
class Representation < Google::Apis::Core::JsonRepresentation; end
19531959

@@ -5401,6 +5407,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
54015407
end
54025408
end
54035409

5410+
class VideoAdInventoryControl
5411+
# @private
5412+
class Representation < Google::Apis::Core::JsonRepresentation
5413+
property :allow_in_feed, as: 'allowInFeed'
5414+
property :allow_in_stream, as: 'allowInStream'
5415+
property :allow_shorts, as: 'allowShorts'
5416+
end
5417+
end
5418+
54045419
class VideoAdSequenceSettings
54055420
# @private
54065421
class Representation < Google::Apis::Core::JsonRepresentation
@@ -5513,6 +5528,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
55135528

55145529
property :third_party_measurement_configs, as: 'thirdPartyMeasurementConfigs', class: Google::Apis::DisplayvideoV4::ThirdPartyMeasurementConfigs, decorator: Google::Apis::DisplayvideoV4::ThirdPartyMeasurementConfigs::Representation
55155530

5531+
property :video_ad_inventory_control, as: 'videoAdInventoryControl', class: Google::Apis::DisplayvideoV4::VideoAdInventoryControl, decorator: Google::Apis::DisplayvideoV4::VideoAdInventoryControl::Representation
5532+
55165533
property :video_ad_sequence_settings, as: 'videoAdSequenceSettings', class: Google::Apis::DisplayvideoV4::VideoAdSequenceSettings, decorator: Google::Apis::DisplayvideoV4::VideoAdSequenceSettings::Representation
55175534

55185535
property :view_frequency_cap, as: 'viewFrequencyCap', class: Google::Apis::DisplayvideoV4::FrequencyCap, decorator: Google::Apis::DisplayvideoV4::FrequencyCap::Representation

0 commit comments

Comments
 (0)