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

ApprovalRequest

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

A request for the customer to approve access to a resource.

interface ApprovalRequest {
approve?: ApproveDecision;
dismiss?: DismissDecision;
name?: string;
requestedDuration?: number;
requestedExpiration?: Date;
requestedLocations?: AccessLocations;
requestedReason?: AccessReason;
requestedResourceName?: string;
requestedResourceProperties?: ResourceProperties;
requestTime?: Date;
}

§Properties

§

Access was approved.

§

The request was dismissed.

§
name?: string
[src]

The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}".

§
requestedDuration?: number
[src]

The requested access duration.

§
requestedExpiration?: Date
[src]

The original requested expiration for the approval. Calculated by adding the requested_duration to the request_time.

§
requestedLocations?: AccessLocations
[src]

The locations for which approval is being requested.

§
requestedReason?: AccessReason
[src]

The justification for which approval is being requested.

§
requestedResourceName?: string
[src]

The resource for which approval is being requested. The format of the resource name is defined at https://cloud.google.com/apis/design/resource_names. The resource name here may either be a "full" resource name (e.g. "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative" resource name (e.g. "shelves/shelf1/books/book2") as described in the resource name specification.

§
requestedResourceProperties?: ResourceProperties
[src]

Properties related to the resource represented by requested_resource_name.

§
requestTime?: Date
[src]

The time at which approval was requested.