Class: Google::Apis::ArtifactregistryV1::CheckPrewarmedArtifactResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CheckPrewarmedArtifactResponse

Returns a new instance of CheckPrewarmedArtifactResponse.



386
387
388
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 386

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



384
385
386
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 384

def prewarmed_artifact
  @prewarmed_artifact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



391
392
393
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 391

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