GoogleCloudApihubV1ApiHubInstance
import type { GoogleCloudApihubV1ApiHubInstance } from "https://googleapis.deno.dev/v1/apihub:v1.ts";
An ApiHubInstance represents the instance resources of the API Hub. Currently, only one ApiHub instance is allowed for each project.
interface GoogleCloudApihubV1ApiHubInstance {
config?: GoogleCloudApihubV1Config;
readonly createTime?: Date;
description?: string;
labels?: {};
[key: string]: string;
name?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "INACTIVE"
| "CREATING"
| "ACTIVE"
| "UPDATING"
| "DELETING"
| "FAILED";
readonly stateMessage?: string;
readonly updateTime?: Date;
}§Properties
§
config?: GoogleCloudApihubV1Config
[src]Required. Config of the ApiHub instance.
§
labels?: {}
[src][key: string]: string;
Optional. Instance labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
§
name?: string
[src]Identifier. Format:
projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}
.
§
readonly state?: "STATE_UNSPECIFIED" | "INACTIVE" | "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED"
[src]Output only. The current state of the ApiHub instance.