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.
1511 1512 1513 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1511 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
1504 1505 1506 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1504 def artifact_registry_package @artifact_registry_package end |
#project_id ⇒ String
Required. The host project of Artifact Registry.
Corresponds to the JSON property projectId
1509 1510 1511 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1509 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1516 1517 1518 1519 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1516 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 |