Class: Google::Apis::CloudbuildV1::ListWorkerPoolsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudbuild_v1/classes.rb,
lib/google/apis/cloudbuild_v1/representations.rb,
lib/google/apis/cloudbuild_v1/representations.rb

Overview

Response containing existing WorkerPools.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListWorkerPoolsResponse

Returns a new instance of ListWorkerPoolsResponse.



2849
2850
2851
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2849

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

Instance Attribute Details

#next_page_tokenString

Continuation token used to page through large result sets. Provide this value in a subsequent ListWorkerPoolsRequest to return the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2842
2843
2844
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2842

def next_page_token
  @next_page_token
end

#worker_poolsArray<Google::Apis::CloudbuildV1::WorkerPool>

WorkerPools for the specified project. Corresponds to the JSON property workerPools



2847
2848
2849
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2847

def worker_pools
  @worker_pools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2854
2855
2856
2857
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2854

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