Skip to content

Commit

Permalink
feat(artifactregistry): update the API
Browse files Browse the repository at this point in the history
#### artifactregistry:v1beta2

The following keys were added:
- schemas.MavenRepositoryConfig.description
- schemas.MavenRepositoryConfig.id
- schemas.MavenRepositoryConfig.properties.allowSnapshotOverwrites.description
- schemas.MavenRepositoryConfig.properties.allowSnapshotOverwrites.type
- schemas.MavenRepositoryConfig.properties.versionPolicy.description
- schemas.MavenRepositoryConfig.properties.versionPolicy.enum
- schemas.MavenRepositoryConfig.properties.versionPolicy.enumDescriptions
- schemas.MavenRepositoryConfig.properties.versionPolicy.type
- schemas.MavenRepositoryConfig.type
- schemas.Repository.properties.mavenConfig.$ref
- schemas.Repository.properties.mavenConfig.description

#### artifactregistry:v1

The following keys were changed:
- schemas.DockerImage.properties.buildTime.description
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 1, 2021
1 parent 319a054 commit 7de8325
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
4 changes: 2 additions & 2 deletions discovery/artifactregistry-v1.json
Expand Up @@ -352,7 +352,7 @@
}
}
},
"revision": "20210918",
"revision": "20210925",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down Expand Up @@ -414,7 +414,7 @@
"id": "DockerImage",
"properties": {
"buildTime": {
"description": "The time this image was built. This field is returned as the 'metadata.buildTime' field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor and keeps the Version timestamps returned via OnePlatform consistent, as JSON marshals google.protobuf.Timestamp into an RFC 3339 string.",
"description": "The time this image was built. This field is returned as the 'metadata.buildTime' field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor.",
"format": "google-datetime",
"type": "string"
},
Expand Down
31 changes: 30 additions & 1 deletion discovery/artifactregistry-v1beta2.json
Expand Up @@ -1081,7 +1081,7 @@
}
}
},
"revision": "20210918",
"revision": "20210925",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down Expand Up @@ -1516,6 +1516,31 @@
},
"type": "object"
},
"MavenRepositoryConfig": {
"description": "MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.",
"id": "MavenRepositoryConfig",
"properties": {
"allowSnapshotOverwrites": {
"description": "The repository with this flag will allow publishing the same snapshot versions.",
"type": "boolean"
},
"versionPolicy": {
"description": "Version policy defines the versions that the registry will accept.",
"enum": [
"VERSION_POLICY_UNSPECIFIED",
"RELEASE",
"SNAPSHOT"
],
"enumDescriptions": [
"VERSION_POLICY_UNSPECIFIED - the version policy is not defined. When the version policy is not defined, no validation is performed for the versions.",
"RELEASE - repository will accept only Release versions.",
"SNAPSHOT - repository will accept only Snapshot versions."
],
"type": "string"
}
},
"type": "object"
},
"Operation": {
"description": "This resource represents a long-running operation that is the result of a network API call.",
"id": "Operation",
Expand Down Expand Up @@ -1648,6 +1673,10 @@
"description": "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.",
"type": "object"
},
"mavenConfig": {
"$ref": "MavenRepositoryConfig",
"description": "Maven repository config contains repository level configuration for the repositories of maven type."
},
"name": {
"description": "The name of the repository, for example: \"projects/p1/locations/us-central1/repositories/repo1\".",
"type": "string"
Expand Down
2 changes: 1 addition & 1 deletion src/apis/artifactregistry/v1.ts
Expand Up @@ -165,7 +165,7 @@ export namespace artifactregistry_v1 {
*/
export interface Schema$DockerImage {
/**
* The time this image was built. This field is returned as the 'metadata.buildTime' field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor and keeps the Version timestamps returned via OnePlatform consistent, as JSON marshals google.protobuf.Timestamp into an RFC 3339 string.
* The time this image was built. This field is returned as the 'metadata.buildTime' field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor.
*/
buildTime?: string | null;
/**
Expand Down

0 comments on commit 7de8325

Please sign in to comment.