public final class Repository extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Artifact Registry API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Repository() |
| Modifier and Type | Method and Description |
|---|---|
Repository |
clone() |
String |
getCreateTime()
The time when the repository was created.
|
String |
getDescription()
The user-provided description of the repository.
|
String |
getFormat()
The format of packages that are stored in the repository.
|
String |
getKmsKeyName()
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the
contents of the Repository.
|
Map<String,String> |
getLabels()
Labels with user-defined metadata.
|
MavenRepositoryConfig |
getMavenConfig()
Maven repository config contains repository level configuration for the repositories of maven
type.
|
String |
getName()
The name of the repository, for example: "projects/p1/locations/us-
central1/repositories/repo1".
|
Boolean |
getSatisfiesPzs()
Output only.
|
Long |
getSizeBytes()
Output only.
|
String |
getUpdateTime()
The time when the repository was last updated.
|
Repository |
set(String fieldName,
Object value) |
Repository |
setCreateTime(String createTime)
The time when the repository was created.
|
Repository |
setDescription(String description)
The user-provided description of the repository.
|
Repository |
setFormat(String format)
The format of packages that are stored in the repository.
|
Repository |
setKmsKeyName(String kmsKeyName)
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the
contents of the Repository.
|
Repository |
setLabels(Map<String,String> labels)
Labels with user-defined metadata.
|
Repository |
setMavenConfig(MavenRepositoryConfig mavenConfig)
Maven repository config contains repository level configuration for the repositories of maven
type.
|
Repository |
setName(String name)
The name of the repository, for example: "projects/p1/locations/us-
central1/repositories/repo1".
|
Repository |
setSatisfiesPzs(Boolean satisfiesPzs)
Output only.
|
Repository |
setSizeBytes(Long sizeBytes)
Output only.
|
Repository |
setUpdateTime(String updateTime)
The time when the repository was last updated.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCreateTime()
null for nonepublic Repository setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getDescription()
null for nonepublic Repository setDescription(String description)
description - description or null for nonepublic String getFormat()
null for nonepublic Repository setFormat(String format)
format - format or null for nonepublic String getKmsKeyName()
null for nonepublic Repository setKmsKeyName(String kmsKeyName)
kmsKeyName - kmsKeyName or null for nonepublic Map<String,String> getLabels()
null for nonepublic Repository setLabels(Map<String,String> labels)
labels - labels or null for nonepublic MavenRepositoryConfig getMavenConfig()
null for nonepublic Repository setMavenConfig(MavenRepositoryConfig mavenConfig)
mavenConfig - mavenConfig or null for nonepublic String getName()
null for nonepublic Repository setName(String name)
name - name or null for nonepublic Boolean getSatisfiesPzs()
null for nonepublic Repository setSatisfiesPzs(Boolean satisfiesPzs)
satisfiesPzs - satisfiesPzs or null for nonepublic Long getSizeBytes()
null for nonepublic Repository setSizeBytes(Long sizeBytes)
sizeBytes - sizeBytes or null for nonepublic String getUpdateTime()
null for nonepublic Repository setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic Repository set(String fieldName, Object value)
set in class GenericJsonpublic Repository clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.