Resource: ApiHubInstance
An ApiHubInstance represents the instance resources of the API Hub. Currently, only one ApiHub instance is allowed for each project.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "state": enum ( |
Fields | |
---|---|
name |
Identifier. Format: |
createTime |
Output only. Creation timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Last update timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. The current state of the ApiHub instance. |
stateMessage |
Output only. Extra information about ApiHub instance state. Currently the message would be populated when state is |
config |
Required. Config of the ApiHub instance. |
labels |
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 An object containing a list of |
description |
Optional. Description of the ApiHub instance. |
State
State of the ApiHub Instance.
Enums | |
---|---|
STATE_UNSPECIFIED |
The default value. This value is used if the state is omitted. |
INACTIVE |
The ApiHub instance has not been initialized or has been deleted. |
CREATING |
The ApiHub instance is being created. |
ACTIVE |
The ApiHub instance has been created and is ready for use. |
UPDATING |
The ApiHub instance is being updated. |
DELETING |
The ApiHub instance is being deleted. |
FAILED |
The ApiHub instance encountered an error during a state change. |
Config
Available configurations to provision an ApiHub Instance.
JSON representation |
---|
{ "cmekKeyName": string } |
Fields | |
---|---|
cmekKeyName |
Required. The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of |
Methods |
|
---|---|
|
Provisions instance resources for the API Hub. |
|
Gets details of a single API Hub instance. |
|
Looks up an Api Hub instance in a given GCP project. |