Class: Google::Apis::NotebooksV1::ContainerImage
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::ContainerImage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/notebooks_v1/classes.rb,
generated/google/apis/notebooks_v1/representations.rb,
generated/google/apis/notebooks_v1/representations.rb
Overview
Definition of a container image for starting a notebook instance with the environment installed in a container.
Instance Attribute Summary collapse
-
#repository ⇒ String
Required.
-
#tag ⇒ String
The tag of the container image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContainerImage
constructor
A new instance of ContainerImage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContainerImage
Returns a new instance of ContainerImage.
153 154 155 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 153 def initialize(**args) update!(**args) end |
Instance Attribute Details
#repository ⇒ String
Required. The path to the container image repository. For example: gcr.io/
project_id/
image_name`
Corresponds to the JSON property
repository`
145 146 147 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 145 def repository @repository end |
#tag ⇒ String
The tag of the container image. If not specified, this defaults to the latest
tag.
Corresponds to the JSON property tag
151 152 153 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 151 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
158 159 160 161 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 158 def update!(**args) @repository = args[:repository] if args.key?(:repository) @tag = args[:tag] if args.key?(:tag) end |