Class: Google::Apis::ArtifactregistryV1::PrewarmArtifactResponse

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 prewarming an artifact for streaming.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrewarmArtifactResponse

Returns a new instance of PrewarmArtifactResponse.



2621
2622
2623
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2621

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



2619
2620
2621
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2619

def prewarmed_artifact
  @prewarmed_artifact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2626
2627
2628
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2626

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