Class: Google::Apis::SecuritycenterV1::ListValuedResourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::ListValuedResourcesResponse
- 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 valued resources for a given simulation.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results.
-
#total_size ⇒ Fixnum
The estimated total number of results matching the query.
-
#valued_resources ⇒ Array<Google::Apis::SecuritycenterV1::ValuedResource>
The valued resources that the attack path simulation identified.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListValuedResourcesResponse
constructor
A new instance of ListValuedResourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListValuedResourcesResponse
Returns a new instance of ListValuedResourcesResponse.
8745 8746 8747 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8745 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more
results.
Corresponds to the JSON property nextPageToken
8733 8734 8735 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8733 def next_page_token @next_page_token end |
#total_size ⇒ Fixnum
The estimated total number of results matching the query.
Corresponds to the JSON property totalSize
8738 8739 8740 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8738 def total_size @total_size end |
#valued_resources ⇒ Array<Google::Apis::SecuritycenterV1::ValuedResource>
The valued resources that the attack path simulation identified.
Corresponds to the JSON property valuedResources
8743 8744 8745 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8743 def valued_resources @valued_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8750 8751 8752 8753 8754 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8750 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_size = args[:total_size] if args.key?(:total_size) @valued_resources = args[:valued_resources] if args.key?(:valued_resources) end |