Google Cloud Apigee Registry V1 Client - Class Instance (1.0.4)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Format: projects/*/locations/*/instance . Currently only locations/global is supported.

↳ 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 FAILED .

↳ 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

hasCreateTime

clearCreateTime

setCreateTime

Output only. Creation timestamp.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. Last update timestamp.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Last update timestamp.

Parameter
Name
Description
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

hasConfig

clearConfig

setConfig

Required. Config of the Instance.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: