Class: Google::Apis::ArtifactregistryV1::RemovePrewarmedArtifactResponse

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 response for removing an artifact from streaming.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RemovePrewarmedArtifactResponse

Returns a new instance of RemovePrewarmedArtifactResponse.



2936
2937
2938
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2936

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

Instance Attribute Details

#prewarmed_artifactGoogle::Apis::ArtifactregistryV1::PrewarmedArtifact

PrewarmedArtifact represents a streamed artifact. This is not a request message, so field_behavior annotations are not required. Corresponds to the JSON property prewarmedArtifact



2934
2935
2936
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2934

def prewarmed_artifact
  @prewarmed_artifact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2941
2942
2943
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2941

def update!(**args)
  @prewarmed_artifact = args[:prewarmed_artifact] if args.key?(:prewarmed_artifact)
end