# Cloud Key Management Service (KMS) V1 API - Class Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesResponse (v1.13.0)

1.13.0 (latest) 1.12.1 1.11.0 1.10.0 1.9.2 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.2 1.2.1 1.1.0 1.0.2 0.27.0 0.26.0 0.25.1 0.24.3 0.23.0 0.22.1 0.21.0 0.20.0 0.19.0 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesResponse.

Response message for
[HsmManagement.ListSingleTenantHsmInstances](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-HsmManagement-Client#Google__Cloud__Kms__V1__HsmManagement__Client_list_single_tenant_hsm_instances_instance_ "Google::Cloud::Kms::V1::HsmManagement::Client#list_single_tenant_hsm_instances (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- A token to retrieve next page of results. Pass this value in [ListSingleTenantHsmInstancesRequest.page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ListSingleTenantHsmInstancesRequest#Google__Cloud__Kms__V1__ListSingleTenantHsmInstancesRequest_page_token_instance_ "Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesRequest#page_token (method)") to retrieve the next page of results.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A token to retrieve next page of results. Pass this value in [ListSingleTenantHsmInstancesRequest.page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ListSingleTenantHsmInstancesRequest#Google__Cloud__Kms__V1__ListSingleTenantHsmInstancesRequest_page_token_instance_ "Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesRequest#page_token (method)") to retrieve the next page of results.
**Returns**

- (::String) --- A token to retrieve next page of results. Pass this value in [ListSingleTenantHsmInstancesRequest.page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ListSingleTenantHsmInstancesRequest#Google__Cloud__Kms__V1__ListSingleTenantHsmInstancesRequest_page_token_instance_ "Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesRequest#page_token (method)") to retrieve the next page of results.

### #single_tenant_hsm_instances

    def single_tenant_hsm_instances() -> ::Array<::Google::Cloud::Kms::V1::SingleTenantHsmInstance>

**Returns**

- (::Array\<[::Google::Cloud::Kms::V1::SingleTenantHsmInstance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-SingleTenantHsmInstance)\>) --- The list of [SingleTenantHsmInstances](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-SingleTenantHsmInstance "Google::Cloud::Kms::V1::SingleTenantHsmInstance (class)").

### #single_tenant_hsm_instances=

    def single_tenant_hsm_instances=(value) -> ::Array<::Google::Cloud::Kms::V1::SingleTenantHsmInstance>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Kms::V1::SingleTenantHsmInstance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-SingleTenantHsmInstance)\>) --- The list of [SingleTenantHsmInstances](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-SingleTenantHsmInstance "Google::Cloud::Kms::V1::SingleTenantHsmInstance (class)").
**Returns**

- (::Array\<[::Google::Cloud::Kms::V1::SingleTenantHsmInstance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-SingleTenantHsmInstance)\>) --- The list of [SingleTenantHsmInstances](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-SingleTenantHsmInstance "Google::Cloud::Kms::V1::SingleTenantHsmInstance (class)").

### #total_size

    def total_size() -> ::Integer

**Returns**

- (::Integer) --- The total number of [SingleTenantHsmInstances](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-SingleTenantHsmInstance "Google::Cloud::Kms::V1::SingleTenantHsmInstance (class)") that matched the query.


  This field is not populated if
  [ListSingleTenantHsmInstancesRequest.filter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ListSingleTenantHsmInstancesRequest#Google__Cloud__Kms__V1__ListSingleTenantHsmInstancesRequest_filter_instance_ "Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesRequest#filter (method)")
  is applied.

### #total_size=

    def total_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The total number of [SingleTenantHsmInstances](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-SingleTenantHsmInstance "Google::Cloud::Kms::V1::SingleTenantHsmInstance (class)") that matched the query.


  This field is not populated if
  [ListSingleTenantHsmInstancesRequest.filter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ListSingleTenantHsmInstancesRequest#Google__Cloud__Kms__V1__ListSingleTenantHsmInstancesRequest_filter_instance_ "Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesRequest#filter (method)")
  is applied.
**Returns**

- (::Integer) --- The total number of [SingleTenantHsmInstances](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-SingleTenantHsmInstance "Google::Cloud::Kms::V1::SingleTenantHsmInstance (class)") that matched the query.


  This field is not populated if
  [ListSingleTenantHsmInstancesRequest.filter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ListSingleTenantHsmInstancesRequest#Google__Cloud__Kms__V1__ListSingleTenantHsmInstancesRequest_filter_instance_ "Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesRequest#filter (method)")
  is applied.