Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class Instance.
A resource that represents a Secure Source Manager instance.
Generated from protobuf message google.cloud.securesourcemanager.v1.Instance
Namespace
Google \ Cloud \ SecureSourceManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Optional. A unique identifier for an instance. The name should be of the format: projects/{project_number}/locations/{location_id}/instances/{instance_id}
project_number
: Maps to a unique int64 id assigned to each project. location_id
: Refers to the region where the instance will be deployed. Since Secure Source Manager is a regional service, it must be one of the valid GCP regions. instance_id
: User provided name for the instance, must be unique for a project_number and location_id combination.
↳ create_time
↳ update_time
↳ labels
↳ private_config
↳ state
int
Output only. Current state of the instance.
↳ state_note
int
Output only. An optional field providing information about the current instance state.
↳ kms_key
string
Optional. Immutable. Customer-managed encryption key name, in the format projects/ /locations/ /keyRings/ /cryptoKeys/ .
↳ host_config
getName
Optional. A unique identifier for an instance. The name should be of the
format: projects/{project_number}/locations/{location_id}/instances/{instance_id}
project_number
: Maps to a unique int64 id assigned to each project.
location_id
: Refers to the region where the instance will be deployed.
Since Secure Source Manager is a regional service, it must be one of the
valid GCP regions. instance_id
: User provided name for the instance, must be unique for a
project_number and location_id combination.
string
setName
Optional. A unique identifier for an instance. The name should be of the
format: projects/{project_number}/locations/{location_id}/instances/{instance_id}
project_number
: Maps to a unique int64 id assigned to each project.
location_id
: Refers to the region where the instance will be deployed.
Since Secure Source Manager is a regional service, it must be one of the
valid GCP regions. instance_id
: User provided name for the instance, must be unique for a
project_number and location_id combination.
var
string
$this
getCreateTime
Output only. Create timestamp.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create timestamp.
$this
getUpdateTime
Output only. Update timestamp.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Update timestamp.
$this
getLabels
Optional. Labels as key value pairs.
setLabels
Optional. Labels as key value pairs.
$this
getPrivateConfig
Optional. Private settings for private instance.
hasPrivateConfig
clearPrivateConfig
setPrivateConfig
Optional. Private settings for private instance.
$this
getState
Output only. Current state of the instance.
int
setState
Output only. Current state of the instance.
var
int
$this
getStateNote
Output only. An optional field providing information about the current instance state.
int
setStateNote
Output only. An optional field providing information about the current instance state.
var
int
$this
getKmsKey
Optional. Immutable. Customer-managed encryption key name, in the format projects/ /locations/ /keyRings/ /cryptoKeys/ .
string
setKmsKey
Optional. Immutable. Customer-managed encryption key name, in the format projects/ /locations/ /keyRings/ /cryptoKeys/ .
var
string
$this
getHostConfig
Output only. A list of hostnames for this instance.
hasHostConfig
clearHostConfig
setHostConfig
Output only. A list of hostnames for this instance.
$this