GetRepositoryResult class
Result data returned by getRepository.
Constructors
-
GetRepositoryResult({required Map<
String, String> cleanupPolicies, required bool cleanupPolicyDryRun, required String createTime, required String description, required DockerRepositoryConfigResponse dockerConfig, required String format, required String kmsKeyName, required Map<String, String> labels, required MavenRepositoryConfigResponse mavenConfig, required String mode, required String name, required RemoteRepositoryConfigResponse remoteRepositoryConfig, required bool satisfiesPzs, required String sizeBytes, required String updateTime, required VirtualRepositoryConfigResponse virtualRepositoryConfig}) -
Creates a new GetRepositoryResult.
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.createTimeThe time when the repository was created.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.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.remoteRepositoryConfigConfiguration specific for a Remote Repository.satisfiesPzsIf set, the repository satisfies physical zone separation.sizeBytesThe size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.updateTimeThe time when the repository was last updated.virtualRepositoryConfigConfiguration specific for a Virtual Repository.const -
GetRepositoryResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cleanupPolicies
→ 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 → bool
-
Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.
final
- createTime → String
-
The time when the repository was created.
final
- description → String
-
The user-provided description of the repository.
final
- dockerConfig → DockerRepositoryConfigResponse
-
Docker repository config contains repository level configuration for the repositories of docker type.
final
- format → String
-
Optional. The format of packages that are stored in the repository.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kmsKeyName → 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
→ 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
- mavenConfig → MavenRepositoryConfigResponse
-
Maven repository config contains repository level configuration for the repositories of maven type.
final
- mode → String
-
Optional. The mode of the repository.
final
- name → String
-
The name of the repository, for example:
projects/p1/locations/us-central1/repositories/repo1.final - remoteRepositoryConfig → RemoteRepositoryConfigResponse
-
Configuration specific for a Remote Repository.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- satisfiesPzs → bool
-
If set, the repository satisfies physical zone separation.
final
- sizeBytes → String
-
The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
final
- updateTime → String
-
The time when the repository was last updated.
final
- virtualRepositoryConfig → VirtualRepositoryConfigResponse
-
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