google-shopping-merchant-accounts-v1beta 0.a → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +143 -8
  5. data/lib/google/shopping/merchant/accounts/v1beta/accessright_pb.rb +44 -0
  6. data/lib/google/shopping/merchant/accounts/v1beta/account_issue_service/client.rb +452 -0
  7. data/lib/google/shopping/merchant/accounts/v1beta/account_issue_service/credentials.rb +49 -0
  8. data/lib/google/shopping/merchant/accounts/v1beta/account_issue_service/paths.rb +49 -0
  9. data/lib/google/shopping/merchant/accounts/v1beta/account_issue_service/rest/client.rb +419 -0
  10. data/lib/google/shopping/merchant/accounts/v1beta/account_issue_service/rest/service_stub.rb +130 -0
  11. data/lib/google/shopping/merchant/accounts/v1beta/account_issue_service/rest.rb +54 -0
  12. data/lib/google/shopping/merchant/accounts/v1beta/account_issue_service.rb +57 -0
  13. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_pb.rb +57 -0
  14. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_service/client.rb +633 -0
  15. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_service/credentials.rb +49 -0
  16. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_service/paths.rb +66 -0
  17. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_service/rest/client.rb +586 -0
  18. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_service/rest/service_stub.rb +249 -0
  19. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_service/rest.rb +58 -0
  20. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_service.rb +61 -0
  21. data/lib/google/shopping/merchant/accounts/v1beta/account_tax_services_pb.rb +58 -0
  22. data/lib/google/shopping/merchant/accounts/v1beta/accountissue_pb.rb +57 -0
  23. data/lib/google/shopping/merchant/accounts/v1beta/accountissue_services_pb.rb +47 -0
  24. data/lib/google/shopping/merchant/accounts/v1beta/accounts_pb.rb +67 -0
  25. data/lib/google/shopping/merchant/accounts/v1beta/accounts_service/client.rb +942 -0
  26. data/lib/google/shopping/merchant/accounts/v1beta/accounts_service/credentials.rb +49 -0
  27. data/lib/google/shopping/merchant/accounts/v1beta/accounts_service/paths.rb +80 -0
  28. data/lib/google/shopping/merchant/accounts/v1beta/accounts_service/rest/client.rb +890 -0
  29. data/lib/google/shopping/merchant/accounts/v1beta/accounts_service/rest/service_stub.rb +423 -0
  30. data/lib/google/shopping/merchant/accounts/v1beta/accounts_service/rest.rb +54 -0
  31. data/lib/google/shopping/merchant/accounts/v1beta/accounts_service.rb +57 -0
  32. data/lib/google/shopping/merchant/accounts/v1beta/accounts_services_pb.rb +71 -0
  33. data/lib/google/shopping/merchant/accounts/v1beta/business_identity_service/client.rb +525 -0
  34. data/lib/google/shopping/merchant/accounts/v1beta/business_identity_service/credentials.rb +49 -0
  35. data/lib/google/shopping/merchant/accounts/v1beta/business_identity_service/paths.rb +49 -0
  36. data/lib/google/shopping/merchant/accounts/v1beta/business_identity_service/rest/client.rb +485 -0
  37. data/lib/google/shopping/merchant/accounts/v1beta/business_identity_service/rest/service_stub.rb +190 -0
  38. data/lib/google/shopping/merchant/accounts/v1beta/business_identity_service/rest.rb +55 -0
  39. data/lib/google/shopping/merchant/accounts/v1beta/business_identity_service.rb +58 -0
  40. data/lib/google/shopping/merchant/accounts/v1beta/business_info_service/client.rb +524 -0
  41. data/lib/google/shopping/merchant/accounts/v1beta/business_info_service/credentials.rb +49 -0
  42. data/lib/google/shopping/merchant/accounts/v1beta/business_info_service/paths.rb +49 -0
  43. data/lib/google/shopping/merchant/accounts/v1beta/business_info_service/rest/client.rb +484 -0
  44. data/lib/google/shopping/merchant/accounts/v1beta/business_info_service/rest/service_stub.rb +190 -0
  45. data/lib/google/shopping/merchant/accounts/v1beta/business_info_service/rest.rb +54 -0
  46. data/lib/google/shopping/merchant/accounts/v1beta/business_info_service.rb +57 -0
  47. data/lib/google/shopping/merchant/accounts/v1beta/businessidentity_pb.rb +56 -0
  48. data/lib/google/shopping/merchant/accounts/v1beta/businessidentity_services_pb.rb +51 -0
  49. data/lib/google/shopping/merchant/accounts/v1beta/businessinfo_pb.rb +60 -0
  50. data/lib/google/shopping/merchant/accounts/v1beta/businessinfo_services_pb.rb +50 -0
  51. data/lib/google/shopping/merchant/accounts/v1beta/customerservice_pb.rb +48 -0
  52. data/lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/client.rb +539 -0
  53. data/lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/credentials.rb +49 -0
  54. data/lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/paths.rb +52 -0
  55. data/lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/rest/client.rb +499 -0
  56. data/lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/rest/service_stub.rb +190 -0
  57. data/lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/rest.rb +57 -0
  58. data/lib/google/shopping/merchant/accounts/v1beta/email_preferences_service.rb +60 -0
  59. data/lib/google/shopping/merchant/accounts/v1beta/emailpreferences_pb.rb +54 -0
  60. data/lib/google/shopping/merchant/accounts/v1beta/emailpreferences_services_pb.rb +65 -0
  61. data/lib/google/shopping/merchant/accounts/v1beta/homepage_pb.rb +55 -0
  62. data/lib/google/shopping/merchant/accounts/v1beta/homepage_service/client.rb +724 -0
  63. data/lib/google/shopping/merchant/accounts/v1beta/homepage_service/credentials.rb +49 -0
  64. data/lib/google/shopping/merchant/accounts/v1beta/homepage_service/paths.rb +49 -0
  65. data/lib/google/shopping/merchant/accounts/v1beta/homepage_service/rest/client.rb +670 -0
  66. data/lib/google/shopping/merchant/accounts/v1beta/homepage_service/rest/service_stub.rb +310 -0
  67. data/lib/google/shopping/merchant/accounts/v1beta/homepage_service/rest.rb +54 -0
  68. data/lib/google/shopping/merchant/accounts/v1beta/homepage_service.rb +57 -0
  69. data/lib/google/shopping/merchant/accounts/v1beta/homepage_services_pb.rb +66 -0
  70. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_pb.rb +61 -0
  71. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/client.rb +551 -0
  72. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/credentials.rb +49 -0
  73. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/paths.rb +66 -0
  74. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/rest/client.rb +511 -0
  75. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/rest/service_stub.rb +189 -0
  76. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service/rest.rb +58 -0
  77. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_service.rb +61 -0
  78. data/lib/google/shopping/merchant/accounts/v1beta/online_return_policy_services_pb.rb +53 -0
  79. data/lib/google/shopping/merchant/accounts/v1beta/phoneverificationstate_pb.rb +44 -0
  80. data/lib/google/shopping/merchant/accounts/v1beta/programs_pb.rb +56 -0
  81. data/lib/google/shopping/merchant/accounts/v1beta/programs_service/client.rb +734 -0
  82. data/lib/google/shopping/merchant/accounts/v1beta/programs_service/credentials.rb +49 -0
  83. data/lib/google/shopping/merchant/accounts/v1beta/programs_service/paths.rb +66 -0
  84. data/lib/google/shopping/merchant/accounts/v1beta/programs_service/rest/client.rb +680 -0
  85. data/lib/google/shopping/merchant/accounts/v1beta/programs_service/rest/service_stub.rb +309 -0
  86. data/lib/google/shopping/merchant/accounts/v1beta/programs_service/rest.rb +64 -0
  87. data/lib/google/shopping/merchant/accounts/v1beta/programs_service.rb +67 -0
  88. data/lib/google/shopping/merchant/accounts/v1beta/programs_services_pb.rb +65 -0
  89. data/lib/google/shopping/merchant/accounts/v1beta/regions_pb.rb +63 -0
  90. data/lib/google/shopping/merchant/accounts/v1beta/regions_service/client.rb +835 -0
  91. data/lib/google/shopping/merchant/accounts/v1beta/regions_service/credentials.rb +49 -0
  92. data/lib/google/shopping/merchant/accounts/v1beta/regions_service/paths.rb +66 -0
  93. data/lib/google/shopping/merchant/accounts/v1beta/regions_service/rest/client.rb +774 -0
  94. data/lib/google/shopping/merchant/accounts/v1beta/regions_service/rest/service_stub.rb +368 -0
  95. data/lib/google/shopping/merchant/accounts/v1beta/regions_service/rest.rb +58 -0
  96. data/lib/google/shopping/merchant/accounts/v1beta/regions_service.rb +61 -0
  97. data/lib/google/shopping/merchant/accounts/v1beta/regions_services_pb.rb +62 -0
  98. data/lib/google/shopping/merchant/accounts/v1beta/rest.rb +52 -0
  99. data/lib/google/shopping/merchant/accounts/v1beta/shipping_settings_service/client.rb +526 -0
  100. data/lib/google/shopping/merchant/accounts/v1beta/shipping_settings_service/credentials.rb +49 -0
  101. data/lib/google/shopping/merchant/accounts/v1beta/shipping_settings_service/paths.rb +49 -0
  102. data/lib/google/shopping/merchant/accounts/v1beta/shipping_settings_service/rest/client.rb +486 -0
  103. data/lib/google/shopping/merchant/accounts/v1beta/shipping_settings_service/rest/service_stub.rb +190 -0
  104. data/lib/google/shopping/merchant/accounts/v1beta/shipping_settings_service/rest.rb +55 -0
  105. data/lib/google/shopping/merchant/accounts/v1beta/shipping_settings_service.rb +58 -0
  106. data/lib/google/shopping/merchant/accounts/v1beta/shippingsettings_pb.rb +83 -0
  107. data/lib/google/shopping/merchant/accounts/v1beta/shippingsettings_services_pb.rb +51 -0
  108. data/lib/google/shopping/merchant/accounts/v1beta/tax_rule_pb.rb +49 -0
  109. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_agreement_state_service/client.rb +522 -0
  110. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_agreement_state_service/credentials.rb +49 -0
  111. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_agreement_state_service/paths.rb +66 -0
  112. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_agreement_state_service/rest/client.rb +482 -0
  113. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_agreement_state_service/rest/service_stub.rb +189 -0
  114. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_agreement_state_service/rest.rb +54 -0
  115. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_agreement_state_service.rb +57 -0
  116. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/client.rb +623 -0
  117. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/credentials.rb +49 -0
  118. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/paths.rb +63 -0
  119. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/rest/client.rb +584 -0
  120. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/rest/service_stub.rb +246 -0
  121. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/rest.rb +54 -0
  122. data/lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service.rb +57 -0
  123. data/lib/google/shopping/merchant/accounts/v1beta/termsofservice_pb.rb +54 -0
  124. data/lib/google/shopping/merchant/accounts/v1beta/termsofservice_services_pb.rb +52 -0
  125. data/lib/google/shopping/merchant/accounts/v1beta/termsofserviceagreementstate_pb.rb +56 -0
  126. data/lib/google/shopping/merchant/accounts/v1beta/termsofserviceagreementstate_services_pb.rb +49 -0
  127. data/lib/google/shopping/merchant/accounts/v1beta/termsofservicekind_pb.rb +44 -0
  128. data/lib/google/shopping/merchant/accounts/v1beta/user_pb.rb +60 -0
  129. data/lib/google/shopping/merchant/accounts/v1beta/user_service/client.rb +838 -0
  130. data/lib/google/shopping/merchant/accounts/v1beta/user_service/credentials.rb +49 -0
  131. data/lib/google/shopping/merchant/accounts/v1beta/user_service/paths.rb +66 -0
  132. data/lib/google/shopping/merchant/accounts/v1beta/user_service/rest/client.rb +777 -0
  133. data/lib/google/shopping/merchant/accounts/v1beta/user_service/rest/service_stub.rb +368 -0
  134. data/lib/google/shopping/merchant/accounts/v1beta/user_service/rest.rb +54 -0
  135. data/lib/google/shopping/merchant/accounts/v1beta/user_service.rb +57 -0
  136. data/lib/google/shopping/merchant/accounts/v1beta/user_services_pb.rb +58 -0
  137. data/lib/google/shopping/merchant/accounts/v1beta/version.rb +7 -2
  138. data/lib/google/shopping/merchant/accounts/v1beta.rb +60 -0
  139. data/lib/google-shopping-merchant-accounts-v1beta.rb +21 -0
  140. data/proto_docs/README.md +4 -0
  141. data/proto_docs/google/api/client.rb +420 -0
  142. data/proto_docs/google/api/field_behavior.rb +85 -0
  143. data/proto_docs/google/api/launch_stage.rb +71 -0
  144. data/proto_docs/google/api/resource.rb +227 -0
  145. data/proto_docs/google/protobuf/duration.rb +98 -0
  146. data/proto_docs/google/protobuf/empty.rb +34 -0
  147. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  148. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  149. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  150. data/proto_docs/google/shopping/merchant/accounts/v1beta/accessright.rb +43 -0
  151. data/proto_docs/google/shopping/merchant/accounts/v1beta/account_tax.rb +101 -0
  152. data/proto_docs/google/shopping/merchant/accounts/v1beta/accountissue.rb +142 -0
  153. data/proto_docs/google/shopping/merchant/accounts/v1beta/accounts.rb +219 -0
  154. data/proto_docs/google/shopping/merchant/accounts/v1beta/businessidentity.rb +129 -0
  155. data/proto_docs/google/shopping/merchant/accounts/v1beta/businessinfo.rb +72 -0
  156. data/proto_docs/google/shopping/merchant/accounts/v1beta/customerservice.rb +43 -0
  157. data/proto_docs/google/shopping/merchant/accounts/v1beta/emailpreferences.rb +82 -0
  158. data/proto_docs/google/shopping/merchant/accounts/v1beta/homepage.rb +87 -0
  159. data/proto_docs/google/shopping/merchant/accounts/v1beta/online_return_policy.rb +238 -0
  160. data/proto_docs/google/shopping/merchant/accounts/v1beta/phoneverificationstate.rb +40 -0
  161. data/proto_docs/google/shopping/merchant/accounts/v1beta/programs.rb +160 -0
  162. data/proto_docs/google/shopping/merchant/accounts/v1beta/regions.rb +195 -0
  163. data/proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb +743 -0
  164. data/proto_docs/google/shopping/merchant/accounts/v1beta/tax_rule.rb +88 -0
  165. data/proto_docs/google/shopping/merchant/accounts/v1beta/termsofservice.rb +99 -0
  166. data/proto_docs/google/shopping/merchant/accounts/v1beta/termsofserviceagreementstate.rb +132 -0
  167. data/proto_docs/google/shopping/merchant/accounts/v1beta/termsofservicekind.rb +37 -0
  168. data/proto_docs/google/shopping/merchant/accounts/v1beta/user.rb +156 -0
  169. data/proto_docs/google/shopping/type/types.rb +210 -0
  170. data/proto_docs/google/type/date.rb +53 -0
  171. data/proto_docs/google/type/datetime.rb +99 -0
  172. data/proto_docs/google/type/interval.rb +45 -0
  173. data/proto_docs/google/type/phone_number.rb +112 -0
  174. data/proto_docs/google/type/postal_address.rb +135 -0
  175. metadata +234 -10
