Class: Google::Apis::WorkloadmanagerV1::ListScannedResourcesResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListScannedResourcesResponse

Returns a new instance of ListScannedResourcesResponse.



852
853
854
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 852

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


845
846
847
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 845

def next_page_token
  @next_page_token
end

#scanned_resourcesArray<Google::Apis::WorkloadmanagerV1::ScannedResource>

All scanned resources in response Corresponds to the JSON property scannedResources



850
851
852
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 850

def scanned_resources
  @scanned_resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



857
858
859
860
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 857

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