Skip to content

Commit baab38e

Browse files
feat: Automated regeneration of content v2.1 client (googleapis#21859)
Auto-created at 2025-02-26 21:12:12 +0000 using the toys pull request generator.
1 parent 4e70937 commit baab38e

File tree

5 files changed

+83
-3
lines changed

5 files changed

+83
-3
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127218,6 +127218,7 @@
127218127218
"/content:v2.1/AccountIssue/actions/action": action
127219127219
"/content:v2.1/AccountIssue/impact": impact
127220127220
"/content:v2.1/AccountIssue/prerenderedContent": prerendered_content
127221+
"/content:v2.1/AccountIssue/prerenderedOutOfCourtDisputeSettlement": prerendered_out_of_court_dispute_settlement
127221127222
"/content:v2.1/AccountIssue/title": title
127222127223
"/content:v2.1/AccountIssueImpact": account_issue_impact
127223127224
"/content:v2.1/AccountIssueImpact/breakdowns": breakdowns
@@ -129032,6 +129033,7 @@
129032129033
"/content:v2.1/ProductIssue/actions/action": action
129033129034
"/content:v2.1/ProductIssue/impact": impact
129034129035
"/content:v2.1/ProductIssue/prerenderedContent": prerendered_content
129036+
"/content:v2.1/ProductIssue/prerenderedOutOfCourtDisputeSettlement": prerendered_out_of_court_dispute_settlement
129035129037
"/content:v2.1/ProductIssue/title": title
129036129038
"/content:v2.1/ProductIssueImpact": product_issue_impact
129037129039
"/content:v2.1/ProductIssueImpact/breakdowns": breakdowns

generated/google-apis-content_v2_1/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-content_v2_1
22

3-
### v0.38.0 (2025-01-19)
3+
### v0.38.0 (2025-02-26)
44

5-
* Regenerated from discovery document revision 20250115
5+
* Regenerated from discovery document revision 20250208
66
* Regenerated using generator version 0.16.0
77

88
### v0.37.0 (2024-12-22)

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

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,43 @@ class AccountIssue
677677
# @return [String]
678678
attr_accessor :prerendered_content
679679

680+
# Pre-rendered HTML that contains a link to the external location where the ODS
681+
# can be requested and instructions for how to request it. HTML elements contain
682+
# CSS classes that can be used to customize the style of this snippet. Always
683+
# sanitize the HTML before embedding it directly to your application. The
684+
# sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `
685+
# ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://
686+
# www.npmjs.com/package/dompurify). CSS classes: * `ods-section`* - wrapper
687+
# around the out-of-court dispute resolution section * `ods-description`* -
688+
# intro text for the out-of-court dispute resolution. It may contain multiple
689+
# segments and a link. * `ods-param`* - wrapper around the header-value pair for
690+
# parameters that merchant may need to provide during the ODS process. * `ods-
691+
# routing-id`* - ods param for the Routing ID. * `ods-reference-id`* - ods param
692+
# for the Routing ID. * `ods-param-header`* - header for the ODS parameter * `
693+
# ods-param-value`* - value of the ODS parameter. This value should be rendered
694+
# in a way that it is easy for merchants to identify and copy. * `segment` -
695+
# section of the text, `span` inside paragraph * `segment-attribute` - section
696+
# of the text that represents a product attribute, for example 'image\_link' * `
697+
# segment-literal` - section of the text that contains a special value, for
698+
# example '0-1000 kg' * `segment-bold` - section of the text that should be
699+
# rendered as bold * `segment-italic` - section of the text that should be
700+
# rendered as italic * `tooltip` - used on paragraphs that should be rendered
701+
# with a tooltip. A section of the text in such a paragraph will have a class `
702+
# tooltip-text` and is intended to be shown in a mouse over dialog. If the style
703+
# is not used, the `tooltip-text` section would be shown on a new line, after
704+
# the main part of the text. * `tooltip-text` - marks a section of the text
705+
# within a `tooltip`, that is intended to be shown in a mouse over dialog. * `
706+
# tooltip-icon` - marks a section of the text within a `tooltip`, that can be
707+
# replaced with a tooltip icon, for example '?' or 'i'. By default, this section
708+
# contains a `br` tag, that is separating the main text and the tooltip text
709+
# when the style is not used. * `tooltip-style-question` - the tooltip shows
710+
# helpful information, can use the '?' as an icon. * `tooltip-style-info` - the
711+
# tooltip adds additional information fitting to the context, can use the 'i' as
712+
# an icon.
713+
# Corresponds to the JSON property `prerenderedOutOfCourtDisputeSettlement`
714+
# @return [String]
715+
attr_accessor :prerendered_out_of_court_dispute_settlement
716+
680717
# Title of the issue.
681718
# Corresponds to the JSON property `title`
682719
# @return [String]
@@ -691,6 +728,7 @@ def update!(**args)
691728
@actions = args[:actions] if args.key?(:actions)
692729
@impact = args[:impact] if args.key?(:impact)
693730
@prerendered_content = args[:prerendered_content] if args.key?(:prerendered_content)
731+
@prerendered_out_of_court_dispute_settlement = args[:prerendered_out_of_court_dispute_settlement] if args.key?(:prerendered_out_of_court_dispute_settlement)
694732
@title = args[:title] if args.key?(:title)
695733
end
696734
end
@@ -9664,6 +9702,43 @@ class ProductIssue
96649702
# @return [String]
96659703
attr_accessor :prerendered_content
96669704

9705+
# Pre-rendered HTML that contains a link to the external location where the ODS
9706+
# can be requested and instructions for how to request it. HTML elements contain
9707+
# CSS classes that can be used to customize the style of this snippet. Always
9708+
# sanitize the HTML before embedding it directly to your application. The
9709+
# sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `
9710+
# ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://
9711+
# www.npmjs.com/package/dompurify). CSS classes: * `ods-section`* - wrapper
9712+
# around the out-of-court dispute resolution section * `ods-description`* -
9713+
# intro text for the out-of-court dispute resolution. It may contain multiple
9714+
# segments and a link. * `ods-param`* - wrapper around the header-value pair for
9715+
# parameters that merchant may need to provide during the ODS process. * `ods-
9716+
# routing-id`* - ods param for the Routing ID. * `ods-reference-id`* - ods param
9717+
# for the Routing ID. * `ods-param-header`* - header for the ODS parameter * `
9718+
# ods-param-value`* - value of the ODS parameter. This value should be rendered
9719+
# in a way that it is easy for merchants to identify and copy. * `segment` -
9720+
# section of the text, `span` inside paragraph * `segment-attribute` - section
9721+
# of the text that represents a product attribute, for example 'image\_link' * `
9722+
# segment-literal` - section of the text that contains a special value, for
9723+
# example '0-1000 kg' * `segment-bold` - section of the text that should be
9724+
# rendered as bold * `segment-italic` - section of the text that should be
9725+
# rendered as italic * `tooltip` - used on paragraphs that should be rendered
9726+
# with a tooltip. A section of the text in such a paragraph will have a class `
9727+
# tooltip-text` and is intended to be shown in a mouse over dialog. If the style
9728+
# is not used, the `tooltip-text` section would be shown on a new line, after
9729+
# the main part of the text. * `tooltip-text` - marks a section of the text
9730+
# within a `tooltip`, that is intended to be shown in a mouse over dialog. * `
9731+
# tooltip-icon` - marks a section of the text within a `tooltip`, that can be
9732+
# replaced with a tooltip icon, for example '?' or 'i'. By default, this section
9733+
# contains a `br` tag, that is separating the main text and the tooltip text
9734+
# when the style is not used. * `tooltip-style-question` - the tooltip shows
9735+
# helpful information, can use the '?' as an icon. * `tooltip-style-info` - the
9736+
# tooltip adds additional information fitting to the context, can use the 'i' as
9737+
# an icon.
9738+
# Corresponds to the JSON property `prerenderedOutOfCourtDisputeSettlement`
9739+
# @return [String]
9740+
attr_accessor :prerendered_out_of_court_dispute_settlement
9741+
96679742
# Title of the issue.
96689743
# Corresponds to the JSON property `title`
96699744
# @return [String]
@@ -9678,6 +9753,7 @@ def update!(**args)
96789753
@actions = args[:actions] if args.key?(:actions)
96799754
@impact = args[:impact] if args.key?(:impact)
96809755
@prerendered_content = args[:prerendered_content] if args.key?(:prerendered_content)
9756+
@prerendered_out_of_court_dispute_settlement = args[:prerendered_out_of_court_dispute_settlement] if args.key?(:prerendered_out_of_court_dispute_settlement)
96819757
@title = args[:title] if args.key?(:title)
96829758
end
96839759
end

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ContentV2_1
2222
GENERATOR_VERSION = "0.16.0"
2323

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2180,6 +2180,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
21802180
property :impact, as: 'impact', class: Google::Apis::ContentV2_1::AccountIssueImpact, decorator: Google::Apis::ContentV2_1::AccountIssueImpact::Representation
21812181

21822182
property :prerendered_content, as: 'prerenderedContent'
2183+
property :prerendered_out_of_court_dispute_settlement, as: 'prerenderedOutOfCourtDisputeSettlement'
21832184
property :title, as: 'title'
21842185
end
21852186
end
@@ -4468,6 +4469,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
44684469
property :impact, as: 'impact', class: Google::Apis::ContentV2_1::ProductIssueImpact, decorator: Google::Apis::ContentV2_1::ProductIssueImpact::Representation
44694470

44704471
property :prerendered_content, as: 'prerenderedContent'
4472+
property :prerendered_out_of_court_dispute_settlement, as: 'prerenderedOutOfCourtDisputeSettlement'
44714473
property :title, as: 'title'
44724474
end
44734475
end

0 commit comments

Comments
 (0)