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
Response message for the ListScannedResources RPC.
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.
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.
1857 1858 1859 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1857 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
1850 1851 1852 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1850 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
1855 1856 1857 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1855 def scanned_resources @scanned_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1862 1863 1864 1865 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1862 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 |