Class: Google::Apis::ArtifactregistryV1::RemovePrewarmedArtifactRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RemovePrewarmedArtifactRequest

Returns a new instance of RemovePrewarmedArtifactRequest.



2914
2915
2916
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2914

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#stream_locationString

Optional. The location of the prewarmed artifact. multi-region is not supported for this field. Corresponds to the JSON property streamLocation

Returns:

  • (String)


2900
2901
2902
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2900

def stream_location
  @stream_location
end

#tagString

Optional. The artifact tag Format:projects/project/locations/location/ repositories/repository/packages/package/tags/tag Corresponds to the JSON property tag

Returns:

  • (String)


2906
2907
2908
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2906

def tag
  @tag
end

#versionString

Optional. The artifact version Format: projects/project/locations/location/ repositories/repository/packages/package/versions/version Corresponds to the JSON property version

Returns:

  • (String)


2912
2913
2914
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2912

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2919
2920
2921
2922
2923
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2919

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