google-shopping-merchant-data_sources-v1beta 0.3.0 → 0.4.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: '09cece546daeb3bb24996562bb85d3b96b82c488e59fb00c754f692d39adeee5'
4
- data.tar.gz: '0793e015dd5bfed15af2d8ea2b23d0ceb7c9fe3dbd7df7eba96d42767b4159c0'
3
+ metadata.gz: 39d602179d562b54e6ff9925b76e43eb2d6be05f321f6a469da420c0ee3861f5
4
+ data.tar.gz: aa513fb4ecd67ecc15af88e1f5394cb364b6d4cea5d85dbc2bff8562ffa3ab82
5
5
  SHA512:
6
- metadata.gz: d7862c16b513909f1e06b0b280f3a5292b1926eb76f17ff8abcdf76a843a82b754ef2569b313288536f1366f6bc9a258b46bfdce4b2d148c826f0d718516909e
7
- data.tar.gz: b843aee6f1e247aeaf7d23d65e79602f83395e4c7270682169bd67a32912eb182c96bc0f3f8dfebe6cd8e22d96872a2e3ea12306c3b3a8da1ee366e139fb3d89
6
+ metadata.gz: 01ca9b3eb44d04fc133fcd58d38bdbea5e8921172ae594bd9b3ba795240c953d5bd834a5103e108e1a74af0c789fb41ecff1b066622e3bae785a881f737b1887
7
+ data.tar.gz: 4cf46b7a7a7b4785dbdc14cb32a5b11b92fa62ad8f741defb10b1e471ddfa2262dba62175c18a03ffcd34cc2a76d1bae8355a890ec8eeea20acdacb7f662cdcf
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -782,6 +782,13 @@ module Google
782
782
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
783
783
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
784
784
  # * (`nil`) indicating no credentials
785
+ #
786
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
787
+ # external source for authentication to Google Cloud, you must validate it before
788
+ # providing it to a Google API client library. Providing an unvalidated credential
789
+ # configuration to Google APIs can compromise the security of your systems and data.
790
+ # For more information, refer to [Validate credential configurations from external
791
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
785
792
  # @return [::Object]
786
793
  # @!attribute [rw] scope
787
794
  # The OAuth scopes
@@ -731,6 +731,13 @@ module Google
731
731
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
732
732
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
733
733
  # * (`nil`) indicating no credentials
734
+ #
735
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
736
+ # external source for authentication to Google Cloud, you must validate it before
737
+ # providing it to a Google API client library. Providing an unvalidated credential
738
+ # configuration to Google APIs can compromise the security of your systems and data.
739
+ # For more information, refer to [Validate credential configurations from external
740
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
734
741
  # @return [::Object]
735
742
  # @!attribute [rw] scope
736
743
  # The OAuth scopes
@@ -321,6 +321,13 @@ module Google
321
321
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
322
322
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
323
323
  # * (`nil`) indicating no credentials
324
+ #
325
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
326
+ # external source for authentication to Google Cloud, you must validate it before
327
+ # providing it to a Google API client library. Providing an unvalidated credential
328
+ # configuration to Google APIs can compromise the security of your systems and data.
329
+ # For more information, refer to [Validate credential configurations from external
330
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
324
331
  # @return [::Object]
325
332
  # @!attribute [rw] scope
326
333
  # The OAuth scopes
@@ -305,6 +305,13 @@ module Google
305
305
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
306
306
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
307
307
  # * (`nil`) indicating no credentials
308
+ #
309
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
310
+ # external source for authentication to Google Cloud, you must validate it before
311
+ # providing it to a Google API client library. Providing an unvalidated credential
312
+ # configuration to Google APIs can compromise the security of your systems and data.
313
+ # For more information, refer to [Validate credential configurations from external
314
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
308
315
  # @return [::Object]
309
316
  # @!attribute [rw] scope
310
317
  # The OAuth scopes
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module DataSources
24
24
  module V1beta
25
- VERSION = "0.3.0"
25
+ VERSION = "0.4.0"
26
26
  end
27
27
  end
28
28
  end
