Class: Google::Apis::ArtifactregistryV1::PrewarmedArtifact
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1::PrewarmedArtifact
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/artifactregistry_v1/classes.rb,
lib/google/apis/artifactregistry_v1/representations.rb,
lib/google/apis/artifactregistry_v1/representations.rb
Overview
PrewarmedArtifact represents a streamed artifact. This is not a request message, so field_behavior annotations are not required.
Instance Attribute Summary collapse
-
#expiration_time ⇒ String
The expiration time of the prewarmed artifact.
-
#location ⇒ String
The location of the prewarmed artifact.
-
#uri ⇒ String
URL to access the image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrewarmedArtifact
constructor
A new instance of PrewarmedArtifact.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrewarmedArtifact
Returns a new instance of PrewarmedArtifact.
2665 2666 2667 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2665 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expiration_time ⇒ String
The expiration time of the prewarmed artifact.
Corresponds to the JSON property expirationTime
2651 2652 2653 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2651 def expiration_time @expiration_time end |
#location ⇒ String
The location of the prewarmed artifact.
Corresponds to the JSON property location
2656 2657 2658 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2656 def location @location end |
#uri ⇒ String
URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-
repo/nginx@sha256:
e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf
Corresponds to the JSON property uri
2663 2664 2665 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2663 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2670 2671 2672 2673 2674 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2670 def update!(**args) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) @location = args[:location] if args.key?(:location) @uri = args[:uri] if args.key?(:uri) end |