google-shopping-merchant-accounts-v1beta 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/lib/google/shopping/merchant/accounts/v1beta/account_issue_service/client.rb +6 -1
  4. data/lib/google/shopping/merchant/accounts/v1beta/account_issue_service/rest/client.rb +6 -1
  5. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_service/client.rb +5 -0
  6. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_service/rest/client.rb +5 -0
  7. data/lib/google/shopping/merchant/accounts/v1beta/accountissue_pb.rb +1 -3
  8. data/lib/google/shopping/merchant/accounts/v1beta/accounts_pb.rb +3 -2
  9. data/lib/google/shopping/merchant/accounts/v1beta/accounts_service/client.rb +6 -3
  10. data/lib/google/shopping/merchant/accounts/v1beta/accounts_service/rest/client.rb +6 -3
  11. data/lib/google/shopping/merchant/accounts/v1beta/accountservices_pb.rb +49 -0
  12. data/lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/client.rb +529 -0
  13. data/lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/credentials.rb +49 -0
  14. data/lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/paths.rb +49 -0
  15. data/lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/rest/client.rb +489 -0
  16. data/lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/rest/service_stub.rb +190 -0
  17. data/lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/rest.rb +55 -0
  18. data/lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service.rb +58 -0
  19. data/lib/google/shopping/merchant/accounts/v1beta/autofeedsettings_pb.rb +53 -0
  20. data/lib/google/shopping/merchant/accounts/v1beta/autofeedsettings_services_pb.rb +50 -0
  21. data/lib/google/shopping/merchant/accounts/v1beta/business_identity_service/client.rb +5 -0
  22. data/lib/google/shopping/merchant/accounts/v1beta/business_identity_service/rest/client.rb +5 -0
  23. data/lib/google/shopping/merchant/accounts/v1beta/business_info_service/client.rb +5 -0
  24. data/lib/google/shopping/merchant/accounts/v1beta/business_info_service/rest/client.rb +5 -0
  25. data/lib/google/shopping/merchant/accounts/v1beta/businessinfo_pb.rb +1 -1
  26. data/lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/client.rb +5 -0
  27. data/lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/rest/client.rb +5 -0
  28. data/lib/google/shopping/merchant/accounts/v1beta/homepage_service/client.rb +5 -0
  29. data/lib/google/shopping/merchant/accounts/v1beta/homepage_service/rest/client.rb +5 -0
  30. data/lib/google/shopping/merchant/accounts/v1beta/programs_service/client.rb +5 -0
  31. data/lib/google/shopping/merchant/accounts/v1beta/programs_service/rest/client.rb +5 -0
  32. data/lib/google/shopping/merchant/accounts/v1beta/regions_service/client.rb +5 -0
  33. data/lib/google/shopping/merchant/accounts/v1beta/regions_service/rest/client.rb +5 -0
  34. data/lib/google/shopping/merchant/accounts/v1beta/rest.rb +1 -0
  35. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_agreement_state_service/client.rb +6 -0
  36. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_agreement_state_service/rest/client.rb +6 -0
  37. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/client.rb +4 -4
  38. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/rest/client.rb +4 -4
  39. data/lib/google/shopping/merchant/accounts/v1beta/termsofservice_pb.rb +1 -1
  40. data/lib/google/shopping/merchant/accounts/v1beta/user_service/client.rb +5 -0
  41. data/lib/google/shopping/merchant/accounts/v1beta/user_service/rest/client.rb +5 -0
  42. data/lib/google/shopping/merchant/accounts/v1beta/version.rb +1 -1
  43. data/lib/google/shopping/merchant/accounts/v1beta.rb +1 -0
  44. data/proto_docs/google/shopping/merchant/accounts/v1beta/accountissue.rb +1 -1
  45. data/proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb +14 -6
  46. data/proto_docs/google/shopping/merchant/accounts/v1beta/accountservices.rb +34 -0
  47. data/proto_docs/google/shopping/merchant/accounts/v1beta/autofeedsettings.rb +75 -0
  48. data/proto_docs/google/shopping/merchant/accounts/v1beta/businessinfo.rb +5 -0
  49. data/proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb +5 -1
  50. data/proto_docs/google/shopping/merchant/accounts/v1beta/termsofservice.rb +4 -4
  51. data/proto_docs/google/shopping/merchant/accounts/v1beta/termsofserviceagreementstate.rb +3 -0
  52. metadata +29 -5
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Shopping
22
+ module Merchant
23
+ module Accounts
24
+ module V1beta
25
+ # Collection of information related to the
26
+ # [autofeed](https://support.google.com/merchants/answer/7538732) settings.
27
+ # @!attribute [rw] name
28
+ # @return [::String]
29
+ # Identifier. The resource name of the autofeed settings.
30
+ # Format: `accounts/{account}/autofeedSettings`.
31
+ # @!attribute [rw] enable_products
32
+ # @return [::Boolean]
33
+ # Required. Enables or disables product crawling through the autofeed for the
34
+ # given account. Autofeed accounts must meet [certain
35
+ # conditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience),
36
+ # which can be checked through the `eligible` field.
37
+ # The account must **not** be a marketplace.
38
+ # When the autofeed is enabled for the first time, the products usually
39
+ # appear instantly. When re-enabling, it might take up to 24 hours for
40
+ # products to appear.
41
+ # @!attribute [r] eligible
42
+ # @return [::Boolean]
43
+ # Output only. Determines whether merchant is eligible for being enrolled
44
+ # into an autofeed.
45
+ class AutofeedSettings
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+ end
49
+
50
+ # Request message for the `GetAutofeedSettings` method.
51
+ # @!attribute [rw] name
52
+ # @return [::String]
53
+ # Required. The resource name of the autofeed settings.
54
+ # Format: `accounts/{account}/autofeedSettings`
55
+ class GetAutofeedSettingsRequest
56
+ include ::Google::Protobuf::MessageExts
57
+ extend ::Google::Protobuf::MessageExts::ClassMethods
58
+ end
59
+
60
+ # Request message for the `UpdateAutofeedSettings` method.
61
+ # @!attribute [rw] autofeed_settings
62
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::AutofeedSettings]
63
+ # Required. The new version of the autofeed setting.
64
+ # @!attribute [rw] update_mask
65
+ # @return [::Google::Protobuf::FieldMask]
66
+ # Required. List of fields being updated.
67
+ class UpdateAutofeedSettingsRequest
68
+ include ::Google::Protobuf::MessageExts
69
+ extend ::Google::Protobuf::MessageExts::ClassMethods
70
+ end
71
+ end
72
+ end
73
+ end
74
+ end
75
+ end
@@ -39,6 +39,11 @@ module Google
39
39
  # @!attribute [rw] customer_service