@@ -14,7 +14,7 @@ require 'google/shopping/merchant/datasources/v1beta/datasourcetypes_pb'
14
14
  require 'google/shopping/merchant/datasources/v1beta/fileinputs_pb'
15
15
 
16
16
 
17
- descriptor_data = "\n=google/shopping/merchant/datasources/v1beta/datasources.proto\x12+google.shopping.merchant.datasources.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x41google/shopping/merchant/datasources/v1beta/datasourcetypes.proto\x1a<google/shopping/merchant/datasources/v1beta/fileinputs.proto\"\x82\x08\n\nDataSource\x12q\n\x1bprimary_product_data_source\x18\x04 \x01(\x0b\x32\x45.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSourceB\x03\xe0\x41\x02H\x00\x12{\n supplemental_product_data_source\x18\x05 \x01(\x0b\x32J.google.shopping.merchant.datasources.v1beta.SupplementalProductDataSourceB\x03\xe0\x41\x02H\x00\x12q\n\x1blocal_inventory_data_source\x18\x06 \x01(\x0b\x32\x45.google.shopping.merchant.datasources.v1beta.LocalInventoryDataSourceB\x03\xe0\x41\x02H\x00\x12w\n\x1eregional_inventory_data_source\x18\x07 \x01(\x0b\x32H.google.shopping.merchant.datasources.v1beta.RegionalInventoryDataSourceB\x03\xe0\x41\x02H\x00\x12\x66\n\x15promotion_data_source\x18\x08 \x01(\x0b\x32@.google.shopping.merchant.datasources.v1beta.PromotionDataSourceB\x03\xe0\x41\x02H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1b\n\x0e\x64\x61ta_source_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12Q\n\x05input\x18\n \x01(\x0e\x32=.google.shopping.merchant.datasources.v1beta.DataSource.InputB\x03\xe0\x41\x03\x12O\n\nfile_input\x18\x0b \x01(\x0b\x32\x36.google.shopping.merchant.datasources.v1beta.FileInputB\x03\xe0\x41\x01\"G\n\x05Input\x12\x15\n\x11INPUT_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41PI\x10\x01\x12\x08\n\x04\x46ILE\x10\x02\x12\x06\n\x02UI\x10\x03\x12\x0c\n\x08\x41UTOFEED\x10\x04:p\xea\x41m\n%merchantapi.googleapis.com/DataSource\x12+accounts/{account}/dataSources/{datasource}*\x0b\x64\x61taSources2\ndataSourceB\x06\n\x04Type\"S\n\x14GetDataSourceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%merchantapi.googleapis.com/DataSource\"\x88\x01\n\x16ListDataSourcesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%merchantapi.googleapis.com/DataSource\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x81\x01\n\x17ListDataSourcesResponse\x12M\n\x0c\x64\x61ta_sources\x18\x01 \x03(\x0b\x32\x37.google.shopping.merchant.datasources.v1beta.DataSource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xab\x01\n\x17\x43reateDataSourceRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%merchantapi.googleapis.com/DataSource\x12Q\n\x0b\x64\x61ta_source\x18\x02 \x01(\x0b\x32\x37.google.shopping.merchant.datasources.v1beta.DataSourceB\x03\xe0\x41\x02\"\xa2\x01\n\x17UpdateDataSourceRequest\x12Q\n\x0b\x64\x61ta_source\x18\x01 \x01(\x0b\x32\x37.google.shopping.merchant.datasources.v1beta.DataSourceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"U\n\x16\x46\x65tchDataSourceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%merchantapi.googleapis.com/DataSource\"V\n\x17\x44\x65leteDataSourceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%merchantapi.googleapis.com/DataSource2\xf9\n\n\x12\x44\x61taSourcesService\x12\xcf\x01\n\rGetDataSource\x12\x41.google.shopping.merchant.datasources.v1beta.GetDataSourceRequest\x1a\x37.google.shopping.merchant.datasources.v1beta.DataSource\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/datasources/v1beta/{name=accounts/*/dataSources/*}\x12\xe2\x01\n\x0fListDataSources\x12\x43.google.shopping.merchant.datasources.v1beta.ListDataSourcesRequest\x1a\x44.google.shopping.merchant.datasources.v1beta.ListDataSourcesResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/datasources/v1beta/{parent=accounts/*}/dataSources\x12\xf0\x01\n\x10\x43reateDataSource\x12\x44.google.shopping.merchant.datasources.v1beta.CreateDataSourceRequest\x1a\x37.google.shopping.merchant.datasources.v1beta.DataSource\"]\xda\x41\x12parent,data_source\x82\xd3\xe4\x93\x02\x42\"3/datasources/v1beta/{parent=accounts/*}/dataSources:\x0b\x64\x61ta_source\x12\x81\x02\n\x10UpdateDataSource\x12\x44.google.shopping.merchant.datasources.v1beta.UpdateDataSourceRequest\x1a\x37.google.shopping.merchant.datasources.v1beta.DataSource\"n\xda\x41\x17\x64\x61ta_source,update_mask\x82\xd3\xe4\x93\x02N2?/datasources/v1beta/{data_source.name=accounts/*/dataSources/*}:\x0b\x64\x61ta_source\x12\xb4\x01\n\x10\x44\x65leteDataSource\x12\x44.google.shopping.merchant.datasources.v1beta.DeleteDataSourceRequest\x1a\x16.google.protobuf.Empty\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/datasources/v1beta/{name=accounts/*/dataSources/*}\x12\xb4\x01\n\x0f\x46\x65tchDataSource\x12\x43.google.shopping.merchant.datasources.v1beta.FetchDataSourceRequest\x1a\x16.google.protobuf.Empty\"D\x82\xd3\xe4\x93\x02>\"9/datasources/v1beta/{name=accounts/*/dataSources/*}:fetch:\x01*\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\xbe\x03\n/com.google.shopping.merchant.datasources.v1betaB\x10\x44\x61taSourcesProtoP\x01ZWcloud.google.com/go/shopping/merchant/datasources/apiv1beta/datasourcespb;datasourcespb\xaa\x02+Google.Shopping.Merchant.DataSources.V1Beta\xca\x02+Google\\Shopping\\Merchant\\DataSources\\V1beta\xea\x02/Google::Shopping::Merchant::DataSources::V1beta\xea\x41\x38\n\"merchantapi.googleapis.com/Account\x12\x12\x61\x63\x63ounts/{account}\xea\x41T\n%merchantapi.googleapis.com/Datasource\x12+accounts/{account}/dataSources/{datasource}b\x06proto3"
17
+ descriptor_data = "\n=google/shopping/merchant/datasources/v1beta/datasources.proto\x12+google.shopping.merchant.datasources.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x41google/shopping/merchant/datasources/v1beta/datasourcetypes.proto\x1a<google/shopping/merchant/datasources/v1beta/fileinputs.proto\"\xc3\t\n\nDataSource\x12l\n\x1bprimary_product_data_source\x18\x04 \x01(\x0b\x32\x45.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSourceH\x00\x12v\n supplemental_product_data_source\x18\x05 \x01(\x0b\x32J.google.shopping.merchant.datasources.v1beta.SupplementalProductDataSourceH\x00\x12l\n\x1blocal_inventory_data_source\x18\x06 \x01(\x0b\x32\x45.google.shopping.merchant.datasources.v1beta.LocalInventoryDataSourceH\x00\x12r\n\x1eregional_inventory_data_source\x18\x07 \x01(\x0b\x32H.google.shopping.merchant.datasources.v1beta.RegionalInventoryDataSourceH\x00\x12\x61\n\x15promotion_data_source\x18\x08 \x01(\x0b\x32@.google.shopping.merchant.datasources.v1beta.PromotionDataSourceH\x00\x12j\n\x1aproduct_review_data_source\x18\t \x01(\x0b\x32\x44.google.shopping.merchant.datasources.v1beta.ProductReviewDataSourceH\x00\x12l\n\x1bmerchant_review_data_source\x18\x0c \x01(\x0b\x32\x45.google.shopping.merchant.datasources.v1beta.MerchantReviewDataSourceH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1b\n\x0e\x64\x61ta_source_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12Q\n\x05input\x18\n \x01(\x0e\x32=.google.shopping.merchant.datasources.v1beta.DataSource.InputB\x03\xe0\x41\x03\x12O\n\nfile_input\x18\x0b \x01(\x0b\x32\x36.google.shopping.merchant.datasources.v1beta.FileInputB\x03\xe0\x41\x01\"G\n\x05Input\x12\x15\n\x11INPUT_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41PI\x10\x01\x12\x08\n\x04\x46ILE\x10\x02\x12\x06\n\x02UI\x10\x03\x12\x0c\n\x08\x41UTOFEED\x10\x04:p\xea\x41m\n%merchantapi.googleapis.com/DataSource\x12+accounts/{account}/dataSources/{datasource}*\x0b\x64\x61taSources2\ndataSourceB\x06\n\x04Type\"S\n\x14GetDataSourceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%merchantapi.googleapis.com/DataSource\"\x88\x01\n\x16ListDataSourcesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%merchantapi.googleapis.com/DataSource\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x81\x01\n\x17ListDataSourcesResponse\x12M\n\x0c\x64\x61ta_sources\x18\x01 \x03(\x0b\x32\x37.google.shopping.merchant.datasources.v1beta.DataSource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xab\x01\n\x17\x43reateDataSourceRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%merchantapi.googleapis.com/DataSource\x12Q\n\x0b\x64\x61ta_source\x18\x02 \x01(\x0b\x32\x37.google.shopping.merchant.datasources.v1beta.DataSourceB\x03\xe0\x41\x02\"\xa2\x01\n\x17UpdateDataSourceRequest\x12Q\n\x0b\x64\x61ta_source\x18\x01 \x01(\x0b\x32\x37.google.shopping.merchant.datasources.v1beta.DataSourceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"U\n\x16\x46\x65tchDataSourceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%merchantapi.googleapis.com/DataSource\"V\n\x17\x44\x65leteDataSourceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%merchantapi.googleapis.com/DataSource2\xf9\n\n\x12\x44\x61taSourcesService\x12\xcf\x01\n\rGetDataSource\x12\x41.google.shopping.merchant.datasources.v1beta.GetDataSourceRequest\x1a\x37.google.shopping.merchant.datasources.v1beta.DataSource\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/datasources/v1beta/{name=accounts/*/dataSources/*}\x12\xe2\x01\n\x0fListDataSources\x12\x43.google.shopping.merchant.datasources.v1beta.ListDataSourcesRequest\x1a\x44.google.shopping.merchant.datasources.v1beta.ListDataSourcesResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/datasources/v1beta/{parent=accounts/*}/dataSources\x12\xf0\x01\n\x10\x43reateDataSource\x12\x44.google.shopping.merchant.datasources.v1beta.CreateDataSourceRequest\x1a\x37.google.shopping.merchant.datasources.v1beta.DataSource\"]\xda\x41\x12parent,data_source\x82\xd3\xe4\x93\x02\x42\"3/datasources/v1beta/{parent=accounts/*}/dataSources:\x0b\x64\x61ta_source\x12\x81\x02\n\x10UpdateDataSource\x12\x44.google.shopping.merchant.datasources.v1beta.UpdateDataSourceRequest\x1a\x37.google.shopping.merchant.datasources.v1beta.DataSource\"n\xda\x41\x17\x64\x61ta_source,update_mask\x82\xd3\xe4\x93\x02N2?/datasources/v1beta/{data_source.name=accounts/*/dataSources/*}:\x0b\x64\x61ta_source\x12\xb4\x01\n\x10\x44\x65leteDataSource\x12\x44.google.shopping.merchant.datasources.v1beta.DeleteDataSourceRequest\x1a\x16.google.protobuf.Empty\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/datasources/v1beta/{name=accounts/*/dataSources/*}\x12\xb4\x01\n\x0f\x46\x65tchDataSource\x12\x43.google.shopping.merchant.datasources.v1beta.FetchDataSourceRequest\x1a\x16.google.protobuf.Empty\"D\x82\xd3\xe4\x93\x02>\"9/datasources/v1beta/{name=accounts/*/dataSources/*}:fetch:\x01*\x1aG\xca\x41\x1amerchantapi.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/contentB\xbe\x03\n/com.google.shopping.merchant.datasources.v1betaB\x10\x44\x61taSourcesProtoP\x01ZWcloud.google.com/go/shopping/merchant/datasources/apiv1beta/datasourcespb;datasourcespb\xaa\x02+Google.Shopping.Merchant.DataSources.V1Beta\xca\x02+Google\\Shopping\\Merchant\\DataSources\\V1beta\xea\x02/Google::Shopping::Merchant::DataSources::V1beta\xea\x41\x38\n\"merchantapi.googleapis.com/Account\x12\x12\x61\x63\x63ounts/{account}\xea\x41T\n%merchantapi.googleapis.com/Datasource\x12+accounts/{account}/dataSources/{datasource}b\x06proto3"
18
18
 
