Skip to content

Commit

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

The following keys were changed:
- resources.projects.resources.locations.resources.repositories.resources.packages.resources.tags.methods.patch.parameters.name.description
- schemas.File.properties.name.description
- schemas.Package.properties.name.description
- schemas.Tag.properties.name.description
- schemas.Version.properties.name.description

#### artifactregistry:v1beta2

The following keys were changed:
- resources.projects.resources.locations.resources.repositories.resources.packages.resources.tags.methods.patch.parameters.name.description
- schemas.File.properties.name.description
- schemas.Package.properties.name.description
- schemas.Tag.properties.name.description
- schemas.Tag.properties.version.description
- schemas.Version.properties.name.description

#### artifactregistry:v1

The following keys were changed:
- schemas.DockerImage.properties.buildTime.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed May 25, 2021
1 parent 52f561d commit 50a58a0
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions discovery/artifactregistry-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
}
}
},
"revision": "20210509",
"revision": "20210517",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
Expand All @@ -362,7 +362,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. (http://google3/cloud/containers/artifacts/metadata/v1beta2/builder/data.go?l=158-159&rcl=364878183).",
"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.",
"format": "google-datetime",
"type": "string"
},
Expand Down
12 changes: 6 additions & 6 deletions discovery/artifactregistry-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@
],
"parameters": {
"name": {
"description": "The name of the tag, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\".",
"description": "The name of the tag, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\". If the package or tag ID parts contain slashes, the slashes are escaped.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/tags/[^/]+$",
"required": true,
Expand Down Expand Up @@ -971,7 +971,7 @@
}
}
},
"revision": "20210415",
"revision": "20210517",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"Binding": {
Expand Down Expand Up @@ -1042,7 +1042,7 @@
"type": "array"
},
"name": {
"description": "The name of the file, for example: \"projects/p1/locations/us-central1/repositories/repo1/files/a/b/c.txt\".",
"description": "The name of the file, for example: \"projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt\". If the file ID part contains slashes, they are escaped.",
"type": "string"
},
"owner": {
Expand Down Expand Up @@ -1295,7 +1295,7 @@
"type": "string"
},
"name": {
"description": "The name of the package, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1\".",
"description": "The name of the package, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1\". If the package ID part contains slashes, the slashes are escaped.",
"type": "string"
},
"updateTime": {
Expand Down Expand Up @@ -1421,7 +1421,7 @@
"id": "Tag",
"properties": {
"name": {
"description": "The name of the tag, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\".",
"description": "The name of the tag, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\". If the package or tag ID parts contain slashes, the slashes are escaped.",
"type": "string"
},
"version": {
Expand Down Expand Up @@ -1473,7 +1473,7 @@
"type": "string"
},
"name": {
"description": "The name of the version, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\".",
"description": "The name of the version, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\". If the package or version ID parts contain slashes, the slashes are escaped.",
"type": "string"
},
"relatedTags": {
Expand Down
14 changes: 7 additions & 7 deletions discovery/artifactregistry-v1beta2.json
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@
],
"parameters": {
"name": {
"description": "The name of the tag, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\".",
"description": "The name of the tag, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\". If the package or tag ID parts contain slashes, the slashes are escaped.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/tags/[^/]+$",
"required": true,
Expand Down Expand Up @@ -971,7 +971,7 @@
}
}
},
"revision": "20210415",
"revision": "20210517",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"Binding": {
Expand Down Expand Up @@ -1042,7 +1042,7 @@
"type": "array"
},
"name": {
"description": "The name of the file, for example: \"projects/p1/locations/us-central1/repositories/repo1/files/a/b/c.txt\".",
"description": "The name of the file, for example: \"projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt\". If the file ID part contains slashes, they are escaped.",
"type": "string"
},
"owner": {
Expand Down Expand Up @@ -1295,7 +1295,7 @@
"type": "string"
},
"name": {
"description": "The name of the package, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1\".",
"description": "The name of the package, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1\". If the package ID part contains slashes, the slashes are escaped.",
"type": "string"
},
"updateTime": {
Expand Down Expand Up @@ -1421,11 +1421,11 @@
"id": "Tag",
"properties": {
"name": {
"description": "The name of the tag, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\".",
"description": "The name of the tag, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\". If the package or tag ID parts contain slashes, the slashes are escaped.",
"type": "string"
},
"version": {
"description": "The name of the version the tag refers to, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811\"",
"description": "The name of the version the tag refers to, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811\" If the package or version ID parts contain slashes, the slashes are escaped.",
"type": "string"
}
},
Expand Down Expand Up @@ -1482,7 +1482,7 @@
"type": "object"
},
"name": {
"description": "The name of the version, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\".",
"description": "The name of the version, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\". If the package or version ID parts contain slashes, the slashes are escaped.",
"type": "string"
},
"relatedTags": {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/artifactregistry/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,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. (http://google3/cloud/containers/artifacts/metadata/v1beta2/builder/data.go?l=158-159&rcl=364878183).
* 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.
*/
buildTime?: string | null;
/**
Expand Down
12 changes: 6 additions & 6 deletions src/apis/artifactregistry/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export namespace artifactregistry_v1beta1 {
*/
hashes?: Schema$Hash[];
/**
* The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a/b/c.txt".
* The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt". If the file ID part contains slashes, they are escaped.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -363,7 +363,7 @@ export namespace artifactregistry_v1beta1 {
*/
displayName?: string | null;
/**
* The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
* The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1". If the package ID part contains slashes, the slashes are escaped.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -452,7 +452,7 @@ export namespace artifactregistry_v1beta1 {
*/
export interface Schema$Tag {
/**
* The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
* The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package or tag ID parts contain slashes, the slashes are escaped.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -491,7 +491,7 @@ export namespace artifactregistry_v1beta1 {
*/
description?: string | null;
/**
* The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
* The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1". If the package or version ID parts contain slashes, the slashes are escaped.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -3765,7 +3765,7 @@ export namespace artifactregistry_v1beta1 {
* // Do the magic
* const res =
* await artifactregistry.projects.locations.repositories.packages.tags.patch({
* // The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
* // The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package or tag ID parts contain slashes, the slashes are escaped.
* name: 'projects/my-project/locations/my-location/repositories/my-repositorie/packages/my-package/tags/my-tag',
* // The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
* updateMask: 'placeholder-value',
Expand Down Expand Up @@ -3931,7 +3931,7 @@ export namespace artifactregistry_v1beta1 {
export interface Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch
extends StandardParameters {
/**
* The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
* The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package or tag ID parts contain slashes, the slashes are escaped.
*/
name?: string;
/**
Expand Down
14 changes: 7 additions & 7 deletions src/apis/artifactregistry/v1beta2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export namespace artifactregistry_v1beta2 {
*/
hashes?: Schema$Hash[];
/**
* The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a/b/c.txt".
* The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt". If the file ID part contains slashes, they are escaped.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -363,7 +363,7 @@ export namespace artifactregistry_v1beta2 {
*/
displayName?: string | null;
/**
* The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
* The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1". If the package ID part contains slashes, the slashes are escaped.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -452,11 +452,11 @@ export namespace artifactregistry_v1beta2 {
*/
export interface Schema$Tag {
/**
* The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
* The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package or tag ID parts contain slashes, the slashes are escaped.
*/
name?: string | null;
/**
* The name of the version the tag refers to, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
* The name of the version the tag refers to, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811" If the package or version ID parts contain slashes, the slashes are escaped.
*/
version?: string | null;
}
Expand Down Expand Up @@ -495,7 +495,7 @@ export namespace artifactregistry_v1beta2 {
*/
metadata?: {[key: string]: any} | null;
/**
* The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
* The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1". If the package or version ID parts contain slashes, the slashes are escaped.
*/
name?: string | null;
/**
Expand Down Expand Up @@ -3769,7 +3769,7 @@ export namespace artifactregistry_v1beta2 {
* // Do the magic
* const res =
* await artifactregistry.projects.locations.repositories.packages.tags.patch({
* // The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
* // The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package or tag ID parts contain slashes, the slashes are escaped.
* name: 'projects/my-project/locations/my-location/repositories/my-repositorie/packages/my-package/tags/my-tag',
* // The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
* updateMask: 'placeholder-value',
Expand Down Expand Up @@ -3935,7 +3935,7 @@ export namespace artifactregistry_v1beta2 {
export interface Params$Resource$Projects$Locations$Repositories$Packages$Tags$Patch
extends StandardParameters {
/**
* The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
* The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package or tag ID parts contain slashes, the slashes are escaped.
*/
name?: string;
/**
Expand Down

0 comments on commit 50a58a0

Please sign in to comment.