Skip to content

Commit aa132e0

Browse files
feat(mybusinessverifications): update the API
#### mybusinessverifications:v1 The following keys were added: - schemas.VerifyLocationRequest.properties.trustedPartnerToken.description - schemas.VerifyLocationRequest.properties.trustedPartnerToken.type The following keys were changed: - schemas.Verification.properties.method.enum - schemas.Verification.properties.method.enumDescriptions - schemas.VerificationOption.properties.verificationMethod.enum - schemas.VerificationOption.properties.verificationMethod.enumDescriptions - schemas.VerifyLocationRequest.properties.method.enum - schemas.VerifyLocationRequest.properties.method.enumDescriptions
1 parent 7073b5e commit aa132e0

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

discovery/mybusinessverifications-v1.json

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256
}
257257
}
258258
},
259-
"revision": "20250721",
259+
"revision": "20250804",
260260
"rootUrl": "https://mybusinessverifications.googleapis.com/",
261261
"schemas": {
262262
"AddressVerificationData": {
@@ -541,7 +541,8 @@
541541
"PHONE_CALL",
542542
"SMS",
543543
"AUTO",
544-
"VETTED_PARTNER"
544+
"VETTED_PARTNER",
545+
"TRUSTED_PARTNER"
545546
],
546547
"enumDescriptions": [
547548
"Default value, will result in errors.",
@@ -550,7 +551,8 @@
550551
"Make a phone call with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.",
551552
"Send an SMS with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.",
552553
"Verify the location without additional user action. This option may not be available for all locations.",
553-
"This option may not be available for all locations."
554+
"This option may not be available for all locations.",
555+
"Verify the location via a trusted partner."
554556
],
555557
"type": "string"
556558
},
@@ -606,7 +608,8 @@
606608
"PHONE_CALL",
607609
"SMS",
608610
"AUTO",
609-
"VETTED_PARTNER"
611+
"VETTED_PARTNER",
612+
"TRUSTED_PARTNER"
610613
],
611614
"enumDescriptions": [
612615
"Default value, will result in errors.",
@@ -615,7 +618,8 @@
615618
"Make a phone call with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.",
616619
"Send an SMS with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.",
617620
"Verify the location without additional user action. This option may not be available for all locations.",
618-
"This option may not be available for all locations."
621+
"This option may not be available for all locations.",
622+
"Verify the location via a trusted partner."
619623
],
620624
"type": "string"
621625
}
@@ -673,7 +677,8 @@
673677
"PHONE_CALL",
674678
"SMS",
675679
"AUTO",
676-
"VETTED_PARTNER"
680+
"VETTED_PARTNER",
681+
"TRUSTED_PARTNER"
677682
],
678683
"enumDescriptions": [
679684
"Default value, will result in errors.",
@@ -682,7 +687,8 @@
682687
"Make a phone call with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.",
683688
"Send an SMS with a verification PIN to a specific phone number. The PIN is used to complete verification with Google.",
684689
"Verify the location without additional user action. This option may not be available for all locations.",
685-
"This option may not be available for all locations."
690+
"This option may not be available for all locations.",
691+
"Verify the location via a trusted partner."
686692
],
687693
"type": "string"
688694
},
@@ -693,6 +699,10 @@
693699
"token": {
694700
"$ref": "VerificationToken",
695701
"description": "Optional. The input for VETTED_PARTNER method available to select [partners.](https://support.google.com/business/answer/7674102) The input is not needed for a vetted account. Token that is associated to the location. Token that is associated to the location."
702+
},
703+
"trustedPartnerToken": {
704+
"description": "The input for TRUSTED_PARTNER method The verification token that is associated to the location.",
705+
"type": "string"
696706
}
697707
},
698708
"type": "object"

src/apis/mybusinessverifications/v1.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,10 @@ export namespace mybusinessverifications_v1 {
423423
* Optional. The input for VETTED_PARTNER method available to select [partners.](https://support.google.com/business/answer/7674102) The input is not needed for a vetted account. Token that is associated to the location. Token that is associated to the location.
424424
*/
425425
token?: Schema$VerificationToken;
426+
/**
427+
* The input for TRUSTED_PARTNER method The verification token that is associated to the location.
428+
*/
429+
trustedPartnerToken?: string | null;
426430
}
427431
/**
428432
* Response message for Verifications.VerifyLocation.
@@ -823,7 +827,8 @@ export namespace mybusinessverifications_v1 {
823827
* // "mailerContact": "my_mailerContact",
824828
* // "method": "my_method",
825829
* // "phoneNumber": "my_phoneNumber",
826-
* // "token": {}
830+
* // "token": {},
831+
* // "trustedPartnerToken": "my_trustedPartnerToken"
827832
* // }
828833
* },
829834
* });

0 commit comments

Comments
 (0)