19
19
  pool = Google::Protobuf::DescriptorPool.generated_pool
20
20
 
@@ -7,7 +7,7 @@ require 'google/protobuf'
7
7
  require 'google/api/field_behavior_pb'
8
8
 
9
9
 
10
- descriptor_data = "\nAgoogle/shopping/merchant/datasources/v1beta/datasourcetypes.proto\x12+google.shopping.merchant.datasources.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\xc5\x04\n\x18PrimaryProductDataSource\x12\x66\n\x07\x63hannel\x18\x03 \x01(\x0e\x32M.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.ChannelB\x06\xe0\x41\x02\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\x12l\n\x0c\x64\x65\x66\x61ult_rule\x18\x07 \x01(\x0b\x32Q.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.DefaultRuleB\x03\xe0\x41\x01\x1at\n\x0b\x44\x65\x66\x61ultRule\x12\x65\n\x16take_from_data_sources\x18\x01 \x03(\x0b\x32@.google.shopping.merchant.datasources.v1beta.DataSourceReferenceB\x03\xe0\x41\x02\"Y\n\x07\x43hannel\x12\x17\n\x13\x43HANNEL_UNSPECIFIED\x10\x00\x12\x13\n\x0fONLINE_PRODUCTS\x10\x01\x12\x12\n\x0eLOCAL_PRODUCTS\x10\x02\x12\x0c\n\x08PRODUCTS\x10\x03\x42\r\n\x0b_feed_labelB\x13\n\x11_content_language\"\xfc\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\x12o\n referencing_primary_data_sources\x18\x07 \x03(\x0b\x32@.google.shopping.merchant.datasources.v1beta.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\"\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\xb0\x02\n/com.google.shopping.merchant.datasources.v1betaB\x14\x44\x61tasourcetypesProtoP\x01ZWcloud.google.com/go/shopping/merchant/datasources/apiv1beta/datasourcespb;datasourcespb\xaa\x02+Google.Shopping.Merchant.DataSources.V1Beta\xca\x02+Google\\Shopping\\Merchant\\DataSources\\V1beta\xea\x02/Google::Shopping::Merchant::DataSources::V1betab\x06proto3"
10
+ descriptor_data = "\nAgoogle/shopping/merchant/datasources/v1beta/datasourcetypes.proto\x12+google.shopping.merchant.datasources.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\xc5\x04\n\x18PrimaryProductDataSource\x12\x66\n\x07\x63hannel\x18\x03 \x01(\x0e\x32M.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.ChannelB\x06\xe0\x41\x02\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\x12l\n\x0c\x64\x65\x66\x61ult_rule\x18\x07 \x01(\x0b\x32Q.google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.DefaultRuleB\x03\xe0\x41\x01\x1at\n\x0b\x44\x65\x66\x61ultRule\x12\x65\n\x16take_from_data_sources\x18\x01 \x03(\x0b\x32@.google.shopping.merchant.datasources.v1beta.DataSourceReferenceB\x03\xe0\x41\x02\"Y\n\x07\x43hannel\x12\x17\n\x13\x43HANNEL_UNSPECIFIED\x10\x00\x12\x13\n\x0fONLINE_PRODUCTS\x10\x01\x12\x12\n\x0eLOCAL_PRODUCTS\x10\x02\x12\x0c\n\x08PRODUCTS\x10\x03\x42\r\n\x0b_feed_labelB\x13\n\x11_content_language\"\xfc\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\x12o\n referencing_primary_data_sources\x18\x07 \x03(\x0b\x32@.google.shopping.merchant.datasources.v1beta.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\xb0\x02\n/com.google.shopping.merchant.datasources.v1betaB\x14\x44\x61tasourcetypesProtoP\x01ZWcloud.google.com/go/shopping/merchant/datasources/apiv1beta/datasourcespb;datasourcespb\xaa\x02+Google.Shopping.Merchant.DataSources.V1Beta\xca\x02+Google\\Shopping\\Merchant\\DataSources\\V1beta\xea\x02/Google::Shopping::Merchant::DataSources::V1betab\x06proto3"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
@@ -45,6 +45,8 @@ module Google
45
45
  LocalInventoryDataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.datasources.v1beta.LocalInventoryDataSource").msgclass
