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

Resource

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

Information related to the Google Cloud resource that is associated with this finding.

interface Resource {
awsMetadata?: AwsMetadata;
cloudProvider?:
| "CLOUD_PROVIDER_UNSPECIFIED"
| "GOOGLE_CLOUD_PLATFORM"
| "AMAZON_WEB_SERVICES"
| "MICROSOFT_AZURE";
displayName?: string;
folders?: Folder[];
location?: string;
name?: string;
organization?: string;
parentDisplayName?: string;
parentName?: string;
projectDisplayName?: string;
projectName?: string;
resourcePath?: ResourcePath;
resourcePathString?: string;
service?: string;
type?: string;
}

§Properties

§
awsMetadata?: AwsMetadata
[src]

The AWS metadata associated with the finding.

§
cloudProvider?: "CLOUD_PROVIDER_UNSPECIFIED" | "GOOGLE_CLOUD_PLATFORM" | "AMAZON_WEB_SERVICES" | "MICROSOFT_AZURE"
[src]

Indicates which cloud provider the finding is from.

§
displayName?: string
[src]

The human readable name of the resource.

§
folders?: Folder[]
[src]

Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.

§
location?: string
[src]

The region or location of the service (if applicable).

§
name?: string
[src]
§
organization?: string
[src]

Indicates which organization / tenant the finding is for.

§
parentDisplayName?: string
[src]

The human readable name of resource's parent.

§
parentName?: string
[src]

The full resource name of resource's parent.

§
projectDisplayName?: string
[src]

The project ID that the resource belongs to.

§
projectName?: string
[src]

The full resource name of project that the resource belongs to.

§
resourcePath?: ResourcePath
[src]

Provides the path to the resource within the resource hierarchy.

§
resourcePathString?: string
[src]

A string representation of the resource path. For Google Cloud, it has the format of org/{organization_id}/folder/{folder_id}/folder/{folder_id}/project/{project_id} where there can be any number of folders. For AWS, it has the format of org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name} where there can be any number of management groups.

§
service?: string
[src]

The service or resource provider associated with the resource.

§
type?: string
[src]

The full resource type of the resource.