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_tokento 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.
825 826 827 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 825 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
818 819 820 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 818 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
823 824 825 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 823 def scanned_resources @scanned_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
830 831 832 833 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 830 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 |