46
46
  RegionalInventoryDataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.datasources.v1beta.RegionalInventoryDataSource").msgclass
47
47
  PromotionDataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.datasources.v1beta.PromotionDataSource").msgclass
48
+ ProductReviewDataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.datasources.v1beta.ProductReviewDataSource").msgclass
49
+ MerchantReviewDataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.datasources.v1beta.MerchantReviewDataSource").msgclass
48
50
  DataSourceReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.shopping.merchant.datasources.v1beta.DataSourceReference").msgclass
49
51
  end
50
52
  end
@@ -26,29 +26,53 @@ module Google
26
26
  # the Merchant Center account.
27
27
  # @!attribute [rw] primary_product_data_source
28
28
  # @return [::Google::Shopping::Merchant::DataSources::V1beta::PrimaryProductDataSource]
29
- # Required. The [primary data
29
+ # The [primary data
30
30
  # source](https://support.google.com/merchants/answer/7439058) for local
31
31
  # and online products.
32
+ #
33
+ # Note: The following fields are mutually exclusive: `primary_product_data_source`, `supplemental_product_data_source`, `local_inventory_data_source`, `regional_inventory_data_source`, `promotion_data_source`, `product_review_data_source`, `merchant_review_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
32
34
  # @!attribute [rw] supplemental_product_data_source
