Class VerificationCodesResource.GenerateRequest
Generates new backup verification codes for the user.
Inheritance
VerificationCodesResource.GenerateRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class VerificationCodesResource.GenerateRequest : DirectoryBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
GenerateRequest(IClientService, string)
Constructs a new Generate request.
Declaration
public GenerateRequest(IClientService service, string userKey)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | userKey |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UserKey
Email or immutable ID of the user
Declaration
[RequestParameter("userKey", RequestParameterType.Path)]
public virtual string UserKey { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Generate parameter list.
Declaration
protected override void InitParameters()