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.



2607
2608
2609
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2607

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



2605
2606
2607
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2605

def prewarmed_artifact
  @prewarmed_artifact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2612
2613
2614
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2612

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