GenerateAccessTokenRequest
import type { GenerateAccessTokenRequest } from "https://googleapis.deno.dev/v1/workstations:v1.ts";
Request message for GenerateAccessToken.
interface GenerateAccessTokenRequest {
expireTime?: Date;
port?: number;
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.
§
port?: number
[src]Optional. Port for which the access token should be generated. If specified, the generated access token grants access only to the specified port of the workstation. If specified, values must be within the range [1 - 65535]. If not specified, the generated access token grants access to all ports of the workstation.