33
35
  # @return [::Google::Shopping::Merchant::DataSources::V1beta::SupplementalProductDataSource]
34
- # Required. The [supplemental data
36
+ # The [supplemental data
35
37
  # source](https://support.google.com/merchants/answer/7439058) for local
36
38
  # and online products.
39
+ #
40
+ # Note: The following fields are mutually exclusive: `supplemental_product_data_source`, `primary_product_data_source`, `local_inventory_data_source`, `regional_inventory_data_source`, `promotion_data_source`, `product_review_data_source`, `merchant_review_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
37
41
  # @!attribute [rw] local_inventory_data_source
38
42
  # @return [::Google::Shopping::Merchant::DataSources::V1beta::LocalInventoryDataSource]
39
- # Required. The [local
43
+ # The [local
40
44
  # inventory](https://support.google.com/merchants/answer/7023001) data
41
45
  # source.
46
+ #
47
+ # Note: The following fields are mutually exclusive: `local_inventory_data_source`, `primary_product_data_source`, `supplemental_product_data_source`, `regional_inventory_data_source`, `promotion_data_source`, `product_review_data_source`, `merchant_review_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
42
48
  # @!attribute [rw] regional_inventory_data_source
43
49
  # @return [::Google::Shopping::Merchant::DataSources::V1beta::RegionalInventoryDataSource]
