Class: Google::Apis::AppengineV1beta4::Library

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

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

#nameString

The name of the library, e.g. "PIL" or "django". Corresponds to the JSON property name

Returns:

  • (String)

945
946
947
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 945

def name
  @name
end

#versionString

The version of the library to select, or "latest". Corresponds to the JSON property version

Returns:

  • (String)

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