Class: Google::Apis::DeveloperconnectV1::GoogleArtifactRegistry

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_packageString

Required. Immutable. The name of the artifact registry package. Corresponds to the JSON property artifactRegistryPackage

Returns:

  • (String)


1504
1505
1506
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 1504

def artifact_registry_package
  @artifact_registry_package
end

#project_idString

Required. The host project of Artifact Registry. Corresponds to the JSON property projectId

Returns:

  • (String)


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