google-shopping-css-v1 0.1.3 → 0.2.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: 06b8f98ea14a5ba61a487a0194225c61187169be9fe22bf4684de14b56789f5e
|
|
4
|
+
data.tar.gz: 1b19c52e09df42f9fcbc950c87d6e8f99db258742c8c9949313481f7a17fea3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad0704c0ee7bcec373a28ea9bd5fb7243c31b8305556608a22e4d5b63a7afe40144ef3b64d9ada7ad23a4400ddbee105da329c1d276569efe44e3622fc8d296c
|
|
7
|
+
data.tar.gz: bda9cb4765601cf22b4e074ee5c697f16033cd61c29f4302b853b3ce1c346f57f71de9e21800211fc0463e8fcba67798ee53a1cba7a96f6f0315f86bd3adf86b
|
|
@@ -9,7 +9,7 @@ require 'google/protobuf/timestamp_pb'
|
|
|
9
9
|
require 'google/shopping/type/types_pb'
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
descriptor_data = "\n/google/shopping/css/v1/css_product_common.proto\x12\x16google.shopping.css.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/shopping/type/types.proto\"\
|
|
12
|
+
descriptor_data = "\n/google/shopping/css/v1/css_product_common.proto\x12\x16google.shopping.css.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a google/shopping/type/types.proto\"\xa0\x12\n\nAttributes\x12\x15\n\x08\x63pp_link\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0f\x63pp_mobile_link\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x1d\n\x10\x63pp_ads_redirect\x18* \x01(\tH\x02\x88\x01\x01\x12.\n\tlow_price\x18\x03 \x01(\x0b\x32\x1b.google.shopping.type.Price\x12/\n\nhigh_price\x18\x04 \x01(\x0b\x32\x1b.google.shopping.type.Price\x12\x1d\n\x10number_of_offers\x18\x05 \x01(\x03H\x03\x88\x01\x01\x12%\n\x18headline_offer_condition\x18\x06 \x01(\tH\x04\x88\x01\x01\x12\x39\n\x14headline_offer_price\x18\x07 \x01(\x0b\x32\x1b.google.shopping.type.Price\x12 \n\x13headline_offer_link\x18\x08 \x01(\tH\x05\x88\x01\x01\x12\'\n\x1aheadline_offer_mobile_link\x18\t \x01(\tH\x06\x88\x01\x01\x12\x42\n\x1dheadline_offer_shipping_price\x18) \x01(\x0b\x32\x1b.google.shopping.type.Price\x12\x12\n\x05title\x18\n \x01(\tH\x07\x88\x01\x01\x12\x17\n\nimage_link\x18\x0b \x01(\tH\x08\x88\x01\x01\x12\x1e\n\x16\x61\x64\x64itional_image_links\x18\x0c \x03(\t\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\t\x88\x01\x01\x12\x12\n\x05\x62rand\x18\x0e \x01(\tH\n\x88\x01\x01\x12\x10\n\x03mpn\x18\x0f \x01(\tH\x0b\x88\x01\x01\x12\x11\n\x04gtin\x18\x10 \x01(\tH\x0c\x88\x01\x01\x12\x15\n\rproduct_types\x18$ \x03(\t\x12$\n\x17google_product_category\x18\x11 \x01(\tH\r\x88\x01\x01\x12\x12\n\x05\x61\x64ult\x18\x12 \x01(\x08H\x0e\x88\x01\x01\x12\x16\n\tmultipack\x18\x13 \x01(\x03H\x0f\x88\x01\x01\x12\x16\n\tis_bundle\x18\x14 \x01(\x08H\x10\x88\x01\x01\x12\x16\n\tage_group\x18\x15 \x01(\tH\x11\x88\x01\x01\x12\x12\n\x05\x63olor\x18\x16 \x01(\tH\x12\x88\x01\x01\x12\x13\n\x06gender\x18\x17 \x01(\tH\x13\x88\x01\x01\x12\x15\n\x08material\x18\x18 \x01(\tH\x14\x88\x01\x01\x12\x14\n\x07pattern\x18\x19 \x01(\tH\x15\x88\x01\x01\x12\x11\n\x04size\x18\x1a \x01(\tH\x16\x88\x01\x01\x12\x18\n\x0bsize_system\x18\x1b \x01(\tH\x17\x88\x01\x01\x12\x12\n\nsize_types\x18\x1c \x03(\t\x12\x1a\n\ritem_group_id\x18\x1d \x01(\tH\x18\x88\x01\x01\x12>\n\x0fproduct_details\x18\x1e \x03(\x0b\x32%.google.shopping.css.v1.ProductDetail\x12=\n\x0eproduct_weight\x18\x1f \x01(\x0b\x32%.google.shopping.css.v1.ProductWeight\x12@\n\x0eproduct_length\x18 \x01(\x0b\x32(.google.shopping.css.v1.ProductDimension\x12?\n\rproduct_width\x18! \x01(\x0b\x32(.google.shopping.css.v1.ProductDimension\x12@\n\x0eproduct_height\x18\" \x01(\x0b\x32(.google.shopping.css.v1.ProductDimension\x12\x1a\n\x12product_highlights\x18# \x03(\t\x12=\n\x0e\x63\x65rtifications\x18\' \x03(\x0b\x32%.google.shopping.css.v1.Certification\x12\x33\n\x0f\x65xpiration_date\x18( \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15included_destinations\x18+ \x03(\t\x12\x1d\n\x15\x65xcluded_destinations\x18, \x03(\t\x12\x12\n\x05pause\x18- \x01(\tH\x19\x88\x01\x01\x12\x1b\n\x0e\x63ustom_label_0\x18. \x01(\tH\x1a\x88\x01\x01\x12\x1b\n\x0e\x63ustom_label_1\x18/ \x01(\tH\x1b\x88\x01\x01\x12\x1b\n\x0e\x63ustom_label_2\x18\x30 \x01(\tH\x1c\x88\x01\x01\x12\x1b\n\x0e\x63ustom_label_3\x18\x31 \x01(\tH\x1d\x88\x01\x01\x12\x1b\n\x0e\x63ustom_label_4\x18\x32 \x01(\tH\x1e\x88\x01\x01\x12T\n\x1aheadline_offer_installment\x18\x33 \x01(\x0b\x32\x30.google.shopping.css.v1.HeadlineOfferInstallment\x12_\n headline_offer_subscription_cost\x18\x34 \x01(\x0b\x32\x35.google.shopping.css.v1.HeadlineOfferSubscriptionCostB\x0b\n\t_cpp_linkB\x12\n\x10_cpp_mobile_linkB\x13\n\x11_cpp_ads_redirectB\x13\n\x11_number_of_offersB\x1b\n\x19_headline_offer_conditionB\x16\n\x14_headline_offer_linkB\x1d\n\x1b_headline_offer_mobile_linkB\x08\n\x06_titleB\r\n\x0b_image_linkB\x0e\n\x0c_descriptionB\x08\n\x06_brandB\x06\n\x04_mpnB\x07\n\x05_gtinB\x1a\n\x18_google_product_categoryB\x08\n\x06_adultB\x0c\n\n_multipackB\x0c\n\n_is_bundleB\x0c\n\n_age_groupB\x08\n\x06_colorB\t\n\x07_genderB\x0b\n\t_materialB\n\n\x08_patternB\x07\n\x05_sizeB\x0e\n\x0c_size_systemB\x10\n\x0e_item_group_idB\x08\n\x06_pauseB\x11\n\x0f_custom_label_0B\x11\n\x0f_custom_label_1B\x11\n\x0f_custom_label_2B\x11\n\x0f_custom_label_3B\x11\n\x0f_custom_label_4\">\n\rCertification\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tauthority\x18\x02 \x01(\t\x12\x0c\n\x04\x63ode\x18\x03 \x01(\t\"V\n\rProductDetail\x12\x14\n\x0csection_name\x18\x01 \x01(\t\x12\x16\n\x0e\x61ttribute_name\x18\x02 \x01(\t\x12\x17\n\x0f\x61ttribute_value\x18\x03 \x01(\t\"9\n\x10ProductDimension\x12\x12\n\x05value\x18\x01 \x01(\x01\x42\x03\xe0\x41\x02\x12\x11\n\x04unit\x18\x02 \x01(\tB\x03\xe0\x41\x02\"6\n\rProductWeight\x12\x12\n\x05value\x18\x01 \x01(\x01\x42\x03\xe0\x41\x02\x12\x11\n\x04unit\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xb1\x05\n\x10\x43ssProductStatus\x12X\n\x14\x64\x65stination_statuses\x18\x03 \x03(\x0b\x32:.google.shopping.css.v1.CssProductStatus.DestinationStatus\x12R\n\x11item_level_issues\x18\x04 \x03(\x0b\x32\x37.google.shopping.css.v1.CssProductStatus.ItemLevelIssue\x12\x31\n\rcreation_date\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10last_update_date\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16google_expiration_date\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a~\n\x11\x44\x65stinationStatus\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\t\x12\x1a\n\x12\x61pproved_countries\x18\x02 \x03(\t\x12\x19\n\x11pending_countries\x18\x03 \x03(\t\x12\x1d\n\x15\x64isapproved_countries\x18\x04 \x03(\t\x1a\xc9\x01\n\x0eItemLevelIssue\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x13\n\x0bservability\x18\x02 \x01(\t\x12\x12\n\nresolution\x18\x03 \x01(\t\x12\x11\n\tattribute\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65stination\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x0e\n\x06\x64\x65tail\x18\x07 \x01(\t\x12\x15\n\rdocumentation\x18\x08 \x01(\t\x12\x1c\n\x14\x61pplicable_countries\x18\t \x03(\t\"\x9f\x01\n\x1dHeadlineOfferSubscriptionCost\x12:\n\x06period\x18\x01 \x01(\x0e\x32*.google.shopping.css.v1.SubscriptionPeriod\x12\x15\n\rperiod_length\x18\x02 \x01(\x03\x12+\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x1b.google.shopping.type.Price\"\x89\x01\n\x18HeadlineOfferInstallment\x12\x0e\n\x06months\x18\x01 \x01(\x03\x12+\n\x06\x61mount\x18\x02 \x01(\x0b\x32\x1b.google.shopping.type.Price\x12\x30\n\x0b\x64ownpayment\x18\x03 \x01(\x0b\x32\x1b.google.shopping.type.Price*N\n\x12SubscriptionPeriod\x12#\n\x1fSUBSCRIPTION_PERIOD_UNSPECIFIED\x10\x00\x12\t\n\x05MONTH\x10\x01\x12\x08\n\x04YEAR\x10\x02\x42\xb7\x01\n\x1a\x63om.google.shopping.css.v1B\x15\x43ssProductCommonProtoP\x01Z2cloud.google.com/go/shopping/css/apiv1/csspb;csspb\xaa\x02\x16Google.Shopping.Css.V1\xca\x02\x16Google\\Shopping\\Css\\V1\xea\x02\x19Google::Shopping::Css::V1b\x06proto3"
|
|
13
13
|
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
15
|
|
|
@@ -49,6 +49,9 @@ module Google
|
|
|
49
49
|
CssProductStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.CssProductStatus").msgclass
|
|
50
50
|
CssProductStatus::DestinationStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.CssProductStatus.DestinationStatus").msgclass
|
|
51
51
|
CssProductStatus::ItemLevelIssue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.CssProductStatus.ItemLevelIssue").msgclass
|
|
52
|
+
HeadlineOfferSubscriptionCost = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.HeadlineOfferSubscriptionCost").msgclass
|
|
53
|
+
HeadlineOfferInstallment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.HeadlineOfferInstallment").msgclass
|
|
54
|
+
SubscriptionPeriod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.css.v1.SubscriptionPeriod").enummodule
|
|
52
55
|
end
|
|
53
56
|
end
|
|
54
57
|
end
|
|
@@ -28,6 +28,9 @@ module Google
|
|
|
28
28
|
# @!attribute [rw] destinations
|
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
|
30
30
|
# The destination where API teams want this client library to be published.
|
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
|
31
34
|
class CommonLanguageSettings
|
|
32
35
|
include ::Google::Protobuf::MessageExts
|
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -375,6 +378,17 @@ module Google
|
|
|
375
378
|
end
|
|
376
379
|
end
|
|
377
380
|
|
|
381
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
|
382
|
+
# a service for client libraries.
|
|
383
|
+
# @!attribute [rw] methods
|
|
384
|
+
# @return [::Array<::String>]
|
|
385
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
|
386
|
+
# on public client surfaces.
|
|
387
|
+
class SelectiveGapicGeneration
|
|
388
|
+
include ::Google::Protobuf::MessageExts
|
|
389
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
390
|
+
end
|
|
391
|
+
|
|
378
392
|
# The organization for which the client libraries are being published.
|
|
379
393
|
# Affects the url where generated docs are published, etc.
|
|
380
394
|
module ClientLibraryOrganization
|
|
@@ -198,6 +198,13 @@ module Google
|
|
|
198
198
|
# @!attribute [rw] custom_label_4
|
|
199
199
|
# @return [::String]
|
|
200
200
|
# Custom label 4 for custom grouping of items in a Shopping campaign.
|
|
201
|
+
# @!attribute [rw] headline_offer_installment
|
|
202
|
+
# @return [::Google::Shopping::Css::V1::HeadlineOfferInstallment]
|
|
203
|
+
# Number and amount of installments to pay for an item.
|
|
204
|
+
# @!attribute [rw] headline_offer_subscription_cost
|
|
205
|
+
# @return [::Google::Shopping::Css::V1::HeadlineOfferSubscriptionCost]
|
|
206
|
+
# Number of periods (months or years) and amount of payment per period
|
|
207
|
+
# for an item with an associated subscription contract.
|
|
201
208
|
class Attributes
|
|
202
209
|
include ::Google::Protobuf::MessageExts
|
|
203
210
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -353,6 +360,51 @@ module Google
|
|
|
353
360
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
354
361
|
end
|
|
355
362
|
end
|
|
363
|
+
|
|
364
|
+
# The SubscriptionCost of the product.
|
|
365
|
+
# @!attribute [rw] period
|
|
366
|
+
# @return [::Google::Shopping::Css::V1::SubscriptionPeriod]
|
|
367
|
+
# The type of subscription period.
|
|
368
|
+
# Supported values are:
|
|
369
|
+
# * "`month`"
|
|
370
|
+
# * "`year`"
|
|
371
|
+
# @!attribute [rw] period_length
|
|
372
|
+
# @return [::Integer]
|
|
373
|
+
# The number of subscription periods the buyer has to pay.
|
|
374
|
+
# @!attribute [rw] amount
|
|
375
|
+
# @return [::Google::Shopping::Type::Price]
|
|
376
|
+
# The amount the buyer has to pay per subscription period.
|
|
377
|
+
class HeadlineOfferSubscriptionCost
|
|
378
|
+
include ::Google::Protobuf::MessageExts
|
|
379
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
# A message that represents installment.
|
|
383
|
+
# @!attribute [rw] months
|
|
384
|
+
# @return [::Integer]
|
|
385
|
+
# The number of installments the buyer has to pay.
|
|
386
|
+
# @!attribute [rw] amount
|
|
387
|
+
# @return [::Google::Shopping::Type::Price]
|
|
388
|
+
# The amount the buyer has to pay per month.
|
|
389
|
+
# @!attribute [rw] downpayment
|
|
390
|
+
# @return [::Google::Shopping::Type::Price]
|
|
391
|
+
# The up-front down payment amount the buyer has to pay.
|
|
392
|
+
class HeadlineOfferInstallment
|
|
393
|
+
include ::Google::Protobuf::MessageExts
|
|
394
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
# The subscription period of the product.
|
|
398
|
+
module SubscriptionPeriod
|
|
399
|
+
# Indicates that the subscription period is unspecified.
|
|
400
|
+
SUBSCRIPTION_PERIOD_UNSPECIFIED = 0
|
|
401
|
+
|
|
402
|
+
# Indicates that the subscription period is month.
|
|
403
|
+
MONTH = 1
|
|
404
|
+
|
|
405
|
+
# Indicates that the subscription period is year.
|
|
406
|
+
YEAR = 2
|
|
407
|
+
end
|
|
356
408
|
end
|
|
357
409
|
end
|
|
358
410
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-shopping-css-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-10-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
152
|
version: '0'
|
|
153
153
|
requirements: []
|
|
154
|
-
rubygems_version: 3.5.
|
|
154
|
+
rubygems_version: 3.5.21
|
|
155
155
|
signing_key:
|
|
156
156
|
specification_version: 4
|
|
157
157
|
summary: Programmatically manage your Comparison Shopping Service (CSS) account data
|