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.



644
645
646
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 644

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)


637
638
639
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 637

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



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