Class: Google::Apis::ManagerV1beta2::ListDeploymentsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/manager_v1beta2/classes.rb,
generated/google/apis/manager_v1beta2/representations.rb,
generated/google/apis/manager_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListDeploymentsResponse

Returns a new instance of ListDeploymentsResponse.


287
288
289
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 287

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

Instance Attribute Details

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)

280
281
282
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 280

def next_page_token
  @next_page_token
end

#resourcesArray<Google::Apis::ManagerV1beta2::Deployment>

Corresponds to the JSON property resources


285
286
287
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 285

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


292
293
294
295
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 292

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