Class: Google::Apis::CloudkmsV1::ListSingleTenantHsmInstanceProposalsResponse

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.ListSingleTenantHsmInstanceProposals.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSingleTenantHsmInstanceProposalsResponse

Returns a new instance of ListSingleTenantHsmInstanceProposalsResponse.



2308
2309
2310
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2308

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


2294
2295
2296
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2294

def next_page_token
  @next_page_token
end

#single_tenant_hsm_instance_proposalsArray<Google::Apis::CloudkmsV1::SingleTenantHsmInstanceProposal>

The list of SingleTenantHsmInstanceProposals. Corresponds to the JSON property singleTenantHsmInstanceProposals



2299
2300
2301
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2299

def single_tenant_hsm_instance_proposals
  @single_tenant_hsm_instance_proposals
end

#total_sizeFixnum

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

Returns:

  • (Fixnum)


2306
2307
2308
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2306

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2313
2314
2315
2316
2317
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2313

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