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