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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAttackPathsResponse

Returns a new instance of ListAttackPathsResponse.



10908
10909
10910
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10908

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

Instance Attribute Details

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

Corresponds to the JSON property attackPaths



10901
10902
10903
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10901

def attack_paths
  @attack_paths
end

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


10906
10907
10908
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10906

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10913
10914
10915
10916
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10913

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