Class: Google::Apis::DeveloperconnectV1::ArtifactConfig
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperconnectV1::ArtifactConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/developerconnect_v1/classes.rb,
lib/google/apis/developerconnect_v1/representations.rb,
lib/google/apis/developerconnect_v1/representations.rb
Overview
The artifact config of the artifact that is deployed.
Instance Attribute Summary collapse
-
#google_artifact_analysis ⇒ Google::Apis::DeveloperconnectV1::GoogleArtifactAnalysis
Google Artifact Analysis configurations.
-
#google_artifact_registry ⇒ Google::Apis::DeveloperconnectV1::GoogleArtifactRegistry
Google Artifact Registry configurations.
-
#uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ArtifactConfig
constructor
A new instance of ArtifactConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ArtifactConfig
Returns a new instance of ArtifactConfig.
197 198 199 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 197 def initialize(**args) update!(**args) end |
Instance Attribute Details
#google_artifact_analysis ⇒ Google::Apis::DeveloperconnectV1::GoogleArtifactAnalysis
Google Artifact Analysis configurations.
Corresponds to the JSON property googleArtifactAnalysis
183 184 185 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 183 def google_artifact_analysis @google_artifact_analysis end |
#google_artifact_registry ⇒ Google::Apis::DeveloperconnectV1::GoogleArtifactRegistry
Google Artifact Registry configurations.
Corresponds to the JSON property googleArtifactRegistry
188 189 190 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 188 def google_artifact_registry @google_artifact_registry end |
#uri ⇒ String
Required. Immutable. The URI of the artifact that is deployed. e.g. us-docker.
pkg.dev/my-project/my-repo/image. The URI does not include the tag / digest
because it captures a lineage of artifacts.
Corresponds to the JSON property uri
195 196 197 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 195 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
202 203 204 205 206 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 202 def update!(**args) @google_artifact_analysis = args[:google_artifact_analysis] if args.key?(:google_artifact_analysis) @google_artifact_registry = args[:google_artifact_registry] if args.key?(:google_artifact_registry) @uri = args[:uri] if args.key?(:uri) end |