RepositoryArgs class
The set of arguments for Repository. The set of arguments for Repository.
Constructors
-
RepositoryArgs({Input<
Map< ? cleanupPolicies, Input<String, String> >bool> ? cleanupPolicyDryRun, Input<String> ? description, Input<DockerRepositoryConfig> ? dockerConfig, Input<RepositoryFormat> ? format, Input<String> ? kmsKeyName, Input<Map< ? labels, Input<String, String> >String> ? location, Input<MavenRepositoryConfig> ? mavenConfig, Input<RepositoryMode> ? mode, Input<String> ? name, Input<String> ? project, Input<RemoteRepositoryConfig> ? remoteRepositoryConfig, required Input<String> repositoryId, Input<VirtualRepositoryConfig> ? virtualRepositoryConfig}) -
Creates a new RepositoryArgs.
cleanupPoliciesOptional. Cleanup policies for this repository. Cleanup policies indicate when certain package versions can be automatically deleted. Map keys are policy IDs supplied by users during policy creation. They must unique within a repository and be under 128 characters in length.cleanupPolicyDryRunOptional. If true, the cleanup pipeline is prevented from deleting versions in this repository.descriptionThe user-provided description of the repository.dockerConfigDocker repository config contains repository level configuration for the repositories of docker type.formatOptional. The format of packages that are stored in the repository.kmsKeyNameThe Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form:projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.labelsLabels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.locationOptional.mavenConfigMaven repository config contains repository level configuration for the repositories of maven type.modeOptional. The mode of the repository.nameThe name of the repository, for example:projects/p1/locations/us-central1/repositories/repo1.projectOptional.remoteRepositoryConfigConfiguration specific for a Remote Repository.repositoryIdRequired. The repository id to use for this repository.virtualRepositoryConfigConfiguration specific for a Virtual Repository.const -
RepositoryArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cleanupPolicies
→ Input<
Map< ?String, String> > -
Optional. Cleanup policies for this repository. Cleanup policies indicate when certain package versions can be automatically deleted. Map keys are policy IDs supplied by users during policy creation. They must unique within a repository and be under 128 characters in length.
final
-
cleanupPolicyDryRun
→ Input<
bool> ? -
Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.
final
-
description
→ Input<
String> ? -
The user-provided description of the repository.
final
-
dockerConfig
→ Input<
DockerRepositoryConfig> ? -
Docker repository config contains repository level configuration for the repositories of docker type.
final
-
format
→ Input<
RepositoryFormat> ? -
Optional. The format of packages that are stored in the repository.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKeyName
→ Input<
String> ? -
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form:
projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.final -
labels
→ Input<
Map< ?String, String> > -
Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
final
-
location
→ Input<
String> ? -
final
-
mavenConfig
→ Input<
MavenRepositoryConfig> ? -
Maven repository config contains repository level configuration for the repositories of maven type.
final
-
mode
→ Input<
RepositoryMode> ? -
Optional. The mode of the repository.
final
-
name
→ Input<
String> ? -
The name of the repository, for example:
projects/p1/locations/us-central1/repositories/repo1.final -
project
→ Input<
String> ? -
final
-
remoteRepositoryConfig
→ Input<
RemoteRepositoryConfig> ? -
Configuration specific for a Remote Repository.
final
-
repositoryId
→ Input<
String> -
Required. The repository id to use for this repository.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
virtualRepositoryConfig
→ Input<
VirtualRepositoryConfig> ? -
Configuration specific for a Virtual Repository.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited