Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse

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

Overview

Response message for ListConnections.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2ListConnectionsResponse

Returns a new instance of GooglePrivacyDlpV2ListConnectionsResponse.



7319
7320
7321
# File 'lib/google/apis/dlp_v2/classes.rb', line 7319

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

Instance Attribute Details

#connectionsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2Connection>

List of connections. Corresponds to the JSON property connections



7311
7312
7313
# File 'lib/google/apis/dlp_v2/classes.rb', line 7311

def connections
  @connections
end

#next_page_tokenString

Token to retrieve the next page of results. An empty value means there are no more results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


7317
7318
7319
# File 'lib/google/apis/dlp_v2/classes.rb', line 7317

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7324
7325
7326
7327
# File 'lib/google/apis/dlp_v2/classes.rb', line 7324

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