Class VerificationCodesResource
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
The "verificationCodes" collection of methods.
public class VerificationCodesResource
- Inheritance
-
VerificationCodesResource
- Inherited Members
Constructors
VerificationCodesResource(IClientService)
Constructs a new resource.
public VerificationCodesResource(IClientService service)
Parameters
service
IClientService
Methods
Generate(string)
Generate new backup verification codes for the user.
public virtual VerificationCodesResource.GenerateRequest Generate(string userKey)
Parameters
userKey
stringEmail or immutable ID of the user
Returns
Invalidate(string)
Invalidate the current backup verification codes for the user.
public virtual VerificationCodesResource.InvalidateRequest Invalidate(string userKey)
Parameters
userKey
stringEmail or immutable ID of the user
Returns
List(string)
Returns the current set of valid backup verification codes for the specified user.
public virtual VerificationCodesResource.ListRequest List(string userKey)
Parameters
userKey
stringIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.