Class: Google::Apis::ManagerV1beta2::ListTemplatesResponse

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) ⇒ ListTemplatesResponse

Returns a new instance of ListTemplatesResponse



1275
1276
1277
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1275

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

Instance Attribute Details

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1268
1269
1270
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1268

def next_page_token
  @next_page_token
end

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

Corresponds to the JSON property resources



1273
1274
1275
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1273

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1280
1281
1282
1283
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 1280

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