Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of displayvideo v3 client #20403

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195136,8 +195136,24 @@
"/displayvideo:v3/AdUrl/type": type
"/displayvideo:v3/AdUrl/url": url
"/displayvideo:v3/Adloox": adloox
"/displayvideo:v3/Adloox/adultExplicitSexualContent": adult_explicit_sexual_content
"/displayvideo:v3/Adloox/armsAmmunitionContent": arms_ammunition_content
"/displayvideo:v3/Adloox/crimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent": crime_harmful_acts_individuals_society_human_rights_violations_content
"/displayvideo:v3/Adloox/deathInjuryMilitaryConflictContent": death_injury_military_conflict_content
"/displayvideo:v3/Adloox/debatedSensitiveSocialIssueContent": debated_sensitive_social_issue_content
"/displayvideo:v3/Adloox/displayIabViewability": display_iab_viewability
"/displayvideo:v3/Adloox/excludedAdlooxCategories": excluded_adloox_categories
"/displayvideo:v3/Adloox/excludedAdlooxCategories/excluded_adloox_category": excluded_adloox_category
"/displayvideo:v3/Adloox/excludedFraudIvtMfaCategories": excluded_fraud_ivt_mfa_categories
"/displayvideo:v3/Adloox/excludedFraudIvtMfaCategories/excluded_fraud_ivt_mfa_category": excluded_fraud_ivt_mfa_category
"/displayvideo:v3/Adloox/hateSpeechActsAggressionContent": hate_speech_acts_aggression_content
"/displayvideo:v3/Adloox/illegalDrugsTobaccoEcigarettesVapingAlcoholContent": illegal_drugs_tobacco_ecigarettes_vaping_alcohol_content
"/displayvideo:v3/Adloox/misinformationContent": misinformation_content
"/displayvideo:v3/Adloox/obscenityProfanityContent": obscenity_profanity_content
"/displayvideo:v3/Adloox/onlinePiracyContent": online_piracy_content
"/displayvideo:v3/Adloox/spamHarmfulContent": spam_harmful_content
"/displayvideo:v3/Adloox/terrorismContent": terrorism_content
"/displayvideo:v3/Adloox/videoIabViewability": video_iab_viewability
"/displayvideo:v3/Advertiser": advertiser
"/displayvideo:v3/Advertiser/adServerConfig": ad_server_config
"/displayvideo:v3/Advertiser/advertiserId": advertiser_id
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-displayvideo_v3/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-displayvideo_v3

### v0.20.0 (2024-10-20)

* Regenerated from discovery document revision 20241017

### v0.19.0 (2024-10-06)

* Regenerated from discovery document revision 20241003
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,18 +310,109 @@ def update!(**args)
class Adloox
include Google::Apis::Core::Hashable

# Optional. Adult explicit sexual content.
# Corresponds to the JSON property `adultExplicitSexualContent`
# @return [String]
attr_accessor :adult_explicit_sexual_content

# Optional. Arms ammunition content.
# Corresponds to the JSON property `armsAmmunitionContent`
# @return [String]
attr_accessor :arms_ammunition_content

# Optional. Crime harmful acts to individuals society human rights violations
# content.
# Corresponds to the JSON property `crimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent`
# @return [String]
attr_accessor :crime_harmful_acts_individuals_society_human_rights_violations_content

# Optional. Death injury military conflict content.
# Corresponds to the JSON property `deathInjuryMilitaryConflictContent`
# @return [String]
attr_accessor :death_injury_military_conflict_content

# Optional. Debated sensitive social issue content.
# Corresponds to the JSON property `debatedSensitiveSocialIssueContent`
# @return [String]
attr_accessor :debated_sensitive_social_issue_content

# Optional. Display IAB viewability.
# Corresponds to the JSON property `displayIabViewability`
# @return [String]
attr_accessor :display_iab_viewability

# Adloox's brand safety settings.
# Corresponds to the JSON property `excludedAdlooxCategories`
# @return [Array<String>]
attr_accessor :excluded_adloox_categories

# Optional. Adloox's fraud IVT MFA settings.
# Corresponds to the JSON property `excludedFraudIvtMfaCategories`
# @return [Array<String>]
attr_accessor :excluded_fraud_ivt_mfa_categories

# Optional. Hate speech acts of aggression content.
# Corresponds to the JSON property `hateSpeechActsAggressionContent`
# @return [String]
attr_accessor :hate_speech_acts_aggression_content

# Optional. Illegal drugs tobacco ecigarettes vaping alcohol content.
# Corresponds to the JSON property `illegalDrugsTobaccoEcigarettesVapingAlcoholContent`
# @return [String]
attr_accessor :illegal_drugs_tobacco_ecigarettes_vaping_alcohol_content

