VerificationMethod
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
VERIFICATION_METHOD_UNSPECIFIED |
默认值,会导致错误。 |
ADDRESS |
将包含验证 PIN 的明信片寄送到特定邮寄地址。PIN 码用于向 Google 完成验证。 |
EMAIL |
使用验证 PIN 向特定电子邮件地址发送电子邮件。PIN 码用于向 Google 完成验证。 |
PHONE_CALL |
使用特定 PIN 码拨打电话。PIN 码用于向 Google 完成验证。 |
SMS |
向特定电话号码发送短信(包括 PIN 码验证)。PIN 码用于向 Google 完成验证。 |
AUTO |
验证营业地点,无需额外用户操作。此选项可能只适用于特定的营业地点。 |
VETTED_PARTNER |
此选项可能只适用于特定的营业地点。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eGoogle employs a variety of methods to verify locations, including sending verification PINs via postcard, email, phone call, and SMS.\u003c/p\u003e\n"],["\u003cp\u003eBusinesses can also be automatically verified by Google or through a vetted partner, although these options may have limited availability.\u003c/p\u003e\n"],["\u003cp\u003eEach verification method involves a specific process with a unique enum value, like \u003ccode\u003eADDRESS\u003c/code\u003e for postcard verification or \u003ccode\u003eEMAIL\u003c/code\u003e for email verification.\u003c/p\u003e\n"],["\u003cp\u003eThe default \u003ccode\u003eVERIFICATION_METHOD_UNSPECIFIED\u003c/code\u003e should be avoided as it will lead to errors during the verification process.\u003c/p\u003e\n"]]],["Google verifies locations through several methods. These include sending a postcard (`ADDRESS`), email (`EMAIL`), phone call (`PHONE_CALL`), or SMS (`SMS`), each containing a PIN for verification. Another method is automatic verification (`AUTO`), where no user action is needed. Finally, verification can be done via a vetted partner (`VETTED_PARTNER`). `VERIFICATION_METHOD_UNSPECIFIED` is the default and not valid for use. Not all methods are available for all locations.\n"],null,["# VerificationMethod\n\nSpecifies the processes used by Google to verify a location.\n\n| Enums ||\n|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------|\n| `VERIFICATION_METHOD_UNSPECIFIED` | Default value, will result in errors. |\n| `ADDRESS` | Send a postcard with a verification PIN to a specific mailing address. The PIN is used to complete verification with Google. |\n| `EMAIL` | Send an email with a verification PIN to a specific email address. The PIN is used to complete verification with Google. |\n| `PHONE_CALL` | Make a phone call with a verification PIN to a specific phone number. The PIN is used to complete verification with Google. |\n| `SMS` | Send an SMS with a verification PIN to a specific phone number. The PIN is used to complete verification with Google. |\n| `AUTO` | Verify the location without additional user action. This option may not be available for all locations. |\n| `VETTED_PARTNER` | This option may not be available for all locations. |"]]