Skip to content

Commit a272ab2

Browse files
feat: Automated regeneration of displayvideo v2 client (#13211)
Auto-created at 2023-01-08 10:06:15 +0000 using the toys pull request generator.
1 parent a6c3eb7 commit a272ab2

File tree

5 files changed

+120
-3
lines changed

5 files changed

+120
-3
lines changed

api_names_out.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159174,6 +159174,15 @@
159174159174
"/displayvideo:v2/UserRewardedContentAssignedTargetingOptionDetails/userRewardedContent": user_rewarded_content
159175159175
"/displayvideo:v2/UserRewardedContentTargetingOptionDetails": user_rewarded_content_targeting_option_details
159176159176
"/displayvideo:v2/UserRewardedContentTargetingOptionDetails/userRewardedContent": user_rewarded_content
159177+
"/displayvideo:v2/VideoAdSequenceSettings": video_ad_sequence_settings
159178+
"/displayvideo:v2/VideoAdSequenceSettings/minimumDuration": minimum_duration
159179+
"/displayvideo:v2/VideoAdSequenceSettings/steps": steps
159180+
"/displayvideo:v2/VideoAdSequenceSettings/steps/step": step
159181+
"/displayvideo:v2/VideoAdSequenceStep": video_ad_sequence_step
159182+
"/displayvideo:v2/VideoAdSequenceStep/adGroupId": ad_group_id
159183+
"/displayvideo:v2/VideoAdSequenceStep/interactionType": interaction_type
159184+
"/displayvideo:v2/VideoAdSequenceStep/previousStepId": previous_step_id
159185+
"/displayvideo:v2/VideoAdSequenceStep/stepId": step_id
159177159186
"/displayvideo:v2/VideoPlayerSizeAssignedTargetingOptionDetails": video_player_size_assigned_targeting_option_details
159178159187
"/displayvideo:v2/VideoPlayerSizeAssignedTargetingOptionDetails/videoPlayerSize": video_player_size
159179159188
"/displayvideo:v2/VideoPlayerSizeTargetingOptionDetails": video_player_size_targeting_option_details
@@ -159194,6 +159203,7 @@
159194159203
"/displayvideo:v2/YoutubeAndPartnersSettings/contentCategory": content_category
159195159204
"/displayvideo:v2/YoutubeAndPartnersSettings/inventorySourceSettings": inventory_source_settings
159196159205
"/displayvideo:v2/YoutubeAndPartnersSettings/thirdPartyMeasurementSettings": third_party_measurement_settings
159206+
"/displayvideo:v2/YoutubeAndPartnersSettings/videoAdSequenceSettings": video_ad_sequence_settings
159197159207
"/displayvideo:v2/YoutubeAndPartnersSettings/viewFrequencyCap": view_frequency_cap
159198159208
"/displayvideo:v2/YoutubeAndPartnersThirdPartyMeasurementSettings": youtube_and_partners_third_party_measurement_settings
159199159209
"/displayvideo:v2/YoutubeAndPartnersThirdPartyMeasurementSettings/brandLiftVendorConfigs": brand_lift_vendor_configs

generated/google-apis-displayvideo_v2/CHANGELOG.md

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

3+
### v0.9.0 (2023-01-08)
4+
5+
* Regenerated from discovery document revision 20230105
6+
* Regenerated using generator version 0.11.1
7+
38
### v0.8.0 (2022-12-14)
49

510
* Regenerated from discovery document revision 20221208

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

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10866,6 +10866,69 @@ def update!(**args)
1086610866
end
1086710867
end
1086810868

10869+
# Settings related to VideoAdSequence.
10870+
class VideoAdSequenceSettings
10871+
include Google::Apis::Core::Hashable
10872+
10873+
# The minimum time interval before the same user sees this sequence again.
10874+
# Corresponds to the JSON property `minimumDuration`
10875+
# @return [String]
10876+
attr_accessor :minimum_duration
10877+
10878+
# The steps of which the sequence consists.
10879+
# Corresponds to the JSON property `steps`
10880+
# @return [Array<Google::Apis::DisplayvideoV2::VideoAdSequenceStep>]
10881+
attr_accessor :steps
10882+
10883+
def initialize(**args)
10884+
update!(**args)
10885+
end
10886+
10887+
# Update properties of this object
10888+
def update!(**args)
10889+
@minimum_duration = args[:minimum_duration] if args.key?(:minimum_duration)
10890+
@steps = args[:steps] if args.key?(:steps)
10891+
end
10892+
end
10893+
10894+
# The detail of a single step in a VideoAdSequence.
10895+
class VideoAdSequenceStep
10896+
include Google::Apis::Core::Hashable
10897+
10898+
# The ID of the corresponding ad group of the step.
10899+
# Corresponds to the JSON property `adGroupId`
10900+
# @return [Fixnum]
10901+
attr_accessor :ad_group_id
10902+
10903+
# The interaction on the previous step that will lead the viewer to this step.
10904+
# The first step does not have interaction_type.
10905+
# Corresponds to the JSON property `interactionType`
10906+
# @return [String]
10907+
attr_accessor :interaction_type
10908+
10909+
# The ID of the previous step. The first step does not have previous step.
10910+
# Corresponds to the JSON property `previousStepId`
10911+
# @return [Fixnum]
10912+
attr_accessor :previous_step_id
10913+
10914+
# The ID of the step.
10915+
# Corresponds to the JSON property `stepId`
10916+
# @return [Fixnum]
10917+
attr_accessor :step_id
10918+
10919+
def initialize(**args)
10920+
update!(**args)
10921+
end
10922+
10923+
# Update properties of this object
10924+
def update!(**args)
10925+
@ad_group_id = args[:ad_group_id] if args.key?(:ad_group_id)
10926+
@interaction_type = args[:interaction_type] if args.key?(:interaction_type)
10927+
@previous_step_id = args[:previous_step_id] if args.key?(:previous_step_id)
10928+
@step_id = args[:step_id] if args.key?(:step_id)
10929+
end
10930+
end
10931+
1086910932
# Video player size targeting option details. This will be populated in the
1087010933
# video_player_size_details field when targeting_type is `
1087110934
# TARGETING_TYPE_VIDEO_PLAYER_SIZE`. Explicitly targeting all options is not
@@ -11049,6 +11112,11 @@ class YoutubeAndPartnersSettings
1104911112
# @return [Google::Apis::DisplayvideoV2::YoutubeAndPartnersThirdPartyMeasurementSettings]
1105011113
attr_accessor :third_party_measurement_settings
1105111114

11115+
# Settings related to VideoAdSequence.
11116+
# Corresponds to the JSON property `videoAdSequenceSettings`
11117+
# @return [Google::Apis::DisplayvideoV2::VideoAdSequenceSettings]
11118+
attr_accessor :video_ad_sequence_settings
11119+
1105211120
# Settings that control the number of times a user may be shown with the same ad
1105311121
# during a given time period.
1105411122
# Corresponds to the JSON property `viewFrequencyCap`
@@ -11065,6 +11133,7 @@ def update!(**args)
1106511133
@content_category = args[:content_category] if args.key?(:content_category)
1106611134
@inventory_source_settings = args[:inventory_source_settings] if args.key?(:inventory_source_settings)
1106711135
@third_party_measurement_settings = args[:third_party_measurement_settings] if args.key?(:third_party_measurement_settings)
11136+
@video_ad_sequence_settings = args[:video_ad_sequence_settings] if args.key?(:video_ad_sequence_settings)
1106811137
@view_frequency_cap = args[:view_frequency_cap] if args.key?(:view_frequency_cap)
1106911138
end
1107011139
end

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DisplayvideoV2
1818
# Version of the google-apis-displayvideo_v2 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
22-
GENERATOR_VERSION = "0.11.0"
22+
GENERATOR_VERSION = "0.11.1"
2323

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

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,6 +1738,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
17381738
include Google::Apis::Core::JsonObjectSupport
17391739
end
17401740

1741+
class VideoAdSequenceSettings
1742+
class Representation < Google::Apis::Core::JsonRepresentation; end
1743+
1744+
include Google::Apis::Core::JsonObjectSupport
1745+
end
1746+
1747+
class VideoAdSequenceStep
1748+
class Representation < Google::Apis::Core::JsonRepresentation; end
1749+
1750+
include Google::Apis::Core::JsonObjectSupport
1751+
end
1752+
17411753
class VideoPlayerSizeAssignedTargetingOptionDetails
17421754
class Representation < Google::Apis::Core::JsonRepresentation; end
17431755

@@ -4725,6 +4737,25 @@ class Representation < Google::Apis::Core::JsonRepresentation
47254737
end
47264738
end
47274739

4740+
class VideoAdSequenceSettings
4741+
# @private
4742+
class Representation < Google::Apis::Core::JsonRepresentation
4743+
property :minimum_duration, as: 'minimumDuration'
4744+
collection :steps, as: 'steps', class: Google::Apis::DisplayvideoV2::VideoAdSequenceStep, decorator: Google::Apis::DisplayvideoV2::VideoAdSequenceStep::Representation
4745+
4746+
end
4747+
end
4748+
4749+
class VideoAdSequenceStep
4750+
# @private
4751+
class Representation < Google::Apis::Core::JsonRepresentation
4752+
property :ad_group_id, :numeric_string => true, as: 'adGroupId'
4753+
property :interaction_type, as: 'interactionType'
4754+
property :previous_step_id, :numeric_string => true, as: 'previousStepId'
4755+
property :step_id, :numeric_string => true, as: 'stepId'
4756+
end
4757+
end
4758+
47284759
class VideoPlayerSizeAssignedTargetingOptionDetails
47294760
# @private
47304761
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4780,6 +4811,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
47804811

47814812
property :third_party_measurement_settings, as: 'thirdPartyMeasurementSettings', class: Google::Apis::DisplayvideoV2::YoutubeAndPartnersThirdPartyMeasurementSettings, decorator: Google::Apis::DisplayvideoV2::YoutubeAndPartnersThirdPartyMeasurementSettings::Representation
47824813

4814+
property :video_ad_sequence_settings, as: 'videoAdSequenceSettings', class: Google::Apis::DisplayvideoV2::VideoAdSequenceSettings, decorator: Google::Apis::DisplayvideoV2::VideoAdSequenceSettings::Representation
4815+
47834816
property :view_frequency_cap, as: 'viewFrequencyCap', class: Google::Apis::DisplayvideoV2::FrequencyCap, decorator: Google::Apis::DisplayvideoV2::FrequencyCap::Representation
47844817

47854818
end

0 commit comments

Comments
 (0)