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,53 @@
|
|
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 Type
|
22
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
23
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
24
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
25
|
+
# following:
|
26
|
+
#
|
27
|
+
# * A full date, with non-zero year, month, and day values
|
28
|
+
# * A month and day value, with a zero year, such as an anniversary
|
29
|
+
# * A year on its own, with zero month and day values
|
30
|
+
# * A year and month value, with a zero day, such as a credit card expiration
|
31
|
+
# date
|
32
|
+
#
|
33
|
+
# Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
|
34
|
+
# `google.protobuf.Timestamp`.
|
35
|
+
# @!attribute [rw] year
|
36
|
+
# @return [::Integer]
|
37
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
|
38
|
+
# a year.
|
39
|
+
# @!attribute [rw] month
|
40
|
+
# @return [::Integer]
|
41
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a
|
42
|
+
# month and day.
|
43
|
+
# @!attribute [rw] day
|
44
|
+
# @return [::Integer]
|
45
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
|
46
|
+
# to specify a year by itself or a year and month where the day isn't
|
47
|
+
# significant.
|
48
|
+
class Date
|
49
|
+
include ::Google::Protobuf::MessageExts
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,103 @@
|
|
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 Type
|
22
|
+
# Represents civil time (or occasionally physical time).
|
23
|
+
#
|
24
|
+
# This type can represent a civil time in one of a few possible ways:
|
25
|
+
#
|
26
|
+
# * When utc_offset is set and time_zone is unset: a civil time on a calendar
|
27
|
+
# day with a particular offset from UTC.
|
28
|
+
# * When time_zone is set and utc_offset is unset: a civil time on a calendar
|
29
|
+
# day in a particular time zone.
|
30
|
+
# * When neither time_zone nor utc_offset is set: a civil time on a calendar
|
31
|
+
# day in local time.
|
32
|
+
#
|
33
|
+
# The date is relative to the Proleptic Gregorian Calendar.
|
34
|
+
#
|
35
|
+
# If year is 0, the DateTime is considered not to have a specific year. month
|
36
|
+
# and day must have valid, non-zero values.
|
37
|
+
#
|
38
|
+
# This type may also be used to represent a physical time if all the date and
|
39
|
+
# time fields are set and either case of the `time_offset` oneof is set.
|
40
|
+
# Consider using `Timestamp` message for physical time instead. If your use
|
41
|
+
# case also would like to store the user's timezone, that can be done in
|
42
|
+
# another field.
|
43
|
+
#
|
44
|
+
# This type is more flexible than some applications may want. Make sure to
|
45
|
+
# document and validate your application's limitations.
|
46
|
+
# @!attribute [rw] year
|
47
|
+
# @return [::Integer]
|
48
|
+
# Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
|
49
|
+
# datetime without a year.
|
50
|
+
# @!attribute [rw] month
|
51
|
+
# @return [::Integer]
|
52
|
+
# Required. Month of year. Must be from 1 to 12.
|
53
|
+
# @!attribute [rw] day
|
54
|
+
# @return [::Integer]
|
55
|
+
# Required. Day of month. Must be from 1 to 31 and valid for the year and
|
56
|
+
# month.
|
57
|
+
# @!attribute [rw] hours
|
58
|
+
# @return [::Integer]
|
59
|
+
# Required. Hours of day in 24 hour format. Should be from 0 to 23. An API
|
60
|
+
# may choose to allow the value "24:00:00" for scenarios like business
|
61
|
+
# closing time.
|
62
|
+
# @!attribute [rw] minutes
|
63
|
+
# @return [::Integer]
|
64
|
+
# Required. Minutes of hour of day. Must be from 0 to 59.
|
65
|
+
# @!attribute [rw] seconds
|
66
|
+
# @return [::Integer]
|
67
|
+
# Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
|
68
|
+
# API may allow the value 60 if it allows leap-seconds.
|
69
|
+
# @!attribute [rw] nanos
|
70
|
+
# @return [::Integer]
|
71
|
+
# Required. Fractions of seconds in nanoseconds. Must be from 0 to
|
72
|
+
# 999,999,999.
|
73
|
+
# @!attribute [rw] utc_offset
|
74
|
+
# @return [::Google::Protobuf::Duration]
|
75
|
+
# UTC offset. Must be whole seconds, between -18 hours and +18 hours.
|
76
|
+
# For example, a UTC offset of -4:00 would be represented as
|
77
|
+
# { seconds: -14400 }.
|
78
|
+
#
|
79
|
+
# Note: The following fields are mutually exclusive: `utc_offset`, `time_zone`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
80
|
+
# @!attribute [rw] time_zone
|
81
|
+
# @return [::Google::Type::TimeZone]
|
82
|
+
# Time zone.
|
83
|
+
#
|
84
|
+
# Note: The following fields are mutually exclusive: `time_zone`, `utc_offset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
85
|
+
class DateTime
|
86
|
+
include ::Google::Protobuf::MessageExts
|
87
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
88
|
+
end
|
89
|
+
|
90
|
+
# Represents a time zone from the
|
91
|
+
# [IANA Time Zone Database](https://www.iana.org/time-zones).
|
92
|
+
# @!attribute [rw] id
|
93
|
+
# @return [::String]
|
94
|
+
# IANA Time Zone Database time zone, e.g. "America/New_York".
|
95
|
+
# @!attribute [rw] version
|
96
|
+
# @return [::String]
|
97
|
+
# Optional. IANA Time Zone Database version number, e.g. "2019a".
|
98
|
+
class TimeZone
|
99
|
+
include ::Google::Protobuf::MessageExts
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,116 @@
|
|
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 Type
|
22
|
+
# An object representing a phone number, suitable as an API wire format.
|
23
|
+
#
|
24
|
+
# This representation:
|
25
|
+
#
|
26
|
+
# - should not be used for locale-specific formatting of a phone number, such
|
27
|
+
# as "+1 (650) 253-0000 ext. 123"
|
28
|
+
#
|
29
|
+
# - is not designed for efficient storage
|
30
|
+
# - may not be suitable for dialing - specialized libraries (see references)
|
31
|
+
# should be used to parse the number for that purpose
|
32
|
+
#
|
33
|
+
# To do something meaningful with this number, such as format it for various
|
34
|
+
# use-cases, convert it to an `i18n.phonenumbers.PhoneNumber` object first.
|
35
|
+
#
|
36
|
+
# For instance, in Java this would be:
|
37
|
+
#
|
38
|
+
# com.google.type.PhoneNumber wireProto =
|
39
|
+
# com.google.type.PhoneNumber.newBuilder().build();
|
40
|
+
# com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber =
|
41
|
+
# PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ");
|
42
|
+
# if (!wireProto.getExtension().isEmpty()) {
|
43
|
+
# phoneNumber.setExtension(wireProto.getExtension());
|
44
|
+
# }
|
45
|
+
#
|
46
|
+
# Reference(s):
|
47
|
+
# - https://github.com/google/libphonenumber
|
48
|
+
# @!attribute [rw] e164_number
|
49
|
+
# @return [::String]
|
50
|
+
# The phone number, represented as a leading plus sign ('+'), followed by a
|
51
|
+
# phone number that uses a relaxed ITU E.164 format consisting of the
|
52
|
+
# country calling code (1 to 3 digits) and the subscriber number, with no
|
53
|
+
# additional spaces or formatting, e.g.:
|
54
|
+
# - correct: "+15552220123"
|
55
|
+
# - incorrect: "+1 (555) 222-01234 x123".
|
56
|
+
#
|
57
|
+
# The ITU E.164 format limits the latter to 12 digits, but in practice not
|
58
|
+
# all countries respect that, so we relax that restriction here.
|
59
|
+
# National-only numbers are not allowed.
|
60
|
+
#
|
61
|
+
# References:
|
62
|
+
# - https://www.itu.int/rec/T-REC-E.164-201011-I
|
63
|
+
# - https://en.wikipedia.org/wiki/E.164.
|
64
|
+
# - https://en.wikipedia.org/wiki/List_of_country_calling_codes
|
65
|
+
#
|
66
|
+
# Note: The following fields are mutually exclusive: `e164_number`, `short_code`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
67
|
+
# @!attribute [rw] short_code
|
68
|
+
# @return [::Google::Type::PhoneNumber::ShortCode]
|
69
|
+
# A short code.
|
70
|
+
#
|
71
|
+
# Reference(s):
|
72
|
+
# - https://en.wikipedia.org/wiki/Short_code
|
73
|
+
#
|
74
|
+
# Note: The following fields are mutually exclusive: `short_code`, `e164_number`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
75
|
+
# @!attribute [rw] extension
|
76
|
+
# @return [::String]
|
77
|
+
# The phone number's extension. The extension is not standardized in ITU
|
78
|
+
# recommendations, except for being defined as a series of numbers with a
|
79
|
+
# maximum length of 40 digits. Other than digits, some other dialing
|
80
|
+
# characters such as ',' (indicating a wait) or '#' may be stored here.
|
81
|
+
#
|
82
|
+
# Note that no regions currently use extensions with short codes, so this
|
83
|
+
# field is normally only set in conjunction with an E.164 number. It is held
|
84
|
+
# separately from the E.164 number to allow for short code extensions in the
|
85
|
+
# future.
|
86
|
+
class PhoneNumber
|
87
|
+
include ::Google::Protobuf::MessageExts
|
88
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
89
|
+
|
90
|
+
# An object representing a short code, which is a phone number that is
|
91
|
+
# typically much shorter than regular phone numbers and can be used to
|
92
|
+
# address messages in MMS and SMS systems, as well as for abbreviated dialing
|
93
|
+
# (e.g. "Text 611 to see how many minutes you have remaining on your plan.").
|
94
|
+
#
|
95
|
+
# Short codes are restricted to a region and are not internationally
|
96
|
+
# dialable, which means the same short code can exist in different regions,
|
97
|
+
# with different usage and pricing, even if those regions share the same
|
98
|
+
# country calling code (e.g. US and CA).
|
99
|
+
# @!attribute [rw] region_code
|
100
|
+
# @return [::String]
|
101
|
+
# Required. The BCP-47 region code of the location where calls to this
|
102
|
+
# short code can be made, such as "US" and "BB".
|
103
|
+
#
|
104
|
+
# Reference(s):
|
105
|
+
# - http://www.unicode.org/reports/tr35/#unicode_region_subtag
|
106
|
+
# @!attribute [rw] number
|
107
|
+
# @return [::String]
|
108
|
+
# Required. The short code digits, without a leading plus ('+') or country
|
109
|
+
# calling code, e.g. "611".
|
110
|
+
class ShortCode
|
111
|
+
include ::Google::Protobuf::MessageExts
|
112
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
@@ -0,0 +1,135 @@
|
|
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 Type
|
22
|
+
# Represents a postal address, e.g. for postal delivery or payments addresses.
|
23
|
+
# Given a postal address, a postal service can deliver items to a premise, P.O.
|
24
|
+
# Box or similar.
|
25
|
+
# It is not intended to model geographical locations (roads, towns,
|
26
|
+
# mountains).
|
27
|
+
#
|
28
|
+
# In typical usage an address would be created via user input or from importing
|
29
|
+
# existing data, depending on the type of process.
|
30
|
+
#
|
31
|
+
# Advice on address input / editing:
|
32
|
+
# - Use an i18n-ready address widget such as
|
33
|
+
# https://github.com/google/libaddressinput)
|
34
|
+
# - Users should not be presented with UI elements for input or editing of
|
35
|
+
# fields outside countries where that field is used.
|
36
|
+
#
|
37
|
+
# For more guidance on how to use this schema, please see:
|
38
|
+
# https://support.google.com/business/answer/6397478
|
39
|
+
# @!attribute [rw] revision
|
40
|
+
# @return [::Integer]
|
41
|
+
# The schema revision of the `PostalAddress`. This must be set to 0, which is
|
42
|
+
# the latest revision.
|
43
|
+
#
|
44
|
+
# All new revisions **must** be backward compatible with old revisions.
|
45
|
+
# @!attribute [rw] region_code
|
46
|
+
# @return [::String]
|
47
|
+
# Required. CLDR region code of the country/region of the address. This
|
48
|
+
# is never inferred and it is up to the user to ensure the value is
|
49
|
+
# correct. See http://cldr.unicode.org/ and
|
50
|
+
# http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
|
51
|
+
# for details. Example: "CH" for Switzerland.
|
52
|
+
# @!attribute [rw] language_code
|
53
|
+
# @return [::String]
|
54
|
+
# Optional. BCP-47 language code of the contents of this address (if
|
55
|
+
# known). This is often the UI language of the input form or is expected
|
56
|
+
# to match one of the languages used in the address' country/region, or their
|
57
|
+
# transliterated equivalents.
|
58
|
+
# This can affect formatting in certain countries, but is not critical
|
59
|
+
# to the correctness of the data and will never affect any validation or
|
60
|
+
# other non-formatting related operations.
|
61
|
+
#
|
62
|
+
# If this value is not known, it should be omitted (rather than specifying a
|
63
|
+
# possibly incorrect default).
|
64
|
+
#
|
65
|
+
# Examples: "zh-Hant", "ja", "ja-Latn", "en".
|
66
|
+
# @!attribute [rw] postal_code
|
67
|
+
# @return [::String]
|
68
|
+
# Optional. Postal code of the address. Not all countries use or require
|
69
|
+
# postal codes to be present, but where they are used, they may trigger
|
70
|
+
# additional validation with other parts of the address (e.g. state/zip
|
71
|
+
# validation in the U.S.A.).
|
72
|
+
# @!attribute [rw] sorting_code
|
73
|
+
# @return [::String]
|
74
|
+
# Optional. Additional, country-specific, sorting code. This is not used
|
75
|
+
# in most regions. Where it is used, the value is either a string like
|
76
|
+
# "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
|
77
|
+
# alone, representing the "sector code" (Jamaica), "delivery area indicator"
|
78
|
+
# (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
|
79
|
+
# @!attribute [rw] administrative_area
|
80
|
+
# @return [::String]
|
81
|
+
# Optional. Highest administrative subdivision which is used for postal
|
82
|
+
# addresses of a country or region.
|
83
|
+
# For example, this can be a state, a province, an oblast, or a prefecture.
|
84
|
+
# Specifically, for Spain this is the province and not the autonomous
|
85
|
+
# community (e.g. "Barcelona" and not "Catalonia").
|
86
|
+
# Many countries don't use an administrative area in postal addresses. E.g.
|
87
|
+
# in Switzerland this should be left unpopulated.
|
88
|
+
# @!attribute [rw] locality
|
89
|
+
# @return [::String]
|
90
|
+
# Optional. Generally refers to the city/town portion of the address.
|
91
|
+
# Examples: US city, IT comune, UK post town.
|
92
|
+
# In regions of the world where localities are not well defined or do not fit
|
93
|
+
# into this structure well, leave locality empty and use address_lines.
|
94
|
+
# @!attribute [rw] sublocality
|
95
|
+
# @return [::String]
|
96
|
+
# Optional. Sublocality of the address.
|
97
|
+
# For example, this can be neighborhoods, boroughs, districts.
|
98
|
+
# @!attribute [rw] address_lines
|
99
|
+
# @return [::Array<::String>]
|
100
|
+
# Unstructured address lines describing the lower levels of an address.
|
101
|
+
#
|
102
|
+
# Because values in address_lines do not have type information and may
|
103
|
+
# sometimes contain multiple values in a single field (e.g.
|
104
|
+
# "Austin, TX"), it is important that the line order is clear. The order of
|
105
|
+
# address lines should be "envelope order" for the country/region of the
|
106
|
+
# address. In places where this can vary (e.g. Japan), address_language is
|
107
|
+
# used to make it explicit (e.g. "ja" for large-to-small ordering and
|
108
|
+
# "ja-Latn" or "en" for small-to-large). This way, the most specific line of
|
109
|
+
# an address can be selected based on the language.
|
110
|
+
#
|
111
|
+
# The minimum permitted structural representation of an address consists
|
112
|
+
# of a region_code with all remaining information placed in the
|
113
|
+
# address_lines. It would be possible to format such an address very
|
114
|
+
# approximately without geocoding, but no semantic reasoning could be
|
115
|
+
# made about any of the address components until it was at least
|
116
|
+
# partially resolved.
|
117
|
+
#
|
118
|
+
# Creating an address only containing a region_code and address_lines, and
|
119
|
+
# then geocoding is the recommended way to handle completely unstructured
|
120
|
+
# addresses (as opposed to guessing which parts of the address should be
|
121
|
+
# localities or administrative areas).
|
122
|
+
# @!attribute [rw] recipients
|
123
|
+
# @return [::Array<::String>]
|
124
|
+
# Optional. The recipient at the address.
|
125
|
+
# This field may, under certain circumstances, contain multiline information.
|
126
|
+
# For example, it might contain "care of" information.
|
127
|
+
# @!attribute [rw] organization
|
128
|
+
# @return [::String]
|
129
|
+
# Optional. The name of the organization at the address.
|
130
|
+
class PostalAddress
|
131
|
+
include ::Google::Protobuf::MessageExts
|
132
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|