Class: Google::Apis::AppengineV1beta4::ContainerInfo

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 Docker (container) image which should be used to start the application.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ContainerInfo

Returns a new instance of ContainerInfo



1144
1145
1146
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1144

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

Instance Attribute Details

#imageString

Reference to a hosted container image. Must be a URI to a resource in a Docker repository. Must be fully qualified, including tag or digest. e.g. gcr.io/my- project/image:tag or gcr.io/my-project/image@digest Corresponds to the JSON property image

Returns:

  • (String)


1142
1143
1144
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1142

def image
  @image
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1149
1150
1151
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1149

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