Class: Google::Apis::DlpV2::GooglePrivacyDlpV2SearchConnectionsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2SearchConnectionsResponse

Returns a new instance of GooglePrivacyDlpV2SearchConnectionsResponse.



8551
8552
8553
# File 'lib/google/apis/dlp_v2/classes.rb', line 8551

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

Instance Attribute Details

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

List of connections that match the search query. Note that only a subset of the fields will be populated, and only "name" is guaranteed to be set. For full details of a Connection, call GetConnection with the name. Corresponds to the JSON property connections



8543
8544
8545
# File 'lib/google/apis/dlp_v2/classes.rb', line 8543

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)


8549
8550
8551
# File 'lib/google/apis/dlp_v2/classes.rb', line 8549

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8556
8557
8558
8559
# File 'lib/google/apis/dlp_v2/classes.rb', line 8556

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