summaryrefslogtreecommitdiff
path: root/third_party/googleapis/google/devtools/artifactregistry/v1beta2
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/googleapis/google/devtools/artifactregistry/v1beta2')
-rw-r--r--third_party/googleapis/google/devtools/artifactregistry/v1beta2/BUILD.bazel386
-rw-r--r--third_party/googleapis/google/devtools/artifactregistry/v1beta2/apt_artifact.proto115
-rw-r--r--third_party/googleapis/google/devtools/artifactregistry/v1beta2/artifactregistry_grpc_service_config.json107
-rw-r--r--third_party/googleapis/google/devtools/artifactregistry/v1beta2/artifactregistry_v1beta2.yaml133
-rw-r--r--third_party/googleapis/google/devtools/artifactregistry/v1beta2/file.proto120
-rw-r--r--third_party/googleapis/google/devtools/artifactregistry/v1beta2/package.proto79
-rw-r--r--third_party/googleapis/google/devtools/artifactregistry/v1beta2/repository.proto201
-rw-r--r--third_party/googleapis/google/devtools/artifactregistry/v1beta2/service.proto304
-rw-r--r--third_party/googleapis/google/devtools/artifactregistry/v1beta2/settings.proto84
-rw-r--r--third_party/googleapis/google/devtools/artifactregistry/v1beta2/tag.proto118
-rw-r--r--third_party/googleapis/google/devtools/artifactregistry/v1beta2/version.proto127
-rw-r--r--third_party/googleapis/google/devtools/artifactregistry/v1beta2/yum_artifact.proto107
12 files changed, 0 insertions, 1881 deletions
diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/BUILD.bazel b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/BUILD.bazel
deleted file mode 100644
index 60fb5c2..0000000
--- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/BUILD.bazel
+++ /dev/null
@@ -1,386 +0,0 @@
-# This file was automatically generated by BuildFileGenerator
-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel
-
-# Most of the manual changes to this file will be overwritten.
-# It's **only** allowed to change the following rule attribute values:
-# - names of *_gapic_assembly_* rules
-# - certain parameters of *_gapic_library rules, including but not limited to:
-# * extra_protoc_parameters
-# * extra_protoc_file_parameters
-# The complete list of preserved parameters can be found in the source code.
-
-# This is an API workspace, having public visibility by default makes perfect sense.
-package(default_visibility = ["//visibility:public"])
-
-##############################################################################
-# Common
-##############################################################################
-load("@rules_proto//proto:defs.bzl", "proto_library")
-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
-
-proto_library(
- name = "artifactregistry_proto",
- srcs = [
- "apt_artifact.proto",
- "file.proto",
- "package.proto",
- "repository.proto",
- "service.proto",
- "settings.proto",
- "tag.proto",
- "version.proto",
- "yum_artifact.proto",
- ],
- deps = [
- "//google/api:annotations_proto",
- "//google/api:client_proto",
- "//google/api:field_behavior_proto",
- "//google/api:resource_proto",
- "//google/iam/v1:iam_policy_proto",
- "//google/iam/v1:policy_proto",
- "//google/longrunning:operations_proto",
- "//google/rpc:status_proto",
- "@com_google_protobuf//:empty_proto",
- "@com_google_protobuf//:field_mask_proto",
- "@com_google_protobuf//:struct_proto",
- "@com_google_protobuf//:timestamp_proto",
- ],
-)
-
-proto_library_with_info(
- name = "artifactregistry_proto_with_info",
- deps = [
- ":artifactregistry_proto",
- "//google/cloud:common_resources_proto",
- ],
-)
-
-##############################################################################
-# Java
-##############################################################################
-load(
- "@com_google_googleapis_imports//:imports.bzl",
- "java_gapic_assembly_gradle_pkg",
- "java_gapic_library",
- "java_gapic_test",
- "java_grpc_library",
- "java_proto_library",
-)
-
-java_proto_library(
- name = "artifactregistry_java_proto",
- deps = [":artifactregistry_proto"],
-)
-
-java_grpc_library(
- name = "artifactregistry_java_grpc",
- srcs = [":artifactregistry_proto"],
- deps = [":artifactregistry_java_proto"],
-)
-
-java_gapic_library(
- name = "artifactregistry_java_gapic",
- srcs = [":artifactregistry_proto_with_info"],
- grpc_service_config = "artifactregistry_grpc_service_config.json",
- test_deps = [
- ":artifactregistry_java_grpc",
- "//google/iam/v1:iam_java_grpc",
- ],
- transport = "grpc+rest",
- deps = [
- ":artifactregistry_java_proto",
- "//google/iam/v1:iam_java_proto",
- ],
-)
-
-java_gapic_test(
- name = "artifactregistry_java_gapic_test_suite",
- test_classes = [
- "com.google.devtools.artifactregistry.v1beta2.ArtifactRegistryClientHttpJsonTest",
- "com.google.devtools.artifactregistry.v1beta2.ArtifactRegistryClientTest",
- ],
- runtime_deps = [":artifactregistry_java_gapic_test"],
-)
-
-# Open Source Packages
-java_gapic_assembly_gradle_pkg(
- name = "google-cloud-devtools-artifactregistry-v1beta2-java",
- transport = "grpc+rest",
- deps = [
- ":artifactregistry_java_gapic",
- ":artifactregistry_java_grpc",
- ":artifactregistry_java_proto",
- ":artifactregistry_proto",
- ],
-)
-
-##############################################################################
-# Go
-##############################################################################
-load(
- "@com_google_googleapis_imports//:imports.bzl",
- "go_gapic_assembly_pkg",
- "go_gapic_library",
- "go_proto_library",
- "go_test",
-)
-
-go_proto_library(
- name = "artifactregistry_go_proto",
- compilers = ["@io_bazel_rules_go//proto:go_grpc"],
- importpath = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2",
- protos = [":artifactregistry_proto"],
- deps = [
- "//google/api:annotations_go_proto",
- "//google/iam/v1:iam_go_proto",
- "//google/longrunning:longrunning_go_proto",
- "//google/rpc:status_go_proto",
- ],
-)
-
-go_gapic_library(
- name = "artifactregistry_go_gapic",
- srcs = [":artifactregistry_proto_with_info"],
- grpc_service_config = "artifactregistry_grpc_service_config.json",
- importpath = "cloud.google.com/go/devtools/artifactregistry/apiv1beta2;artifactregistry",
- service_yaml = "artifactregistry_v1beta2.yaml",
- transport = "grpc+rest",
- deps = [
- ":artifactregistry_go_proto",
- "//google/iam/v1:iam_go_proto",
- "//google/longrunning:longrunning_go_proto",
- "@com_google_cloud_go//longrunning:go_default_library",
- "@com_google_cloud_go//longrunning/autogen:go_default_library",
- ],
-)
-
-go_test(
- name = "artifactregistry_go_gapic_test",
- srcs = [":artifactregistry_go_gapic_srcjar_test"],
- embed = [":artifactregistry_go_gapic"],
- importpath = "cloud.google.com/go/devtools/artifactregistry/apiv1beta2",
-)
-
-# Open Source Packages
-go_gapic_assembly_pkg(
- name = "gapi-cloud-devtools-artifactregistry-v1beta2-go",
- deps = [
- ":artifactregistry_go_gapic",
- ":artifactregistry_go_gapic_srcjar-test.srcjar",
- ":artifactregistry_go_proto",
- ],
-)
-
-##############################################################################
-# Python
-##############################################################################
-load(
- "@com_google_googleapis_imports//:imports.bzl",
- "py_gapic_assembly_pkg",
- "py_gapic_library",
- "py_test",
-)
-
-py_gapic_library(
- name = "artifactregistry_py_gapic",
- srcs = [":artifactregistry_proto"],
- grpc_service_config = "artifactregistry_grpc_service_config.json",
- opt_args = [
- "python-gapic-namespace=google.cloud",
- "python-gapic-name=artifactregistry",
- "warehouse-package-name=google-cloud-artifact-registry",
- ],
- transport = "grpc",
- deps = [
- "//google/iam/v1:iam_policy_py_proto",
- ],
-)
-
-py_test(
- name = "artifactregistry_py_gapic_test",
- srcs = [
- "artifactregistry_py_gapic_pytest.py",
- "artifactregistry_py_gapic_test.py",
- ],
- legacy_create_init = False,
- deps = [":artifactregistry_py_gapic"],
-)
-
-# Open Source Packages
-py_gapic_assembly_pkg(
- name = "google-cloud-artifactregistry-v1beta2-py",
- deps = [
- ":artifactregistry_py_gapic",
- ],
-)
-
-##############################################################################
-# PHP
-##############################################################################
-load(
- "@com_google_googleapis_imports//:imports.bzl",
- "php_gapic_assembly_pkg",
- "php_gapic_library",
- "php_grpc_library",
- "php_proto_library",
-)
-
-php_proto_library(
- name = "artifactregistry_php_proto",
- deps = [":artifactregistry_proto"],
-)
-
-php_grpc_library(
- name = "artifactregistry_php_grpc",
- srcs = [":artifactregistry_proto"],
- deps = [":artifactregistry_php_proto"],
-)
-
-php_gapic_library(
- name = "artifactregistry_php_gapic",
- srcs = [":artifactregistry_proto_with_info"],
- grpc_service_config = "artifactregistry_grpc_service_config.json",
- service_yaml = "artifactregistry_v1beta2.yaml",
- deps = [
- ":artifactregistry_php_grpc",
- ":artifactregistry_php_proto",
- ],
-)
-
-# Open Source Packages
-php_gapic_assembly_pkg(
- name = "google-cloud-devtools-artifactregistry-v1beta2-php",
- deps = [
- ":artifactregistry_php_gapic",
- ":artifactregistry_php_grpc",
- ":artifactregistry_php_proto",
- ],
-)
-
-##############################################################################
-# Node.js
-##############################################################################
-load(
- "@com_google_googleapis_imports//:imports.bzl",
- "nodejs_gapic_assembly_pkg",
- "nodejs_gapic_library",
-)
-
-nodejs_gapic_library(
- name = "artifactregistry_nodejs_gapic",
- package_name = "@google-cloud/artifact-registry",
- src = ":artifactregistry_proto_with_info",
- extra_protoc_parameters = ["metadata"],
- grpc_service_config = "artifactregistry_grpc_service_config.json",
- package = "google.devtools.artifactregistry.v1beta2",
- service_yaml = "artifactregistry_v1beta2.yaml",
- deps = [],
-)
-
-nodejs_gapic_assembly_pkg(
- name = "devtools-artifactregistry-v1beta2-nodejs",
- deps = [
- ":artifactregistry_nodejs_gapic",
- ":artifactregistry_proto",
- ],
-)
-
-##############################################################################
-# Ruby
-##############################################################################
-load(
- "@com_google_googleapis_imports//:imports.bzl",
- "ruby_cloud_gapic_library",
- "ruby_gapic_assembly_pkg",
- "ruby_grpc_library",
- "ruby_proto_library",
-)
-
-ruby_proto_library(
- name = "artifactregistry_ruby_proto",
- deps = [":artifactregistry_proto"],
-)
-
-ruby_grpc_library(
- name = "artifactregistry_ruby_grpc",
- srcs = [":artifactregistry_proto"],
- deps = [":artifactregistry_ruby_proto"],
-)
-
-ruby_cloud_gapic_library(
- name = "artifactregistry_ruby_gapic",
- srcs = [":artifactregistry_proto_with_info"],
- extra_protoc_parameters = [
- "ruby-cloud-gem-name=google-cloud-artifact_registry-v1beta2",
- "ruby-cloud-env-prefix=ARTIFACT_REGISTRY",
- "ruby-cloud-product-url=https://cloud.google.com/artifact-registry/",
- "ruby-cloud-api-id=artifactregistry.googleapis.com",
- "ruby-cloud-api-shortname=artifactregistry",
- ],
- grpc_service_config = "artifactregistry_grpc_service_config.json",
- ruby_cloud_description = "Artifact Registry stores and manages build artifacts in a scalable and integrated service built on Google infrastructure.",
- ruby_cloud_title = "Artifact Registry V1beta2",
- deps = [
- ":artifactregistry_ruby_grpc",
- ":artifactregistry_ruby_proto",
- ],
-)
-
-# Open Source Packages
-ruby_gapic_assembly_pkg(
- name = "google-cloud-devtools-artifactregistry-v1beta2-ruby",
- deps = [
- ":artifactregistry_ruby_gapic",
- ":artifactregistry_ruby_grpc",
- ":artifactregistry_ruby_proto",
- ],
-)
-
-##############################################################################
-# C#
-##############################################################################
-load(
- "@com_google_googleapis_imports//:imports.bzl",
- "csharp_gapic_assembly_pkg",
- "csharp_gapic_library",
- "csharp_grpc_library",
- "csharp_proto_library",
-)
-
-csharp_proto_library(
- name = "artifactregistry_csharp_proto",
- deps = [":artifactregistry_proto"],
-)
-
-csharp_grpc_library(
- name = "artifactregistry_csharp_grpc",
- srcs = [":artifactregistry_proto"],
- deps = [":artifactregistry_csharp_proto"],
-)
-
-csharp_gapic_library(
- name = "artifactregistry_csharp_gapic",
- srcs = [":artifactregistry_proto_with_info"],
- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
- grpc_service_config = "artifactregistry_grpc_service_config.json",
- service_yaml = "artifactregistry_v1beta2.yaml",
- deps = [
- ":artifactregistry_csharp_grpc",
- ":artifactregistry_csharp_proto",
- ],
-)
-
-# Open Source Packages
-csharp_gapic_assembly_pkg(
- name = "google-cloud-devtools-artifactregistry-v1beta2-csharp",
- deps = [
- ":artifactregistry_csharp_gapic",
- ":artifactregistry_csharp_grpc",
- ":artifactregistry_csharp_proto",
- ],
-)
-
-##############################################################################
-# C++
-##############################################################################
-# Put your C++ rules here
diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/apt_artifact.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/apt_artifact.proto
deleted file mode 100644
index c2fa7de..0000000
--- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/apt_artifact.proto
+++ /dev/null
@@ -1,115 +0,0 @@
-// Copyright 2022 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-package google.devtools.artifactregistry.v1beta2;
-
-import "google/api/field_behavior.proto";
-import "google/api/resource.proto";
-import "google/rpc/status.proto";
-
-option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2";
-option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry";
-option java_multiple_files = true;
-option java_outer_classname = "AptArtifactProto";
-option java_package = "com.google.devtools.artifactregistry.v1beta2";
-option php_namespace = "Google\\Cloud\\ArtifactRegistry\\V1beta2";
-option ruby_package = "Google::Cloud::ArtifactRegistry::V1beta2";
-
-// A detailed representation of an Apt artifact. Information in the record
-// is derived from the archive's control file.
-// See https://www.debian.org/doc/debian-policy/ch-controlfields.html
-message AptArtifact {
- option (google.api.resource) = {
- type: "artifactregistry.googleapis.com/AptArtifact"
- pattern: "projects/{project}/locations/{location}/repositories/{repository}/aptArtifacts/{apt_artifact}"
- };
-
- // Package type is either binary or source.
- enum PackageType {
- // Package type is not specified.
- PACKAGE_TYPE_UNSPECIFIED = 0;
-
- // Binary package.
- BINARY = 1;
-
- // Source package.
- SOURCE = 2;
- }
-
- // Output only. The Artifact Registry resource name of the artifact.
- string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // Output only. The Apt package name of the artifact.
- string package_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // Output only. An artifact is a binary or source package.
- PackageType package_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // Output only. Operating system architecture of the artifact.
- string architecture = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // Output only. Repository component of the artifact.
- string component = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // Output only. Contents of the artifact's control metadata file.
- bytes control_file = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-// Google Cloud Storage location where the artifacts currently reside.
-message ImportAptArtifactsGcsSource {
- // Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
- repeated string uris = 1;
-
- // Supports URI wildcards for matching multiple objects from a single URI.
- bool use_wildcards = 2;
-}
-
-// The request to import new apt artifacts.
-message ImportAptArtifactsRequest {
- // The source location of the package binaries.
- oneof source {
- // Google Cloud Storage location where input content is located.
- ImportAptArtifactsGcsSource gcs_source = 2;
- }
-
- // The name of the parent resource where the artifacts will be imported.
- string parent = 1;
-}
-
-// Error information explaining why a package was not imported.
-message ImportAptArtifactsErrorInfo {
- // The source that was not imported.
- oneof source {
- // Google Cloud Storage location requested.
- ImportAptArtifactsGcsSource gcs_source = 1;
- }
-
- // The detailed error status.
- google.rpc.Status error = 2;
-}
-
-// The response message from importing APT artifacts.
-message ImportAptArtifactsResponse {
- // The Apt artifacts imported.
- repeated AptArtifact apt_artifacts = 1;
-
- // Detailed error info for artifacts that were not imported.
- repeated ImportAptArtifactsErrorInfo errors = 2;
-}
-
-// The operation metadata for importing artifacts.
-message ImportAptArtifactsMetadata {
-}
diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/artifactregistry_grpc_service_config.json b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/artifactregistry_grpc_service_config.json
deleted file mode 100644
index daa0eca..0000000
--- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/artifactregistry_grpc_service_config.json
+++ /dev/null
@@ -1,107 +0,0 @@
-{
- "methodConfig": [
- {
- "name": [
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "ListRepositories"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "GetRepository"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "DeleteRepository"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "ListPackages"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "GetPackage"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "DeletePackage"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "ListFiles"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "GetFile"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "ListVersions"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "GetVersion"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "DeleteVersion"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "ListTags"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "GetTag"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "DeleteTag"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "GetIamPolicy"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "ListDockerImages"
- }
- ],
- "timeout": "30s",
- "retryPolicy": {
- "maxAttempts": 5,
- "initialBackoff": "0.100s",
- "maxBackoff": "60s",
- "backoffMultiplier": 1.3,
- "retryableStatusCodes": [
- "UNAVAILABLE"
- ]
- }
- },
- {
- "name": [
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "CreateRepository"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "UpdateRepository"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "CreateTag"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "UpdateTag"
- },
- {
- "service": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry",
- "method": "TestIamPermissions"
- }
- ],
- "timeout": "30s"
- }
- ]
-}
diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/artifactregistry_v1beta2.yaml b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/artifactregistry_v1beta2.yaml
deleted file mode 100644
index e43e7b7..0000000
--- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/artifactregistry_v1beta2.yaml
+++ /dev/null
@@ -1,133 +0,0 @@
-type: google.api.Service
-config_version: 3
-name: artifactregistry.googleapis.com
-title: Artifact Registry API
-
-apis:
-- name: google.devtools.artifactregistry.v1beta2.ArtifactRegistry
-
-types:
-- name: google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse
-- name: google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata
-- name: google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse
-- name: google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata
-- name: google.devtools.artifactregistry.v1beta2.OperationMetadata
-
-documentation:
- summary: |-
- Store and manage build artifacts in a scalable and integrated service built
- on Google infrastructure.
- overview: |-
- With Artifact Registry you can store and manage your build artifacts (e.g.
- Docker images, Maven packages, npm packages), in a scalable and integrated
- repository service built on Google infrastructure. You can manage
- repository access
- with IAM and interact with repositories via gcloud, Cloud Console, and
- native package format tools. The service can also be integrated with Cloud
- Build and other CI/CD systems. Artifact Registry abstracts away
- infrastructure management, so you can focus on what matters most —
- delivering value to the users of your services and applications. Note:
- Enabling the Artifact Registry API will not affect your use of Container
- Registry in the same project.
- rules:
- - selector: google.cloud.location.Locations.GetLocation
- description: Gets information about a location.
-
- - selector: google.cloud.location.Locations.ListLocations
- description: Lists information about the supported locations for this service.
-
-http:
- rules:
- - selector: google.cloud.location.Locations.GetLocation
- get: '/v1beta2/{name=projects/*/locations/*}'
- - selector: google.cloud.location.Locations.ListLocations
- get: '/v1beta2/{name=projects/*}/locations'
- - selector: google.longrunning.Operations.GetOperation
- get: '/v1beta2/{name=projects/*/locations/*/operations/*}'
-
-authentication:
- rules:
- - selector: google.cloud.location.Locations.GetLocation
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.cloud.location.Locations.ListLocations
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: 'google.devtools.artifactregistry.v1beta2.ArtifactRegistry.*'
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetFile
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetIamPolicy
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetPackage
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetProjectSettings
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetRepository
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetTag
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetVersion
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListFiles
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListPackages
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListRepositories
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListTags
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListVersions
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.devtools.artifactregistry.v1beta2.ArtifactRegistry.TestIamPermissions
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
- - selector: google.longrunning.Operations.GetOperation
- oauth:
- canonical_scopes: |-
- https://www.googleapis.com/auth/cloud-platform,
- https://www.googleapis.com/auth/cloud-platform.read-only
diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/file.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/file.proto
deleted file mode 100644
index 7d1cfb2..0000000
--- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/file.proto
+++ /dev/null
@@ -1,120 +0,0 @@
-// Copyright 2020 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-package google.devtools.artifactregistry.v1beta2;
-
-import "google/api/resource.proto";
-import "google/protobuf/timestamp.proto";
-
-option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2";
-option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry";
-option java_multiple_files = true;
-option java_outer_classname = "FileProto";
-option java_package = "com.google.devtools.artifactregistry.v1beta2";
-option php_namespace = "Google\\Cloud\\ArtifactRegistry\\V1beta2";
-option ruby_package = "Google::Cloud::ArtifactRegistry::V1beta2";
-
-// A hash of file content.
-message Hash {
- // The algorithm used to compute the hash.
- enum HashType {
- // Unspecified.
- HASH_TYPE_UNSPECIFIED = 0;
-
- // SHA256 hash.
- SHA256 = 1;
-
- // MD5 hash.
- MD5 = 2;
- }
-
- // The algorithm used to compute the hash value.
- HashType type = 1;
-
- // The hash value.
- bytes value = 2;
-}
-
-// Files store content that is potentially associated with Packages or Versions.
-message File {
- option (google.api.resource) = {
- type: "artifactregistry.googleapis.com/File"
- pattern: "projects/{project}/locations/{location}/repositories/{repository}/files/{file}"
- };
-
- // 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.
- string name = 1;
-
- // The size of the File in bytes.
- int64 size_bytes = 3;
-
- // The hashes of the file content.
- repeated Hash hashes = 4;
-
- // The time when the File was created.
- google.protobuf.Timestamp create_time = 5;
-
- // The time when the File was last updated.
- google.protobuf.Timestamp update_time = 6;
-
- // The name of the Package or Version that owns this file, if any.
- string owner = 7;
-}
-
-// The request to list files.
-message ListFilesRequest {
- // The name of the repository whose files will be listed. For example:
- // "projects/p1/locations/us-central1/repositories/repo1
- string parent = 1;
-
- // An expression for filtering the results of the request. Filter rules are
- // case insensitive. The fields eligible for filtering are:
- //
- // * `name`
- // * `owner`
- //
- // An example of using a filter:
- //
- // * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an
- // ID starting with "a/b/".
- // * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` -->
- // Files owned by the version `1.0` in package `pkg1`.
- string filter = 4;
-
- // The maximum number of files to return.
- int32 page_size = 2;
-
- // The next_page_token value returned from a previous list request, if any.
- string page_token = 3;
-}
-
-// The response from listing files.
-message ListFilesResponse {
- // The files returned.
- repeated File files = 1;
-
- // The token to retrieve the next page of files, or empty if there are no
- // more files to return.
- string next_page_token = 2;
-}
-
-// The request to retrieve a file.
-message GetFileRequest {
- // The name of the file to retrieve.
- string name = 1;
-}
diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/package.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/package.proto
deleted file mode 100644
index a2336dd..0000000
--- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/package.proto
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright 2020 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-package google.devtools.artifactregistry.v1beta2;
-
-import "google/protobuf/timestamp.proto";
-
-option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2";
-option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry";
-option java_multiple_files = true;
-option java_outer_classname = "PackageProto";
-option java_package = "com.google.devtools.artifactregistry.v1beta2";
-option php_namespace = "Google\\Cloud\\ArtifactRegistry\\V1beta2";
-option ruby_package = "Google::Cloud::ArtifactRegistry::V1beta2";
-
-// Packages are named collections of versions.
-message Package {
- // The name of the package, for example:
- // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
- string name = 1;
-
- // The display name of the package.
- string display_name = 2;
-
- // The time when the package was created.
- google.protobuf.Timestamp create_time = 5;
-
- // The time when the package was last updated. This includes publishing a new
- // version of the package.
- google.protobuf.Timestamp update_time = 6;
-}
-
-// The request to list packages.
-message ListPackagesRequest {
- // The name of the parent resource whose packages will be listed.
- string parent = 1;
-
- // The maximum number of packages to return.
- // Maximum page size is 10,000.
- int32 page_size = 2;
-
- // The next_page_token value returned from a previous list request, if any.
- string page_token = 3;
-}
-
-// The response from listing packages.
-message ListPackagesResponse {
- // The packages returned.
- repeated Package packages = 1;
-
- // The token to retrieve the next page of packages, or empty if there are no
- // more packages to return.
- string next_page_token = 2;
-}
-
-// The request to retrieve a package.
-message GetPackageRequest {
- // The name of the package to retrieve.
- string name = 1;
-}
-
-// The request to delete a package.
-message DeletePackageRequest {
- // The name of the package to delete.
- string name = 1;
-}
diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/repository.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/repository.proto
deleted file mode 100644
index 80ce9b4..0000000
--- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/repository.proto
+++ /dev/null
@@ -1,201 +0,0 @@
-// Copyright 2020 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-package google.devtools.artifactregistry.v1beta2;
-
-import "google/api/field_behavior.proto";
-import "google/api/resource.proto";
-import "google/protobuf/field_mask.proto";
-import "google/protobuf/timestamp.proto";
-
-option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2";
-option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry";
-option java_multiple_files = true;
-option java_outer_classname = "RepositoryProto";
-option java_package = "com.google.devtools.artifactregistry.v1beta2";
-option php_namespace = "Google\\Cloud\\ArtifactRegistry\\V1beta2";
-option ruby_package = "Google::Cloud::ArtifactRegistry::V1beta2";
-
-// A Repository for storing artifacts with a specific format.
-message Repository {
- option (google.api.resource) = {
- type: "artifactregistry.googleapis.com/Repository"
- pattern: "projects/{project}/locations/{location}/repositories/{repository}"
- };
-
- // MavenRepositoryConfig is maven related repository details.
- // Provides additional configuration details for repositories of the maven
- // format type.
- message MavenRepositoryConfig {
- // VersionPolicy is the version policy for the repository.
- enum VersionPolicy {
- // VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
- // When the version policy is not defined, no validation is performed
- // for the versions.
- VERSION_POLICY_UNSPECIFIED = 0;
-
- // RELEASE - repository will accept only Release versions.
- RELEASE = 1;
-
- // SNAPSHOT - repository will accept only Snapshot versions.
- SNAPSHOT = 2;
- }
-
- // The repository with this flag will allow publishing
- // the same snapshot versions.
- bool allow_snapshot_overwrites = 1;
-
- // Version policy defines the versions that the registry will accept.
- VersionPolicy version_policy = 2;
- }
-
- // A package format.
- enum Format {
- // Unspecified package format.
- FORMAT_UNSPECIFIED = 0;
-
- // Docker package format.
- DOCKER = 1;
-
- // Maven package format.
- MAVEN = 2;
-
- // NPM package format.
- NPM = 3;
-
- // APT package format.
- APT = 5;
-
- // YUM package format.
- YUM = 6;
-
- // Python package format.
- PYTHON = 8;
- }
-
- // Repository-specific configurations.
- oneof format_config {
- // Maven repository config contains repository level configuration
- // for the repositories of maven type.
- MavenRepositoryConfig maven_config = 9;
- }
-
- // The name of the repository, for example:
- // "projects/p1/locations/us-central1/repositories/repo1".
- string name = 1;
-
- // The format of packages that are stored in the repository.
- Format format = 2;
-
- // The user-provided description of the repository.
- string description = 3;
-
- // 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.
- map<string, string> labels = 4;
-
- // The time when the repository was created.
- google.protobuf.Timestamp create_time = 5;
-
- // The time when the repository was last updated.
- google.protobuf.Timestamp update_time = 6;
-
- // 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.
- string kms_key_name = 8;
-}
-
-// The request to list repositories.
-message ListRepositoriesRequest {
- // Required. The name of the parent resource whose repositories will be listed.
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "artifactregistry.googleapis.com/Repository"
- }
- ];
-
- // The maximum number of repositories to return. Maximum page size is 1,000.
- int32 page_size = 2;
-
- // The next_page_token value returned from a previous list request, if any.
- string page_token = 3;
-}
-
-// The response from listing repositories.
-message ListRepositoriesResponse {
- // The repositories returned.
- repeated Repository repositories = 1;
-
- // The token to retrieve the next page of repositories, or empty if there are
- // no more repositories to return.
- string next_page_token = 2;
-}
-
-// The request to retrieve a repository.
-message GetRepositoryRequest {
- // Required. The name of the repository to retrieve.
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "artifactregistry.googleapis.com/Repository"
- }
- ];
-}
-
-// The request to create a new repository.
-message CreateRepositoryRequest {
- // Required. The name of the parent resource where the repository will be created.
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- child_type: "artifactregistry.googleapis.com/Repository"
- }
- ];
-
- // The repository id to use for this repository.
- string repository_id = 2;
-
- // The repository to be created.
- Repository repository = 3;
-}
-
-// The request to update a repository.
-message UpdateRepositoryRequest {
- // The repository that replaces the resource on the server.
- Repository repository = 1;
-
- // The update mask applies to the resource. For the `FieldMask` definition,
- // see
- // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
- google.protobuf.FieldMask update_mask = 2;
-}
-
-// The request to delete a repository.
-message DeleteRepositoryRequest {
- // Required. The name of the repository to delete.
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "artifactregistry.googleapis.com/Repository"
- }
- ];
-}
diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/service.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/service.proto
deleted file mode 100644
index abc4519..0000000
--- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/service.proto
+++ /dev/null
@@ -1,304 +0,0 @@
-// Copyright 2020 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-package google.devtools.artifactregistry.v1beta2;
-
-import "google/api/annotations.proto";
-import "google/api/client.proto";
-import "google/devtools/artifactregistry/v1beta2/apt_artifact.proto";
-import "google/devtools/artifactregistry/v1beta2/file.proto";
-import "google/devtools/artifactregistry/v1beta2/package.proto";
-import "google/devtools/artifactregistry/v1beta2/repository.proto";
-import "google/devtools/artifactregistry/v1beta2/settings.proto";
-import "google/devtools/artifactregistry/v1beta2/tag.proto";
-import "google/devtools/artifactregistry/v1beta2/version.proto";
-import "google/devtools/artifactregistry/v1beta2/yum_artifact.proto";
-import "google/iam/v1/iam_policy.proto";
-import "google/iam/v1/policy.proto";
-import "google/longrunning/operations.proto";
-import "google/protobuf/empty.proto";
-
-option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2";
-option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry";
-option java_multiple_files = true;
-option java_outer_classname = "ServiceProto";
-option java_package = "com.google.devtools.artifactregistry.v1beta2";
-option php_namespace = "Google\\Cloud\\ArtifactRegistry\\V1beta2";
-option ruby_package = "Google::Cloud::ArtifactRegistry::V1beta2";
-
-// The Artifact Registry API service.
-//
-// Artifact Registry is an artifact management system for storing artifacts
-// from different package management systems.
-//
-// The resources managed by this API are:
-//
-// * Repositories, which group packages and their data.
-// * Packages, which group versions and their tags.
-// * Versions, which are specific forms of a package.
-// * Tags, which represent alternative names for versions.
-// * Files, which contain content and are optionally associated with a Package
-// or Version.
-service ArtifactRegistry {
- option (google.api.default_host) = "artifactregistry.googleapis.com";
- option (google.api.oauth_scopes) =
- "https://www.googleapis.com/auth/cloud-platform,"
- "https://www.googleapis.com/auth/cloud-platform.read-only";
-
- // Imports Apt artifacts. The returned Operation will complete once the
- // resources are imported. Package, Version, and File resources are created
- // based on the imported artifacts. Imported artifacts that conflict with
- // existing resources are ignored.
- rpc ImportAptArtifacts(ImportAptArtifactsRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta2/{parent=projects/*/locations/*/repositories/*}/aptArtifacts:import"
- body: "*"
- };
- option (google.longrunning.operation_info) = {
- response_type: "google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse"
- metadata_type: "google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata"
- };
- }
-
- // Imports Yum (RPM) artifacts. The returned Operation will complete once the
- // resources are imported. Package, Version, and File resources are created
- // based on the imported artifacts. Imported artifacts that conflict with
- // existing resources are ignored.
- rpc ImportYumArtifacts(ImportYumArtifactsRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta2/{parent=projects/*/locations/*/repositories/*}/yumArtifacts:import"
- body: "*"
- };
- option (google.longrunning.operation_info) = {
- response_type: "google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse"
- metadata_type: "google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata"
- };
- }
-
- // Lists repositories.
- rpc ListRepositories(ListRepositoriesRequest) returns (ListRepositoriesResponse) {
- option (google.api.http) = {
- get: "/v1beta2/{parent=projects/*/locations/*}/repositories"
- };
- option (google.api.method_signature) = "parent";
- }
-
- // Gets a repository.
- rpc GetRepository(GetRepositoryRequest) returns (Repository) {
- option (google.api.http) = {
- get: "/v1beta2/{name=projects/*/locations/*/repositories/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- // Creates a repository. The returned Operation will finish once the
- // repository has been created. Its response will be the created Repository.
- rpc CreateRepository(CreateRepositoryRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- post: "/v1beta2/{parent=projects/*/locations/*}/repositories"
- body: "repository"
- };
- option (google.api.method_signature) = "parent,repository,repository_id";
- option (google.longrunning.operation_info) = {
- response_type: "google.devtools.artifactregistry.v1beta2.Repository"
- metadata_type: "google.devtools.artifactregistry.v1beta2.OperationMetadata"
- };
- }
-
- // Updates a repository.
- rpc UpdateRepository(UpdateRepositoryRequest) returns (Repository) {
- option (google.api.http) = {
- patch: "/v1beta2/{repository.name=projects/*/locations/*/repositories/*}"
- body: "repository"
- };
- option (google.api.method_signature) = "repository,update_mask";
- }
-
- // Deletes a repository and all of its contents. The returned Operation will
- // finish once the repository has been deleted. It will not have any Operation
- // metadata and will return a google.protobuf.Empty response.
- rpc DeleteRepository(DeleteRepositoryRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1beta2/{name=projects/*/locations/*/repositories/*}"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "google.devtools.artifactregistry.v1beta2.OperationMetadata"
- };
- }
-
- // Lists packages.
- rpc ListPackages(ListPackagesRequest) returns (ListPackagesResponse) {
- option (google.api.http) = {
- get: "/v1beta2/{parent=projects/*/locations/*/repositories/*}/packages"
- };
- option (google.api.method_signature) = "parent";
- }
-
- // Gets a package.
- rpc GetPackage(GetPackageRequest) returns (Package) {
- option (google.api.http) = {
- get: "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- // Deletes a package and all of its versions and tags. The returned operation
- // will complete once the package has been deleted.
- rpc DeletePackage(DeletePackageRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*}"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "google.devtools.artifactregistry.v1beta2.OperationMetadata"
- };
- }
-
- // Lists versions.
- rpc ListVersions(ListVersionsRequest) returns (ListVersionsResponse) {
- option (google.api.http) = {
- get: "/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/versions"
- };
- option (google.api.method_signature) = "parent";
- }
-
- // Gets a version
- rpc GetVersion(GetVersionRequest) returns (Version) {
- option (google.api.http) = {
- get: "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- // Deletes a version and all of its content. The returned operation will
- // complete once the version has been deleted.
- rpc DeleteVersion(DeleteVersionRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = {
- delete: "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}"
- };
- option (google.api.method_signature) = "name";
- option (google.longrunning.operation_info) = {
- response_type: "google.protobuf.Empty"
- metadata_type: "google.devtools.artifactregistry.v1beta2.OperationMetadata"
- };
- }
-
- // Lists files.
- rpc ListFiles(ListFilesRequest) returns (ListFilesResponse) {
- option (google.api.http) = {
- get: "/v1beta2/{parent=projects/*/locations/*/repositories/*}/files"
- };
- option (google.api.method_signature) = "parent";
- }
-
- // Gets a file.
- rpc GetFile(GetFileRequest) returns (File) {
- option (google.api.http) = {
- get: "/v1beta2/{name=projects/*/locations/*/repositories/*/files/**}"
- };
- option (google.api.method_signature) = "name";
- }
-
- // Lists tags.
- rpc ListTags(ListTagsRequest) returns (ListTagsResponse) {
- option (google.api.http) = {
- get: "/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/tags"
- };
- option (google.api.method_signature) = "parent";
- }
-
- // Gets a tag.
- rpc GetTag(GetTagRequest) returns (Tag) {
- option (google.api.http) = {
- get: "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- // Creates a tag.
- rpc CreateTag(CreateTagRequest) returns (Tag) {
- option (google.api.http) = {
- post: "/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/tags"
- body: "tag"
- };
- option (google.api.method_signature) = "parent,tag,tag_id";
- }
-
- // Updates a tag.
- rpc UpdateTag(UpdateTagRequest) returns (Tag) {
- option (google.api.http) = {
- patch: "/v1beta2/{tag.name=projects/*/locations/*/repositories/*/packages/*/tags/*}"
- body: "tag"
- };
- option (google.api.method_signature) = "tag,update_mask";
- }
-
- // Deletes a tag.
- rpc DeleteTag(DeleteTagRequest) returns (google.protobuf.Empty) {
- option (google.api.http) = {
- delete: "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}"
- };
- option (google.api.method_signature) = "name";
- }
-
- // Updates the IAM policy for a given resource.
- rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
- option (google.api.http) = {
- post: "/v1beta2/{resource=projects/*/locations/*/repositories/*}:setIamPolicy"
- body: "*"
- };
- }
-
- // Gets the IAM policy for a given resource.
- rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
- option (google.api.http) = {
- get: "/v1beta2/{resource=projects/*/locations/*/repositories/*}:getIamPolicy"
- };
- }
-
- // Tests if the caller has a list of permissions on a resource.
- rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
- option (google.api.http) = {
- post: "/v1beta2/{resource=projects/*/locations/*/repositories/*}:testIamPermissions"
- body: "*"
- };
- }
-
- // Retrieves the Settings for the Project.
- rpc GetProjectSettings(GetProjectSettingsRequest) returns (ProjectSettings) {
- option (google.api.http) = {
- get: "/v1beta2/{name=projects/*/projectSettings}"
- };
- option (google.api.method_signature) = "name";
- }
-
- // Updates the Settings for the Project.
- rpc UpdateProjectSettings(UpdateProjectSettingsRequest) returns (ProjectSettings) {
- option (google.api.http) = {
- patch: "/v1beta2/{project_settings.name=projects/*/projectSettings}"
- body: "project_settings"
- };
- option (google.api.method_signature) = "project_settings,update_mask";
- }
-}
-
-// Metadata type for longrunning-operations, currently empty.
-message OperationMetadata {
-
-}
diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/settings.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/settings.proto
deleted file mode 100644
index 2bd6e41..0000000
--- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/settings.proto
+++ /dev/null
@@ -1,84 +0,0 @@
-// Copyright 2020 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-package google.devtools.artifactregistry.v1beta2;
-
-import "google/api/field_behavior.proto";
-import "google/api/resource.proto";
-import "google/protobuf/field_mask.proto";
-
-option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2";
-option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry";
-option java_multiple_files = true;
-option java_outer_classname = "SettingsProto";
-option java_package = "com.google.devtools.artifactregistry.v1beta2";
-option php_namespace = "Google\\Cloud\\ArtifactRegistry\\V1beta2";
-option ruby_package = "Google::Cloud::ArtifactRegistry::V1beta2";
-
-// The Artifact Registry settings that apply to a Project.
-message ProjectSettings {
- option (google.api.resource) = {
- type: "artifactregistry.googleapis.com/ProjectSettings"
- pattern: "projects/{project}/projectSettings"
- };
-
- // The possible redirection states for legacy repositories.
- enum RedirectionState {
- // No redirection status has been set.
- REDIRECTION_STATE_UNSPECIFIED = 0;
-
- // Redirection is disabled.
- REDIRECTION_FROM_GCR_IO_DISABLED = 1;
-
- // Redirection is enabled.
- REDIRECTION_FROM_GCR_IO_ENABLED = 2;
-
- // Redirection is enabled, and has been finalized so cannot be reverted.
- REDIRECTION_FROM_GCR_IO_FINALIZED = 3;
- }
-
- // The name of the project's settings.
- //
- // Always of the form:
- // projects/{project-id}/projectSettings
- //
- // In update request: never set
- // In response: always set
- string name = 1;
-
- // The redirection state of the legacy repositories in this project.
- RedirectionState legacy_redirection_state = 2;
-}
-
-// Gets the redirection status for a project.
-message GetProjectSettingsRequest {
- // Required. The name of the projectSettings resource.
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "artifactregistry.googleapis.com/ProjectSettings"
- }
- ];
-}
-
-// Sets the settings of the project.
-message UpdateProjectSettingsRequest {
- // The project settings.
- ProjectSettings project_settings = 2;
-
- // Field mask to support partial updates.
- google.protobuf.FieldMask update_mask = 3;
-}
diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/tag.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/tag.proto
deleted file mode 100644
index e0b6f70..0000000
--- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/tag.proto
+++ /dev/null
@@ -1,118 +0,0 @@
-// Copyright 2020 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-package google.devtools.artifactregistry.v1beta2;
-
-import "google/api/resource.proto";
-import "google/protobuf/field_mask.proto";
-
-option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2";
-option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry";
-option java_multiple_files = true;
-option java_outer_classname = "TagProto";
-option java_package = "com.google.devtools.artifactregistry.v1beta2";
-option php_namespace = "Google\\Cloud\\ArtifactRegistry\\V1beta2";
-option ruby_package = "Google::Cloud::ArtifactRegistry::V1beta2";
-
-// Tags point to a version and represent an alternative name that can be used
-// to access the version.
-message Tag {
- option (google.api.resource) = {
- type: "artifactregistry.googleapis.com/Tag"
- pattern: "projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}"
- };
-
- // The name of the tag, for example:
- // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
- // If the package part contains slashes, the slashes are escaped.
- // The tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else
- // must be URL encoded.
- string name = 1;
-
- // 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.
- string version = 2;
-}
-
-// The request to list tags.
-message ListTagsRequest {
- // The name of the parent resource whose tags will be listed.
- string parent = 1;
-
- // An expression for filtering the results of the request. Filter rules are
- // case insensitive. The fields eligible for filtering are:
- //
- // * `version`
- //
- // An example of using a filter:
- //
- // * `version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"`
- // --> Tags that are applied to the version `1.0` in package `pkg1`.
- string filter = 4;
-
- // The maximum number of tags to return. Maximum page size is 10,000.
- int32 page_size = 2;
-
- // The next_page_token value returned from a previous list request, if any.
- string page_token = 3;
-}
-
-// The response from listing tags.
-message ListTagsResponse {
- // The tags returned.
- repeated Tag tags = 1;
-
- // The token to retrieve the next page of tags, or empty if there are no
- // more tags to return.
- string next_page_token = 2;
-}
-
-// The request to retrieve a tag.
-message GetTagRequest {
- // The name of the tag to retrieve.
- string name = 1;
-}
-
-// The request to create a new tag.
-message CreateTagRequest {
- // The name of the parent resource where the tag will be created.
- string parent = 1;
-
- // The tag id to use for this repository.
- string tag_id = 2;
-
- // The tag to be created.
- Tag tag = 3;
-}
-
-// The request to create or update a tag.
-message UpdateTagRequest {
- // The tag that replaces the resource on the server.
- Tag tag = 1;
-
- // The update mask applies to the resource. For the `FieldMask` definition,
- // see
- // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
- google.protobuf.FieldMask update_mask = 2;
-}
-
-// The request to delete a tag.
-message DeleteTagRequest {
- // The name of the tag to delete.
- string name = 1;
-}
diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/version.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/version.proto
deleted file mode 100644
index b875ff6..0000000
--- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/version.proto
+++ /dev/null
@@ -1,127 +0,0 @@
-// Copyright 2020 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-package google.devtools.artifactregistry.v1beta2;
-
-import "google/api/field_behavior.proto";
-import "google/api/resource.proto";
-import "google/devtools/artifactregistry/v1beta2/tag.proto";
-import "google/protobuf/struct.proto";
-import "google/protobuf/timestamp.proto";
-
-option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2";
-option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry";
-option java_multiple_files = true;
-option java_outer_classname = "VersionProto";
-option java_package = "com.google.devtools.artifactregistry.v1beta2";
-option php_namespace = "Google\\Cloud\\ArtifactRegistry\\V1beta2";
-option ruby_package = "Google::Cloud::ArtifactRegistry::V1beta2";
-
-// The view, which determines what version information is returned in a
-// response.
-enum VersionView {
- // The default / unset value.
- // The API will default to the BASIC view.
- VERSION_VIEW_UNSPECIFIED = 0;
-
- // Includes basic information about the version, but not any related tags.
- BASIC = 1;
-
- // Include everything.
- FULL = 2;
-}
-
-// The body of a version resource. A version resource represents a
-// collection of components, such as files and other data. This may correspond
-// to a version in many package management schemes.
-message Version {
- option (google.api.resource) = {
- type: "artifactregistry.googleapis.com/Version"
- pattern: "projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}"
- };
-
- // 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.
- string name = 1;
-
- // Optional. Description of the version, as specified in its metadata.
- string description = 3;
-
- // The time when the version was created.
- google.protobuf.Timestamp create_time = 5;
-
- // The time when the version was last updated.
- google.protobuf.Timestamp update_time = 6;
-
- // Output only. A list of related tags. Will contain up to 100 tags that
- // reference this version.
- repeated Tag related_tags = 7;
-
- // Output only. Repository-specific Metadata stored against this version.
- // The fields returned are defined by the underlying repository-specific
- // resource. Currently, the only resource in use is
- // [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
- google.protobuf.Struct metadata = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-// The request to list versions.
-message ListVersionsRequest {
- // The name of the parent resource whose versions will be listed.
- string parent = 1;
-
- // The maximum number of versions to return. Maximum page size is 1,000.
- int32 page_size = 2;
-
- // The next_page_token value returned from a previous list request, if any.
- string page_token = 3;
-
- // The view that should be returned in the response.
- VersionView view = 4;
-
- // Optional. The field to order the results by.
- string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
-}
-
-// The response from listing versions.
-message ListVersionsResponse {
- // The versions returned.
- repeated Version versions = 1;
-
- // The token to retrieve the next page of versions, or empty if there are no
- // more versions to return.
- string next_page_token = 2;
-}
-
-// The request to retrieve a version.
-message GetVersionRequest {
- // The name of the version to retrieve.
- string name = 1;
-
- // The view that should be returned in the response.
- VersionView view = 2;
-}
-
-// The request to delete a version.
-message DeleteVersionRequest {
- // The name of the version to delete.
- string name = 1;
-
- // By default, a version that is tagged may not be deleted. If force=true, the
- // version and any tags pointing to the version are deleted.
- bool force = 2;
-}
diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/yum_artifact.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/yum_artifact.proto
deleted file mode 100644
index 4befe4b..0000000
--- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/yum_artifact.proto
+++ /dev/null
@@ -1,107 +0,0 @@
-// Copyright 2022 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-package google.devtools.artifactregistry.v1beta2;
-
-import "google/api/field_behavior.proto";
-import "google/api/resource.proto";
-import "google/rpc/status.proto";
-
-option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2";
-option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry";
-option java_multiple_files = true;
-option java_outer_classname = "YumArtifactProto";
-option java_package = "com.google.devtools.artifactregistry.v1beta2";
-option php_namespace = "Google\\Cloud\\ArtifactRegistry\\V1beta2";
-option ruby_package = "Google::Cloud::ArtifactRegistry::V1beta2";
-
-// A detailed representation of a Yum artifact.
-message YumArtifact {
- option (google.api.resource) = {
- type: "artifactregistry.googleapis.com/YumArtifact"
- pattern: "projects/{project}/locations/{location}/repositories/{repository}/yumArtifacts/{yum_artifact}"
- };
-
- // Package type is either binary or source.
- enum PackageType {
- // Package type is not specified.
- PACKAGE_TYPE_UNSPECIFIED = 0;
-
- // Binary package (.rpm).
- BINARY = 1;
-
- // Source package (.srpm).
- SOURCE = 2;
- }
-
- // Output only. The Artifact Registry resource name of the artifact.
- string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // Output only. The yum package name of the artifact.
- string package_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // Output only. An artifact is a binary or source package.
- PackageType package_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- // Output only. Operating system architecture of the artifact.
- string architecture = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-}
-
-// Google Cloud Storage location where the artifacts currently reside.
-message ImportYumArtifactsGcsSource {
- // Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
- repeated string uris = 1;
-
- // Supports URI wildcards for matching multiple objects from a single URI.
- bool use_wildcards = 2;
-}
-
-// The request to import new yum artifacts.
-message ImportYumArtifactsRequest {
- // The source location of the package binaries.
- oneof source {
- // Google Cloud Storage location where input content is located.
- ImportYumArtifactsGcsSource gcs_source = 2;
- }
-
- // The name of the parent resource where the artifacts will be imported.
- string parent = 1;
-}
-
-// Error information explaining why a package was not imported.
-message ImportYumArtifactsErrorInfo {
- // The source that was not imported.
- oneof source {
- // Google Cloud Storage location requested.
- ImportYumArtifactsGcsSource gcs_source = 1;
- }
-
- // The detailed error status.
- google.rpc.Status error = 2;
-}
-
-// The response message from importing YUM artifacts.
-message ImportYumArtifactsResponse {
- // The yum artifacts imported.
- repeated YumArtifact yum_artifacts = 1;
-
- // Detailed error info for artifacts that were not imported.
- repeated ImportYumArtifactsErrorInfo errors = 2;
-}
-
-// The operation metadata for importing artifacts.
-message ImportYumArtifactsMetadata {
-}