40
40
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::CustomerService]
41
41
  # Optional. The customer service of the business.
42
+ # @!attribute [rw] korean_business_registration_number
43
+ # @return [::String]
44
+ # Optional. The 10-digit [Korean business registration
45
+ # number](https://support.google.com/merchants/answer/9037766) separated with
46
+ # dashes in the format: XXX-XX-XXXXX.
42
47
  class BusinessInfo
43
48
  include ::Google::Protobuf::MessageExts
44
49
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -23,7 +23,7 @@ module Google
23
23
  module Accounts
24
24
  module V1beta
25
25
  # The merchant account's [shipping
26
- # setting]((https://support.google.com/merchants/answer/6069284).
26
+ # setting](https://support.google.com/merchants/answer/6069284).
27
27
  # @!attribute [rw] name
28
28
  # @return [::String]
29
29
  # Identifier. The resource name of the shipping setting.
@@ -344,11 +344,15 @@ module Google
344
344
  # @return [::Integer]
345
345
  # Minimum number of business days spent before an order is shipped.
346
346
  # 0 means same day shipped, 1 means next day shipped.
347
+ # 'min_handling_days' and 'max_handling_days' should be either set or not set
348
+ # at the same time.
347
349
  # @!attribute [rw] max_handling_days
348
350
  # @return [::Integer]
349
351
  # Maximum number of business days spent before an order is shipped.
350
352
  # 0 means same day shipped, 1 means next day shipped.
351
353
  # Must be greater than or equal to `min_handling_days`.
354
+ # 'min_handling_days' and 'max_handling_days' should be either set or not set
355
+ # at the same time.
352
356
  # @!attribute [rw] transit_time_table
353
357
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::TransitTable]
354
358
  # Transit time table, number of business days spent in transit based on row
@@ -64,12 +64,12 @@ module Google
64
64
  # Request message for the `RetrieveLatestTermsOfService` method.
65
65
  # @!attribute [rw] region_code
66
66
  # @return [::String]
67
- # Region code as defined by [CLDR](https://cldr.unicode.org/). This is either
68
- # a country when the ToS applies specifically to that country or 001 when it
69
- # applies globally.
67
+ # Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This
68
+ # is either a country when the ToS applies specifically to that country or
69
+ # 001 when it applies globally.
70
70
  # @!attribute [rw] kind
71
71
  # @return [::Google::Shopping::Merchant::Accounts::V1beta::TermsOfServiceKind]
72
- # The Kind this terms of service version applies to.
72
+ # Required. The Kind this terms of service version applies to.
73
73
  class RetrieveLatestTermsOfServiceRequest
74
74
  include ::Google::Protobuf::MessageExts
75
75
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -48,6 +48,8 @@ module Google
48
48
  # @return [::String]
49
49
  # Identifier. The resource name of the terms of service version.
