Reference documentation and code samples for the Google Cloud Api Hub V1 Client class ApiHubInstance.
An ApiHubInstance represents the instance resources of the API Hub.
Currently, only one ApiHub instance is allowed for each project.
Generated from protobuf message google.cloud.apihub.v1.ApiHubInstance
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. Format: projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}
.
↳ create_time
↳ update_time
↳ state
int
Output only. The current state of the ApiHub instance.
↳ state_message
string
Output only. Extra information about ApiHub instance state. Currently the message would be populated when state is FAILED
.
↳ config
↳ labels
array| Google\Protobuf\Internal\MapField
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
↳ description
string
Optional. Description of the ApiHub instance.
getName
Identifier. Format: projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}
.
string
setName
Identifier. Format: projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}
.
var
string
$this
getCreateTime
Output only. Creation timestamp.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Creation timestamp.
$this
getUpdateTime
Output only. Last update timestamp.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Last update timestamp.
$this
getState
Output only. The current state of the ApiHub instance.
int
setState
Output only. The current state of the ApiHub instance.
var
int
Enum of type State .
$this
getStateMessage
Output only. Extra information about ApiHub instance state. Currently the
message would be populated when state is FAILED
.
string
setStateMessage
Output only. Extra information about ApiHub instance state. Currently the
message would be populated when state is FAILED
.
var
string
$this
getConfig
Required. Config of the ApiHub instance.
hasConfig
clearConfig
setConfig
Required. Config of the ApiHub instance.
$this
getLabels
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
setLabels
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
$this
getDescription
Optional. Description of the ApiHub instance.
string
setDescription
Optional. Description of the ApiHub instance.
var
string
$this

