Class: Google::Apis::CloudkmsV1::ListEkmConnectionsResponse

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 EkmService.ListEkmConnections.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListEkmConnectionsResponse

Returns a new instance of ListEkmConnectionsResponse.



1752
1753
1754
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1752

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

Instance Attribute Details

#ekm_connectionsArray<Google::Apis::CloudkmsV1::EkmConnection>

The list of EkmConnections. Corresponds to the JSON property ekmConnections



1739
1740
1741
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1739

def ekm_connections
  @ekm_connections
end

#next_page_tokenString

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

Returns:

  • (String)


1745
1746
1747
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1745

def next_page_token
  @next_page_token
end

#total_sizeFixnum

The total number of EkmConnections that matched the query. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


1750
1751
1752
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1750

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1757
1758
1759
1760
1761
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1757

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