Class: Google::Apis::WorkloadmanagerV1::ListScannedResourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::ListScannedResourcesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Overview
Message for response to list scanned resources
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#scanned_resources ⇒ Array<Google::Apis::WorkloadmanagerV1::ScannedResource>
All scanned resources in response Corresponds to the JSON property
scannedResources
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListScannedResourcesResponse
constructor
A new instance of ListScannedResourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListScannedResourcesResponse
Returns a new instance of ListScannedResourcesResponse.
644 645 646 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 644 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token
to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
637 638 639 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 637 def next_page_token @next_page_token end |
#scanned_resources ⇒ Array<Google::Apis::WorkloadmanagerV1::ScannedResource>
All scanned resources in response
Corresponds to the JSON property scannedResources
642 643 644 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 642 def scanned_resources @scanned_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
649 650 651 652 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 649 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @scanned_resources = args[:scanned_resources] if args.key?(:scanned_resources) end |