GetRepositoryResult constructor

const GetRepositoryResult({
  1. required Map<String, String> cleanupPolicies,
  2. required bool cleanupPolicyDryRun,
  3. required String createTime,
  4. required String description,
  5. required DockerRepositoryConfigResponse dockerConfig,
  6. required String format,
  7. required String kmsKeyName,
  8. required Map<String, String> labels,
  9. required MavenRepositoryConfigResponse mavenConfig,
  10. required String mode,
  11. required String name,
  12. required RemoteRepositoryConfigResponse remoteRepositoryConfig,
  13. required bool satisfiesPzs,
  14. required String sizeBytes,
  15. required String updateTime,
  16. required VirtualRepositoryConfigResponse virtualRepositoryConfig,
})

Creates a new GetRepositoryResult. 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. createTime The time when the repository was created. 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. 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. remoteRepositoryConfig Configuration specific for a Remote Repository. satisfiesPzs If set, the repository satisfies physical zone separation. sizeBytes 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. updateTime The time when the repository was last updated. virtualRepositoryConfig Configuration specific for a Virtual Repository.

Implementation

const GetRepositoryResult({
  required this.cleanupPolicies,
  required this.cleanupPolicyDryRun,
  required this.createTime,
  required this.description,
  required this.dockerConfig,
  required this.format,
  required this.kmsKeyName,
  required this.labels,
  required this.mavenConfig,
  required this.mode,
  required this.name,
  required this.remoteRepositoryConfig,
  required this.satisfiesPzs,
  required this.sizeBytes,
  required this.updateTime,
  required this.virtualRepositoryConfig,
});