Class: Google::Apis::AppengineV1beta4::Library
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta4::Library
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/appengine_v1beta4/classes.rb,
generated/google/apis/appengine_v1beta4/representations.rb,
generated/google/apis/appengine_v1beta4/representations.rb
Overview
A Python runtime third-party library required by the application.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the library, e.g.
-
#version ⇒ String
The version of the library to select, or "latest".
Instance Method Summary collapse
-
#initialize(**args) ⇒ Library
constructor
A new instance of Library.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Library
Returns a new instance of Library
952 953 954 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 952 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name of the library, e.g. "PIL" or "django".
Corresponds to the JSON property name
945 946 947 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 945 def name @name end |
#version ⇒ String
The version of the library to select, or "latest".
Corresponds to the JSON property version
950 951 952 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 950 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
957 958 959 960 |
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 957 def update!(**args) @name = args[:name] if args.key?(:name) @version = args[:version] if args.key?(:version) end |