target.apidocs.com.google.api.services.directory.Directory.VerificationCodes.html Maven / Gradle / Ivy
Directory.VerificationCodes (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory
Class Directory.VerificationCodes
- java.lang.Object
-
- com.google.api.services.directory.Directory.VerificationCodes
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Directory.VerificationCodes.Generate
class
Directory.VerificationCodes.Invalidate
class
Directory.VerificationCodes.List
-
Constructor Summary
Constructors
Constructor and Description
VerificationCodes()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Directory.VerificationCodes.Generate
generate(String userKey)
Generates new backup verification codes for the user.
Directory.VerificationCodes.Invalidate
invalidate(String userKey)
Invalidates the current backup verification codes for the user.
Directory.VerificationCodes.List
list(String userKey)
Returns the current set of valid backup verification codes for the specified user.
-
-
Method Detail
-
generate
public Directory.VerificationCodes.Generate generate(String userKey)
throws IOException
Generates new backup verification codes for the user.
Create a request for the method "verificationCodes.generate".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
userKey
- Email or immutable ID of the user
- Returns:
- the request
- Throws:
IOException
-
invalidate
public Directory.VerificationCodes.Invalidate invalidate(String userKey)
throws IOException
Invalidates the current backup verification codes for the user.
Create a request for the method "verificationCodes.invalidate".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
userKey
- Email or immutable ID of the user
- Returns:
- the request
- Throws:
IOException
-
list
public Directory.VerificationCodes.List list(String userKey)
throws IOException
Returns the current set of valid backup verification codes for the specified user.
Create a request for the method "verificationCodes.list".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.