@@ -0,0 +1,743 @@
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
+ # The merchant account's [shipping
26
+ # setting]((https://support.google.com/merchants/answer/6069284).
27
+ # @!attribute [rw] name
28
+ # @return [::String]
29
+ # Identifier. The resource name of the shipping setting.
30
+ # Format: `accounts/{account}/shippingSetting`
31
+ # @!attribute [rw] services
32
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service>]
33
+ # Optional. The target account's list of services.
34
+ # @!attribute [rw] warehouses
35
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Warehouse>]
36
+ # Optional. A list of warehouses which can be referred to in `services`.
37
+ # @!attribute [rw] etag
38
+ # @return [::String]
39
+ # Required. This field is used for avoid async issue. Make sure shipping
40
+ # setting data
41
+ # didn't change between get call and insert call. The user should do
42
+ # following steps:
43
+ #
44
+ # 1. Set etag field as empty string for initial shipping setting creation.
45
+ #
46
+ # 2. After initial creation, call get method to obtain an etag and current
47
+ # shipping setting data before call insert.
48
+ #
49
+ # 3. Modify to wanted shipping setting information.
50
+ #
51
+ # 4. Call insert method with the wanted shipping setting information with
52
+ # the etag obtained from step 2.
53
+ #
54
+ # 5. If shipping setting data changed between step 2 and step 4. Insert
55
+ # request will fail because the etag changes every time the shipping setting
56
+ # data changes. User should repeate step 2-4 with the new etag.
57
+ class ShippingSettings
58
+ include ::Google::Protobuf::MessageExts
59
+ extend ::Google::Protobuf::MessageExts::ClassMethods
60
+ end
61
+
62
+ # Shipping service.
63
+ # @!attribute [rw] service_name
64
+ # @return [::String]
65
+ # Required. Free-form name of the service. Must be unique within target
66
+ # account.
67
+ # @!attribute [rw] active
68
+ # @return [::Boolean]
69
+ # Required. A boolean exposing the active status of the shipping service.
70
+ # @!attribute [rw] delivery_countries
71
+ # @return [::Array<::String>]
72
+ # Required. The CLDR territory code of the countries to which the service
73
+ # applies.
74
+ # @!attribute [rw] currency_code
75
+ # @return [::String]
76
+ # The CLDR code of the currency to which this service applies. Must match
77
+ # that of the prices in rate groups.
78
+ # @!attribute [rw] delivery_time
79
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::DeliveryTime]
80
+ # Required. Time spent in various aspects from order to the delivery of the
81
+ # product.
82
+ # @!attribute [rw] rate_groups
83
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::RateGroup>]
84
+ # Optional. Shipping rate group definitions. Only the last one is allowed to
85
+ # have an empty `applicable_shipping_labels`, which means "everything else".
86
+ # The other `applicable_shipping_labels` must not overlap.
87
+ # @!attribute [rw] shipment_type
88
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::ShipmentType]
89
+ # Type of locations this service ships orders to.
90
+ # @!attribute [rw] minimum_order_value
91
+ # @return [::Google::Shopping::Type::Price]
92
+ # Minimum order value for this service. If set, indicates that customers
93
+ # will have to spend at least this amount.
94
+ # All prices within a service must have the same currency.
95
+ # Cannot be set together with minimum_order_value_table.
96
+ # @!attribute [rw] minimum_order_value_table
97
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::MinimumOrderValueTable]
98
+ # Table of per store minimum order values for the pickup fulfillment type.
99
+ # Cannot be set together with minimum_order_value.
100
+ # @!attribute [rw] store_config
101
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig]
102
+ # A list of stores your products are delivered from.
103
+ # This is only valid for the local delivery shipment type.
104
+ # @!attribute [rw] loyalty_programs
105
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram>]
106
+ # Optional. Loyalty programs that this shipping service is limited to.
107
+ class Service
108
+ include ::Google::Protobuf::MessageExts
109
+ extend ::Google::Protobuf::MessageExts::ClassMethods
110
+
111
+ # A list of stores your products are delivered from.
112
+ # This is only valid for the local delivery shipment type.
113
+ # @!attribute [rw] store_service_type
114
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType]
115
+ # Indicates whether all stores, or selected stores, listed by this
116
+ # merchant provide local delivery.
117
+ # @!attribute [rw] store_codes
118
+ # @return [::Array<::String>]
119
+ # Optional. A list of store codes that provide local delivery.
120
+ # If empty, then `all_stores` must be true.
121
+ # @!attribute [rw] cutoff_config
122
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig]
123
+ # Configs related to local delivery ends for the day.
124
+ # @!attribute [rw] service_radius
125
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance]
126
+ # Maximum delivery radius.
127
+ # This is only required for the local delivery shipment type.
128
+ class StoreConfig
129
+ include ::Google::Protobuf::MessageExts
130
+ extend ::Google::Protobuf::MessageExts::ClassMethods
131
+
132
+ # Configs related to local delivery ends for the day.
133
+ # @!attribute [rw] local_cutoff_time
134
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig::LocalCutoffTime]
135
+ # Time that local delivery ends for the day.
136
+ # @!attribute [rw] store_close_offset_hours
137
+ # @return [::Integer]
138
+ # Only valid with local delivery fulfillment. Represents cutoff time
139
+ # as the number of hours before store closing. Mutually exclusive
140
+ # with `local_cutoff_time`.
141
+ # @!attribute [rw] no_delivery_post_cutoff
142
+ # @return [::Boolean]
143
+ # Merchants can opt-out of showing n+1 day local delivery when they have
144
+ # a shipping service configured to n day local delivery. For example, if
145
+ # the shipping service defines same-day delivery, and it's past the
146
+ # cut-off, setting this field to `true` results in the calculated
147
+ # shipping service rate returning `NO_DELIVERY_POST_CUTOFF`. In the
148
+ # same example, setting this field to `false` results in the calculated
149
+ # shipping time being one day. This is only for local delivery.
150
+ class CutoffConfig
151
+ include ::Google::Protobuf::MessageExts
152
+ extend ::Google::Protobuf::MessageExts::ClassMethods
153
+
154
+ # Time that local delivery ends for the day.
155
+ # @!attribute [rw] hour
156
+ # @return [::Integer]
157
+ # Hour local delivery orders must be placed by to process the same
158
+ # day.
159
+ # @!attribute [rw] minute
160
+ # @return [::Integer]
161
+ # Minute local delivery orders must be placed by to process the same
162
+ # day.
163
+ class LocalCutoffTime
164
+ include ::Google::Protobuf::MessageExts
165
+ extend ::Google::Protobuf::MessageExts::ClassMethods
166
+ end
167
+ end
168
+
169
+ # Indicates whether all stores, or selected stores, listed by the
170
+ # merchant provide local delivery.
171
+ module StoreServiceType
172
+ # Did not specify store service type.
173
+ STORE_SERVICE_TYPE_UNSPECIFIED = 0
174
+
175
+ # Indicates whether all stores, current and future, listed by this
176
+ # merchant provide local delivery.
177
+ ALL_STORES = 1
178
+
179
+ # Indicates that only the stores listed in `store_codes` are eligible
180
+ # for local delivery.
181
+ SELECTED_STORES = 2
182
+ end
183
+ end
184
+
185
+ # [Loyalty program](https://support.google.com/merchants/answer/12922446)
186
+ # provided by a merchant.
187
+ # @!attribute [rw] program_label
188
+ # @return [::String]
189
+ # This is the loyalty program label set in your loyalty program settings in
190
+ # Merchant Center. This sub-attribute allows Google to map your loyalty
191
+ # program to eligible offers.
192
+ # @!attribute [rw] loyalty_program_tiers
193
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram::LoyaltyProgramTiers>]
194
+ # Optional. Loyalty program tier of this shipping service.
195
+ class LoyaltyProgram
196
+ include ::Google::Protobuf::MessageExts
197
+ extend ::Google::Protobuf::MessageExts::ClassMethods
198
+
199
+ # Subset of a merchants loyalty program.
200
+ # @!attribute [rw] tier_label
201
+ # @return [::String]
202
+ # The tier label [tier_label] sub-attribute differentiates offer level
203
+ # benefits between each tier. This value is also set in your program
204
+ # settings in Merchant Center, and is required for data source changes
205
+ # even if your loyalty program only has 1 tier.
206
+ class LoyaltyProgramTiers
207
+ include ::Google::Protobuf::MessageExts
208
+ extend ::Google::Protobuf::MessageExts::ClassMethods
209
+ end
210
+ end
211
+
212
+ # Shipment type of shipping service.
213
+ module ShipmentType
214
+ # This service did not specify shipment type.
215
+ SHIPMENT_TYPE_UNSPECIFIED = 0
216
+
217
+ # This service ships orders to an address chosen by the customer.
218
+ DELIVERY = 1
219
+
220
+ # This service ships orders to an address chosen by the customer.
221
+ # The order is shipped from a local store near by.
222
+ LOCAL_DELIVERY = 2
223
+
224
+ # This service ships orders to an address chosen by the customer.
225
+ # The order is shipped from a collection point.
226
+ COLLECTION_POINT = 3
227
+ end
228
+ end
229
+
230
+ # Maximum delivery radius.
231
+ # This is only required for the local delivery shipment type.
232
+ # @!attribute [rw] value
233
+ # @return [::Integer]
234
+ # Integer value of distance.
235
+ # @!attribute [rw] unit
236
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance::Unit]
237
+ # Unit can differ based on country, it is parameterized to include miles
238
+ # and kilometers.
239
+ class Distance
240
+ include ::Google::Protobuf::MessageExts
241
+ extend ::Google::Protobuf::MessageExts::ClassMethods
242
+
243
+ # Unit can differ based on country, it is parameterized to include miles
244
+ # and kilometers.
245
+ module Unit
246
+ # Unit unspecified
247
+ UNIT_UNSPECIFIED = 0
248
+
249
+ # Unit in miles
250
+ MILES = 1
251
+
252
+ # Unit in kilometers
253
+ KILOMETERS = 2
254
+ end
255
+ end
256
+
257
+ # A fulfillment warehouse, which stores and handles inventory.
258
+ # Next tag: 7
259
+ # @!attribute [rw] name
260
+ # @return [::String]
261
+ # Required. The name of the warehouse. Must be unique within account.
262
+ # @!attribute [rw] shipping_address
263
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Address]
264
+ # Required. Shipping address of the warehouse.
265
+ # @!attribute [rw] cutoff_time
266
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::WarehouseCutoffTime]
267
+ # Required. The latest time of day that an order can be accepted and begin
268
+ # processing. Later orders will be processed in the next day. The time is
269
+ # based on the warehouse postal code.
270
+ # @!attribute [rw] handling_days
271
+ # @return [::Integer]
272
+ # Required. The number of days it takes for this warehouse to pack up and
273
+ # ship an item. This is on the warehouse level, but can be overridden on the
274
+ # offer level based on the attributes of an item.
275
+ # @!attribute [rw] business_day_config
276
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::BusinessDayConfig]
277
+ # Business days of the warehouse.
278
+ # If not set, will be Monday to Friday by default.
279
+ class Warehouse
280
+ include ::Google::Protobuf::MessageExts
281
+ extend ::Google::Protobuf::MessageExts::ClassMethods
282
+ end
283
+
284
+ # The latest time of day that an order can be accepted and begin processing.
285
+ # Later orders will be processed in the next day. The time is based on the
286
+ # warehouse postal code.
287
+ # @!attribute [rw] hour
288
+ # @return [::Integer]
289
+ # Required. Hour of the cutoff time until which an order has to be placed to
290
+ # be processed in the same day by the warehouse. Hour is based on the
291
+ # timezone of warehouse.
292
+ # @!attribute [rw] minute
293
+ # @return [::Integer]
294
+ # Required. Minute of the cutoff time until which an order has to be placed
295
+ # to be processed in the same day by the warehouse. Minute is based on the
296
+ # timezone of warehouse.
297
+ class WarehouseCutoffTime
298
+ include ::Google::Protobuf::MessageExts
299
+ extend ::Google::Protobuf::MessageExts::ClassMethods
300
+ end
301
+
302
+ # Shipping address of the warehouse.
303
+ # @!attribute [rw] street_address
304
+ # @return [::String]
305
+ # Street-level part of the address. For example: `111w 31st Street`.
306
+ # @!attribute [rw] city
307
+ # @return [::String]
308
+ # Required. City, town or commune. May also include dependent localities or
309
+ # sublocalities (For example neighborhoods or suburbs).
310
+ # @!attribute [rw] administrative_area
311
+ # @return [::String]
312
+ # Required. Top-level administrative subdivision of the country. For example,
313
+ # a state like California ("CA") or a province like Quebec ("QC").
314
+ # @!attribute [rw] postal_code
315
+ # @return [::String]
316
+ # Required. Postal code or ZIP (For example "94043").
317
+ # @!attribute [rw] region_code
318
+ # @return [::String]
319
+ # Required. [CLDR country
320
+ # code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)
321
+ # (For example "US").
322
+ class Address
323
+ include ::Google::Protobuf::MessageExts
324
+ extend ::Google::Protobuf::MessageExts::ClassMethods
325
+ end
326
+
327
+ # Time spent in various aspects from order to the delivery of the product.
328
+ # @!attribute [rw] min_transit_days
329
+ # @return [::Integer]
330
+ # Minimum number of business days that is spent in transit. 0 means same
331
+ # day delivery, 1 means next day delivery.
332
+ # Either `min_transit_days`, `max_transit_days` or
333
+ # `transit_time_table` must be set, but not both.
334
+ # @!attribute [rw] max_transit_days
335
+ # @return [::Integer]
336
+ # Maximum number of business days that is spent in transit. 0 means same
337
+ # day delivery, 1 means next day delivery. Must be greater than or equal
338
+ # to `min_transit_days`.
339
+ # @!attribute [rw] cutoff_time
340
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::CutoffTime]
341
+ # Business days cutoff time definition.
342
+ # If not configured the cutoff time will be defaulted to 8AM PST.
343
+ # @!attribute [rw] min_handling_days
344
+ # @return [::Integer]
345
+ # Minimum number of business days spent before an order is shipped.
346
+ # 0 means same day shipped, 1 means next day shipped.
347
+ # @!attribute [rw] max_handling_days
348
+ # @return [::Integer]
349
+ # Maximum number of business days spent before an order is shipped.
350
+ # 0 means same day shipped, 1 means next day shipped.
351
+ # Must be greater than or equal to `min_handling_days`.
352
+ # @!attribute [rw] transit_time_table
353
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::TransitTable]
354
+ # Transit time table, number of business days spent in transit based on row
355
+ # and column dimensions. Either `min_transit_days`, `max_transit_days` or
356
+ # `transit_time_table` can be set, but not both.
357
+ # @!attribute [rw] handling_business_day_config
358
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::BusinessDayConfig]
359
+ # The business days during which orders can be handled.
360
+ # If not provided, Monday to Friday business days will be assumed.
361
+ # @!attribute [rw] transit_business_day_config
362
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::BusinessDayConfig]
363
+ # The business days during which orders can be in-transit.
364
+ # If not provided, Monday to Friday business days will be assumed.
365
+ # @!attribute [rw] warehouse_based_delivery_times
366
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::WarehouseBasedDeliveryTime>]
367
+ # Optional. Indicates that the delivery time should be calculated per
368
+ # warehouse (shipping origin location) based on the settings of the selected
369
+ # carrier. When set, no other transit time related field in [delivery
370
+ # time][[google.shopping.content.bundles.ShippingSetting.DeliveryTime] should
371
+ # be set.
372
+ class DeliveryTime
373
+ include ::Google::Protobuf::MessageExts
374
+ extend ::Google::Protobuf::MessageExts::ClassMethods
375
+ end
376
+
377
+ # Business days cutoff time definition.
378
+ # @!attribute [rw] hour
379
+ # @return [::Integer]
380
+ # Required. Hour of the cutoff time until which an order has to be placed to
381
+ # be processed in the same day.
382
+ # @!attribute [rw] minute
383
+ # @return [::Integer]
384
+ # Required. Minute of the cutoff time until which an order has to be placed
385
+ # to be processed in the same day.
386
+ # @!attribute [rw] time_zone
387
+ # @return [::String]
388
+ # Required. [Timezone
389
+ # identifier](https://developers.google.com/adwords/api/docs/appendix/codes-formats#timezone-ids)
390
+ # For example "Europe/Zurich".
391
+ class CutoffTime
392
+ include ::Google::Protobuf::MessageExts
393
+ extend ::Google::Protobuf::MessageExts::ClassMethods
394
+ end
395
+
396
+ # Business days of the warehouse.
397
+ # @!attribute [rw] business_days
398
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::BusinessDayConfig::Weekday>]
399
+ # Required. Regular business days.
400
+ # May not be empty.
401
+ class BusinessDayConfig
402
+ include ::Google::Protobuf::MessageExts
403
+ extend ::Google::Protobuf::MessageExts::ClassMethods
404
+
405
+ module Weekday
406
+ WEEKDAY_UNSPECIFIED = 0
407
+
408
+ MONDAY = 1
409
+
410
+ TUESDAY = 2
411
+
412
+ WEDNESDAY = 3
413
+
414
+ THURSDAY = 4
415
+
416
+ FRIDAY = 5
417
+
418
+ SATURDAY = 6
419
+
420
+ SUNDAY = 7
421
+ end
422
+ end
423
+
424
+ # Indicates that the delivery time should be calculated per warehouse
425
+ # (shipping origin location) based on the settings of the selected carrier.
426
+ # When set, no other transit time related field in `delivery_time` should be
427
+ # set.
428
+ # @!attribute [rw] carrier
429
+ # @return [::String]
430
+ # Required. Carrier, such as `"UPS"` or `"Fedex"`.
431
+ # @!attribute [rw] carrier_service
432
+ # @return [::String]
433
+ # Required. Carrier service, such as `"ground"` or `"2 days"`. The name of
434
+ # the service must be in the eddSupportedServices list.
435
+ # @!attribute [rw] warehouse
436
+ # @return [::String]
437
+ # Required. Warehouse name. This should match
438
+ # [warehouse][ShippingSetting.warehouses.name]
439
+ class WarehouseBasedDeliveryTime
440
+ include ::Google::Protobuf::MessageExts
441
+ extend ::Google::Protobuf::MessageExts::ClassMethods
442
+ end
443
+
444
+ # Shipping rate group definitions. Only the last one is allowed to have an
445
+ # empty `applicable_shipping_labels`, which means
446
+ # "everything else". The other `applicable_shipping_labels` must
447
+ # not overlap.
448
+ # @!attribute [rw] applicable_shipping_labels
449
+ # @return [::Array<::String>]
450
+ # Required. A list of [shipping
451
+ # labels](https://support.google.com/merchants/answer/6324504) defining the
452
+ # products to which this rate group applies to. This is a disjunction: only
453
+ # one of the labels has to match for the rate group to apply. May only be
454
+ # empty for the last rate group of a service.
455
+ # @!attribute [rw] single_value
456
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Value]
457
+ # The value of the rate group (For example flat rate $10). Can only be set
458
+ # if `main_table` and `subtables` are not set.
459
+ # @!attribute [rw] main_table
460
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Table]
461
+ # A table defining the rate group, when `single_value` is not
462
+ # expressive enough. Can only be set if `single_value` is not
463
+ # set.
464
+ # @!attribute [rw] subtables
465
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Table>]
466
+ # Optional. A list of subtables referred to by `main_table`. Can only
467
+ # be set if `main_table` is set.
468
+ # @!attribute [rw] carrier_rates
469
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::CarrierRate>]
470
+ # Optional. A list of carrier rates that can be referred to by
471
+ # `main_table` or `single_value`.
472
+ # @!attribute [rw] name
473
+ # @return [::String]
474
+ # Optional. Name of the rate group.
475
+ # If set has to be unique within shipping service.
476
+ class RateGroup
477
+ include ::Google::Protobuf::MessageExts
478
+ extend ::Google::Protobuf::MessageExts::ClassMethods
479
+ end
480
+
481
+ # A table defining the rate group, when `single_value` is not
482
+ # expressive enough.
483
+ # @!attribute [rw] name
484
+ # @return [::String]
485
+ # Name of the table. Required for subtables, ignored for the main table.
486
+ # @!attribute [rw] row_headers
487
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Headers]
488
+ # Required. Headers of the table's rows.
489
+ # @!attribute [rw] column_headers
490
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::Headers]
491
+ # Headers of the table's columns. Optional: if not set then the table has
492
+ # only one dimension.
493
+ # @!attribute [rw] rows
494
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Row>]
495
+ # Required. The list of rows that constitute the table. Must have the same
496
+ # length as `row_headers`.
497
+ class Table
498
+ include ::Google::Protobuf::MessageExts
499
+ extend ::Google::Protobuf::MessageExts::ClassMethods
500
+ end
501
+
502
+ # Transit time table, number of business days spent in transit based on row
503
+ # and column dimensions. Either `min_transit_days`, `max_transit_days` or
504
+ # `transit_time_table` can be set, but not both.
505
+ # @!attribute [rw] postal_code_group_names
506
+ # @return [::Array<::String>]
507
+ # Required. A list of region names
508
+ # {::Google::Shopping::Merchant::Accounts::V1beta::Region#name Region.name} . The
509
+ # last value can be
510
+ # `"all other locations"`. Example:
511
+ # `["zone 1", "zone 2", "all other locations"]`. The referred
512
+ # postal code groups must match the delivery country of the service.
513
+ # @!attribute [rw] transit_time_labels
514
+ # @return [::Array<::String>]
515
+ # Required. A list of transit time labels. The last value can be
516
+ # `"all other labels"`. Example:
517
+ # `["food", "electronics", "all other labels"]`.
518
+ # @!attribute [rw] rows
519
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::TransitTable::TransitTimeRow>]
520
+ # Required. If there's only one dimension set of `postal_code_group_names` or
521
+ # `transit_time_labels`, there are multiple rows each with one value
522
+ # for that dimension. If there are two dimensions, each row corresponds to a
523
+ # `postal_code_group_names`, and columns (values) to a
524
+ # `transit_time_labels`.
525
+ class TransitTable
526
+ include ::Google::Protobuf::MessageExts
527
+ extend ::Google::Protobuf::MessageExts::ClassMethods
528
+
529
+ # If there's only one dimension set of `postal_code_group_names` or
530
+ # `transit_time_labels`, there are multiple rows each with one value
531
+ # for that dimension. If there are two dimensions, each row corresponds to a
532
+ # `postal_code_group_names`, and columns (values) to a
533
+ # `transit_time_labels`.
534
+ # @!attribute [rw] values
535
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::TransitTable::TransitTimeRow::TransitTimeValue>]
536
+ # Required. Transit time range (min-max) in business days.
537
+ class TransitTimeRow
538
+ include ::Google::Protobuf::MessageExts
539
+ extend ::Google::Protobuf::MessageExts::ClassMethods
540
+
541
+ # Transit time range (min-max) in business days.
542
+ # @!attribute [rw] min_transit_days
543
+ # @return [::Integer]
544
+ # Minimum transit time range in business days. 0 means same
545
+ # day delivery, 1 means next day delivery.
546
+ # @!attribute [rw] max_transit_days
547
+ # @return [::Integer]
548
+ # Must be greater than or equal to `min_transit_days`.
549
+ class TransitTimeValue
550
+ include ::Google::Protobuf::MessageExts
551
+ extend ::Google::Protobuf::MessageExts::ClassMethods
552
+ end
553
+ end
554
+ end
555
+
556
+ # Table of per store minimum order values for the pickup fulfillment type.
557
+ # @!attribute [rw] store_code_set_with_movs
558
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::MinimumOrderValueTable::StoreCodeSetWithMov>]
559
+ # Required. A list of store code sets sharing the same minimum order value
560
+ # (MOV). At least two sets are required and the last one must be empty, which
561
+ # signifies 'MOV for all other stores'. Each store code can only appear once
562
+ # across all the sets. All prices within a service must have the same
563
+ # currency.
564
+ class MinimumOrderValueTable
565
+ include ::Google::Protobuf::MessageExts
566
+ extend ::Google::Protobuf::MessageExts::ClassMethods
567
+
568
+ # A list of store code sets sharing the same minimum order value. At least
569
+ # two sets are required and the last one must be empty, which signifies
570
+ # 'MOV for all other stores'.
571
+ # Each store code can only appear once across all the sets.
572
+ # All prices within a service must have the same currency.
573
+ # @!attribute [rw] store_codes
574
+ # @return [::Array<::String>]
575
+ # Optional. A list of unique store codes or empty for the catch all.
576
+ # @!attribute [rw] value
577
+ # @return [::Google::Shopping::Type::Price]
578
+ # The minimum order value for the given stores.
579
+ class StoreCodeSetWithMov
580
+ include ::Google::Protobuf::MessageExts
581
+ extend ::Google::Protobuf::MessageExts::ClassMethods
582
+ end
583
+ end
584
+
585
+ # A non-empty list of row or column headers for a table.
586
+ # Exactly one of `prices`, `weights`,
587
+ # `num_items`, `postal_code_group_names`, or
588
+ # `location` must be set.
589
+ # @!attribute [rw] prices
590
+ # @return [::Array<::Google::Shopping::Type::Price>]
591
+ # Required. A list of inclusive order price upper bounds. The last price's
592
+ # value can be infinity by setting price amount_micros = -1. For example
593
+ # `[{"amount_micros": 10000000, "currency_code": "USD"},
594
+ # \\{"amount_micros": 500000000, "currency_code": "USD"},
595
+ # \\{"amount_micros": -1, "currency_code": "USD"}]` represents the headers
596
+ # "<= $10", "<= $500", and "> $500". All prices within a service must have
597
+ # the same currency. Must be non-empty. Must be positive except -1. Can only
598
+ # be set if all other fields are not set.
599
+ # @!attribute [rw] weights
600
+ # @return [::Array<::Google::Shopping::Type::Weight>]
601
+ # Required. A list of inclusive order weight upper bounds. The last weight's
602
+ # value can be infinity by setting price amount_micros = -1. For example
603
+ # `[{"amount_micros": 10000000, "unit": "kg"}, {"amount_micros": 50000000,
604
+ # "unit": "kg"},
605
+ # \\{"amount_micros": -1, "unit": "kg"}]` represents the headers
606
+ # "<= 10kg", "<= 50kg", and "> 50kg". All weights within a service must have
607
+ # the same unit. Must be non-empty. Must be positive except -1. Can only be
608
+ # set if all other fields are not set.
609
+ # @!attribute [rw] number_of_items
610
+ # @return [::Array<::String>]
611
+ # Required. A list of inclusive number of items upper bounds. The last value
612
+ # can be
613
+ # `"infinity"`. For example
614
+ # `["10", "50", "infinity"]` represents the headers
615
+ # "<= 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can
616
+ # only be set if all other fields are not set.
617
+ # @!attribute [rw] postal_code_group_names
618
+ # @return [::Array<::String>]
619
+ # Required. A list of postal group names. The last value can be
620
+ # `"all other locations"`. Example:
621
+ # `["zone 1", "zone 2", "all other locations"]`. The referred
622
+ # postal code groups must match the delivery country of the service. Must
623
+ # be non-empty. Can only be set if all other fields are not set.
624
+ # @!attribute [rw] locations
625
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::LocationIdSet>]
626
+ # Required. A list of location ID sets. Must be non-empty. Can only be set if
627
+ # all other fields are not set.
628
+ class Headers
629
+ include ::Google::Protobuf::MessageExts
630
+ extend ::Google::Protobuf::MessageExts::ClassMethods
631
+ end
632
+
633
+ # A list of location ID sets. Must be non-empty. Can only be set if all
634
+ # other fields are not set.
635
+ # @!attribute [rw] location_ids
636
+ # @return [::Array<::String>]
637
+ # Required. A non-empty list of
638
+ # [location
639
+ # IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting).
640
+ # They must all be of the same location type (For
641
+ # example, state).
642
+ class LocationIdSet
643
+ include ::Google::Protobuf::MessageExts
644
+ extend ::Google::Protobuf::MessageExts::ClassMethods
645
+ end
646
+
647
+ # Include a list of cells.
648
+ # @!attribute [rw] cells
649
+ # @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Value>]
650
+ # Required. The list of cells that constitute the row. Must have the same
651
+ # length as `columnHeaders` for two-dimensional tables, a length of 1 for
652
+ # one-dimensional tables.
653
+ class Row
654
+ include ::Google::Protobuf::MessageExts
655
+ extend ::Google::Protobuf::MessageExts::ClassMethods
656
+ end
657
+
658
+ # The single value of a rate group or the value of a rate group table's cell.
659
+ # Exactly one of `no_shipping`, `flat_rate`,
660
+ # `price_percentage`, `carrier_rateName`,
661
+ # `subtable_name` must be set.
662
+ # @!attribute [rw] no_shipping
663
+ # @return [::Boolean]
664
+ # If true, then the product can't be shipped. Must be true when set, can only
665
+ # be set if all other fields are not set.
666
+ # @!attribute [rw] flat_rate
667
+ # @return [::Google::Shopping::Type::Price]
668
+ # A flat rate. Can only be set if all other fields are not set.
669
+ # @!attribute [rw] price_percentage
670
+ # @return [::String]
671
+ # A percentage of the price represented as a number in decimal notation
672
+ # (For example, `"5.4"`). Can only be set if all other fields are not
673
+ # set.
674
+ # @!attribute [rw] carrier_rate
675
+ # @return [::String]
676
+ # The name of a carrier rate referring to a carrier rate defined in the
677
+ # same rate group. Can only be set if all other fields are not set.
678
+ # @!attribute [rw] subtable
679
+ # @return [::String]
680
+ # The name of a subtable. Can only be set in table cells (For example, not
681
+ # for single values), and only if all other fields are not set.
682
+ class Value
683
+ include ::Google::Protobuf::MessageExts
684
+ extend ::Google::Protobuf::MessageExts::ClassMethods
685
+ end
686
+
687
+ # A list of carrier rates that can be referred to by
688
+ # `main_table` or `single_value`.
689
+ # @!attribute [rw] name
690
+ # @return [::String]
691
+ # Required. Name of the carrier rate. Must be unique per rate group.
692
+ # @!attribute [rw] carrier
693
+ # @return [::String]
694
+ # Required. Carrier service, such as `"UPS"` or `"Fedex"`.
695
+ # @!attribute [rw] carrier_service
696
+ # @return [::String]
697
+ # Required. Carrier service, such as `"ground"` or `"2 days"`.
698
+ # @!attribute [rw] origin_postal_code
699
+ # @return [::String]
700
+ # Required. Shipping origin for this carrier rate.
701
+ # @!attribute [rw] percentage_adjustment
702
+ # @return [::String]
703
+ # Optional. Multiplicative shipping rate modifier as a number in decimal
704
+ # notation. Can be negative. For example `"5.4"` increases the rate by 5.4%,
705
+ # `"-3"` decreases the rate by 3%.
706
+ # @!attribute [rw] flat_adjustment
707
+ # @return [::Google::Shopping::Type::Price]
708
+ # Optional. Additive shipping rate modifier. Can be negative. For example
709
+ # `{ "amount_micros": 1, "currency_code" : "USD" }` adds $1 to the rate,
710
+ # `{ "amount_micros": -3, "currency_code" : "USD" }` removes $3 from the
711
+ # rate.
712
+ class CarrierRate
713
+ include ::Google::Protobuf::MessageExts
714
+ extend ::Google::Protobuf::MessageExts::ClassMethods
715
+ end
716
+
717
+ # Request message for the `GetShippingSetting` method.
718
+ # @!attribute [rw] name
719
+ # @return [::String]
720
+ # Required. The name of the shipping setting to retrieve.
721
+ # Format: `accounts/{account}/shippingsetting`
722
+ class GetShippingSettingsRequest
723
+ include ::Google::Protobuf::MessageExts
724
+ extend ::Google::Protobuf::MessageExts::ClassMethods
725
+ end
726
+
727
+ # Request message for the `InsertShippingSetting` method.
728
+ # @!attribute [rw] parent
729
+ # @return [::String]
730
+ # Required. The account where this product will be inserted.
731
+ # Format: accounts/\\{account}
732
+ # @!attribute [rw] shipping_setting
733
+ # @return [::Google::Shopping::Merchant::Accounts::V1beta::ShippingSettings]
734
+ # Required. The new version of the account.
735
+ class InsertShippingSettingsRequest
736
+ include ::Google::Protobuf::MessageExts
737
+ extend ::Google::Protobuf::MessageExts::ClassMethods
738
+ end
739
+ end
740
+ end
741
+ end
742
+ end
743
+ end