google-shopping-merchant-data_sources-v1 0.2.1 → 0.3.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 +4 -4
- data/lib/google/shopping/merchant/data_sources/v1/version.rb +1 -1
- data/lib/google/shopping/merchant/datasources/v1/datasourcetypes_pb.rb +1 -1
- data/proto_docs/google/shopping/merchant/datasources/v1/datasourcetypes.rb +0 -5
- data/proto_docs/google/shopping/merchant/datasources/v1/fileinputs.rb +5 -15
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df6a5f90fbf1a5db0f47b5f2f632e81313c49cd72ab9402ab25c7a230eace897
|
|
4
|
+
data.tar.gz: 4ca1c21b89cc351637b4fb0bb9791e2ad51629fa7594c4f7189f428ec85dc10d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6cf6c2ee5ffd7a71dd862e95b3c45f31ede7c28a0ba4039e23d75536c0c4987631d26f03f590c62a43e72113ad7536c91e9de64291a3f00299be90aaf8f2bcae
|
|
7
|
+
data.tar.gz: bc7f3ee1adcb7f92571f5bceea0d3825325712e6a918fece8df6410d20b5076655f85bed8cce1b6776efd6ef649ccd321f20b9790fa962887d8a93452ae03b40
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
|
8
8
|
require 'google/shopping/type/types_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n=google/shopping/merchant/datasources/v1/datasourcetypes.proto\x12\'google.shopping.merchant.datasources.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a google/shopping/type/types.proto\"\
|
|
11
|
+
descriptor_data = "\n=google/shopping/merchant/datasources/v1/datasourcetypes.proto\x12\'google.shopping.merchant.datasources.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a google/shopping/type/types.proto\"\xf9\x05\n\x18PrimaryProductDataSource\x12\x1c\n\x0clegacy_local\x18\x0b \x01(\x08\x42\x06\xe0\x41\x01\xe0\x41\x05\x12\x1f\n\nfeed_label\x18\x04 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x88\x01\x01\x12%\n\x10\x63ontent_language\x18\x05 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05H\x01\x88\x01\x01\x12\x16\n\tcountries\x18\x06 \x03(\tB\x03\xe0\x41\x01\x12h\n\x0c\x64\x65\x66\x61ult_rule\x18\x07 \x01(\x0b\x32M.google.shopping.merchant.datasources.v1.PrimaryProductDataSource.DefaultRuleB\x03\xe0\x41\x01\x12h\n\x0c\x64\x65stinations\x18\n \x03(\x0b\x32M.google.shopping.merchant.datasources.v1.PrimaryProductDataSource.DestinationB\x03\xe0\x41\x01\x1ap\n\x0b\x44\x65\x66\x61ultRule\x12\x61\n\x16take_from_data_sources\x18\x01 \x03(\x0b\x32<.google.shopping.merchant.datasources.v1.DataSourceReferenceB\x03\xe0\x41\x02\x1a\xf4\x01\n\x0b\x44\x65stination\x12\x46\n\x0b\x64\x65stination\x18\x01 \x01(\x0e\x32\x31.google.shopping.type.Destination.DestinationEnum\x12\x62\n\x05state\x18\x02 \x01(\x0e\x32S.google.shopping.merchant.datasources.v1.PrimaryProductDataSource.Destination.State\"9\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x42\r\n\x0b_feed_labelB\x13\n\x11_content_language\"\xf8\x01\n\x1dSupplementalProductDataSource\x12\x1f\n\nfeed_label\x18\x04 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x88\x01\x01\x12%\n\x10\x63ontent_language\x18\x05 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05H\x01\x88\x01\x01\x12k\n referencing_primary_data_sources\x18\x07 \x03(\x0b\x32<.google.shopping.merchant.datasources.v1.DataSourceReferenceB\x03\xe0\x41\x03\x42\r\n\x0b_feed_labelB\x13\n\x11_content_language\"X\n\x18LocalInventoryDataSource\x12\x1a\n\nfeed_label\x18\x04 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12 \n\x10\x63ontent_language\x18\x05 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\"[\n\x1bRegionalInventoryDataSource\x12\x1a\n\nfeed_label\x18\x04 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12 \n\x10\x63ontent_language\x18\x05 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\"W\n\x13PromotionDataSource\x12\x1e\n\x0etarget_country\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12 \n\x10\x63ontent_language\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\"\x19\n\x17ProductReviewDataSource\"\x1a\n\x18MerchantReviewDataSource\"\x8e\x01\n\x13\x44\x61taSourceReference\x12\x0e\n\x04self\x18\x01 \x01(\x08H\x00\x12\'\n\x18primary_data_source_name\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x12,\n\x1dsupplemental_data_source_name\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x42\x10\n\x0e\x64\x61ta_source_idB\x9c\x02\n+com.google.shopping.merchant.datasources.v1B\x14\x44\x61tasourcetypesProtoP\x01ZScloud.google.com/go/shopping/merchant/datasources/apiv1/datasourcespb;datasourcespb\xaa\x02\'Google.Shopping.Merchant.DataSources.V1\xca\x02\'Google\\Shopping\\Merchant\\DataSources\\V1\xea\x02+Google::Shopping::Merchant::DataSources::V1b\x06proto3"
|
|
12
12
|
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
|
@@ -67,11 +67,6 @@ module Google
|
|
|
67
67
|
# @return [::Google::Shopping::Merchant::DataSources::V1::PrimaryProductDataSource::DefaultRule]
|
|
68
68
|
# Optional. Default rule management of the data source. If set, the linked
|
|
69
69
|
# data sources will be replaced.
|
|
70
|
-
# @!attribute [r] contains_custom_rules
|
|
71
|
-
# @return [::Boolean]
|
|
72
|
-
# Output only. The existing data source setup contains at least one custom
|
|
73
|
-
# (non-default) rule and therefore its management through the
|
|
74
|
-
# `default_rule_data_sources` field should be treated with caution.
|
|
75
70
|
# @!attribute [rw] destinations
|
|
76
71
|
# @return [::Array<::Google::Shopping::Merchant::DataSources::V1::PrimaryProductDataSource::Destination>]
|
|
77
72
|
# Optional. A list of destinations describing where products of the data
|
|
@@ -86,21 +86,11 @@ module Google
|
|
|
86
86
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
87
87
|
|
|
88
88
|
# The required fields vary based on the frequency of fetching. For a
|
|
89
|
-
# monthly
|
|
90
|
-
# fetch
|
|
91
|
-
#
|
|
92
|
-
#
|
|
93
|
-
#
|
|
94
|
-
# [hour of
|
|
95
|
-
# day][https://developers.google.com/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#timeofday]
|
|
96
|
-
# are required. For a weekly fetch schedule,
|
|
97
|
-
# [day of
|
|
98
|
-
# week][https://developers.google.com/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#dayofweek]
|
|
99
|
-
# and [hour of
|
|
100
|
-
# day][https://developers.google.com/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#timeofday]
|
|
101
|
-
# are required. For a daily fetch schedule, only an [hour of
|
|
102
|
-
# day][https://developers.google.com/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#timeofday]
|
|
103
|
-
# is required.
|
|
89
|
+
# monthly fetch schedule, `day of month` and [hour of
|
|
90
|
+
# day](../Shared.Types/TimeOfDay) are required. For a weekly fetch
|
|
91
|
+
# schedule, [day of week](../Shared.Types/DayOfWeek) and [hour of
|
|
92
|
+
# day](../Shared.Types/TimeOfDay) are required. For a daily fetch schedule,
|
|
93
|
+
# only an [hour of day](../Shared.Types/TimeOfDay) is required.
|
|
104
94
|
module Frequency
|
|
105
95
|
# Frequency unspecified.
|
|
106
96
|
FREQUENCY_UNSPECIFIED = 0
|