Reference documentation and code samples for the Google Cloud Financial Services V1 Client class Instance.
Instance is a container for the rest of API resources.
Only resources in the same instance can interact with each other. Child resources inherit the location (data residency) and encryption (CMEK). The location of the provided input and output in requests must match the location of the instance.
Generated from protobuf message google.cloud.financialservices.v1.Instance
Namespace
Google \ Cloud \ FinancialServices \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The full path to the Instance resource in this API. format: projects/{project}/locations/{location}/instances/{instance}
↳ create_time
Google\Protobuf\Timestamp
Output only. Timestamp when the Instance was created. Assigned by the server.
↳ update_time
Google\Protobuf\Timestamp
Output only. Timestamp when the Instance was last updated. Assigned by the server.
↳ state
int
Output only. State of the instance. Assigned by the server.
↳ labels
↳ kms_key
string
Required. The KMS key name used for CMEK (encryption-at-rest). format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
VPC-SC restrictions apply.
getName
Output only. The full path to the Instance resource in this API.
format: projects/{project}/locations/{location}/instances/{instance}
string
setName
Output only. The full path to the Instance resource in this API.
format: projects/{project}/locations/{location}/instances/{instance}
var
string
$this
getCreateTime
Output only. Timestamp when the Instance was created.
Assigned by the server.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp when the Instance was created.
Assigned by the server.
$this
getUpdateTime
Output only. Timestamp when the Instance was last updated.
Assigned by the server.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Timestamp when the Instance was last updated.
Assigned by the server.
$this
getState
Output only. State of the instance.
Assigned by the server.
int
setState
Output only. State of the instance.
Assigned by the server.
var
int
$this
getLabels
Labels
setLabels
Labels
$this
getKmsKey
Required. The KMS key name used for CMEK (encryption-at-rest).
format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
VPC-SC restrictions apply.
string
setKmsKey
Required. The KMS key name used for CMEK (encryption-at-rest).
format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}
VPC-SC restrictions apply.
var
string
$this