# Optional. Misinformation content.
# Corresponds to the JSON property `misinformationContent`
# @return [String]
attr_accessor :misinformation_content

# Optional. Obscenity profanity content.
# Corresponds to the JSON property `obscenityProfanityContent`
# @return [String]
attr_accessor :obscenity_profanity_content

# Optional. Online piracy content.
# Corresponds to the JSON property `onlinePiracyContent`
# @return [String]
attr_accessor :online_piracy_content

# Optional. Spam harmful content.
# Corresponds to the JSON property `spamHarmfulContent`
# @return [String]
attr_accessor :spam_harmful_content

# Optional. Terrorism content.
# Corresponds to the JSON property `terrorismContent`
# @return [String]
attr_accessor :terrorism_content

# Optional. Video IAB viewability.
# Corresponds to the JSON property `videoIabViewability`
# @return [String]
attr_accessor :video_iab_viewability

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@adult_explicit_sexual_content = args[:adult_explicit_sexual_content] if args.key?(:adult_explicit_sexual_content)
@arms_ammunition_content = args[:arms_ammunition_content] if args.key?(:arms_ammunition_content)
@crime_harmful_acts_individuals_society_human_rights_violations_content = args[:crime_harmful_acts_individuals_society_human_rights_violations_content] if args.key?(:crime_harmful_acts_individuals_society_human_rights_violations_content)
@death_injury_military_conflict_content = args[:death_injury_military_conflict_content] if args.key?(:death_injury_military_conflict_content)
@debated_sensitive_social_issue_content = args[:debated_sensitive_social_issue_content] if args.key?(:debated_sensitive_social_issue_content)
@display_iab_viewability = args[:display_iab_viewability] if args.key?(:display_iab_viewability)
@excluded_adloox_categories = args[:excluded_adloox_categories] if args.key?(:excluded_adloox_categories)
@excluded_fraud_ivt_mfa_categories = args[:excluded_fraud_ivt_mfa_categories] if args.key?(:excluded_fraud_ivt_mfa_categories)
@hate_speech_acts_aggression_content = args[:hate_speech_acts_aggression_content] if args.key?(:hate_speech_acts_aggression_content)
@illegal_drugs_tobacco_ecigarettes_vaping_alcohol_content = args[:illegal_drugs_tobacco_ecigarettes_vaping_alcohol_content] if args.key?(:illegal_drugs_tobacco_ecigarettes_vaping_alcohol_content)
@misinformation_content = args[:misinformation_content] if args.key?(:misinformation_content)
@obscenity_profanity_content = args[:obscenity_profanity_content] if args.key?(:obscenity_profanity_content)
@online_piracy_content = args[:online_piracy_content] if args.key?(:online_piracy_content)
@spam_harmful_content = args[:spam_harmful_content] if args.key?(:spam_harmful_content)
@terrorism_content = args[:terrorism_content] if args.key?(:terrorism_content)
@video_iab_viewability = args[:video_iab_viewability] if args.key?(:video_iab_viewability)
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DisplayvideoV3
# Version of the google-apis-displayvideo_v3 gem
GEM_VERSION = "0.19.0"
GEM_VERSION = "0.20.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.1"

# Revision of the discovery document this client was generated from
REVISION = "20241003"
REVISION = "20241017"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -2124,7 +2124,22 @@ class Representation < Google::Apis::Core::JsonRepresentation
class Adloox
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :adult_explicit_sexual_content, as: 'adultExplicitSexualContent'
property :arms_ammunition_content, as: 'armsAmmunitionContent'
property :crime_harmful_acts_individuals_society_human_rights_violations_content, as: 'crimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent'
property :death_injury_military_conflict_content, as: 'deathInjuryMilitaryConflictContent'
property :debated_sensitive_social_issue_content, as: 'debatedSensitiveSocialIssueContent'
property :display_iab_viewability, as: 'displayIabViewability'
collection :excluded_adloox_categories, as: 'excludedAdlooxCategories'
collection :excluded_fraud_ivt_mfa_categories, as: 'excludedFraudIvtMfaCategories'
property :hate_speech_acts_aggression_content, as: 'hateSpeechActsAggressionContent'
property :illegal_drugs_tobacco_ecigarettes_vaping_alcohol_content, as: 'illegalDrugsTobaccoEcigarettesVapingAlcoholContent'
property :misinformation_content, as: 'misinformationContent'
property :obscenity_profanity_content, as: 'obscenityProfanityContent'
property :online_piracy_content, as: 'onlinePiracyContent'
property :spam_harmful_content, as: 'spamHarmfulContent'
property :terrorism_content, as: 'terrorismContent'
property :video_iab_viewability, as: 'videoIabViewability'
end
end

Expand Down
Loading