Class VerificationCodesResource.GenerateRequest
Generate new backup verification codes for the user.
Inheritance
System.Object
ClientServiceRequest<System.String>
DirectoryBaseServiceRequest<System.String>
VerificationCodesResource.GenerateRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class 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 | |
| System.String | userKey |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.RestPath
UserKey
Email or immutable ID of the user
Declaration
[RequestParameter("userKey", RequestParameterType.Path)]
public virtual string UserKey { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
InitParameters()
Initializes Generate parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Admin.Directory.directory_v1.DirectoryBaseServiceRequest<System.String>.InitParameters()