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