lib/google/devtools/artifactregistry/v1beta2/service_pb.rb in google-cloud-artifact_registry-v1beta2-0.8.0 vs lib/google/devtools/artifactregistry/v1beta2/service_pb.rb in google-cloud-artifact_registry-v1beta2-0.9.0
- old
+ new
@@ -1,5 +1,6 @@
+# frozen_string_literal: true
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/devtools/artifactregistry/v1beta2/service.proto
require 'google/protobuf'
@@ -16,14 +17,34 @@
require 'google/iam/v1/iam_policy_pb'
require 'google/iam/v1/policy_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/empty_pb'
-Google::Protobuf::DescriptorPool.generated_pool.build do
- add_file("google/devtools/artifactregistry/v1beta2/service.proto", :syntax => :proto3) do
- add_message "google.devtools.artifactregistry.v1beta2.OperationMetadata" do
+
+descriptor_data = "\n6google/devtools/artifactregistry/v1beta2/service.proto\x12(google.devtools.artifactregistry.v1beta2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a;google/devtools/artifactregistry/v1beta2/apt_artifact.proto\x1a\x33google/devtools/artifactregistry/v1beta2/file.proto\x1a\x36google/devtools/artifactregistry/v1beta2/package.proto\x1a\x39google/devtools/artifactregistry/v1beta2/repository.proto\x1a\x37google/devtools/artifactregistry/v1beta2/settings.proto\x1a\x32google/devtools/artifactregistry/v1beta2/tag.proto\x1a\x36google/devtools/artifactregistry/v1beta2/version.proto\x1a;google/devtools/artifactregistry/v1beta2/yum_artifact.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x13\n\x11OperationMetadata2\xe6/\n\x10\x41rtifactRegistry\x12\xdf\x02\n\x12ImportAptArtifacts\x12\x43.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest\x1a\x1d.google.longrunning.Operation\"\xe4\x01\x82\xd3\xe4\x93\x02P\"K/v1beta2/{parent=projects/*/locations/*/repositories/*}/aptArtifacts:import:\x01*\xca\x41\x8a\x01\nCgoogle.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse\x12\x43google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata\x12\xdf\x02\n\x12ImportYumArtifacts\x12\x43.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest\x1a\x1d.google.longrunning.Operation\"\xe4\x01\x82\xd3\xe4\x93\x02P\"K/v1beta2/{parent=projects/*/locations/*/repositories/*}/yumArtifacts:import:\x01*\xca\x41\x8a\x01\nCgoogle.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse\x12\x43google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata\x12\xe1\x01\n\x10ListRepositories\x12\x41.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest\x1a\x42.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta2/{parent=projects/*/locations/*}/repositories\xda\x41\x06parent\x12\xcb\x01\n\rGetRepository\x12>.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest\x1a\x34.google.devtools.artifactregistry.v1beta2.Repository\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta2/{name=projects/*/locations/*/repositories/*}\xda\x41\x04name\x12\xd6\x02\n\x10\x43reateRepository\x12\x41.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\xdf\x01\x82\xd3\xe4\x93\x02\x43\"5/v1beta2/{parent=projects/*/locations/*}/repositories:\nrepository\xda\x41\x1fparent,repository,repository_id\xca\x41q\n3google.devtools.artifactregistry.v1beta2.Repository\x12:google.devtools.artifactregistry.v1beta2.OperationMetadata\x12\xfa\x01\n\x10UpdateRepository\x12\x41.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest\x1a\x34.google.devtools.artifactregistry.v1beta2.Repository\"m\x82\xd3\xe4\x93\x02N2@/v1beta2/{repository.name=projects/*/locations/*/repositories/*}:\nrepository\xda\x41\x16repository,update_mask\x12\x91\x02\n\x10\x44\x65leteRepository\x12\x41.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\x82\xd3\xe4\x93\x02\x37*5/v1beta2/{name=projects/*/locations/*/repositories/*}\xda\x41\x04name\xca\x41S\n\x15google.protobuf.Empty\x12:google.devtools.artifactregistry.v1beta2.OperationMetadata\x12\xe0\x01\n\x0cListPackages\x12=.google.devtools.artifactregistry.v1beta2.ListPackagesRequest\x1a>.google.devtools.artifactregistry.v1beta2.ListPackagesResponse\"Q\x82\xd3\xe4\x93\x02\x42\x12@/v1beta2/{parent=projects/*/locations/*/repositories/*}/packages\xda\x41\x06parent\x12\xcd\x01\n\nGetPackage\x12;.google.devtools.artifactregistry.v1beta2.GetPackageRequest\x1a\x31.google.devtools.artifactregistry.v1beta2.Package\"O\x82\xd3\xe4\x93\x02\x42\x12@/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*}\xda\x41\x04name\x12\x96\x02\n\rDeletePackage\x12>.google.devtools.artifactregistry.v1beta2.DeletePackageRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\x82\xd3\xe4\x93\x02\x42*@/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*}\xda\x41\x04name\xca\x41S\n\x15google.protobuf.Empty\x12:google.devtools.artifactregistry.v1beta2.OperationMetadata\x12\xeb\x01\n\x0cListVersions\x12=.google.devtools.artifactregistry.v1beta2.ListVersionsRequest\x1a>.google.devtools.artifactregistry.v1beta2.ListVersionsResponse\"\\\x82\xd3\xe4\x93\x02M\x12K/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/versions\xda\x41\x06parent\x12\xd8\x01\n\nGetVersion\x12;.google.devtools.artifactregistry.v1beta2.GetVersionRequest\x1a\x31.google.devtools.artifactregistry.v1beta2.Version\"Z\x82\xd3\xe4\x93\x02M\x12K/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}\xda\x41\x04name\x12\xa1\x02\n\rDeleteVersion\x12>.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest\x1a\x1d.google.longrunning.Operation\"\xb0\x01\x82\xd3\xe4\x93\x02M*K/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}\xda\x41\x04name\xca\x41S\n\x15google.protobuf.Empty\x12:google.devtools.artifactregistry.v1beta2.OperationMetadata\x12\xd4\x01\n\tListFiles\x12:.google.devtools.artifactregistry.v1beta2.ListFilesRequest\x1a;.google.devtools.artifactregistry.v1beta2.ListFilesResponse\"N\x82\xd3\xe4\x93\x02?\x12=/v1beta2/{parent=projects/*/locations/*/repositories/*}/files\xda\x41\x06parent\x12\xc2\x01\n\x07GetFile\x12\x38.google.devtools.artifactregistry.v1beta2.GetFileRequest\x1a..google.devtools.artifactregistry.v1beta2.File\"M\x82\xd3\xe4\x93\x02@\x12>/v1beta2/{name=projects/*/locations/*/repositories/*/files/**}\xda\x41\x04name\x12\xdb\x01\n\x08ListTags\x12\x39.google.devtools.artifactregistry.v1beta2.ListTagsRequest\x1a:.google.devtools.artifactregistry.v1beta2.ListTagsResponse\"X\x82\xd3\xe4\x93\x02I\x12G/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/tags\xda\x41\x06parent\x12\xc8\x01\n\x06GetTag\x12\x37.google.devtools.artifactregistry.v1beta2.GetTagRequest\x1a-.google.devtools.artifactregistry.v1beta2.Tag\"V\x82\xd3\xe4\x93\x02I\x12G/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}\xda\x41\x04name\x12\xe0\x01\n\tCreateTag\x12:.google.devtools.artifactregistry.v1beta2.CreateTagRequest\x1a-.google.devtools.artifactregistry.v1beta2.Tag\"h\x82\xd3\xe4\x93\x02N\"G/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/tags:\x03tag\xda\x41\x11parent,tag,tag_id\x12\xe2\x01\n\tUpdateTag\x12:.google.devtools.artifactregistry.v1beta2.UpdateTagRequest\x1a-.google.devtools.artifactregistry.v1beta2.Tag\"j\x82\xd3\xe4\x93\x02R2K/v1beta2/{tag.name=projects/*/locations/*/repositories/*/packages/*/tags/*}:\x03tag\xda\x41\x0ftag,update_mask\x12\xb7\x01\n\tDeleteTag\x12:.google.devtools.artifactregistry.v1beta2.DeleteTagRequest\x1a\x16.google.protobuf.Empty\"V\x82\xd3\xe4\x93\x02I*G/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}\xda\x41\x04name\x12\x9c\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"Q\x82\xd3\xe4\x93\x02K\"F/v1beta2/{resource=projects/*/locations/*/repositories/*}:setIamPolicy:\x01*\x12\x99\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"N\x82\xd3\xe4\x93\x02H\x12\x46/v1beta2/{resource=projects/*/locations/*/repositories/*}:getIamPolicy\x12\xc2\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"W\x82\xd3\xe4\x93\x02Q\"L/v1beta2/{resource=projects/*/locations/*/repositories/*}:testIamPermissions:\x01*\x12\xcf\x01\n\x12GetProjectSettings\x12\x43.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest\x1a\x39.google.devtools.artifactregistry.v1beta2.ProjectSettings\"9\x82\xd3\xe4\x93\x02,\x12*/v1beta2/{name=projects/*/projectSettings}\xda\x41\x04name\x12\x90\x02\n\x15UpdateProjectSettings\x12\x46.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest\x1a\x39.google.devtools.artifactregistry.v1beta2.ProjectSettings\"t\x82\xd3\xe4\x93\x02O2;/v1beta2/{project_settings.name=projects/*/projectSettings}:\x10project_settings\xda\x41\x1cproject_settings,update_mask\x1a\x8c\x01\xca\x41\x1f\x61rtifactregistry.googleapis.com\xd2\x41ghttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\x90\x02\n,com.google.devtools.artifactregistry.v1beta2B\x0cServiceProtoP\x01ZUcloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb\xaa\x02%Google.Cloud.ArtifactRegistry.V1Beta2\xca\x02%Google\\Cloud\\ArtifactRegistry\\V1beta2\xea\x02(Google::Cloud::ArtifactRegistry::V1beta2b\x06proto3"
+
+pool = Google::Protobuf::DescriptorPool.generated_pool
+
+begin
+ pool.add_serialized_file(descriptor_data)
+rescue TypeError => e
+ # Compatibility code: will be removed in the next major version.
+ require 'google/protobuf/descriptor_pb'
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
+ parsed.clear_dependency
+ serialized = parsed.class.encode(parsed)
+ file = pool.add_serialized_file(serialized)
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
+ imports = [
+ ]
+ imports.each do |type_name, expected_filename|
+ import_file = pool.lookup(type_name).file_descriptor
+ if import_file.name != expected_filename
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
end
end
+ warn "Each proto file must use a consistent fully-qualified name."
+ warn "This will become an error in the next major version."
end
module Google
module Cloud
module ArtifactRegistry