RepositoryArgs class

The set of arguments for Repository. The set of arguments for Repository.

Constructors

RepositoryArgs({Input<Map<String, String>>? cleanupPolicies, Input<bool>? cleanupPolicyDryRun, Input<String>? description, Input<DockerRepositoryConfig>? dockerConfig, Input<RepositoryFormat>? format, Input<String>? kmsKeyName, Input<Map<String, String>>? labels, Input<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. cleanupPolicies 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. cleanupPolicyDryRun Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository. description The user-provided description of the repository. dockerConfig Docker repository config contains repository level configuration for the repositories of docker type. format Optional. The format of packages that are stored in the repository. kmsKeyName 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. labels 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. location Optional. mavenConfig Maven repository config contains repository level configuration for the repositories of maven type. mode Optional. The mode of the repository. name The name of the repository, for example: projects/p1/locations/us-central1/repositories/repo1. project Optional. remoteRepositoryConfig Configuration specific for a Remote Repository. repositoryId Required. The repository id to use for this repository. virtualRepositoryConfig Configuration 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