Class: Google::Apis::NetworkmanagementV1::AppEngineVersionInfo

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

Overview

For display only. Metadata associated with an App Engine version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppEngineVersionInfo

Returns a new instance of AppEngineVersionInfo.



111
112
113
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 111

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

Instance Attribute Details

#display_nameString

Name of an App Engine version. Corresponds to the JSON property displayName

Returns:

  • (String)


93
94
95
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 93

def display_name
  @display_name
end

#environmentString

App Engine execution environment for a version. Corresponds to the JSON property environment

Returns:

  • (String)


98
99
100
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 98

def environment
  @environment
end

#runtimeString

Runtime of the App Engine version. Corresponds to the JSON property runtime

Returns:

  • (String)


103
104
105
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 103

def runtime
  @runtime
end

#uriString

URI of the App Engine version. Format: apps/app_id/services/service_id/ versions/version_id` Corresponds to the JSON propertyuri`

Returns:

  • (String)


109
110
111
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 109

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



116
117
118
119
120
121
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 116

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @environment = args[:environment] if args.key?(:environment)
  @runtime = args[:runtime] if args.key?(:runtime)
  @uri = args[:uri] if args.key?(:uri)
end