44
- # Required. The [regional
50
+ # The [regional
45
51
  # inventory](https://support.google.com/merchants/answer/7439058) data
46
52
  # source.
53
+ #
54
+ # Note: The following fields are mutually exclusive: `regional_inventory_data_source`, `primary_product_data_source`, `supplemental_product_data_source`, `local_inventory_data_source`, `promotion_data_source`, `product_review_data_source`, `merchant_review_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
47
55
  # @!attribute [rw] promotion_data_source
48
56
  # @return [::Google::Shopping::Merchant::DataSources::V1beta::PromotionDataSource]
49
- # Required. The
57
+ # The
50
58
  # [promotion](https://support.google.com/merchants/answer/2906014) data
51
59
  # source.
60
+ #
61
+ # Note: The following fields are mutually exclusive: `promotion_data_source`, `primary_product_data_source`, `supplemental_product_data_source`, `local_inventory_data_source`, `regional_inventory_data_source`, `product_review_data_source`, `merchant_review_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
+ # @!attribute [rw] product_review_data_source
63
+ # @return [::Google::Shopping::Merchant::DataSources::V1beta::ProductReviewDataSource]
64
+ # The [product
65
+ # review](https://support.google.com/merchants/answer/7045996)
66
+ # data source.
67
+ #
68
+ # Note: The following fields are mutually exclusive: `product_review_data_source`, `primary_product_data_source`, `supplemental_product_data_source`, `local_inventory_data_source`, `regional_inventory_data_source`, `promotion_data_source`, `merchant_review_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
69
+ # @!attribute [rw] merchant_review_data_source
70
+ # @return [::Google::Shopping::Merchant::DataSources::V1beta::MerchantReviewDataSource]
71
+ # The [merchant
72
+ # review](https://support.google.com/merchants/answer/7045996)
73
+ # data source.
74
+ #
75
+ # Note: The following fields are mutually exclusive: `merchant_review_data_source`, `primary_product_data_source`, `supplemental_product_data_source`, `local_inventory_data_source`, `regional_inventory_data_source`, `promotion_data_source`, `product_review_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
52
76
  # @!attribute [rw] name
