Google Cloud Net App V1 Client - Class KmsConfig (0.1.1)

Reference documentation and code samples for the Google Cloud Net App V1 Client class KmsConfig.

KmsConfig is the customer managed encryption key(CMEK) configuration.

Generated from protobuf message google.cloud.netapp.v1.KmsConfig

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Name of the KmsConfig.

↳ crypto_key_name string

Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.

↳ state int

Output only. State of the KmsConfig.

↳ state_details string

Output only. State details of the KmsConfig.

↳ create_time Google\Protobuf\Timestamp

Output only. Create time of the KmsConfig.

↳ description string

Description of the KmsConfig.

↳ labels array|Google\Protobuf\Internal\MapField

Labels as key value pairs

↳ instructions string

Output only. Instructions to provide the access to the customer provided encryption key.

↳ service_account string

Output only. The Service account which will have access to the customer provided encryption key.

getName

Output only. Name of the KmsConfig.

Returns
TypeDescription
string

setName

Output only. Name of the KmsConfig.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCryptoKeyName

Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.

Returns
TypeDescription
string

setCryptoKeyName

Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Output only. State of the KmsConfig.

Returns
TypeDescription
int

setState

Output only. State of the KmsConfig.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStateDetails

Output only. State details of the KmsConfig.

Returns
TypeDescription
string

setStateDetails

Output only. State details of the KmsConfig.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Create time of the KmsConfig.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create time of the KmsConfig.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getDescription

Description of the KmsConfig.

Returns
TypeDescription
string

setDescription

Description of the KmsConfig.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLabels

Labels as key value pairs

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Labels as key value pairs

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getInstructions

Output only. Instructions to provide the access to the customer provided encryption key.

Returns
TypeDescription
string

setInstructions

Output only. Instructions to provide the access to the customer provided encryption key.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceAccount

Output only. The Service account which will have access to the customer provided encryption key.

Returns
TypeDescription
string

setServiceAccount

Output only. The Service account which will have access to the customer provided encryption key.

Parameter
NameDescription
var string
Returns
TypeDescription
$this