v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1351142229.7 KB
projects

Provisions instance resources for the API Hub.

post/v1/{+parent}/apiHubInstances

Path parameters

parentstring required

Required. The parent resource for the Api Hub instance resource. Format: projects/{project}/locations/{location}

Query parameters

apiHubInstanceIdstring

Optional. Identifier to assign to the Api Hub instance. Must be unique within scope of the parent resource. If the field is not provided, system generated id will be used. This value should be 4-40 characters, and valid characters are /a-z[0-9]-_/.

Request body

descriptionstring

Optional. Description of the ApiHub instance.

namestring

Identifier. Format: projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}.

state'STATE_UNSPECIFIED' | 'INACTIVE' | 'CREATING' | 'ACTIVE' | 'UPDATING' | 'DELETING' | 'FAILED'

Output only. The current state of the ApiHub instance.

createTimestring google-datetime

Output only. Creation timestamp.

updateTimestring google-datetime

Output only. Last update timestamp.

stateMessagestring

Output only. Extra information about ApiHub instance state. Currently the message would be populated when state is FAILED.

labelsobject

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

Response

Successful response