Class: Google::Apis::WorkloadmanagerV1::ListWorkloadProfilesResponse

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

List workloadResponse returns a response with the list of workload overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListWorkloadProfilesResponse

Returns a new instance of ListWorkloadProfilesResponse.



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

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

Instance Attribute Details

#next_page_tokenString

Output only. A token identifying a page of results the server should return Corresponds to the JSON property nextPageToken

Returns:

  • (String)


837
838
839
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 837

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


842
843
844
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 842

def unreachable
  @unreachable
end

#workload_overviewsArray<Google::Apis::WorkloadmanagerV1::WorkloadProfileOverview>

Output only. The list of Workload Overview Corresponds to the JSON property workloadOverviews



847
848
849
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 847

def workload_overviews
  @workload_overviews
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



854
855
856
857
858
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 854

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @unreachable = args[:unreachable] if args.key?(:unreachable)
  @workload_overviews = args[:workload_overviews] if args.key?(:workload_overviews)
end