Class: Google::Apis::ArtifactregistryV1::CheckPrewarmedArtifactRequest
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1::CheckPrewarmedArtifactRequest
- 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
The request for checking an artifact for streaming.
Instance Attribute Summary collapse
-
#stream_location ⇒ String
Optional.
-
#tag ⇒ String
Optional.
-
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckPrewarmedArtifactRequest
constructor
A new instance of CheckPrewarmedArtifactRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckPrewarmedArtifactRequest
Returns a new instance of CheckPrewarmedArtifactRequest.
364 365 366 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 364 def initialize(**args) update!(**args) end |
Instance Attribute Details
#stream_location ⇒ String
Optional. The location of the prewarmed artifact. multi-region is not
supported for this field.
Corresponds to the JSON property streamLocation
350 351 352 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 350 def stream_location @stream_location end |
#tag ⇒ String
Optional. The artifact tag Format:projects/project/locations/location/
repositories/repository/packages/package/tags/tag
Corresponds to the JSON property tag
356 357 358 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 356 def tag @tag end |
#version ⇒ String
Optional. The artifact version Format: projects/project/locations/location/
repositories/repository/packages/package/versions/version
Corresponds to the JSON property version
362 363 364 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 362 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
369 370 371 372 373 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 369 def update!(**args) @stream_location = args[:stream_location] if args.key?(:stream_location) @tag = args[:tag] if args.key?(:tag) @version = args[:version] if args.key?(:version) end |