Class: Google::Apis::RunV1::ContainerStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV1::ContainerStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v1/classes.rb,
lib/google/apis/run_v1/representations.rb,
lib/google/apis/run_v1/representations.rb
Overview
ContainerStatus holds the information of container name and image digest value.
Instance Attribute Summary collapse
-
#image_digest ⇒ String
ImageDigest holds the resolved digest for the image specified, regardless of whether a tag or digest was originally specified in the Container object.
-
#name ⇒ String
The name of the container, if specified.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContainerStatus
constructor
A new instance of ContainerStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContainerStatus
Returns a new instance of ContainerStatus.
671 672 673 |
# File 'lib/google/apis/run_v1/classes.rb', line 671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image_digest ⇒ String
ImageDigest holds the resolved digest for the image specified, regardless of
whether a tag or digest was originally specified in the Container object.
Corresponds to the JSON property imageDigest
664 665 666 |
# File 'lib/google/apis/run_v1/classes.rb', line 664 def image_digest @image_digest end |
#name ⇒ String
The name of the container, if specified.
Corresponds to the JSON property name
669 670 671 |
# File 'lib/google/apis/run_v1/classes.rb', line 669 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
676 677 678 679 |
# File 'lib/google/apis/run_v1/classes.rb', line 676 def update!(**args) @image_digest = args[:image_digest] if args.key?(:image_digest) @name = args[:name] if args.key?(:name) end |