google-shopping-css-v1 0.1.3 → 0.2.1
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 +4 -4
- data/lib/google/shopping/css/v1/account_labels_service/client.rb +1 -1
- data/lib/google/shopping/css/v1/account_labels_service/rest/client.rb +1 -1
- data/lib/google/shopping/css/v1/accounts_labels_services_pb.rb +1 -1
- data/lib/google/shopping/css/v1/css_product_common_pb.rb +4 -1
- data/lib/google/shopping/css/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +20 -0
- data/proto_docs/google/shopping/css/v1/css_product_common.rb +52 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6b746bf5a019a61dd551fc2cd593a1c574a148ecbfd870f346dad31250f80ad7
|
|
4
|
+
data.tar.gz: bcdcd37bebf4616bfe69b8dc51cc0de71b4c02f68fe5d9f47ea679a2d45eebbd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e67711ee9ff45e23ac4800bd2f0e9a3abf66bf43392b81e8b840f2cc7fd984d1997b141a83b3878a465f81686da82d306092eb8dd95da3260136024680697993
|
|
7
|
+
data.tar.gz: 952a4ac7432afe7038beee56152ea69ec515ea6b848eab098e46a6f6492965d23f2096a019836df11ef386b956f12361d540158188b95516f34e27dfa3e315ae
|
|
@@ -175,7 +175,7 @@ module Google
|
|
|
175
175
|
# Service calls
|
|
176
176
|
|
|
177
177
|
##
|
|
178
|
-
# Lists the labels
|
|
178
|
+
# Lists the labels owned by an account.
|
|
179
179
|
#
|
|
180
180
|
# @overload list_account_labels(request, options = nil)
|
|
181
181
|
# Pass arguments to `list_account_labels` via a request object, either of type
|
|
@@ -168,7 +168,7 @@ module Google
|
|
|
168
168
|
# Service calls
|
|
169
169
|
|
|
170
170
|
##
|
|
171
|
-
# Lists the labels
|
|
171
|
+
# Lists the labels owned by an account.
|
|
172
172
|
#
|
|
173
173
|
# @overload list_account_labels(request, options = nil)
|
|
174
174
|
# Pass arguments to `list_account_labels` via a request object, either of type
|
|
@@ -33,7 +33,7 @@ module Google
|
|
|
33
33
|
self.unmarshal_class_method = :decode
|
|
34
34
|
self.service_name = 'google.shopping.css.v1.AccountLabelsService'
|
|
35
35
|
|
|
36
|
-
# Lists the labels
|
|
36
|
+
# Lists the labels owned by an account.
|
|
37
37
|
rpc :ListAccountLabels, ::Google::Shopping::Css::V1::ListAccountLabelsRequest, ::Google::Shopping::Css::V1::ListAccountLabelsResponse
|
|
38
38
|
# Creates a new label, not assigned to any account.
|
|
39
39
|
rpc :CreateAccountLabel, ::Google::Shopping::Css::V1::CreateAccountLabelRequest, ::Google::Shopping::Css::V1::AccountLabel
|
|
@@ -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
|
|
@@ -212,6 +215,12 @@ module Google
|
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
|
214
217
|
# feature in preview packages.
|
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
|
219
|
+
# @return [::Boolean]
|
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
|
223
|
+
# packages.
|
|
215
224
|
class ExperimentalFeatures
|
|
216
225
|
include ::Google::Protobuf::MessageExts
|
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -375,6 +384,17 @@ module Google
|
|
|
375
384
|
end
|
|
376
385
|
end
|
|
377
386
|
|
|
387
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
|
388
|
+
# a service for client libraries.
|
|
389
|
+
# @!attribute [rw] methods
|
|
390
|
+
# @return [::Array<::String>]
|
|
391
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
|
392
|
+
# on public client surfaces.
|
|
393
|
+
class SelectiveGapicGeneration
|
|
394
|
+
include ::Google::Protobuf::MessageExts
|
|
395
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
396
|
+
end
|
|
397
|
+
|
|
378
398
|
# The organization for which the client libraries are being published.
|
|
379
399
|
# Affects the url where generated docs are published, etc.
|
|
380
400
|
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.1
|
|
4
|
+
version: 0.2.1
|
|
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-12-04 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.22
|
|
155
155
|
signing_key:
|
|
156
156
|
specification_version: 4
|
|
157
157
|
summary: Programmatically manage your Comparison Shopping Service (CSS) account data
|