class Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListWorkloadsResponse

Response of ListWorkloads endpoint.

Attributes

next_page_token[RW]

The next page token. Return empty if reached the last page. Corresponds to the JSON property `nextPageToken` @return [String]

workloads[RW]

List of Workloads under a given parent. Corresponds to the JSON property `workloads` @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/assuredworkloads_v1/classes.rb, line 77
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/assuredworkloads_v1/classes.rb, line 82
def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @workloads = args[:workloads] if args.key?(:workloads)
end