Class: Google::Apis::DeveloperconnectV1::GoogleArtifactRegistry
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperconnectV1::GoogleArtifactRegistry
- 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
Google Artifact Registry configurations.
Instance Attribute Summary collapse
-
#artifact_registry_package ⇒ String
Required.
-
#project_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleArtifactRegistry
constructor
A new instance of GoogleArtifactRegistry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleArtifactRegistry
Returns a new instance of GoogleArtifactRegistry.
1519 1520 1521 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1519 def initialize(**args) update!(**args) end |
Instance Attribute Details
#artifact_registry_package ⇒ String
Required. Immutable. The name of the artifact registry package.
Corresponds to the JSON property artifactRegistryPackage
1512 1513 1514 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1512 def artifact_registry_package @artifact_registry_package end |
#project_id ⇒ String
Required. The host project of Artifact Registry.
Corresponds to the JSON property projectId
1517 1518 1519 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1517 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1524 1525 1526 1527 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1524 def update!(**args) @artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package) @project_id = args[:project_id] if args.key?(:project_id) end |