Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GenerateAccessTokenRequest

import type { GenerateAccessTokenRequest } from "https://googleapis.deno.dev/v1/workstations:v1.ts";

Request message for GenerateAccessToken.

interface GenerateAccessTokenRequest {
expireTime?: Date;
ttl?: number;
}

§Properties

§
expireTime?: Date
[src]

Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.

§
ttl?: number
[src]

Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.