Class: Google::Apis::AppengineV1beta5::ContainerInfo

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

Overview

Docker image that is used to start a VM container for the version you deploy.

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

Returns a new instance of ContainerInfo.



1272
1273
1274
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1272

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

Instance Attribute Details

#imageString

URI to the hosted container image in a Docker repository. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/ image:tag" or "gcr.io/my-project/image@digest" Corresponds to the JSON property image

Returns:

  • (String)


1270
1271
1272
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1270

def image
  @image
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1277
1278
1279
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1277

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