From 457a515912bcfd18d4daa22d813969aa65a00f10 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 8 Mar 2022 01:36:34 +0000 Subject: [PATCH] feat(artifactregistry)!: update the API BREAKING CHANGE: This release has breaking changes. #### artifactregistry:v1beta1 The following keys were changed: - schemas.Repository.properties.kmsKeyName.description #### artifactregistry:v1beta2 The following keys were deleted: - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.description - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.flatPath - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.httpMethod - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.id - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.mediaUpload.accept - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.mediaUpload.protocols.simple.multipart - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.mediaUpload.protocols.simple.path - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.parameterOrder - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.parameters.parent.description - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.parameters.parent.location - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.parameters.parent.pattern - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.parameters.parent.required - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.parameters.parent.type - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.path - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.request.$ref - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.response.$ref - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.scopes - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.supportsMediaUpload - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.description - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.flatPath - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.httpMethod - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.id - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.mediaUpload.accept - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.mediaUpload.protocols.simple.multipart - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.mediaUpload.protocols.simple.path - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.parameterOrder - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.parameters.parent.description - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.parameters.parent.location - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.parameters.parent.pattern - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.parameters.parent.required - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.parameters.parent.type - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.path - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.request.$ref - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.response.$ref - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.scopes - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.supportsMediaUpload The following keys were added: - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.description - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.flatPath - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.httpMethod - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.id - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.mediaUpload.accept - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.mediaUpload.protocols.simple.multipart - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.mediaUpload.protocols.simple.path - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.parameterOrder - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.parameters.parent.description - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.parameters.parent.location - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.parameters.parent.pattern - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.parameters.parent.required - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.parameters.parent.type - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.path - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.request.$ref - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.response.$ref - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.scopes - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.supportsMediaUpload - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.description - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.flatPath - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.httpMethod - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.id - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.mediaUpload.accept - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.mediaUpload.protocols.simple.multipart - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.mediaUpload.protocols.simple.path - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.parameterOrder - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.parameters.parent.description - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.parameters.parent.location - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.parameters.parent.pattern - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.parameters.parent.required - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.parameters.parent.type - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.path - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.request.$ref - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.response.$ref - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.scopes - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.supportsMediaUpload The following keys were changed: - schemas.Repository.properties.kmsKeyName.description #### artifactregistry:v1 The following keys were deleted: - resources.operations.methods.get.description - resources.operations.methods.get.flatPath - resources.operations.methods.get.httpMethod - resources.operations.methods.get.id - resources.operations.methods.get.parameterOrder - resources.operations.methods.get.parameters.name.description - resources.operations.methods.get.parameters.name.location - resources.operations.methods.get.parameters.name.pattern - resources.operations.methods.get.parameters.name.required - resources.operations.methods.get.parameters.name.type - resources.operations.methods.get.path - resources.operations.methods.get.response.$ref - resources.operations.methods.get.scopes - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.description - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.flatPath - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.httpMethod - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.id - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.mediaUpload.accept - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.mediaUpload.protocols.simple.multipart - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.mediaUpload.protocols.simple.path - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.parameterOrder - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.parameters.parent.description - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.parameters.parent.location - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.parameters.parent.pattern - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.parameters.parent.required - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.parameters.parent.type - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.path - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.request.$ref - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.response.$ref - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.scopes - resources.projects.resources.locations.resources.repositories.resources.aptartifacts.methods.upload.supportsMediaUpload - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.description - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.flatPath - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.httpMethod - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.id - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.mediaUpload.accept - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.mediaUpload.protocols.simple.multipart - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.mediaUpload.protocols.simple.path - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.parameterOrder - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.parameters.parent.description - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.parameters.parent.location - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.parameters.parent.pattern - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.parameters.parent.required - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.parameters.parent.type - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.path - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.request.$ref - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.response.$ref - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.scopes - resources.projects.resources.locations.resources.repositories.resources.googetartifacts.methods.upload.supportsMediaUpload - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.description - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.flatPath - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.httpMethod - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.id - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.mediaUpload.accept - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.mediaUpload.protocols.simple.multipart - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.mediaUpload.protocols.simple.path - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.parameterOrder - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.parameters.parent.description - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.parameters.parent.location - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.parameters.parent.pattern - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.parameters.parent.required - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.parameters.parent.type - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.path - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.request.$ref - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.response.$ref - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.scopes - resources.projects.resources.locations.resources.repositories.resources.yumartifacts.methods.upload.supportsMediaUpload The following keys were added: - resources.projects.resources.locations.resources.operations.methods.get.description - resources.projects.resources.locations.resources.operations.methods.get.flatPath - resources.projects.resources.locations.resources.operations.methods.get.httpMethod - resources.projects.resources.locations.resources.operations.methods.get.id - resources.projects.resources.locations.resources.operations.methods.get.parameterOrder - resources.projects.resources.locations.resources.operations.methods.get.parameters.name.description - resources.projects.resources.locations.resources.operations.methods.get.parameters.name.location - resources.projects.resources.locations.resources.operations.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.operations.methods.get.parameters.name.required - resources.projects.resources.locations.resources.operations.methods.get.parameters.name.type - resources.projects.resources.locations.resources.operations.methods.get.path - resources.projects.resources.locations.resources.operations.methods.get.response.$ref - resources.projects.resources.locations.resources.operations.methods.get.scopes - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.description - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.flatPath - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.httpMethod - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.id - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.mediaUpload.accept - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.mediaUpload.protocols.simple.multipart - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.mediaUpload.protocols.simple.path - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.parameterOrder - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.parameters.parent.description - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.parameters.parent.location - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.parameters.parent.pattern - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.parameters.parent.required - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.parameters.parent.type - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.path - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.request.$ref - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.response.$ref - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.scopes - resources.projects.resources.locations.resources.repositories.resources.aptArtifacts.methods.upload.supportsMediaUpload - resources.projects.resources.locations.resources.repositories.resources.files.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.repositories.resources.files.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.repositories.resources.files.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.description - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.flatPath - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.httpMethod - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.id - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.mediaUpload.accept - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.mediaUpload.protocols.simple.multipart - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.mediaUpload.protocols.simple.path - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.parameterOrder - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.parameters.parent.description - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.parameters.parent.location - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.parameters.parent.pattern - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.parameters.parent.required - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.parameters.parent.type - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.path - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.request.$ref - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.response.$ref - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.scopes - resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload.supportsMediaUpload - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.description - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.flatPath - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.httpMethod - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.id - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.mediaUpload.accept - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.mediaUpload.protocols.simple.multipart - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.mediaUpload.protocols.simple.path - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.parameterOrder - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.parameters.parent.description - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.parameters.parent.location - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.parameters.parent.pattern - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.parameters.parent.required - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.parameters.parent.type - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.path - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.request.$ref - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.response.$ref - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.scopes - resources.projects.resources.locations.resources.repositories.resources.yumArtifacts.methods.upload.supportsMediaUpload The following keys were changed: - schemas.Repository.properties.kmsKeyName.description --- discovery/artifactregistry-v1.json | 89 ++++++++++++------------- discovery/artifactregistry-v1beta1.json | 4 +- discovery/artifactregistry-v1beta2.json | 20 ++---- src/apis/artifactregistry/v1beta1.ts | 2 +- 4 files changed, 52 insertions(+), 63 deletions(-) diff --git a/discovery/artifactregistry-v1.json b/discovery/artifactregistry-v1.json index e66c81022f..6a2c60a07b 100644 --- a/discovery/artifactregistry-v1.json +++ b/discovery/artifactregistry-v1.json @@ -108,36 +108,6 @@ }, "protocol": "rest", "resources": { - "operations": { - "methods": { - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v1/operations/{operationsId}", - "httpMethod": "GET", - "id": "artifactregistry.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", - "pattern": "^operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ] - } - } - }, "projects": { "methods": { "getProjectSettings": { @@ -204,6 +174,36 @@ "resources": { "locations": { "resources": { + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "artifactregistry.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ] + } + } + }, "repositories": { "methods": { "create": { @@ -481,16 +481,12 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - } - } - }, - "aptartifacts": { - "methods": { + }, "upload": { "description": "Directly uploads an Apt artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/aptArtifacts:create", "httpMethod": "POST", - "id": "artifactregistry.projects.locations.repositories.aptartifacts.upload", + "id": "artifactregistry.projects.locations.repositories.aptArtifacts.upload", "mediaUpload": { "accept": [ "*/*" @@ -637,6 +633,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "The field to order the results by.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of files to return.", "format": "int32", @@ -699,13 +700,13 @@ } } }, - "googetartifacts": { + "googetArtifacts": { "methods": { "upload": { "description": "Directly uploads a GooGet artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/googetArtifacts:create", "httpMethod": "POST", - "id": "artifactregistry.projects.locations.repositories.googetartifacts.upload", + "id": "artifactregistry.projects.locations.repositories.googetArtifacts.upload", "mediaUpload": { "accept": [ "*/*" @@ -1162,16 +1163,12 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - } - } - }, - "yumartifacts": { - "methods": { + }, "upload": { "description": "Directly uploads a Yum artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/yumArtifacts:create", "httpMethod": "POST", - "id": "artifactregistry.projects.locations.repositories.yumartifacts.upload", + "id": "artifactregistry.projects.locations.repositories.yumArtifacts.upload", "mediaUpload": { "accept": [ "*/*" @@ -1216,7 +1213,7 @@ } } }, - "revision": "20220121", + "revision": "20220225", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "Binding": { @@ -1741,7 +1738,7 @@ "type": "string" }, "kmsKeyName": { - "description": "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.", + "description": "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.", "type": "string" }, "labels": { diff --git a/discovery/artifactregistry-v1beta1.json b/discovery/artifactregistry-v1beta1.json index e5d55a47e8..39abe8b34c 100644 --- a/discovery/artifactregistry-v1beta1.json +++ b/discovery/artifactregistry-v1beta1.json @@ -929,7 +929,7 @@ } } }, - "revision": "20220121", + "revision": "20220225", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "Binding": { @@ -1308,7 +1308,7 @@ "type": "string" }, "kmsKeyName": { - "description": "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.", + "description": "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.", "type": "string" }, "labels": { diff --git a/discovery/artifactregistry-v1beta2.json b/discovery/artifactregistry-v1beta2.json index dda4b0c027..b1255fe7d5 100644 --- a/discovery/artifactregistry-v1beta2.json +++ b/discovery/artifactregistry-v1beta2.json @@ -551,16 +551,12 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - } - } - }, - "aptartifacts": { - "methods": { + }, "upload": { "description": "Directly uploads an Apt artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.", "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/aptArtifacts:create", "httpMethod": "POST", - "id": "artifactregistry.projects.locations.repositories.aptartifacts.upload", + "id": "artifactregistry.projects.locations.repositories.aptArtifacts.upload", "mediaUpload": { "accept": [ "*/*" @@ -1089,16 +1085,12 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - } - } - }, - "yumartifacts": { - "methods": { + }, "upload": { "description": "Directly uploads a Yum artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.", "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/yumArtifacts:create", "httpMethod": "POST", - "id": "artifactregistry.projects.locations.repositories.yumartifacts.upload", + "id": "artifactregistry.projects.locations.repositories.yumArtifacts.upload", "mediaUpload": { "accept": [ "*/*" @@ -1143,7 +1135,7 @@ } } }, - "revision": "20220121", + "revision": "20220225", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -1758,7 +1750,7 @@ "type": "string" }, "kmsKeyName": { - "description": "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.", + "description": "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.", "type": "string" }, "labels": { diff --git a/src/apis/artifactregistry/v1beta1.ts b/src/apis/artifactregistry/v1beta1.ts index 04ba625992..6c005b222e 100644 --- a/src/apis/artifactregistry/v1beta1.ts +++ b/src/apis/artifactregistry/v1beta1.ts @@ -392,7 +392,7 @@ export namespace artifactregistry_v1beta1 { */ format?: string | null; /** - * 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. + * 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. */ kmsKeyName?: string | null; /**