Method: instances.verifyNonce

Full name: projects.locations.instances.verifyNonce

Verifies the nonce used to graduate an instance.

HTTP request


Path parameters

Parameters
name

string

Required. The name of the instance to verify graduation nonce for. Format: projects/{projectId}/locations/{region}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "nonce": string,
  "flow": enum (Flow)
}
Fields
nonce

string

Required. The nonce to verify.

flow

enum (Flow)

Required. The flow to verify nonce for.

Response body

Response for verify nonce.

If successful, the response body contains data with the following structure:

JSON representation
{
  "success": boolean,

  // Union field verify_nonce_metadata can be only one of the following:
  "verifyGraduationMetadata": {
    object (VerifyGraduatePocInstanceMetadata)
  }
  // End of list of possible types for union field verify_nonce_metadata.
}
Fields
success

boolean

Output only. Whether the nonce was verified.

Union field verify_nonce_metadata. Metadata for verify nonce. verify_nonce_metadata can be only one of the following:
verifyGraduationMetadata

object (VerifyGraduatePocInstanceMetadata)

Output only. Metadata for graduation verify nonce operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.instances.verifyNonce

For more information, see the IAM documentation.

Flow

Flow type.

Enums
FLOW_UNSPECIFIED The default value.
VERIFY_POC_GRADUATION_NONCE Verify nonce for graduation.

VerifyGraduatePocInstanceMetadata

Metadata for verify nonce.

JSON representation
{
  "email": string
}
Fields
email

string

The email of the user whom the nonce was sent to.