# Cloud KMS V1 Client - Class SingleTenantHsmInstanceProposal (2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.2 2.4.0 2.3.1 2.2.0 2.1.6 2.0.0 1.23.0 1.22.1 1.21.4 1.20.3 1.19.0 1.18.1 1.17.0 1.16.4 1.15.3 Reference documentation and code samples for the Cloud KMS V1 Client class SingleTenantHsmInstanceProposal.

A
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
represents a proposal to perform an operation on a
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

Generated from protobuf message `google.cloud.kms.v1.SingleTenantHsmInstanceProposal`

## Namespace

Google \\ Cloud \\ Kms \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getName

Identifier. The resource name for this
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance) in
the format `projects/*/locations/*/singleTenantHsmInstances/*/proposals/*`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Identifier. The resource name for this
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance) in
the format `projects/*/locations/*/singleTenantHsmInstances/*/proposals/*`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCreateTime

Output only. The time at which the
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
was created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. The time at which the
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
was created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getState

Output only. The state of the
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.State). |

### setState

Output only. The state of the
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.State). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFailureReason

Output only. The root cause of the most recent failure. Only present if
[state](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal#_Google_Cloud_Kms_V1_SingleTenantHsmInstanceProposal__getState__) is
FAILED.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFailureReason

Output only. The root cause of the most recent failure. Only present if
[state](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal#_Google_Cloud_Kms_V1_SingleTenantHsmInstanceProposal__getState__) is
FAILED.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getQuorumParameters

Output only. The quorum approval parameters for the
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.QuorumParameters|null` |   |

### hasQuorumParameters

### setQuorumParameters

Output only. The quorum approval parameters for the
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.QuorumParameters` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRequiredActionQuorumParameters

Output only. Parameters for an approval of a
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
that has both required challenges and a quorum.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters|null` |   |

### hasRequiredActionQuorumParameters

### setRequiredActionQuorumParameters

Output only. Parameters for an approval of a
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
that has both required challenges and a quorum.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.RequiredActionQuorumParameters` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExpireTime

The time at which the
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
will expire if not approved and executed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasExpireTime

### setExpireTime

The time at which the
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
will expire if not approved and executed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTtl

Input only. The TTL for the
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal).

Proposals will expire after this duration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration|null` |   |

### hasTtl

### setTtl

Input only. The TTL for the
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal).

Proposals will expire after this duration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDeleteTime

Output only. The time at which the
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
was deleted.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasDeleteTime

### clearDeleteTime

### setDeleteTime

Output only. The time at which the
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal)
was deleted.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPurgeTime

Output only. The time at which the soft-deleted
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.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).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasPurgeTime

### clearPurgeTime

### setPurgeTime

Output only. The time at which the soft-deleted
[SingleTenantHsmInstanceProposal](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.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).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRegisterTwoFactorAuthKeys

Register 2FA keys for the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

This operation requires all N Challenges to be signed by 2FA keys. The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[PENDING_TWO_FACTOR_AUTH_REGISTRATION](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__PENDING_TWO_FACTOR_AUTH_REGISTRATION)
state to perform this operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeys|null` |   |

### hasRegisterTwoFactorAuthKeys

### setRegisterTwoFactorAuthKeys

Register 2FA keys for the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

This operation requires all N Challenges to be signed by 2FA keys. The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[PENDING_TWO_FACTOR_AUTH_REGISTRATION](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__PENDING_TWO_FACTOR_AUTH_REGISTRATION)
state to perform this operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.RegisterTwoFactorAuthKeys` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDisableSingleTenantHsmInstance

Disable the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[ACTIVE](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__ACTIVE) state
to perform this operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.DisableSingleTenantHsmInstance|null` |   |

### hasDisableSingleTenantHsmInstance

### setDisableSingleTenantHsmInstance

Disable the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[ACTIVE](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__ACTIVE) state
to perform this operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.DisableSingleTenantHsmInstance` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEnableSingleTenantHsmInstance

Enable the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[DISABLED](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__DISABLED)
state to perform this operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.EnableSingleTenantHsmInstance|null` |   |

### hasEnableSingleTenantHsmInstance

### setEnableSingleTenantHsmInstance

Enable the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[DISABLED](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__DISABLED)
state to perform this operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.EnableSingleTenantHsmInstance` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDeleteSingleTenantHsmInstance

Delete the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

Deleting a
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
will make all [CryptoKeys](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.CryptoKey) attached to the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
unusable. The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[DISABLED](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__DISABLED) or
[PENDING_TWO_FACTOR_AUTH_REGISTRATION](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__PENDING_TWO_FACTOR_AUTH_REGISTRATION)
state to perform this operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.DeleteSingleTenantHsmInstance|null` |   |

### hasDeleteSingleTenantHsmInstance

### setDeleteSingleTenantHsmInstance

Delete the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

Deleting a
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
will make all [CryptoKeys](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.CryptoKey) attached to the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
unusable. The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[DISABLED](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__DISABLED) or
[PENDING_TWO_FACTOR_AUTH_REGISTRATION](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__PENDING_TWO_FACTOR_AUTH_REGISTRATION)
state to perform this operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.DeleteSingleTenantHsmInstance` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAddQuorumMember

Add a quorum member to the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

This will increase the
[total_approver_count](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.QuorumAuth#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_QuorumAuth__getTotalApproverCount__)
by 1. The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[ACTIVE](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__ACTIVE) state
to perform this operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.AddQuorumMember|null` |   |

### hasAddQuorumMember

### setAddQuorumMember

Add a quorum member to the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

This will increase the
[total_approver_count](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.QuorumAuth#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_QuorumAuth__getTotalApproverCount__)
by 1. The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[ACTIVE](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__ACTIVE) state
to perform this operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.AddQuorumMember` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRemoveQuorumMember

Remove a quorum member from the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

This will reduce
[total_approver_count](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.QuorumAuth#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_QuorumAuth__getTotalApproverCount__)
by 1. The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[ACTIVE](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__ACTIVE) state
to perform this operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.RemoveQuorumMember|null` |   |

### hasRemoveQuorumMember

### setRemoveQuorumMember

Remove a quorum member from the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

This will reduce
[total_approver_count](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.QuorumAuth#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_QuorumAuth__getTotalApproverCount__)
by 1. The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[ACTIVE](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__ACTIVE) state
to perform this operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.RemoveQuorumMember` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRefreshSingleTenantHsmInstance

Refreshes the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

This operation must be performed periodically to keep the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
active. This operation must be performed before
[unrefreshed_duration_until_disable](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance#_Google_Cloud_Kms_V1_SingleTenantHsmInstance__getUnrefreshedDurationUntilDisable__)
has passed. The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[ACTIVE](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__ACTIVE) state
to perform this operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.RefreshSingleTenantHsmInstance|null` |   |

### hasRefreshSingleTenantHsmInstance

### setRefreshSingleTenantHsmInstance

Refreshes the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance).

This operation must be performed periodically to keep the
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
active. This operation must be performed before
[unrefreshed_duration_until_disable](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance#_Google_Cloud_Kms_V1_SingleTenantHsmInstance__getUnrefreshedDurationUntilDisable__)
has passed. The
[SingleTenantHsmInstance](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance)
must be in the
[ACTIVE](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstance.State#_Google_Cloud_Kms_V1_SingleTenantHsmInstance_State__ACTIVE) state
to perform this operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.SingleTenantHsmInstanceProposal.RefreshSingleTenantHsmInstance` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getApprovalParameters

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### getExpiration

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### getOperation

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |