google-apis-content_v2_1 0.36.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b3915fc94feda938afbde96610471671a3b61279a712abfe3f8e075a755d50a
|
4
|
+
data.tar.gz: 1442684436fe0c2c91c0b807f50223d963a7bcb99dfba7546123a19482a59a20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68dfeed87e544b45e86f3ad7bec680859a3a538d3e34e0d119b2557ad9676d5863044446746457060defce87dcbdee5ff6f14ba2eef7ebd682f33b8e3141df84
|
7
|
+
data.tar.gz: '0509e3b6a64149255aff42a96d5f37c29018a3701a8dcd36214307d435583955381ccb8521dea37c851191f4931ac23bf2279a8e05b2332ff09dbc1e457e26b1'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-content_v2_1
|
2
2
|
|
3
|
+
### v0.38.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250208
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.37.0 (2024-12-22)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241217
|
11
|
+
|
3
12
|
### v0.36.0 (2024-11-24)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241120
|
@@ -677,6 +677,43 @@ module Google
|
|
677
677
|
# @return [String]
|
678
678
|
attr_accessor :prerendered_content
|
679
679
|
|
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
|
+
|
680
717
|
# Title of the issue.
|
681
718
|
# Corresponds to the JSON property `title`
|
682
719
|
# @return [String]
|
@@ -691,6 +728,7 @@ module Google
|
|
691
728
|
@actions = args[:actions] if args.key?(:actions)
|
692
729
|
@impact = args[:impact] if args.key?(:impact)
|
693
730
|
@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)
|
694
732
|
@title = args[:title] if args.key?(:title)
|
695
733
|
end
|
696
734
|
end
|
@@ -2389,7 +2427,7 @@ module Google
|
|
2389
2427
|
# @return [Fixnum]
|
2390
2428
|
attr_accessor :attribution_lookback_window_in_days
|
2391
2429
|
|
2392
|
-
#
|
2430
|
+
#
|
2393
2431
|
# Corresponds to the JSON property `attributionModel`
|
2394
2432
|
# @return [String]
|
2395
2433
|
attr_accessor :attribution_model
|
@@ -9171,6 +9209,11 @@ module Google
|
|
9171
9209
|
# @return [Google::Apis::ContentV2_1::ProductSubscriptionCost]
|
9172
9210
|
attr_accessor :subscription_cost
|
9173
9211
|
|
9212
|
+
# Optional. The list of sustainability incentive programs.
|
9213
|
+
# Corresponds to the JSON property `sustainabilityIncentives`
|
9214
|
+
# @return [Array<Google::Apis::ContentV2_1::ProductSustainabilityIncentive>]
|
9215
|
+
attr_accessor :sustainability_incentives
|
9216
|
+
|
9174
9217
|
# Required. The CLDR territory code for the item's country of sale.
|
9175
9218
|
# Corresponds to the JSON property `targetCountry`
|
9176
9219
|
# @return [String]
|
@@ -9313,6 +9356,7 @@ module Google
|
|
9313
9356
|
@structured_description = args[:structured_description] if args.key?(:structured_description)
|
9314
9357
|
@structured_title = args[:structured_title] if args.key?(:structured_title)
|
9315
9358
|
@subscription_cost = args[:subscription_cost] if args.key?(:subscription_cost)
|
9359
|
+
@sustainability_incentives = args[:sustainability_incentives] if args.key?(:sustainability_incentives)
|
9316
9360
|
@target_country = args[:target_country] if args.key?(:target_country)
|
9317
9361
|
@tax_category = args[:tax_category] if args.key?(:tax_category)
|
9318
9362
|
@taxes = args[:taxes] if args.key?(:taxes)
|
@@ -9658,6 +9702,43 @@ module Google
|
|
9658
9702
|
# @return [String]
|
9659
9703
|
attr_accessor :prerendered_content
|
9660
9704
|
|
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
|
+
|
9661
9742
|
# Title of the issue.
|
9662
9743
|
# Corresponds to the JSON property `title`
|
9663
9744
|
# @return [String]
|
@@ -9672,6 +9753,7 @@ module Google
|
|
9672
9753
|
@actions = args[:actions] if args.key?(:actions)
|
9673
9754
|
@impact = args[:impact] if args.key?(:impact)
|
9674
9755
|
@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)
|
9675
9757
|
@title = args[:title] if args.key?(:title)
|
9676
9758
|
end
|
9677
9759
|
end
|
@@ -10153,6 +10235,38 @@ module Google
|
|
10153
10235
|
end
|
10154
10236
|
end
|
10155
10237
|
|
10238
|
+
# Information regarding sustainability related incentive programs such as
|
10239
|
+
# rebates or tax relief.
|
10240
|
+
class ProductSustainabilityIncentive
|
10241
|
+
include Google::Apis::Core::Hashable
|
10242
|
+
|
10243
|
+
# Optional. The fixed amount of the incentive.
|
10244
|
+
# Corresponds to the JSON property `amount`
|
10245
|
+
# @return [Google::Apis::ContentV2_1::Price]
|
10246
|
+
attr_accessor :amount
|
10247
|
+
|
10248
|
+
# Optional. The percentage of the sale price that the incentive is applied to.
|
10249
|
+
# Corresponds to the JSON property `percentage`
|
10250
|
+
# @return [Float]
|
10251
|
+
attr_accessor :percentage
|
10252
|
+
|
10253
|
+
# Required. Sustainability incentive program.
|
10254
|
+
# Corresponds to the JSON property `type`
|
10255
|
+
# @return [String]
|
10256
|
+
attr_accessor :type
|
10257
|
+
|
10258
|
+
def initialize(**args)
|
10259
|
+
update!(**args)
|
10260
|
+
end
|
10261
|
+
|
10262
|
+
# Update properties of this object
|
10263
|
+
def update!(**args)
|
10264
|
+
@amount = args[:amount] if args.key?(:amount)
|
10265
|
+
@percentage = args[:percentage] if args.key?(:percentage)
|
10266
|
+
@type = args[:type] if args.key?(:type)
|
10267
|
+
end
|
10268
|
+
end
|
10269
|
+
|
10156
10270
|
#
|
10157
10271
|
class ProductTax
|
10158
10272
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContentV2_1
|
18
18
|
# Version of the google-apis-content_v2_1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250208"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1366,6 +1366,12 @@ module Google
|
|
1366
1366
|
include Google::Apis::Core::JsonObjectSupport
|
1367
1367
|
end
|
1368
1368
|
|
1369
|
+
class ProductSustainabilityIncentive
|
1370
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1371
|
+
|
1372
|
+
include Google::Apis::Core::JsonObjectSupport
|
1373
|
+
end
|
1374
|
+
|
1369
1375
|
class ProductTax
|
1370
1376
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1371
1377
|
|
@@ -2174,6 +2180,7 @@ module Google
|
|
2174
2180
|
property :impact, as: 'impact', class: Google::Apis::ContentV2_1::AccountIssueImpact, decorator: Google::Apis::ContentV2_1::AccountIssueImpact::Representation
|
2175
2181
|
|
2176
2182
|
property :prerendered_content, as: 'prerenderedContent'
|
2183
|
+
property :prerendered_out_of_court_dispute_settlement, as: 'prerenderedOutOfCourtDisputeSettlement'
|
2177
2184
|
property :title, as: 'title'
|
2178
2185
|
end
|
2179
2186
|
end
|
@@ -4367,6 +4374,8 @@ module Google
|
|
4367
4374
|
|
4368
4375
|
property :subscription_cost, as: 'subscriptionCost', class: Google::Apis::ContentV2_1::ProductSubscriptionCost, decorator: Google::Apis::ContentV2_1::ProductSubscriptionCost::Representation
|
4369
4376
|
|
4377
|
+
collection :sustainability_incentives, as: 'sustainabilityIncentives', class: Google::Apis::ContentV2_1::ProductSustainabilityIncentive, decorator: Google::Apis::ContentV2_1::ProductSustainabilityIncentive::Representation
|
4378
|
+
|
4370
4379
|
property :target_country, as: 'targetCountry'
|
4371
4380
|
property :tax_category, as: 'taxCategory'
|
4372
4381
|
collection :taxes, as: 'taxes', class: Google::Apis::ContentV2_1::ProductTax, decorator: Google::Apis::ContentV2_1::ProductTax::Representation
|
@@ -4460,6 +4469,7 @@ module Google
|
|
4460
4469
|
property :impact, as: 'impact', class: Google::Apis::ContentV2_1::ProductIssueImpact, decorator: Google::Apis::ContentV2_1::ProductIssueImpact::Representation
|
4461
4470
|
|
4462
4471
|
property :prerendered_content, as: 'prerenderedContent'
|
4472
|
+
property :prerendered_out_of_court_dispute_settlement, as: 'prerenderedOutOfCourtDisputeSettlement'
|
4463
4473
|
property :title, as: 'title'
|
4464
4474
|
end
|
4465
4475
|
end
|
@@ -4586,6 +4596,16 @@ module Google
|
|
4586
4596
|
end
|
4587
4597
|
end
|
4588
4598
|
|
4599
|
+
class ProductSustainabilityIncentive
|
4600
|
+
# @private
|
4601
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4602
|
+
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
4603
|
+
|
4604
|
+
property :percentage, as: 'percentage'
|
4605
|
+
property :type, as: 'type'
|
4606
|
+
end
|
4607
|
+
end
|
4608
|
+
|
4589
4609
|
class ProductTax
|
4590
4610
|
# @private
|
4591
4611
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-content_v2_1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.38.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-content_v2_1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.38.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-content_v2_1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Content API for Shopping V2_1
|
82
79
|
test_files: []
|