Reference documentation and code samples for the Cloud KMS V1 Client class SingleTenantHsmInstanceProposal.
A SingleTenantHsmInstanceProposal represents a proposal to perform an operation on a SingleTenantHsmInstance .
Generated from protobuf message google.cloud.kms.v1.SingleTenantHsmInstanceProposal
Namespace
Google \ Cloud \ Kms \ V1Methods
__construct
Constructor.
data
mixed
getName
Identifier. The resource name for this SingleTenantHsmInstance
in
the format projects/*/locations/*/singleTenantHsmInstances/*/proposals/*
.
string
setName
Identifier. The resource name for this SingleTenantHsmInstance
in
the format projects/*/locations/*/singleTenantHsmInstances/*/proposals/*
.
var
string
$this
getCreateTime
Output only. The time at which the SingleTenantHsmInstanceProposal was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which the SingleTenantHsmInstanceProposal was created.
$this
getState
Output only. The state of the SingleTenantHsmInstanceProposal .
setState
Output only. The state of the SingleTenantHsmInstanceProposal .
$this
getFailureReason
Output only. The root cause of the most recent failure. Only present if state is FAILED .
string
setFailureReason
Output only. The root cause of the most recent failure. Only present if state is FAILED .
var
string
$this
getQuorumParameters
Output only. The quorum approval parameters for the SingleTenantHsmInstanceProposal .
hasQuorumParameters
setQuorumParameters
Output only. The quorum approval parameters for the SingleTenantHsmInstanceProposal .
$this
getRequiredActionQuorumParameters
Output only. Parameters for an approval of a SingleTenantHsmInstanceProposal that has both required challenges and a quorum.
hasRequiredActionQuorumParameters
setRequiredActionQuorumParameters
Output only. Parameters for an approval of a SingleTenantHsmInstanceProposal that has both required challenges and a quorum.
$this
getExpireTime
The time at which the SingleTenantHsmInstanceProposal will expire if not approved and executed.
hasExpireTime
setExpireTime
The time at which the SingleTenantHsmInstanceProposal will expire if not approved and executed.
$this
getTtl
Input only. The TTL for the SingleTenantHsmInstanceProposal .
Proposals will expire after this duration.
hasTtl
setTtl
Input only. The TTL for the SingleTenantHsmInstanceProposal .
Proposals will expire after this duration.
$this
getDeleteTime
Output only. The time at which the SingleTenantHsmInstanceProposal was deleted.
hasDeleteTime
clearDeleteTime
setDeleteTime
Output only. The time at which the SingleTenantHsmInstanceProposal was deleted.
$this
getPurgeTime
Output only. The time at which the soft-deleted SingleTenantHsmInstanceProposal will be permanently purged. This field is only populated when the state is DELETED and will be set a time after expiration of the proposal, i.e. >= expire_time or (create_time + ttl).
hasPurgeTime
clearPurgeTime
setPurgeTime
Output only. The time at which the soft-deleted SingleTenantHsmInstanceProposal will be permanently purged. This field is only populated when the state is DELETED and will be set a time after expiration of the proposal, i.e. >= expire_time or (create_time + ttl).
$this
getRegisterTwoFactorAuthKeys
Register 2FA keys for the SingleTenantHsmInstance .
This operation requires all N Challenges to be signed by 2FA keys. The SingleTenantHsmInstance must be in the PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation.
hasRegisterTwoFactorAuthKeys
setRegisterTwoFactorAuthKeys
Register 2FA keys for the SingleTenantHsmInstance .
This operation requires all N Challenges to be signed by 2FA keys. The SingleTenantHsmInstance must be in the PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation.
$this
getDisableSingleTenantHsmInstance
Disable the SingleTenantHsmInstance .
The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
hasDisableSingleTenantHsmInstance
setDisableSingleTenantHsmInstance
Disable the SingleTenantHsmInstance .
The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
$this
getEnableSingleTenantHsmInstance
Enable the SingleTenantHsmInstance .
The SingleTenantHsmInstance must be in the DISABLED state to perform this operation.
hasEnableSingleTenantHsmInstance
setEnableSingleTenantHsmInstance
Enable the SingleTenantHsmInstance .
The SingleTenantHsmInstance must be in the DISABLED state to perform this operation.
$this
getDeleteSingleTenantHsmInstance
Delete the SingleTenantHsmInstance .
Deleting a SingleTenantHsmInstance will make all CryptoKeys attached to the SingleTenantHsmInstance unusable. The SingleTenantHsmInstance must be in the DISABLED or PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation.
hasDeleteSingleTenantHsmInstance
setDeleteSingleTenantHsmInstance
Delete the SingleTenantHsmInstance .
Deleting a SingleTenantHsmInstance will make all CryptoKeys attached to the SingleTenantHsmInstance unusable. The SingleTenantHsmInstance must be in the DISABLED or PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation.
$this
getAddQuorumMember
Add a quorum member to the SingleTenantHsmInstance .
This will increase the total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
hasAddQuorumMember
setAddQuorumMember
Add a quorum member to the SingleTenantHsmInstance .
This will increase the total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
$this
getRemoveQuorumMember
Remove a quorum member from the SingleTenantHsmInstance .
This will reduce total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
hasRemoveQuorumMember
setRemoveQuorumMember
Remove a quorum member from the SingleTenantHsmInstance .
This will reduce total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
$this
getRefreshSingleTenantHsmInstance
Refreshes the SingleTenantHsmInstance .
This operation must be performed periodically to keep the SingleTenantHsmInstance active. This operation must be performed before unrefreshed_duration_until_disable has passed. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
hasRefreshSingleTenantHsmInstance
setRefreshSingleTenantHsmInstance
Refreshes the SingleTenantHsmInstance .
This operation must be performed periodically to keep the SingleTenantHsmInstance active. This operation must be performed before unrefreshed_duration_until_disable has passed. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
$this
getApprovalParameters
string
getExpiration
string
getOperation
string