53
77
  # @return [::String]
54
78
  # Identifier. The name of the data source.
@@ -82,10 +82,8 @@ module Google
82
82
  # To link the data source to the default rule, you need to add a
83
83
  # new reference to this list (in sequential order).
84
84
  #
85
- # To unlink the data source from the default rule, you need to remove the
86
- # given reference from this list. To create attribute rules that are
87
- # different from the default rule, see [Set up your attribute
88
- # rules](//support.google.com/merchants/answer/14994083).
85
+ # To unlink the data source from the default rule, you need to
86
+ # remove the given reference from this list.
89
87
  #
90
88
  # Changing the order of this list will result in changing the priority of
91
89
  # data sources in the default rule.
@@ -119,12 +117,9 @@ module Google
119
117
  end
120
118
  end
121
119
 
122
- # The supplemental data source for local and online products. Supplemental API
123
- # data sources must not have `feedLabel` and `contentLanguage` fields set. You
124
- # can only use supplemental data sources to update existing products. For
125
- # information about creating a supplemental data source, see [Create a
126
- # supplemental data source and link it to the primary data
127
- # source](/merchant/api/guides/data-sources/overview#create-supplemental-data-source).
120
+ # The supplemental data source for local and online products. After creation,
121
+ # you should make sure to link the supplemental product data source into one or
122
+ # more primary product data sources.
128
123
  # @!attribute [rw] feed_label
129
124
  # @return [::String]
130
125
  # Optional. Immutable. The feed label that is specified on the data source
@@ -138,7 +133,11 @@ module Google
138
133
  #
139
134
  # `feedLabel` and `contentLanguage` must be either both set or unset for data
140
135
  # sources with product content type.
141
- # They must be set for data sources with a file input.
136
+ #
137
+ # They must be set for data sources with a [file
138
+ # input][google.shopping.merchant.datasources.v1main.FileInput].
139
+ # The fields must be unset for data sources without [file
140
+ # input][google.shopping.merchant.datasources.v1main.FileInput].
142
141
  #
143
142
  # If set, the data source will only accept products matching this
144
143
  # combination. If unset, the data source will accept produts without that
@@ -222,21 +221,39 @@ module Google
222
221
  extend ::Google::Protobuf::MessageExts::ClassMethods
223
222
  end
224
223
 
224
+ # The product review data source.
225
+ class ProductReviewDataSource
226
+ include ::Google::Protobuf::MessageExts
227
+ extend ::Google::Protobuf::MessageExts::ClassMethods
228
+ end
229
+
230
+ # The merchant review data source.
231
+ class MerchantReviewDataSource
232
+ include ::Google::Protobuf::MessageExts
233
+ extend ::Google::Protobuf::MessageExts::ClassMethods
234
+ end
235
+
225
236
  # Data source reference can be used to manage related data sources within the
