google-shopping-merchant-accounts-v1 0.a → 0.1.1
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,317 @@
|
|
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
|
+
# Request message for the `GetOnlineReturnPolicy` method.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Required. The name of the return policy to retrieve.
|
29
|
+
# Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`
|
30
|
+
class GetOnlineReturnPolicyRequest
|
31
|
+
include ::Google::Protobuf::MessageExts
|
32
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
33
|
+
end
|
34
|
+
|
35
|
+
# Request message for the `CreateOnlineReturnPolicy` method.
|
36
|
+
# @!attribute [rw] parent
|
37
|
+
# @return [::String]
|
38
|
+
# Required. The Merchant Center account for which the return policy will be
|
39
|
+
# created. Format: `accounts/{account}`
|
40
|
+
# @!attribute [rw] online_return_policy
|
41
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::OnlineReturnPolicy]
|
42
|
+
# Required. The return policy object to create.
|
43
|
+
class CreateOnlineReturnPolicyRequest
|
44
|
+
include ::Google::Protobuf::MessageExts
|
45
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
46
|
+
end
|
47
|
+
|
48
|
+
# Request message for the `DeleteOnlineReturnPolicy` method.
|
49
|
+
# @!attribute [rw] name
|
50
|
+
# @return [::String]
|
51
|
+
# Required. The name of the return policy to delete.
|
52
|
+
# Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`
|
53
|
+
class DeleteOnlineReturnPolicyRequest
|
54
|
+
include ::Google::Protobuf::MessageExts
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
|
+
end
|
57
|
+
|
58
|
+
# Request message for the `ListOnlineReturnPolicies` method.
|
59
|
+
# @!attribute [rw] parent
|
60
|
+
# @return [::String]
|
61
|
+
# Required. The Merchant Center account for which to list return policies.
|
62
|
+
# Format: `accounts/{account}`
|
63
|
+
# @!attribute [rw] page_size
|
64
|
+
# @return [::Integer]
|
65
|
+
# Optional. The maximum number of `OnlineReturnPolicy` resources to return.
|
66
|
+
# The service returns fewer than this value if the number of return policies
|
67
|
+
# for the given business is less that than the `pageSize`. The default value
|
68
|
+
# is 10. The maximum value is 100; If a value higher than the maximum is
|
69
|
+
# specified, then the `pageSize` will default to the maximum
|
70
|
+
# @!attribute [rw] page_token
|
71
|
+
# @return [::String]
|
72
|
+
# Optional. A page token, received from a previous `ListOnlineReturnPolicies`
|
73
|
+
# call. Provide the page token to retrieve the subsequent page.
|
74
|
+
#
|
75
|
+
# When paginating, all other parameters provided to
|
76
|
+
# `ListOnlineReturnPolicies` must match the call that provided the page
|
77
|
+
# token. The token returned as
|
78
|
+
# {::Google::Shopping::Merchant::Accounts::V1::ListOnlineReturnPoliciesResponse#next_page_token nextPageToken}
|
79
|
+
# in the response to the previous request.
|
80
|
+
class ListOnlineReturnPoliciesRequest
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
end
|
84
|
+
|
85
|
+
# Response message for the `ListOnlineReturnPolicies` method.
|
86
|
+
# @!attribute [rw] online_return_policies
|
87
|
+
# @return [::Array<::Google::Shopping::Merchant::Accounts::V1::OnlineReturnPolicy>]
|
88
|
+
# The retrieved return policies.
|
89
|
+
# @!attribute [rw] next_page_token
|
90
|
+
# @return [::String]
|
91
|
+
# A token, which can be sent as `pageToken` to retrieve the next page.
|
92
|
+
# If this field is omitted, there are no subsequent pages.
|
93
|
+
class ListOnlineReturnPoliciesResponse
|
94
|
+
include ::Google::Protobuf::MessageExts
|
95
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
96
|
+
end
|
97
|
+
|
98
|
+
# [Online return policy](https://support.google.com/merchants/answer/10220642)
|
99
|
+
# object. This is currently used to represent return policies for ads and free
|
100
|
+
# listings programs.
|
101
|
+
# @!attribute [rw] name
|
102
|
+
# @return [::String]
|
103
|
+
# Identifier. The name of the `OnlineReturnPolicy` resource.
|
104
|
+
# Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`
|
105
|
+
# @!attribute [r] return_policy_id
|
106
|
+
# @return [::String]
|
107
|
+
# Output only. Return policy ID generated by Google.
|
108
|
+
# @!attribute [rw] label
|
109
|
+
# @return [::String]
|
110
|
+
# Optional. Immutable. This field represents the unique user-defined label of
|
111
|
+
# the return policy for the given country. It is important to note that the
|
112
|
+
# same label cannot be used in different return policies for the same
|
113
|
+
# country. If not given, policies will be automatically treated as the
|
114
|
+
# 'default' for the country. When using label, you are creating an exception
|
115
|
+
# policy in that country to assign a custom return policy to certain product
|
116
|
+
# groups, follow the instructions provided in the [Return policy label]
|
117
|
+
# (https://support.google.com/merchants/answer/9445425). The label can
|
118
|
+
# contain up to 50 characters.
|
119
|
+
# @!attribute [rw] countries
|
120
|
+
# @return [::Array<::String>]
|
121
|
+
# Required. Immutable. The countries of sale where the return policy applies.
|
122
|
+
# The values must be a valid 2 letter ISO 3166 code.
|
123
|
+
# @!attribute [rw] policy
|
124
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::OnlineReturnPolicy::Policy]
|
125
|
+
# Optional. The return policy.
|
126
|
+
# @!attribute [rw] seasonal_overrides
|
127
|
+
# @return [::Array<::Google::Shopping::Merchant::Accounts::V1::OnlineReturnPolicy::SeasonalOverride>]
|
128
|
+
# Optional. Overrides to the general policy for orders placed during a
|
129
|
+
# specific set of time intervals.
|
130
|
+
# @!attribute [rw] restocking_fee
|
131
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::OnlineReturnPolicy::RestockingFee]
|
132
|
+
# Optional. The restocking fee that applies to all return reason categories.
|
133
|
+
# This would be treated as a free restocking fee if the value is not set.
|
134
|
+
# @!attribute [rw] return_methods
|
135
|
+
# @return [::Array<::Google::Shopping::Merchant::Accounts::V1::OnlineReturnPolicy::ReturnMethod>]
|
136
|
+
# Optional. The return methods of how customers can return an item. This
|
137
|
+
# value is required to not be empty unless the type of return policy is
|
138
|
+
# noReturns.
|
139
|
+
# @!attribute [rw] item_conditions
|
140
|
+
# @return [::Array<::Google::Shopping::Merchant::Accounts::V1::OnlineReturnPolicy::ItemCondition>]
|
141
|
+
# Optional. The item conditions accepted for returns must not be empty unless
|
142
|
+
# the type of return policy is 'noReturns'.
|
143
|
+
# @!attribute [rw] return_shipping_fee
|
144
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::OnlineReturnPolicy::ReturnShippingFee]
|
145
|
+
# Optional. The return shipping fee. Should be set only when customer need to
|
146
|
+
# download and print the return label.
|
147
|
+
# @!attribute [rw] return_policy_uri
|
148
|
+
# @return [::String]
|
149
|
+
# Required. The return policy uri. This can used by Google to do a sanity
|
150
|
+
# check for the policy. It must be a valid URL.
|
151
|
+
# @!attribute [rw] accept_defective_only
|
152
|
+
# @return [::Boolean]
|
153
|
+
# Optional. This field specifies if business
|
154
|
+
# only accepts defective products for returns.
|
155
|
+
# @!attribute [rw] process_refund_days
|
156
|
+
# @return [::Integer]
|
157
|
+
# Optional. The field specifies the number of
|
158
|
+
# days it takes for business to process refunds.
|
159
|
+
# @!attribute [rw] accept_exchange
|
160
|
+
# @return [::Boolean]
|
161
|
+
# Optional. This field specifies if business
|
162
|
+
# allows customers to exchange products.
|
163
|
+
# @!attribute [rw] return_label_source
|
164
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::OnlineReturnPolicy::ReturnLabelSource]
|
165
|
+
# Optional. The field specifies the return
|
166
|
+
# label source.
|
167
|
+
class OnlineReturnPolicy
|
168
|
+
include ::Google::Protobuf::MessageExts
|
169
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
170
|
+
|
171
|
+
# The return shipping fee. This can either be a fixed fee or a boolean to
|
172
|
+
# indicate that the customer pays the actual shipping cost.
|
173
|
+
# @!attribute [rw] type
|
174
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::OnlineReturnPolicy::ReturnShippingFee::Type]
|
175
|
+
# Required. Type of return shipping fee.
|
176
|
+
# @!attribute [rw] fixed_fee
|
177
|
+
# @return [::Google::Shopping::Type::Price]
|
178
|
+
# Fixed return shipping fee amount. This value is only applicable when type
|
179
|
+
# is `FIXED`. We will treat the return shipping fee as free if type is
|
180
|
+
# `FIXED` and this value is not set.
|
181
|
+
class ReturnShippingFee
|
182
|
+
include ::Google::Protobuf::MessageExts
|
183
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
184
|
+
|
185
|
+
# Return shipping fee types.
|
186
|
+
module Type
|
187
|
+
# Default value. This value is unused.
|
188
|
+
TYPE_UNSPECIFIED = 0
|
189
|
+
|
190
|
+
# The return shipping fee is a fixed value.
|
191
|
+
FIXED = 1
|
192
|
+
|
193
|
+
# Customers will pay the actual return shipping fee.
|
194
|
+
CUSTOMER_PAYING_ACTUAL_FEE = 2
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
# The restocking fee. This can be a flat fee or a micro percent.
|
199
|
+
# @!attribute [rw] fixed_fee
|
200
|
+
# @return [::Google::Shopping::Type::Price]
|
201
|
+
# Fixed restocking fee.
|
202
|
+
#
|
203
|
+
# Note: The following fields are mutually exclusive: `fixed_fee`, `micro_percent`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
204
|
+
# @!attribute [rw] micro_percent
|
205
|
+
# @return [::Integer]
|
206
|
+
# Percent of total price in micros. 15,000,000 means 15% of the total
|
207
|
+
# price would be charged.
|
208
|
+
#
|
209
|
+
# Note: The following fields are mutually exclusive: `micro_percent`, `fixed_fee`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
210
|
+
class RestockingFee
|
211
|
+
include ::Google::Protobuf::MessageExts
|
212
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
213
|
+
end
|
214
|
+
|
215
|
+
# The available policies.
|
216
|
+
# @!attribute [rw] type
|
217
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::OnlineReturnPolicy::Policy::Type]
|
218
|
+
# Policy type.
|
219
|
+
# @!attribute [rw] days
|
220
|
+
# @return [::Integer]
|
221
|
+
# The number of days items can be returned after delivery, where one day
|
222
|
+
# is defined as 24 hours after the delivery timestamp. Required for
|
223
|
+
# `NUMBER_OF_DAYS_AFTER_DELIVERY` returns.
|
224
|
+
class Policy
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
|
+
|
228
|
+
# Return policy types.
|
229
|
+
module Type
|
230
|
+
# Default value. This value is unused.
|
231
|
+
TYPE_UNSPECIFIED = 0
|
232
|
+
|
233
|
+
# The number of days within which a return is valid after delivery.
|
234
|
+
NUMBER_OF_DAYS_AFTER_DELIVERY = 1
|
235
|
+
|
236
|
+
# No returns.
|
237
|
+
NO_RETURNS = 2
|
238
|
+
|
239
|
+
# Life time returns.
|
240
|
+
LIFETIME_RETURNS = 3
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
# @!attribute [rw] return_days
|
245
|
+
# @return [::Integer]
|
246
|
+
# Number of days (from the delivery date) that the product can be
|
247
|
+
# returned.
|
248
|
+
#
|
249
|
+
# Note: The following fields are mutually exclusive: `return_days`, `return_until_date`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
250
|
+
# @!attribute [rw] return_until_date
|
251
|
+
# @return [::Google::Type::Date]
|
252
|
+
# Fixed end date until which the product can be returned.
|
253
|
+
#
|
254
|
+
# Note: The following fields are mutually exclusive: `return_until_date`, `return_days`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
255
|
+
# @!attribute [rw] label
|
256
|
+
# @return [::String]
|
257
|
+
# Required. Display name of this seasonal override in Merchant Center.
|
258
|
+
# @!attribute [rw] start_date
|
259
|
+
# @return [::Google::Type::Date]
|
260
|
+
# Required. Defines the date range when this seasonal override applies.
|
261
|
+
# Both start_date and end_date are inclusive.
|
262
|
+
# The dates of the seasonal overrides should not overlap.
|
263
|
+
# @!attribute [rw] end_date
|
264
|
+
# @return [::Google::Type::Date]
|
265
|
+
# Required. seasonal override end date (inclusive).
|
266
|
+
class SeasonalOverride
|
267
|
+
include ::Google::Protobuf::MessageExts
|
268
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
269
|
+
end
|
270
|
+
|
271
|
+
# The available return methods.
|
272
|
+
module ReturnMethod
|
273
|
+
# Default value. This value is unused.
|
274
|
+
RETURN_METHOD_UNSPECIFIED = 0
|
275
|
+
|
276
|
+
# Return by mail.
|
277
|
+
BY_MAIL = 1
|
278
|
+
|
279
|
+
# Return in store.
|
280
|
+
IN_STORE = 2
|
281
|
+
|
282
|
+
# Return at a kiosk.
|
283
|
+
AT_A_KIOSK = 3
|
284
|
+
end
|
285
|
+
|
286
|
+
# The available item conditions.
|
287
|
+
module ItemCondition
|
288
|
+
# Default value. This value is unused.
|
289
|
+
ITEM_CONDITION_UNSPECIFIED = 0
|
290
|
+
|
291
|
+
# New.
|
292
|
+
NEW = 1
|
293
|
+
|
294
|
+
# Used.
|
295
|
+
USED = 2
|
296
|
+
end
|
297
|
+
|
298
|
+
# The available return label sources.
|
299
|
+
module ReturnLabelSource
|
300
|
+
# Default value. This value is unused.
|
301
|
+
RETURN_LABEL_SOURCE_UNSPECIFIED = 0
|
302
|
+
|
303
|
+
# Download and print.
|
304
|
+
DOWNLOAD_AND_PRINT = 1
|
305
|
+
|
306
|
+
# Label include in the package.
|
307
|
+
IN_THE_PACKAGE = 2
|
308
|
+
|
309
|
+
# Customer to provide.
|
310
|
+
CUSTOMER_RESPONSIBILITY = 3
|
311
|
+
end
|
312
|
+
end
|
313
|
+
end
|
314
|
+
end
|
315
|
+
end
|
316
|
+
end
|
317
|
+
end
|
@@ -0,0 +1,40 @@
|
|
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 phone verification state.
|
26
|
+
module PhoneVerificationState
|
27
|
+
# Default value. This value is unused.
|
28
|
+
PHONE_VERIFICATION_STATE_UNSPECIFIED = 0
|
29
|
+
|
30
|
+
# The phone is verified.
|
31
|
+
PHONE_VERIFICATION_STATE_VERIFIED = 1
|
32
|
+
|
33
|
+
# The phone is unverified.
|
34
|
+
PHONE_VERIFICATION_STATE_UNVERIFIED = 2
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,170 @@
|
|
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
|
+
# Defines participation in a given program for the specified account.
|
26
|
+
#
|
27
|
+
# Programs provide a mechanism for adding functionality to a Merchant Center
|
28
|
+
# accounts. A typical example of this is the [Free product
|
29
|
+
# listings](https://support.google.com/merchants/answer/13889434)
|
30
|
+
# program, which enables products from a business's store to be shown across
|
31
|
+
# Google for free.
|
32
|
+
#
|
33
|
+
# The following list is the available set of program resource IDs accessible
|
34
|
+
# through the API:
|
35
|
+
#
|
36
|
+
# * `free-listings`
|
37
|
+
# * `shopping-ads`
|
38
|
+
# * `youtube-shopping-checkout`
|
39
|
+
# @!attribute [rw] name
|
40
|
+
# @return [::String]
|
41
|
+
# Identifier. The resource name of the program.
|
42
|
+
# Format: `accounts/{account}/programs/{program}`
|
43
|
+
# @!attribute [r] documentation_uri
|
44
|
+
# @return [::String]
|
45
|
+
# Output only. The URL of a Merchant Center help page describing the program.
|
46
|
+
# @!attribute [r] state
|
47
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::Program::State]
|
48
|
+
# Output only. The participation state of the account in the program.
|
49
|
+
# @!attribute [r] active_region_codes
|
50
|
+
# @return [::Array<::String>]
|
51
|
+
# Output only. The regions in which the account is actively participating in
|
52
|
+
# the program. Active regions are defined as those where all program
|
53
|
+
# requirements affecting the regions have been met.
|
54
|
+
#
|
55
|
+
# Region codes are defined by [CLDR](https://cldr.unicode.org/). This is
|
56
|
+
# either a country where the program applies specifically to that country or
|
57
|
+
# `001` when the program applies globally.
|
58
|
+
# @!attribute [r] unmet_requirements
|
59
|
+
# @return [::Array<::Google::Shopping::Merchant::Accounts::V1::Program::Requirement>]
|
60
|
+
# Output only. The requirements that the account has not yet satisfied that
|
61
|
+
# are affecting participation in the program.
|
62
|
+
class Program
|
63
|
+
include ::Google::Protobuf::MessageExts
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
|
+
|
66
|
+
# Defines a requirement specified for participation in the program.
|
67
|
+
# @!attribute [r] title
|
68
|
+
# @return [::String]
|
69
|
+
# Output only. Name of the requirement.
|
70
|
+
# @!attribute [r] documentation_uri
|
71
|
+
# @return [::String]
|
72
|
+
# Output only. The URL of a help page describing the requirement.
|
73
|
+
# @!attribute [r] affected_region_codes
|
74
|
+
# @return [::Array<::String>]
|
75
|
+
# Output only. The regions that are currently affected by this requirement
|
76
|
+
# not being met.
|
77
|
+
#
|
78
|
+
# Region codes are defined by [CLDR](https://cldr.unicode.org/). This is
|
79
|
+
# either a country where the program applies specifically to that country
|
80
|
+
# or `001` when the program applies globally.
|
81
|
+
class Requirement
|
82
|
+
include ::Google::Protobuf::MessageExts
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
84
|
+
end
|
85
|
+
|
86
|
+
# Possible program participation states for the account.
|
87
|
+
module State
|
88
|
+
# Default value. This value is unused.
|
89
|
+
STATE_UNSPECIFIED = 0
|
90
|
+
|
91
|
+
# The account is not eligible to participate in the program.
|
92
|
+
NOT_ELIGIBLE = 1
|
93
|
+
|
94
|
+
# The account is eligible to participate in the program.
|
95
|
+
ELIGIBLE = 2
|
96
|
+
|
97
|
+
# The program is enabled for the account.
|
98
|
+
ENABLED = 3
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# Request message for the GetProgram method.
|
103
|
+
# @!attribute [rw] name
|
104
|
+
# @return [::String]
|
105
|
+
# Required. The name of the program to retrieve.
|
106
|
+
# Format: `accounts/{account}/programs/{program}`. For example,
|
107
|
+
# `accounts/123456/programs/free-listings`.
|
108
|
+
class GetProgramRequest
|
109
|
+
include ::Google::Protobuf::MessageExts
|
110
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
111
|
+
end
|
112
|
+
|
113
|
+
# Request message for the ListPrograms method.
|
114
|
+
# @!attribute [rw] parent
|
115
|
+
# @return [::String]
|
116
|
+
# Required. The name of the account for which to retrieve all programs.
|
117
|
+
# Format: `accounts/{account}`
|
118
|
+
# @!attribute [rw] page_size
|
119
|
+
# @return [::Integer]
|
120
|
+
# Optional. The maximum number of programs to return in a single response. If
|
121
|
+
# unspecified (or 0), a default size of 1000 is used. The maximum value is
|
122
|
+
# 1000; values above 1000 will be coerced to 1000.
|
123
|
+
# @!attribute [rw] page_token
|
124
|
+
# @return [::String]
|
125
|
+
# Optional. A continuation token, received from a previous `ListPrograms`
|
126
|
+
# call. Provide this to retrieve the next page.
|
127
|
+
class ListProgramsRequest
|
128
|
+
include ::Google::Protobuf::MessageExts
|
129
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
130
|
+
end
|
131
|
+
|
132
|
+
# Response message for the ListPrograms method.
|
133
|
+
# @!attribute [rw] programs
|
134
|
+
# @return [::Array<::Google::Shopping::Merchant::Accounts::V1::Program>]
|
135
|
+
# The programs for the given account.
|
136
|
+
# @!attribute [rw] next_page_token
|
137
|
+
# @return [::String]
|
138
|
+
# A token that can be sent as `page_token` to retrieve the next page. If this
|
139
|
+
# field is omitted, there are no subsequent pages.
|
140
|
+
class ListProgramsResponse
|
141
|
+
include ::Google::Protobuf::MessageExts
|
142
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
143
|
+
end
|
144
|
+
|
145
|
+
# Request message for the EnableProgram method.
|
146
|
+
# @!attribute [rw] name
|
147
|
+
# @return [::String]
|
148
|
+
# Required. The name of the program for which to enable participation for the
|
149
|
+
# given account. Format: `accounts/{account}/programs/{program}`. For
|
150
|
+
# example, `accounts/123456/programs/free-listings`.
|
151
|
+
class EnableProgramRequest
|
152
|
+
include ::Google::Protobuf::MessageExts
|
153
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
154
|
+
end
|
155
|
+
|
156
|
+
# Request message for the DisableProgram method.
|
157
|
+
# @!attribute [rw] name
|
158
|
+
# @return [::String]
|
159
|
+
# Required. The name of the program for which to disable participation for
|
160
|
+
# the given account. Format: `accounts/{account}/programs/{program}`. For
|
161
|
+
# example, `accounts/123456/programs/free-listings`.
|
162
|
+
class DisableProgramRequest
|
163
|
+
include ::Google::Protobuf::MessageExts
|
164
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
170
|
+
end
|