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

V1BatchGetAssetsHistoryOptions

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

Additional options for CloudAsset#v1BatchGetAssetsHistory.

interface V1BatchGetAssetsHistoryOptions {
assetNames?: string;
contentType?:
| "CONTENT_TYPE_UNSPECIFIED"
| "RESOURCE"
| "IAM_POLICY"
| "ORG_POLICY"
| "ACCESS_POLICY"
| "OS_INVENTORY"
| "RELATIONSHIP";
[readTimeWindow.endTime]?: Date;
[readTimeWindow.startTime]?: Date;
relationshipTypes?: string;
}

§Properties

§
assetNames?: string
[src]

A list of the full names of the assets. See: https://cloud.google.com/asset-inventory/docs/resource-name-format Example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.

§
contentType?: "CONTENT_TYPE_UNSPECIFIED" | "RESOURCE" | "IAM_POLICY" | "ORG_POLICY" | "ACCESS_POLICY" | "OS_INVENTORY" | "RELATIONSHIP"
[src]

Optional. The content type.

§
[readTimeWindow.endTime]?: Date
[src]

End time of the time window (inclusive). If not specified, the current timestamp is used instead.

§
[readTimeWindow.startTime]?: Date
[src]

Start time of the time window (exclusive).

§
relationshipTypes?: string
[src]

Optional. A list of relationship types to output, for example: INSTANCE_TO_INSTANCEGROUP. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationships' history on the [asset_names]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or if any of the [asset_names]'s types doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships' history on the [asset_names] or returns an error if any of the [asset_names]'s types has no relationship support. See Introduction to Cloud Asset Inventory for all supported asset types and relationship types.