Class: Google::Apis::CloudfunctionsV2::ListRuntimesResponse

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

Overview

Response for the ListRuntimes method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListRuntimesResponse

Returns a new instance of ListRuntimesResponse.



1214
1215
1216
# File 'lib/google/apis/cloudfunctions_v2/classes.rb', line 1214

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

Instance Attribute Details

#runtimesArray<Google::Apis::CloudfunctionsV2::Runtime>

The runtimes that match the request. Corresponds to the JSON property runtimes



1212
1213
1214
# File 'lib/google/apis/cloudfunctions_v2/classes.rb', line 1212

def runtimes
  @runtimes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1219
1220
1221
# File 'lib/google/apis/cloudfunctions_v2/classes.rb', line 1219

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