50
50
  # Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}`
51
+ # The identifier format is: `{TermsOfServiceKind}-{country}`
52
+ # For example, an identifier could be: `MERCHANT_CENTER-US`
51
53
  # @!attribute [rw] region_code
52
54
  # @return [::String]
53
55
  # Region code as defined by https://cldr.unicode.org/. This is the
@@ -110,6 +112,7 @@ module Google
110
112
  # @return [::String]
111
113
  # Required. The resource name of the terms of service version.
112
114
  # Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}`
115
+ # The identifier format is: `{TermsOfServiceKind}-{country}`
113
116
  class GetTermsOfServiceAgreementStateRequest
114
117
  include ::Google::Protobuf::MessageExts
115
118
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-accounts-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
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-08-30 00:00:00.000000000 Z
11
+ date: 2024-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -64,10 +64,22 @@ dependencies:
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
67
- description: Programmatically manage your Merchant Center accounts. Note that google-shopping-merchant-accounts-v1beta
67
+ description: 'Merchant API consists of multiple Sub-APIs. Accounts Sub-API: Enables
68
+ you to programmatically manage your accounts. Conversions Sub-API: Enables you to
69
+ programmatically manage your conversion sources for a merchant account. Datasources
70
+ Sub-API: Enables you to programmatically manage your datasources. Inventories Sub-API:
71
+ This bundle enables you to programmatically manage your local and regional inventories.
72
+ Local Feeds Partnerships Sub-API: This bundle enables LFP partners to submit local
73
+ inventories for a merchant. Notifications Sub-API: This bundle enables you to programmatically
74
+ manage your notification subscriptions. Products Sub-API: This bundle enables you
75
+ to programmatically manage your products. Promotions Sub-API: This bundle enables
76
+ you to programmatically manage your promotions for products. Quota Sub-API: This
77
+ bundle enables you to list your quotas for all APIs you are using. Reports Sub-API:
78
+ This bundle enables you to programmatically retrieve reports and insights about
79
+ products, their performance and their competitive environment. Note that google-shopping-merchant-accounts-v1beta
68
80
  is a version-specific client library. For most uses, we recommend installing the
69
81
  main client library google-shopping-merchant-accounts instead. See the readme for
70
- more details.
82
+ more details.'
71
83
  email: googleapis-packages@google.com
72
84
  executables: []
73
85
  extensions: []
@@ -107,6 +119,16 @@ files:
107
119
  - lib/google/shopping/merchant/accounts/v1beta/accounts_service/rest/client.rb
108
120
  - lib/google/shopping/merchant/accounts/v1beta/accounts_service/rest/service_stub.rb
109
121
  - lib/google/shopping/merchant/accounts/v1beta/accounts_services_pb.rb
122
+ - lib/google/shopping/merchant/accounts/v1beta/accountservices_pb.rb
123
+ - lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service.rb
124
+ - lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/client.rb
125
+ - lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/credentials.rb
126
+ - lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/paths.rb
127
+ - lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/rest.rb
128
+ - lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/rest/client.rb
129
+ - lib/google/shopping/merchant/accounts/v1beta/autofeed_settings_service/rest/service_stub.rb
130
+ - lib/google/shopping/merchant/accounts/v1beta/autofeedsettings_pb.rb
131
+ - lib/google/shopping/merchant/accounts/v1beta/autofeedsettings_services_pb.rb
110
132
  - lib/google/shopping/merchant/accounts/v1beta/business_identity_service.rb
111
133
  - lib/google/shopping/merchant/accounts/v1beta/business_identity_service/client.rb
112
134
  - lib/google/shopping/merchant/accounts/v1beta/business_identity_service/credentials.rb
@@ -226,6 +248,8 @@ files:
226
248
  - proto_docs/google/shopping/merchant/accounts/v1beta/account_tax.rb
227
249
  - proto_docs/google/shopping/merchant/accounts/v1beta/accountissue.rb
228
250
  - proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb
251
+ - proto_docs/google/shopping/merchant/accounts/v1beta/accountservices.rb
252
+ - proto_docs/google/shopping/merchant/accounts/v1beta/autofeedsettings.rb
229
253
  - proto_docs/google/shopping/merchant/accounts/v1beta/businessidentity.rb
230
254
  - proto_docs/google/shopping/merchant/accounts/v1beta/businessinfo.rb
231
255
  - proto_docs/google/shopping/merchant/accounts/v1beta/customerservice.rb
@@ -269,5 +293,5 @@ requirements: []
269
293
  rubygems_version: 3.5.6
270
294
  signing_key:
271
295
  specification_version: 4
272
- summary: Programmatically manage your Merchant Center accounts.
296
+ summary: Programmatically manage your Merchant Center Accounts.
273
297
  test_files: []