Class: Google::Apis::CloudkmsV1::ListSingleTenantHsmInstancesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudkms_v1/classes.rb,
lib/google/apis/cloudkms_v1/representations.rb,
lib/google/apis/cloudkms_v1/representations.rb

Overview

Response message for HsmManagement.ListSingleTenantHsmInstances.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSingleTenantHsmInstancesResponse

Returns a new instance of ListSingleTenantHsmInstancesResponse.



2343
2344
2345
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2343

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

A token to retrieve next page of results. Pass this value in ListSingleTenantHsmInstancesRequest.page_token to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2329
2330
2331
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2329

def next_page_token
  @next_page_token
end

#single_tenant_hsm_instancesArray<Google::Apis::CloudkmsV1::SingleTenantHsmInstance>

The list of SingleTenantHsmInstances. Corresponds to the JSON property singleTenantHsmInstances



2334
2335
2336
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2334

def single_tenant_hsm_instances
  @single_tenant_hsm_instances
end

#total_sizeFixnum

The total number of SingleTenantHsmInstances that matched the query. This field is not populated if ListSingleTenantHsmInstancesRequest.filter is applied. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


2341
2342
2343
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2341

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2348
2349
2350
2351
2352
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2348

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @single_tenant_hsm_instances = args[:single_tenant_hsm_instances] if args.key?(:single_tenant_hsm_instances)
  @total_size = args[:total_size] if args.key?(:total_size)
end