226
237
  # data source service.
227
238
  # @!attribute [rw] self
228
239
  # @return [::Boolean]
229
240
  # Self should be used to reference the primary data source itself.
241
+ #
242
+ # Note: The following fields are mutually exclusive: `self`, `primary_data_source_name`, `supplemental_data_source_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
230
243
  # @!attribute [rw] primary_data_source_name
231
244
  # @return [::String]
232
245
  # Optional. The name of the primary data source.
233
246
  # Format:
234
247
  # `accounts/{account}/dataSources/{datasource}`
248
+ #
249
+ # Note: The following fields are mutually exclusive: `primary_data_source_name`, `self`, `supplemental_data_source_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
235
250
  # @!attribute [rw] supplemental_data_source_name
236
251
  # @return [::String]
237
252
  # Optional. The name of the supplemental data source.
238
253
  # Format:
239
254
  # `accounts/{account}/dataSources/{datasource}`
255
+ #
256
+ # Note: The following fields are mutually exclusive: `supplemental_data_source_name`, `self`, `primary_data_source_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
240
257
  class DataSourceReference
241
258
  include ::Google::Protobuf::MessageExts
242
259
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -71,14 +71,14 @@ module Google
71
71
  # one of those three protocols. Immutable for Google Sheets files.
72
72
  # @!attribute [rw] username
73
73
  # @return [::String]
74
- # Optional. An optional user name for [fetch
75
- # url][google.shopping.content.bundles.DataSources.FileInput.fetch_url].
74
+ # Optional. An optional user name for
75
+ # {::Google::Shopping::Merchant::DataSources::V1beta::FileInput::FetchSettings#fetch_uri fetch_uri}.
76
76
  # Used for [submitting data sources through
77
77
  # SFTP](https://support.google.com/merchants/answer/13813117).
78
78
  # @!attribute [rw] password
79
79
  # @return [::String]
80
- # Optional. An optional password for [fetch
81
- # url][google.shopping.content.bundles.DataSources.FileInput.fetch_url].
80
+ # Optional. An optional password for
81
+ # {::Google::Shopping::Merchant::DataSources::V1beta::FileInput::FetchSettings#fetch_uri fetch_uri}.
82
82
  # Used for [submitting data sources through
83
83
  # SFTP](https://support.google.com/merchants/answer/13813117).
84
84
  class FetchSettings
@@ -126,11 +126,11 @@ module Google
126
126
  UPLOAD = 1
127
127
 
128
128
  # The file is fetched from the configured
129
- # [fetch_uri][google.shopping.content.bundles.DataSources.FileInput.FetchSettings.fetch_uri].
129
+ # {::Google::Shopping::Merchant::DataSources::V1beta::FileInput::FetchSettings#fetch_uri fetch_uri}.
130
130
  FETCH = 2
131
131
 
132
132
  # The file is fetched from Google Sheets specified in the
133
- # [fetch_uri][google.shopping.content.bundles.DataSources.FileInput.FetchSettings.fetch_uri].
133
+ # {::Google::Shopping::Merchant::DataSources::V1beta::FileInput::FetchSettings#fetch_uri fetch_uri}.
134
134
  GOOGLE_SHEETS = 3
135
135
  end
136
136
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-data_sources-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -112,7 +111,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
112
111
  licenses:
113
112
  - Apache-2.0
114
113
  metadata: {}
115
- post_install_message:
116
114
  rdoc_options: []
117
115
  require_paths:
118
116
  - lib
@@ -120,15 +118,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
118
  requirements:
121
119
  - - ">="
122
120
  - !ruby/object:Gem::Version
123
- version: '2.7'
121
+ version: '3.0'
124
122
  required_rubygems_version: !ruby/object:Gem::Requirement
125
123
  requirements:
126
124
  - - ">="
127
125
  - !ruby/object:Gem::Version
128
126
  version: '0'
129
127
  requirements: []
130
- rubygems_version: 3.5.23
131
- signing_key:
128
+ rubygems_version: 3.6.2
132
129
  specification_version: 4
133
130
  summary: Programmatically manage your Merchant Center Accounts.
134
131
  test_files: []