Class: Google::Apis::SecuritycenterV1::ListAttackPathsResponse

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

Overview

Response message for listing the attack paths for a given simulation or valued resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAttackPathsResponse

Returns a new instance of ListAttackPathsResponse.



8328
8329
8330
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8328

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

Instance Attribute Details

#attack_pathsArray<Google::Apis::SecuritycenterV1::AttackPath>

The attack paths that the attack path simulation identified. Corresponds to the JSON property attackPaths



8320
8321
8322
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8320

def attack_paths
  @attack_paths
end

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


8326
8327
8328
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8326

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8333
8334
8335
8336
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8333

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