Close httplib2 connections.
generate(userKey, x__xgafv=None)
Generate new backup verification codes for the user.
invalidate(userKey, x__xgafv=None)
Invalidate the current backup verification codes for the user.
Returns the current set of valid backup verification codes for the specified user.
close()
Close httplib2 connections.
generate(userKey, x__xgafv=None)
Generate new backup verification codes for the user. Args: userKey: string, Email or immutable ID of the user (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format
invalidate(userKey, x__xgafv=None)
Invalidate the current backup verification codes for the user. Args: userKey: string, Email or immutable ID of the user (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format
list(userKey, x__xgafv=None)
Returns the current set of valid backup verification codes for the specified user. Args: userKey: string, Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # JSON response template for List verification codes operation in Directory API. STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber) "items": [ # A list of verification code resources. { # JSON template for verification codes in Directory API. STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber) "verificationCode": "A String", # A current verification code for the user. Invalidated or used verification codes are not returned as part of the result. "etag": "A String", # ETag of the resource. "userId": "A String", # The obfuscated unique ID of the user. "kind": "admin#directory#verificationCode", # The type of the resource. This is always admin#directory#verificationCode. }, ], "etag": "A String", # ETag of the resource. "kind": "admin#directory#verificationCodesList", # The type of the resource. This is always admin#directory#verificationCodesList. }