Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class Instance.
An Instance represents the instance resources of the Registry.
Currently, only one instance is allowed for each project.
Generated from protobuf message google.cloud.apigeeregistry.v1.Instance
Namespace
Google \ Cloud \ ApigeeRegistry \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Format: |
↳ create_time |
Google\Protobuf\Timestamp
Output only. Creation timestamp. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. Last update timestamp. |
↳ state |
int
Output only. The current state of the Instance. |
↳ state_message |
string
Output only. Extra information of Instance.State if the state is |
↳ config |
Instance\Config
Required. Config of the Instance. |
getName
Format: projects/*/locations/*/instance
.
Currently only locations/global
is supported.
Returns | |
---|---|
Type | Description |
string |
setName
Format: projects/*/locations/*/instance
.
Currently only locations/global
is supported.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. Creation timestamp.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. Creation timestamp.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. Last update timestamp.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Last update timestamp.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getState
Output only. The current state of the Instance.
Returns | |
---|---|
Type | Description |
int |
setState
Output only. The current state of the Instance.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getStateMessage
Output only. Extra information of Instance.State if the state is FAILED
.
Returns | |
---|---|
Type | Description |
string |
setStateMessage
Output only. Extra information of Instance.State if the state is FAILED
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConfig
Required. Config of the Instance.
Returns | |
---|---|
Type | Description |
Instance\Config|null |
hasConfig
clearConfig
setConfig
Required. Config of the Instance.
Parameter | |
---|---|
Name | Description |
var |
Instance\Config
|
Returns | |
---|---|
Type | Description |
$this |