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,140 @@
|
|
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
|
+
# Collection of information related to the [identity of a
|
26
|
+
# business](https://support.google.com/merchants/answer/12564247).
|
27
|
+
# @!attribute [rw] name
|
28
|
+
# @return [::String]
|
29
|
+
# Identifier. The resource name of the business identity.
|
30
|
+
# Format: `accounts/{account}/businessIdentity`
|
31
|
+
# @!attribute [rw] promotions_consent
|
32
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::BusinessIdentity::PromotionsConsent]
|
33
|
+
# Required. Whether the identity attributes may be used for promotions.
|
34
|
+
# @!attribute [rw] black_owned
|
35
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::BusinessIdentity::IdentityAttribute]
|
36
|
+
# Optional. Specifies whether the business identifies itself as being
|
37
|
+
# black-owned. This optional field will only be available for businesses with
|
38
|
+
# the business country set to `US`. It is also not applicable for
|
39
|
+
# marketplaces or marketplace sellers.
|
40
|
+
# @!attribute [rw] women_owned
|
41
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::BusinessIdentity::IdentityAttribute]
|
42
|
+
# Optional. Specifies whether the business identifies itself as being
|
43
|
+
# women-owned. This optional field will only be available for businesses with
|
44
|
+
# a business country set to `US`. It is also not applicable for marketplaces
|
45
|
+
# or marketplace sellers.
|
46
|
+
# @!attribute [rw] veteran_owned
|
47
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::BusinessIdentity::IdentityAttribute]
|
48
|
+
# Optional. Specifies whether the business identifies itself as being
|
49
|
+
# veteran-owned. This optional field will only be available for businesses
|
50
|
+
# with a business country set to `US`. It is also not applicable for
|
51
|
+
# marketplaces or marketplace sellers.
|
52
|
+
# @!attribute [rw] latino_owned
|
53
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::BusinessIdentity::IdentityAttribute]
|
54
|
+
# Optional. Specifies whether the business identifies itself as being
|
55
|
+
# latino-owned. This optional field will only be available for businesses
|
56
|
+
# with the business country set to `US`. It is also not applicable for
|
57
|
+
# marketplaces or marketplace sellers.
|
58
|
+
# @!attribute [rw] small_business
|
59
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::BusinessIdentity::IdentityAttribute]
|
60
|
+
# Optional. Specifies whether the business identifies itself as a small
|
61
|
+
# business. This optional field will only be available for businesses with a
|
62
|
+
# business country set to `US`. It is also not applicable for marketplaces.
|
63
|
+
class BusinessIdentity
|
64
|
+
include ::Google::Protobuf::MessageExts
|
65
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
66
|
+
|
67
|
+
# All information related to an identity attribute.
|
68
|
+
# @!attribute [rw] identity_declaration
|
69
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::BusinessIdentity::IdentityAttribute::IdentityDeclaration]
|
70
|
+
# Required. The declaration of identity for this attribute.
|
71
|
+
class IdentityAttribute
|
72
|
+
include ::Google::Protobuf::MessageExts
|
73
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
74
|
+
|
75
|
+
# All possible settings regarding the declaration of an identity.
|
76
|
+
module IdentityDeclaration
|
77
|
+
# Default value indicating that no selection was made.
|
78
|
+
IDENTITY_DECLARATION_UNSPECIFIED = 0
|
79
|
+
|
80
|
+
# Indicates that the account identifies with the attribute.
|
81
|
+
SELF_IDENTIFIES_AS = 1
|
82
|
+
|
83
|
+
# Indicates that the account does not identify with the attribute.
|
84
|
+
DOES_NOT_SELF_IDENTIFY_AS = 2
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# All possible settings regarding promotions related to the business
|
89
|
+
# identity.
|
90
|
+
module PromotionsConsent
|
91
|
+
# Default value indicating that no selection was made.
|
92
|
+
PROMOTIONS_CONSENT_UNSPECIFIED = 0
|
93
|
+
|
94
|
+
# Indicates that the account consented to having their business identity
|
95
|
+
# used for promotions.
|
96
|
+
PROMOTIONS_CONSENT_GIVEN = 1
|
97
|
+
|
98
|
+
# Indicates that the account did not consent to having their business
|
99
|
+
# identity used for promotions.
|
100
|
+
PROMOTIONS_CONSENT_DENIED = 2
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
# Request message for the `GetBusinessIdentity` method.
|
105
|
+
# @!attribute [rw] name
|
106
|
+
# @return [::String]
|
107
|
+
# Required. The resource name of the business identity.
|
108
|
+
# Format: `accounts/{account}/businessIdentity`. For example,
|
109
|
+
# `accounts/123456/businessIdentity`.
|
110
|
+
class GetBusinessIdentityRequest
|
111
|
+
include ::Google::Protobuf::MessageExts
|
112
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
|
+
end
|
114
|
+
|
115
|
+
# Request message for the `UpdateBusinessIdentity` method.
|
116
|
+
# @!attribute [rw] business_identity
|
117
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::BusinessIdentity]
|
118
|
+
# Required. The new version of the business identity.
|
119
|
+
# @!attribute [rw] update_mask
|
120
|
+
# @return [::Google::Protobuf::FieldMask]
|
121
|
+
# Optional. List of fields being updated.
|
122
|
+
#
|
123
|
+
# The following fields are supported (in both `snake_case` and
|
124
|
+
# `lowerCamelCase`):
|
125
|
+
#
|
126
|
+
# - `black_owned`
|
127
|
+
# - `latino_owned`
|
128
|
+
# - `promotions_consent`
|
129
|
+
# - `small_business`
|
130
|
+
# - `veteran_owned`
|
131
|
+
# - `women_owned`
|
132
|
+
class UpdateBusinessIdentityRequest
|
133
|
+
include ::Google::Protobuf::MessageExts
|
134
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
@@ -0,0 +1,91 @@
|
|
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 `BusinessInfo` message contains essential information about a
|
26
|
+
# business.
|
27
|
+
#
|
28
|
+
# This message captures key business details such as physical address,
|
29
|
+
# customer service contacts, and region-specific identifiers.
|
30
|
+
# @!attribute [rw] name
|
31
|
+
# @return [::String]
|
32
|
+
# Identifier. The resource name of the business info.
|
33
|
+
# Format: `accounts/{account}/businessInfo`
|
34
|
+
# @!attribute [rw] address
|
35
|
+
# @return [::Google::Type::PostalAddress]
|
36
|
+
# Optional. The address of the business. Only `region_code`, `address_lines`,
|
37
|
+
# `postal_code`, `administrative_area` and `locality` fields are supported.
|
38
|
+
# All other fields are ignored.
|
39
|
+
# @!attribute [r] phone
|
40
|
+
# @return [::Google::Type::PhoneNumber]
|
41
|
+
# Output only. The phone number of the business.
|
42
|
+
# @!attribute [r] phone_verification_state
|
43
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::PhoneVerificationState]
|
44
|
+
# Output only. The phone verification state of the business.
|
45
|
+
# @!attribute [rw] customer_service
|
46
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::CustomerService]
|
47
|
+
# Optional. The customer service of the business.
|
48
|
+
# @!attribute [rw] korean_business_registration_number
|
49
|
+
# @return [::String]
|
50
|
+
# Optional. The 10-digit [Korean business registration
|
51
|
+
# number](https://support.google.com/merchants/answer/9037766) separated with
|
52
|
+
# dashes in the format: XXX-XX-XXXXX.
|
53
|
+
class BusinessInfo
|
54
|
+
include ::Google::Protobuf::MessageExts
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
|
+
end
|
57
|
+
|
58
|
+
# Request message for the `GetBusinessInfo` method.
|
59
|
+
# @!attribute [rw] name
|
60
|
+
# @return [::String]
|
61
|
+
# Required. The resource name of the business info.
|
62
|
+
# Format: `accounts/{account}/businessInfo`. For example,
|
63
|
+
# `accounts/123456/businessInfo`.
|
64
|
+
class GetBusinessInfoRequest
|
65
|
+
include ::Google::Protobuf::MessageExts
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
67
|
+
end
|
68
|
+
|
69
|
+
# Request message for the `UpdateBusinessInfo` method.
|
70
|
+
# @!attribute [rw] business_info
|
71
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::BusinessInfo]
|
72
|
+
# Required. The new version of the business info.
|
73
|
+
# @!attribute [rw] update_mask
|
74
|
+
# @return [::Google::Protobuf::FieldMask]
|
75
|
+
# Optional. List of fields being updated.
|
76
|
+
#
|
77
|
+
# The following fields are supported (in both `snake_case` and
|
78
|
+
# `lowerCamelCase`):
|
79
|
+
#
|
80
|
+
# - `address`
|
81
|
+
# - `customer_service`
|
82
|
+
# - `korean_business_registration_number`
|
83
|
+
class UpdateBusinessInfoRequest
|
84
|
+
include ::Google::Protobuf::MessageExts
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
@@ -0,0 +1,187 @@
|
|
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 `GetCheckoutSettings` method.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Required. The name/identifier of the merchant account.
|
29
|
+
# Format: `accounts/{account}/programs/{program}/checkoutSettings`
|
30
|
+
class GetCheckoutSettingsRequest
|
31
|
+
include ::Google::Protobuf::MessageExts
|
32
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
33
|
+
end
|
34
|
+
|
35
|
+
# Request message for the `CreateCheckoutSettings` method.
|
36
|
+
# @!attribute [rw] parent
|
37
|
+
# @return [::String]
|
38
|
+
# Required. The merchant account for which the `CheckoutSettings` will be
|
39
|
+
# created.
|
40
|
+
# @!attribute [rw] checkout_settings
|
41
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::CheckoutSettings]
|
42
|
+
# Required. The `CheckoutSettings` object to create.
|
43
|
+
class CreateCheckoutSettingsRequest
|
44
|
+
include ::Google::Protobuf::MessageExts
|
45
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
46
|
+
end
|
47
|
+
|
48
|
+
# Request message for the `UpdateCheckoutSettings` method.
|
49
|
+
# @!attribute [rw] checkout_settings
|
50
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::CheckoutSettings]
|
51
|
+
# Required. The updated version of the `CheckoutSettings`.
|
52
|
+
# The `name` field is used to identify the `CheckoutSettings`.
|
53
|
+
# Format: `accounts/{account}/programs/{program}/checkoutSettings`
|
54
|
+
# @!attribute [rw] update_mask
|
55
|
+
# @return [::Google::Protobuf::FieldMask]
|
56
|
+
# Required. List of fields being updated.
|
57
|
+
# The following fields are supported (in both `snake_case` and
|
58
|
+
# `lowerCamelCase`):
|
59
|
+
#
|
60
|
+
# - `eligible_destinations`
|
61
|
+
# - `uri_settings`
|
62
|
+
class UpdateCheckoutSettingsRequest
|
63
|
+
include ::Google::Protobuf::MessageExts
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
|
+
end
|
66
|
+
|
67
|
+
# Request message for the `DeleteCheckoutSettings` method.
|
68
|
+
# @!attribute [rw] name
|
69
|
+
# @return [::String]
|
70
|
+
# Required. The name/identifier of the merchant account.
|
71
|
+
# Format: `accounts/{account}/programs/{program}/checkoutSettings`
|
72
|
+
class DeleteCheckoutSettingsRequest
|
73
|
+
include ::Google::Protobuf::MessageExts
|
74
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
75
|
+
end
|
76
|
+
|
77
|
+
# [CheckoutSettings](https://support.google.com/merchants/answer/13945960) for
|
78
|
+
# a specific merchant.
|
79
|
+
# @!attribute [rw] name
|
80
|
+
# @return [::String]
|
81
|
+
# Identifier. The resource name of the program configuration settings.
|
82
|
+
# Format: `accounts/{account}/programs/{program}/checkoutSettings`
|
83
|
+
# @!attribute [rw] uri_settings
|
84
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::UriSettings]
|
85
|
+
# URI settings for cart or checkout URL.
|
86
|
+
# @!attribute [rw] eligible_destinations
|
87
|
+
# @return [::Array<::Google::Shopping::Type::Destination::DestinationEnum>]
|
88
|
+
# Optional. The destinations (also known as [Marketing
|
89
|
+
# methods](https://support.google.com/merchants/answer/15130232)) to which
|
90
|
+
# the checkout program applies, valid destination values are `SHOPPING_ADS`,
|
91
|
+
# `FREE_LISTINGS`
|
92
|
+
# @!attribute [r] enrollment_state
|
93
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::CheckoutSettings::CheckoutEnrollmentState]
|
94
|
+
# Output only. Reflects the merchant enrollment state in `Checkout` program.
|
95
|
+
# @!attribute [r] review_state
|
96
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::CheckoutSettings::CheckoutReviewState]
|
97
|
+
# Output only. Reflects the merchant review state in `Checkout` program.
|
98
|
+
# This is set based on the data quality reviews of the URL provided by
|
99
|
+
# the merchant.
|
100
|
+
# A merchant with enrollment state
|
101
|
+
# as `ENROLLED` can be in the following review states: `IN_REVIEW`,
|
102
|
+
# `APPROVED` or `DISAPPROVED`. A merchant must be in an `enrollment_state` of
|
103
|
+
# `ENROLLED` before a review can begin for the merchant.For more details,
|
104
|
+
# check the help center doc.
|
105
|
+
# @!attribute [r] effective_uri_settings
|
106
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::UriSettings]
|
107
|
+
# Output only. The effective value of `uri_settings` for a given merchant. If
|
108
|
+
# account level settings are present then this value will be a copy of url
|
109
|
+
# settings. Otherwise, it will have the value of the parent account (for only
|
110
|
+
# marketplace sellers).
|
111
|
+
# @!attribute [r] effective_enrollment_state
|
112
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::CheckoutSettings::CheckoutEnrollmentState]
|
113
|
+
# Output only. The effective value of enrollment_state for a given merchant
|
114
|
+
# ID. If account level settings are present then this value will be a copy of
|
115
|
+
# the account level settings. Otherwise, it will have the value of the parent
|
116
|
+
# account (for only marketplace sellers).
|
117
|
+
# @!attribute [r] effective_review_state
|
118
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::CheckoutSettings::CheckoutReviewState]
|
119
|
+
# Output only. The effective value of `review_state` for a given merchant ID.
|
120
|
+
# If account level settings are present then this value will be a copy of the
|
121
|
+
# account level settings. Otherwise, it will have the value of the parent
|
122
|
+
# account (for only marketplace sellers).
|
123
|
+
class CheckoutSettings
|
124
|
+
include ::Google::Protobuf::MessageExts
|
125
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
126
|
+
|
127
|
+
# Enum indicating the enrollment state of merchant in `Checkout`
|
128
|
+
# program.
|
129
|
+
module CheckoutEnrollmentState
|
130
|
+
# Default enrollment state when enrollment state is not specified.
|
131
|
+
CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED = 0
|
132
|
+
|
133
|
+
# Merchant has not enrolled into the program.
|
134
|
+
INACTIVE = 1
|
135
|
+
|
136
|
+
# Merchant has enrolled into the program by providing either an
|
137
|
+
# account level URL or checkout URLs as part of their feed.
|
138
|
+
ENROLLED = 2
|
139
|
+
|
140
|
+
# Merchant has previously enrolled but opted out of the program.
|
141
|
+
OPTED_OUT = 3
|
142
|
+
end
|
143
|
+
|
144
|
+
# Enum indicating the review state of merchant in `Checkout`
|
145
|
+
# program.
|
146
|
+
module CheckoutReviewState
|
147
|
+
# Default review state when review state is not specified.
|
148
|
+
CHECKOUT_REVIEW_STATE_UNSPECIFIED = 0
|
149
|
+
|
150
|
+
# Merchant provided URLs are being reviewed for data quality issues.
|
151
|
+
IN_REVIEW = 1
|
152
|
+
|
153
|
+
# Merchant account has been approved. Indicates the data quality checks
|
154
|
+
# have passed.
|
155
|
+
APPROVED = 2
|
156
|
+
|
157
|
+
# Merchant account has been disapproved due to data quality issues.
|
158
|
+
DISAPPROVED = 3
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
# URL settings for cart or checkout URL.
|
163
|
+
# @!attribute [rw] checkout_uri_template
|
164
|
+
# @return [::String]
|
165
|
+
# Checkout URL template. When the placeholders are expanded will redirect
|
166
|
+
# the buyer to the merchant checkout page with the item in the cart. For
|
167
|
+
# more details, check the [help center
|
168
|
+
# doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
|
169
|
+
#
|
170
|
+
# Note: The following fields are mutually exclusive: `checkout_uri_template`, `cart_uri_template`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
171
|
+
# @!attribute [rw] cart_uri_template
|
172
|
+
# @return [::String]
|
173
|
+
# Cart URL template. When the placeholders are expanded will redirect the
|
174
|
+
# buyer to the cart page on the merchant website with the selected
|
175
|
+
# item in cart. For more details, check the [help center
|
176
|
+
# doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)
|
177
|
+
#
|
178
|
+
# Note: The following fields are mutually exclusive: `cart_uri_template`, `checkout_uri_template`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
179
|
+
class UriSettings
|
180
|
+
include ::Google::Protobuf::MessageExts
|
181
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
182
|
+
end
|
183
|
+
end
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
187
|
+
end
|
@@ -0,0 +1,43 @@
|
|
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
|
+
# Customer service information.
|
26
|
+
# @!attribute [rw] uri
|
27
|
+
# @return [::String]
|
28
|
+
# Optional. The URI where customer service may be found.
|
29
|
+
# @!attribute [rw] email
|
30
|
+
# @return [::String]
|
31
|
+
# Optional. The email address where customer service may be reached.
|
32
|
+
# @!attribute [rw] phone
|
33
|
+
# @return [::Google::Type::PhoneNumber]
|
34
|
+
# Optional. The phone number where customer service may be called.
|
35
|
+
class CustomerService
|
36
|
+
include ::Google::Protobuf::MessageExts
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,82 @@
|
|
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
|
+
# Represents a developer registration owned by a Merchant account.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Identifier. The `name` (ID) of the developer registration. Generated by the
|
29
|
+
# Content API upon creation of a new `DeveloperRegistration`. The `account`
|
30
|
+
# represents the merchant ID of the merchant that owns the registration.
|
31
|
+
# @!attribute [r] gcp_ids
|
32
|
+
# @return [::Array<::String>]
|
33
|
+
# Output only. The GCP ids attached to this developer registration
|
34
|
+
class DeveloperRegistration
|
35
|
+
include ::Google::Protobuf::MessageExts
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
37
|
+
end
|
38
|
+
|
39
|
+
# Request message for the RegisterGCP method.
|
40
|
+
# @!attribute [rw] name
|
41
|
+
# @return [::String]
|
42
|
+
# Required. The name of the developer registration to be created for the
|
43
|
+
# merchant account that the GCP will be registered with. Format:
|
44
|
+
# `accounts/{account}/developerRegistration`
|
45
|
+
# @!attribute [rw] developer_email
|
46
|
+
# @return [::String]
|
47
|
+
# Immutable. If the developer email provided is associated with a user in the
|
48
|
+
# merchant account provided, the user will be updated to have "API developer"
|
49
|
+
# access type and the email preference corresponding to that user will be
|
50
|
+
# updated to have the new "API notifications" preference. If the developer
|
51
|
+
# email provided is not associated with any user we will just add it as a
|
52
|
+
# contact. The email preference corresponding to that contact will have the
|
53
|
+
# new "API notifications" preference
|
54
|
+
class RegisterGcpRequest
|
55
|
+
include ::Google::Protobuf::MessageExts
|
56
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
57
|
+
end
|
58
|
+
|
59
|
+
# Request message for the UnregisterGCP method.
|
60
|
+
# @!attribute [rw] name
|
61
|
+
# @return [::String]
|
62
|
+
# Required. The name of the developer registration to be created for the
|
63
|
+
# merchant account that the GCP will be registered with. Format:
|
64
|
+
# `accounts/{account}/developerRegistration`
|
65
|
+
class UnregisterGcpRequest
|
66
|
+
include ::Google::Protobuf::MessageExts
|
67
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
68
|
+
end
|
69
|
+
|
70
|
+
# Request message for the GetDeveloperRegistration method.
|
71
|
+
# @!attribute [rw] name
|
72
|
+
# @return [::String]
|
73
|
+
# Required. The `name` (ID) of the developer registration.
|
74
|
+
class GetDeveloperRegistrationRequest
|
75
|
+
include ::Google::Protobuf::MessageExts
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
@@ -0,0 +1,87 @@
|
|
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 categories of notifications the user opted into / opted out of. The email
|
26
|
+
# preferences do not include mandatory announcements as users can't opt out of
|
27
|
+
# them.
|
28
|
+
# @!attribute [rw] name
|
29
|
+
# @return [::String]
|
30
|
+
# Identifier. The name of the EmailPreferences. The endpoint is only
|
31
|
+
# supported for the authenticated user.
|
32
|
+
# @!attribute [rw] news_and_tips
|
33
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::EmailPreferences::OptInState]
|
34
|
+
# Optional. Updates on new features, tips and best practices.
|
35
|
+
class EmailPreferences
|
36
|
+
include ::Google::Protobuf::MessageExts
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
|
39
|
+
# Opt in state of the email preference.
|
40
|
+
module OptInState
|
41
|
+
# Opt-in status is not specified.
|
42
|
+
OPT_IN_STATE_UNSPECIFIED = 0
|
43
|
+
|
44
|
+
# User has opted out of receiving this type of email.
|
45
|
+
OPTED_OUT = 1
|
46
|
+
|
47
|
+
# User has opted in to receiving this type of email.
|
48
|
+
OPTED_IN = 2
|
49
|
+
|
50
|
+
# User has opted in to receiving this type of email and the confirmation
|
51
|
+
# email has been sent, but user has not yet confirmed the opt in (applies
|
52
|
+
# only to certain countries).
|
53
|
+
UNCONFIRMED = 3
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# Request message for GetEmailPreferences method.
|
58
|
+
# @!attribute [rw] name
|
59
|
+
# @return [::String]
|
60
|
+
# Required. The name of the `EmailPreferences` resource.
|
61
|
+
# Format: `accounts/{account}/users/{email}/emailPreferences`
|
62
|
+
class GetEmailPreferencesRequest
|
63
|
+
include ::Google::Protobuf::MessageExts
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
|
+
end
|
66
|
+
|
67
|
+
# Request message for UpdateEmailPreferences method.
|
68
|
+
# @!attribute [rw] email_preferences
|
69
|
+
# @return [::Google::Shopping::Merchant::Accounts::V1::EmailPreferences]
|
70
|
+
# Required. Email Preferences to be updated.
|
71
|
+
# @!attribute [rw] update_mask
|
72
|
+
# @return [::Google::Protobuf::FieldMask]
|
73
|
+
# Required. List of fields being updated.
|
74
|
+
#
|
75
|
+
# The following fields are supported (in both `snake_case` and
|
76
|
+
# `lowerCamelCase`):
|
77
|
+
#
|
78
|
+
# - `news_and_tips`
|
79
|
+
class UpdateEmailPreferencesRequest
|
80
|
+
include ::Google::Protobuf::MessageExts
|
81
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|