public final class VerificationOption
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the My Business Verifications API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
VerificationOption() |
| Modifier and Type | Method and Description |
|---|---|
VerificationOption |
clone() |
AddressVerificationData |
getAddressData()
Set only if the method is MAIL.
|
String |
getAnnouncement()
Set only if the method is VETTED_PARTNER.
|
EmailVerificationData |
getEmailData()
Set only if the method is EMAIL.
|
String |
getPhoneNumber()
Set only if the method is PHONE_CALL or SMS.
|
String |
getVerificationMethod()
Method to verify the location.
|
VerificationOption |
set(String fieldName,
Object value) |
VerificationOption |
setAddressData(AddressVerificationData addressData)
Set only if the method is MAIL.
|
VerificationOption |
setAnnouncement(String announcement)
Set only if the method is VETTED_PARTNER.
|
VerificationOption |
setEmailData(EmailVerificationData emailData)
Set only if the method is EMAIL.
|
VerificationOption |
setPhoneNumber(String phoneNumber)
Set only if the method is PHONE_CALL or SMS.
|
VerificationOption |
setVerificationMethod(String verificationMethod)
Method to verify the location.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic AddressVerificationData getAddressData()
null for nonepublic VerificationOption setAddressData(AddressVerificationData addressData)
addressData - addressData or null for nonepublic String getAnnouncement()
null for nonepublic VerificationOption setAnnouncement(String announcement)
announcement - announcement or null for nonepublic EmailVerificationData getEmailData()
null for nonepublic VerificationOption setEmailData(EmailVerificationData emailData)
emailData - emailData or null for nonepublic String getPhoneNumber()
null for nonepublic VerificationOption setPhoneNumber(String phoneNumber)
phoneNumber - phoneNumber or null for nonepublic String getVerificationMethod()
null for nonepublic VerificationOption setVerificationMethod(String verificationMethod)
verificationMethod - verificationMethod or null for nonepublic VerificationOption set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic VerificationOption clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.