Class: Google::Apis::ArtifactregistryV1::RemovePrewarmedArtifactRequest
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1::RemovePrewarmedArtifactRequest
- 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 removing an artifact from streaming.
Instance Attribute Summary collapse
-
#stream_location ⇒ String
Optional.
-
#tag ⇒ String
Optional.
-
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RemovePrewarmedArtifactRequest
constructor
A new instance of RemovePrewarmedArtifactRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RemovePrewarmedArtifactRequest
Returns a new instance of RemovePrewarmedArtifactRequest.
2935 2936 2937 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2935 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
2921 2922 2923 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2921 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
2927 2928 2929 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2927 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
2933 2934 2935 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2933 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2940 2941 2942 2943 2944 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2940 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 |