Verification
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"name": string,
"method": enum (VerificationMethod ),
"state": enum (State ),
"createTime": string,
"announcement": string
} |
字段 |
name |
string
验证的资源名称。
|
method |
enum (VerificationMethod )
验证方法。
|
state |
enum (State )
验证的状态。
|
createTime |
string (Timestamp format)
请求验证时的时间戳。 时间戳采用 RFC3339 世界协调时间(UTC,即“祖鲁时”)格式,精确到纳秒,最多九个小数位。示例:"2014-10-02T15:01:23Z" 和 "2014-10-02T15:01:23.045123456Z" 。
|
announcement |
string
可选。仅当方法是 VETTED_PARTNER 时,才会设置回复通知。
|
州
枚举 |
STATE_UNSPECIFIED |
如果使用默认值,则会导致错误。 |
PENDING |
正在等待验证。 |
COMPLETED |
验证已完成。 |
FAILED |
验证失败。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eA verification on a Google Business Profile location is an attempt to confirm its authenticity.\u003c/p\u003e\n"],["\u003cp\u003eVerifications can be in various states including pending, completed, or failed and utilize different methods.\u003c/p\u003e\n"],["\u003cp\u003eEach verification attempt is recorded with a timestamp, state, method used, and an optional announcement.\u003c/p\u003e\n"],["\u003cp\u003eDetailed information about the verification process and available methods is linked within the document.\u003c/p\u003e\n"]]],[],null,["# Verification\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [State](#State)\n\nA verification represents a verification attempt on a location.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"method\": enum (/my-business/reference/verifications/rest/v1/VerificationMethod), \"state\": enum (/my-business/reference/verifications/rest/v1/Verification#State), \"createTime\": string, \"announcement\": string } ``` |\n\n| Fields ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Resource name of the verification. |\n| `method` | `enum (`[VerificationMethod](/my-business/reference/verifications/rest/v1/VerificationMethod)`)` The method of the verification. |\n| `state` | `enum (`[State](/my-business/reference/verifications/rest/v1/Verification#State)`)` The state of the verification. |\n| `createTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` The timestamp when the verification is requested. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| `announcement` | `string` Optional. Response announcement set only if the method is VETTED_PARTNER. |\n\nState\n-----\n\nAll possible verification states.\n\n| Enums ||\n|---------------------|---------------------------------------|\n| `STATE_UNSPECIFIED` | Default value, will result in errors. |\n| `PENDING` | The verification is pending. |\n| `COMPLETED` | The verification is completed. |\n| `FAILED` | The verification is failed. |"]]