google-cloud-artifact_registry-v1 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/artifact_registry/v1/artifact_registry/client.rb +1750 -288
  3. data/lib/google/cloud/artifact_registry/v1/artifact_registry/operations.rb +3 -10
  4. data/lib/google/cloud/artifact_registry/v1/artifact_registry/paths.rb +42 -0
  5. data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/client.rb +1643 -272
  6. data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/operations.rb +3 -10
  7. data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/service_stub.rb +804 -31
  8. data/lib/google/cloud/artifact_registry/v1/version.rb +1 -1
  9. data/lib/google/devtools/artifactregistry/v1/attachment_pb.rb +52 -0
  10. data/lib/google/devtools/artifactregistry/v1/file_pb.rb +5 -1
  11. data/lib/google/devtools/artifactregistry/v1/generic_pb.rb +47 -0
  12. data/lib/google/devtools/artifactregistry/v1/package_pb.rb +4 -1
  13. data/lib/google/devtools/artifactregistry/v1/repository_pb.rb +11 -1
  14. data/lib/google/devtools/artifactregistry/v1/rule_pb.rb +57 -0
  15. data/lib/google/devtools/artifactregistry/v1/service_pb.rb +3 -1
  16. data/lib/google/devtools/artifactregistry/v1/service_services_pb.rb +31 -0
  17. data/lib/google/devtools/artifactregistry/v1/settings_pb.rb +1 -1
  18. data/lib/google/devtools/artifactregistry/v1/version_pb.rb +4 -1
  19. data/proto_docs/google/api/client.rb +20 -0
  20. data/proto_docs/google/devtools/artifactregistry/v1/artifact.rb +4 -4
  21. data/proto_docs/google/devtools/artifactregistry/v1/attachment.rb +152 -0
  22. data/proto_docs/google/devtools/artifactregistry/v1/file.rb +80 -7
  23. data/proto_docs/google/devtools/artifactregistry/v1/generic.rb +48 -0
  24. data/proto_docs/google/devtools/artifactregistry/v1/package.rb +76 -0
  25. data/proto_docs/google/devtools/artifactregistry/v1/repository.rb +188 -1
  26. data/proto_docs/google/devtools/artifactregistry/v1/rule.rb +149 -0
  27. data/proto_docs/google/devtools/artifactregistry/v1/settings.rb +10 -0
  28. data/proto_docs/google/devtools/artifactregistry/v1/tag.rb +23 -5
  29. data/proto_docs/google/devtools/artifactregistry/v1/version.rb +74 -1
  30. data/proto_docs/google/longrunning/operations.rb +19 -14
  31. metadata +9 -3
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ArtifactRegistry
23
23
  module V1
24
- VERSION = "1.0.1"
24
+ VERSION = "1.1.0"
25
25
  end
26
26
  end
27
27
  end
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/devtools/artifactregistry/v1/attachment.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+
12
+ descriptor_data = "\n4google/devtools/artifactregistry/v1/attachment.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc2\x04\n\nAttachment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x06target\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x1c\n\x14\x61ttachment_namespace\x18\x04 \x01(\t\x12Z\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32@.google.devtools.artifactregistry.v1.Attachment.AnnotationsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12;\n\x05\x66iles\x18\x08 \x03(\tB,\xe0\x41\x02\xfa\x41&\n$artifactregistry.googleapis.com/File\x12\x1d\n\x10oci_version_name\x18\t \x01(\tB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x8c\x01\xea\x41\x88\x01\n*artifactregistry.googleapis.com/Attachment\x12Zprojects/{project}/locations/{location}/repositories/{repository}/attachments/{attachment}\"\x98\x01\n\x16ListAttachmentsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*artifactregistry.googleapis.com/Attachment\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"x\n\x17ListAttachmentsResponse\x12\x44\n\x0b\x61ttachments\x18\x01 \x03(\x0b\x32/.google.devtools.artifactregistry.v1.Attachment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"X\n\x14GetAttachmentRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*artifactregistry.googleapis.com/Attachment\"\xc3\x01\n\x17\x43reateAttachmentRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*artifactregistry.googleapis.com/Attachment\x12\x1a\n\rattachment_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12H\n\nattachment\x18\x03 \x01(\x0b\x32/.google.devtools.artifactregistry.v1.AttachmentB\x03\xe0\x41\x02\"[\n\x17\x44\x65leteAttachmentRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*artifactregistry.googleapis.com/AttachmentB\xfa\x01\n\'com.google.devtools.artifactregistry.v1B\x0f\x41ttachmentProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
+ end
34
+ end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
37
+ end
38
+
39
+ module Google
40
+ module Cloud
41
+ module ArtifactRegistry
42
+ module V1
43
+ Attachment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Attachment").msgclass
44
+ ListAttachmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListAttachmentsRequest").msgclass
45
+ ListAttachmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListAttachmentsResponse").msgclass
46
+ GetAttachmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetAttachmentRequest").msgclass
47
+ CreateAttachmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.CreateAttachmentRequest").msgclass
48
+ DeleteAttachmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.DeleteAttachmentRequest").msgclass
49
+ end
50
+ end
51
+ end
52
+ end
@@ -6,10 +6,11 @@ require 'google/protobuf'
6
6
 
7
7
  require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
+ require 'google/protobuf/field_mask_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
 
11
12
 
12
- descriptor_data = "\n.google/devtools/artifactregistry/v1/file.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x01\n\x04Hash\x12@\n\x04type\x18\x01 \x01(\x0e\x32\x32.google.devtools.artifactregistry.v1.Hash.HashType\x12\r\n\x05value\x18\x02 \x01(\x0c\":\n\x08HashType\x12\x19\n\x15HASH_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\x07\n\x03MD5\x10\x02\"\x8e\x03\n\x04\x46ile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nsize_bytes\x18\x03 \x01(\x03\x12\x39\n\x06hashes\x18\x04 \x03(\x0b\x32).google.devtools.artifactregistry.v1.Hash\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\r\n\x05owner\x18\x07 \x01(\t\x12\x33\n\nfetch_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:y\xea\x41v\n$artifactregistry.googleapis.com/File\x12Nprojects/{project}/locations/{location}/repositories/{repository}/files/{file}\"\x99\x01\n\x10ListFilesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$artifactregistry.googleapis.com/File\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"f\n\x11ListFilesResponse\x12\x38\n\x05\x66iles\x18\x01 \x03(\x0b\x32).google.devtools.artifactregistry.v1.File\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x0eGetFileRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$artifactregistry.googleapis.com/FileB\xf4\x01\n\'com.google.devtools.artifactregistry.v1B\tFileProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
13
+ descriptor_data = "\n.google/devtools/artifactregistry/v1/file.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x01\n\x04Hash\x12@\n\x04type\x18\x01 \x01(\x0e\x32\x32.google.devtools.artifactregistry.v1.Hash.HashType\x12\r\n\x05value\x18\x02 \x01(\x0c\":\n\x08HashType\x12\x19\n\x15HASH_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\x07\n\x03MD5\x10\x02\"\x98\x04\n\x04\x46ile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nsize_bytes\x18\x03 \x01(\x03\x12\x39\n\x06hashes\x18\x04 \x03(\x0b\x32).google.devtools.artifactregistry.v1.Hash\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\r\n\x05owner\x18\x07 \x01(\t\x12\x33\n\nfetch_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12T\n\x0b\x61nnotations\x18\t \x03(\x0b\x32:.google.devtools.artifactregistry.v1.File.AnnotationsEntryB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:y\xea\x41v\n$artifactregistry.googleapis.com/File\x12Nprojects/{project}/locations/{location}/repositories/{repository}/files/{file}\"\x99\x01\n\x10ListFilesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$artifactregistry.googleapis.com/File\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"f\n\x11ListFilesResponse\x12\x38\n\x05\x66iles\x18\x01 \x03(\x0b\x32).google.devtools.artifactregistry.v1.File\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x0eGetFileRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$artifactregistry.googleapis.com/File\"O\n\x11\x44\x65leteFileRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$artifactregistry.googleapis.com/File\"\x87\x01\n\x11UpdateFileRequest\x12<\n\x04\x66ile\x18\x01 \x01(\x0b\x32).google.devtools.artifactregistry.v1.FileB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x42\xf4\x01\n\'com.google.devtools.artifactregistry.v1B\tFileProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
13
14
 
14
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
16
 
@@ -25,6 +26,7 @@ rescue TypeError
25
26
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
27
  imports = [
27
28
  ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
28
30
  ]
29
31
  imports.each do |type_name, expected_filename|
30
32
  import_file = pool.lookup(type_name).file_descriptor
@@ -46,6 +48,8 @@ module Google
46
48
  ListFilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListFilesRequest").msgclass
47
49
  ListFilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListFilesResponse").msgclass
48
50
  GetFileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetFileRequest").msgclass
51
+ DeleteFileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.DeleteFileRequest").msgclass
52
+ UpdateFileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.UpdateFileRequest").msgclass
49
53
  end
50
54
  end
51
55
  end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/devtools/artifactregistry/v1/generic.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+
12
+ descriptor_data = "\n1google/devtools/artifactregistry/v1/generic.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbb\x02\n\x0fGenericArtifact\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x9c\x01\xea\x41\x98\x01\n/artifactregistry.googleapis.com/GenericArtifact\x12\x65projects/{project}/locations/{location}/repositories/{repository}/genericArtifacts/{generic_artifact}B\xf7\x01\n\'com.google.devtools.artifactregistry.v1B\x0cGenericProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
+ end
34
+ end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
37
+ end
38
+
39
+ module Google
40
+ module Cloud
41
+ module ArtifactRegistry
42
+ module V1
43
+ GenericArtifact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GenericArtifact").msgclass
44
+ end
45
+ end
46
+ end
47
+ end
@@ -6,10 +6,11 @@ require 'google/protobuf'
6
6
 
7
7
  require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
+ require 'google/protobuf/field_mask_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
 
11
12
 
12
- descriptor_data = "\n1google/devtools/artifactregistry/v1/package.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\x02\n\x07Package\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x82\x01\xea\x41\x7f\n\'artifactregistry.googleapis.com/Package\x12Tprojects/{project}/locations/{location}/repositories/{repository}/packages/{package}\"}\n\x13ListPackagesRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'artifactregistry.googleapis.com/Package\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"o\n\x14ListPackagesResponse\x12>\n\x08packages\x18\x01 \x03(\x0b\x32,.google.devtools.artifactregistry.v1.Package\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"R\n\x11GetPackageRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'artifactregistry.googleapis.com/Package\"U\n\x14\x44\x65letePackageRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'artifactregistry.googleapis.com/PackageB\xf7\x01\n\'com.google.devtools.artifactregistry.v1B\x0cPackageProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
13
+ descriptor_data = "\n1google/devtools/artifactregistry/v1/package.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa1\x03\n\x07Package\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12W\n\x0b\x61nnotations\x18\x07 \x03(\x0b\x32=.google.devtools.artifactregistry.v1.Package.AnnotationsEntryB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x82\x01\xea\x41\x7f\n\'artifactregistry.googleapis.com/Package\x12Tprojects/{project}/locations/{location}/repositories/{repository}/packages/{package}\"\xa9\x01\n\x13ListPackagesRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'artifactregistry.googleapis.com/Package\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"o\n\x14ListPackagesResponse\x12>\n\x08packages\x18\x01 \x03(\x0b\x32,.google.devtools.artifactregistry.v1.Package\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"R\n\x11GetPackageRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'artifactregistry.googleapis.com/Package\"U\n\x14\x44\x65letePackageRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'artifactregistry.googleapis.com/Package\"\x86\x01\n\x14UpdatePackageRequest\x12=\n\x07package\x18\x01 \x01(\x0b\x32,.google.devtools.artifactregistry.v1.Package\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\xf7\x01\n\'com.google.devtools.artifactregistry.v1B\x0cPackageProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
13
14
 
14
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
16
 
@@ -25,6 +26,7 @@ rescue TypeError
25
26
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
27
  imports = [
27
28
  ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
28
30
  ]
29
31
  imports.each do |type_name, expected_filename|
30
32
  import_file = pool.lookup(type_name).file_descriptor
@@ -45,6 +47,7 @@ module Google
45
47
  ListPackagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListPackagesResponse").msgclass
46
48
  GetPackageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetPackageRequest").msgclass
47
49
  DeletePackageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.DeletePackageRequest").msgclass
50
+ UpdatePackageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.UpdatePackageRequest").msgclass
48
51
  end
49
52
  end
50
53
  end
@@ -11,7 +11,7 @@ require 'google/protobuf/field_mask_pb'
11
11
  require 'google/protobuf/timestamp_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n4google/devtools/artifactregistry/v1/repository.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"s\n\x0eUpstreamPolicy\x12\n\n\x02id\x18\x01 \x01(\t\x12\x43\n\nrepository\x18\x02 \x01(\tB/\xfa\x41,\n*artifactregistry.googleapis.com/Repository\x12\x10\n\x08priority\x18\x03 \x01(\x05\"\xa8\x03\n\x16\x43leanupPolicyCondition\x12\\\n\ttag_state\x18\x02 \x01(\x0e\x32\x44.google.devtools.artifactregistry.v1.CleanupPolicyCondition.TagStateH\x00\x88\x01\x01\x12\x14\n\x0ctag_prefixes\x18\x03 \x03(\t\x12\x1d\n\x15version_name_prefixes\x18\x04 \x03(\t\x12\x1d\n\x15package_name_prefixes\x18\x05 \x03(\t\x12\x32\n\nolder_than\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationH\x01\x88\x01\x01\x12\x32\n\nnewer_than\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationH\x02\x88\x01\x01\"H\n\x08TagState\x12\x19\n\x15TAG_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06TAGGED\x10\x01\x12\x0c\n\x08UNTAGGED\x10\x02\x12\x07\n\x03\x41NY\x10\x03\x42\x0c\n\n_tag_stateB\r\n\x0b_older_thanB\r\n\x0b_newer_than\"h\n\x1f\x43leanupPolicyMostRecentVersions\x12\x1d\n\x15package_name_prefixes\x18\x01 \x03(\t\x12\x17\n\nkeep_count\x18\x02 \x01(\x05H\x00\x88\x01\x01\x42\r\n\x0b_keep_count\"\xe8\x02\n\rCleanupPolicy\x12P\n\tcondition\x18\x02 \x01(\x0b\x32;.google.devtools.artifactregistry.v1.CleanupPolicyConditionH\x00\x12\x64\n\x14most_recent_versions\x18\x04 \x01(\x0b\x32\x44.google.devtools.artifactregistry.v1.CleanupPolicyMostRecentVersionsH\x00\x12\n\n\x02id\x18\x01 \x01(\t\x12I\n\x06\x61\x63tion\x18\x03 \x01(\x0e\x32\x39.google.devtools.artifactregistry.v1.CleanupPolicy.Action\"6\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\x12\x08\n\x04KEEP\x10\x02\x42\x10\n\x0e\x63ondition_type\"i\n\x17VirtualRepositoryConfig\x12N\n\x11upstream_policies\x18\x01 \x03(\x0b\x32\x33.google.devtools.artifactregistry.v1.UpstreamPolicy\"\xcd\x16\n\x16RemoteRepositoryConfig\x12i\n\x11\x64ocker_repository\x18\x02 \x01(\x0b\x32L.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepositoryH\x00\x12g\n\x10maven_repository\x18\x03 \x01(\x0b\x32K.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepositoryH\x00\x12\x63\n\x0enpm_repository\x18\x04 \x01(\x0b\x32I.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepositoryH\x00\x12i\n\x11python_repository\x18\x05 \x01(\x0b\x32L.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepositoryH\x00\x12\x63\n\x0e\x61pt_repository\x18\x06 \x01(\x0b\x32I.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepositoryH\x00\x12\x63\n\x0eyum_repository\x18\x07 \x01(\x0b\x32I.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepositoryH\x00\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12r\n\x14upstream_credentials\x18\t \x01(\x0b\x32O.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentialsB\x03\xe0\x41\x01\x1a\xbf\x02\n\x13UpstreamCredentials\x12\x94\x01\n\x1dusername_password_credentials\x18\x01 \x01(\x0b\x32k.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentialsH\x00\x1a\x81\x01\n\x1bUsernamePasswordCredentials\x12\x10\n\x08username\x18\x01 \x01(\t\x12P\n\x17password_secret_version\x18\x02 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionB\r\n\x0b\x63redentials\x1a\xe1\x01\n\x10\x44ockerRepository\x12z\n\x11public_repository\x18\x01 \x01(\x0e\x32].google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.PublicRepositoryH\x00\"E\n\x10PublicRepository\x12!\n\x1dPUBLIC_REPOSITORY_UNSPECIFIED\x10\x00\x12\x0e\n\nDOCKER_HUB\x10\x01\x42\n\n\x08upstream\x1a\xe2\x01\n\x0fMavenRepository\x12y\n\x11public_repository\x18\x01 \x01(\x0e\x32\\.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository.PublicRepositoryH\x00\"H\n\x10PublicRepository\x12!\n\x1dPUBLIC_REPOSITORY_UNSPECIFIED\x10\x00\x12\x11\n\rMAVEN_CENTRAL\x10\x01\x42\n\n\x08upstream\x1a\xd6\x01\n\rNpmRepository\x12w\n\x11public_repository\x18\x01 \x01(\x0e\x32Z.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository.PublicRepositoryH\x00\"@\n\x10PublicRepository\x12!\n\x1dPUBLIC_REPOSITORY_UNSPECIFIED\x10\x00\x12\t\n\x05NPMJS\x10\x01\x42\n\n\x08upstream\x1a\xdb\x01\n\x10PythonRepository\x12z\n\x11public_repository\x18\x01 \x01(\x0e\x32].google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository.PublicRepositoryH\x00\"?\n\x10PublicRepository\x12!\n\x1dPUBLIC_REPOSITORY_UNSPECIFIED\x10\x00\x12\x08\n\x04PYPI\x10\x01\x42\n\n\x08upstream\x1a\x92\x03\n\rAptRepository\x12w\n\x11public_repository\x18\x01 \x01(\x0b\x32Z.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepositoryH\x00\x1a\xfb\x01\n\x10PublicRepository\x12\x82\x01\n\x0frepository_base\x18\x01 \x01(\x0e\x32i.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository.RepositoryBase\x12\x17\n\x0frepository_path\x18\x02 \x01(\t\"I\n\x0eRepositoryBase\x12\x1f\n\x1bREPOSITORY_BASE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45\x42IAN\x10\x01\x12\n\n\x06UBUNTU\x10\x02\x42\n\n\x08upstream\x1a\xd3\x03\n\rYumRepository\x12w\n\x11public_repository\x18\x01 \x01(\x0b\x32Z.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepositoryH\x00\x1a\xbc\x02\n\x10PublicRepository\x12\x82\x01\n\x0frepository_base\x18\x01 \x01(\x0e\x32i.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase\x12\x17\n\x0frepository_path\x18\x02 \x01(\t\"\x89\x01\n\x0eRepositoryBase\x12\x1f\n\x1bREPOSITORY_BASE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43\x45NTOS\x10\x01\x12\x10\n\x0c\x43\x45NTOS_DEBUG\x10\x02\x12\x10\n\x0c\x43\x45NTOS_VAULT\x10\x03\x12\x11\n\rCENTOS_STREAM\x10\x04\x12\t\n\x05ROCKY\x10\x05\x12\x08\n\x04\x45PEL\x10\x06\x42\n\n\x08upstreamB\x0f\n\rremote_source\"\x85\x0e\n\nRepository\x12]\n\x0cmaven_config\x18\t \x01(\x0b\x32\x45.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigH\x00\x12_\n\rdocker_config\x18\x11 \x01(\x0b\x32\x46.google.devtools.artifactregistry.v1.Repository.DockerRepositoryConfigH\x00\x12\x61\n\x19virtual_repository_config\x18\x0e \x01(\x0b\x32<.google.devtools.artifactregistry.v1.VirtualRepositoryConfigH\x01\x12_\n\x18remote_repository_config\x18\x0f \x01(\x0b\x32;.google.devtools.artifactregistry.v1.RemoteRepositoryConfigH\x01\x12\x0c\n\x04name\x18\x01 \x01(\t\x12K\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x36.google.devtools.artifactregistry.v1.Repository.FormatB\x03\xe0\x41\x01\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12K\n\x06labels\x18\x04 \x03(\x0b\x32;.google.devtools.artifactregistry.v1.Repository.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x0ckms_key_name\x18\x08 \x01(\t\x12G\n\x04mode\x18\n \x01(\x0e\x32\x34.google.devtools.artifactregistry.v1.Repository.ModeB\x03\xe0\x41\x01\x12\x63\n\x10\x63leanup_policies\x18\x0c \x03(\x0b\x32\x44.google.devtools.artifactregistry.v1.Repository.CleanupPoliciesEntryB\x03\xe0\x41\x01\x12\x17\n\nsize_bytes\x18\r \x01(\x03\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x10 \x01(\x08\x42\x03\xe0\x41\x03\x12#\n\x16\x63leanup_policy_dry_run\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xf3\x01\n\x15MavenRepositoryConfig\x12!\n\x19\x61llow_snapshot_overwrites\x18\x01 \x01(\x08\x12k\n\x0eversion_policy\x18\x02 \x01(\x0e\x32S.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy\"J\n\rVersionPolicy\x12\x1e\n\x1aVERSION_POLICY_UNSPECIFIED\x10\x00\x12\x0b\n\x07RELEASE\x10\x01\x12\x0c\n\x08SNAPSHOT\x10\x02\x1a\x30\n\x16\x44ockerRepositoryConfig\x12\x16\n\x0eimmutable_tags\x18\x01 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aj\n\x14\x43leanupPoliciesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.google.devtools.artifactregistry.v1.CleanupPolicy:\x02\x38\x01\"o\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\n\n\x06\x44OCKER\x10\x01\x12\t\n\x05MAVEN\x10\x02\x12\x07\n\x03NPM\x10\x03\x12\x07\n\x03\x41PT\x10\x05\x12\x07\n\x03YUM\x10\x06\x12\n\n\x06PYTHON\x10\x08\x12\x07\n\x03KFP\x10\t\x12\x06\n\x02GO\x10\n\"d\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x17\n\x13STANDARD_REPOSITORY\x10\x01\x12\x16\n\x12VIRTUAL_REPOSITORY\x10\x02\x12\x15\n\x11REMOTE_REPOSITORY\x10\x03:r\xea\x41o\n*artifactregistry.googleapis.com/Repository\x12\x41projects/{project}/locations/{location}/repositories/{repository}B\x0f\n\rformat_configB\r\n\x0bmode_config\"\x84\x01\n\x17ListRepositoriesRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*artifactregistry.googleapis.com/Repository\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"z\n\x18ListRepositoriesResponse\x12\x45\n\x0crepositories\x18\x01 \x03(\x0b\x32/.google.devtools.artifactregistry.v1.Repository\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"X\n\x14GetRepositoryRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*artifactregistry.googleapis.com/Repository\"\xc3\x01\n\x17\x43reateRepositoryRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*artifactregistry.googleapis.com/Repository\x12\x1a\n\rrepository_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12H\n\nrepository\x18\x03 \x01(\x0b\x32/.google.devtools.artifactregistry.v1.RepositoryB\x03\xe0\x41\x02\"\x8f\x01\n\x17UpdateRepositoryRequest\x12\x43\n\nrepository\x18\x01 \x01(\x0b\x32/.google.devtools.artifactregistry.v1.Repository\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"[\n\x17\x44\x65leteRepositoryRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*artifactregistry.googleapis.com/RepositoryB\xe8\x02\n\'com.google.devtools.artifactregistry.v1B\x0fRepositoryProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1\xea\x41k\n*secretmanager.googleapis.com/SecretVersion\x12=projects/{project}/secrets/{secret}/versions/{secret_version}b\x06proto3"
14
+ descriptor_data = "\n4google/devtools/artifactregistry/v1/repository.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"s\n\x0eUpstreamPolicy\x12\n\n\x02id\x18\x01 \x01(\t\x12\x43\n\nrepository\x18\x02 \x01(\tB/\xfa\x41,\n*artifactregistry.googleapis.com/Repository\x12\x10\n\x08priority\x18\x03 \x01(\x05\"\xa8\x03\n\x16\x43leanupPolicyCondition\x12\\\n\ttag_state\x18\x02 \x01(\x0e\x32\x44.google.devtools.artifactregistry.v1.CleanupPolicyCondition.TagStateH\x00\x88\x01\x01\x12\x14\n\x0ctag_prefixes\x18\x03 \x03(\t\x12\x1d\n\x15version_name_prefixes\x18\x04 \x03(\t\x12\x1d\n\x15package_name_prefixes\x18\x05 \x03(\t\x12\x32\n\nolder_than\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationH\x01\x88\x01\x01\x12\x32\n\nnewer_than\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationH\x02\x88\x01\x01\"H\n\x08TagState\x12\x19\n\x15TAG_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06TAGGED\x10\x01\x12\x0c\n\x08UNTAGGED\x10\x02\x12\x07\n\x03\x41NY\x10\x03\x42\x0c\n\n_tag_stateB\r\n\x0b_older_thanB\r\n\x0b_newer_than\"h\n\x1f\x43leanupPolicyMostRecentVersions\x12\x1d\n\x15package_name_prefixes\x18\x01 \x03(\t\x12\x17\n\nkeep_count\x18\x02 \x01(\x05H\x00\x88\x01\x01\x42\r\n\x0b_keep_count\"\xe8\x02\n\rCleanupPolicy\x12P\n\tcondition\x18\x02 \x01(\x0b\x32;.google.devtools.artifactregistry.v1.CleanupPolicyConditionH\x00\x12\x64\n\x14most_recent_versions\x18\x04 \x01(\x0b\x32\x44.google.devtools.artifactregistry.v1.CleanupPolicyMostRecentVersionsH\x00\x12\n\n\x02id\x18\x01 \x01(\t\x12I\n\x06\x61\x63tion\x18\x03 \x01(\x0e\x32\x39.google.devtools.artifactregistry.v1.CleanupPolicy.Action\"6\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\x12\x08\n\x04KEEP\x10\x02\x42\x10\n\x0e\x63ondition_type\"i\n\x17VirtualRepositoryConfig\x12N\n\x11upstream_policies\x18\x01 \x03(\x0b\x32\x33.google.devtools.artifactregistry.v1.UpstreamPolicy\"\xcd\x1f\n\x16RemoteRepositoryConfig\x12i\n\x11\x64ocker_repository\x18\x02 \x01(\x0b\x32L.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepositoryH\x00\x12g\n\x10maven_repository\x18\x03 \x01(\x0b\x32K.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepositoryH\x00\x12\x63\n\x0enpm_repository\x18\x04 \x01(\x0b\x32I.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepositoryH\x00\x12i\n\x11python_repository\x18\x05 \x01(\x0b\x32L.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepositoryH\x00\x12\x63\n\x0e\x61pt_repository\x18\x06 \x01(\x0b\x32I.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepositoryH\x00\x12\x63\n\x0eyum_repository\x18\x07 \x01(\x0b\x32I.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepositoryH\x00\x12o\n\x11\x63ommon_repository\x18\x0e \x01(\x0b\x32R.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepositoryH\x00\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12r\n\x14upstream_credentials\x18\t \x01(\x0b\x32O.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentialsB\x03\xe0\x41\x01\x12(\n\x1b\x64isable_upstream_validation\x18\x0c \x01(\x08\x42\x03\xe0\x41\x04\x1a\xbf\x02\n\x13UpstreamCredentials\x12\x94\x01\n\x1dusername_password_credentials\x18\x01 \x01(\x0b\x32k.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentialsH\x00\x1a\x81\x01\n\x1bUsernamePasswordCredentials\x12\x10\n\x08username\x18\x01 \x01(\t\x12P\n\x17password_secret_version\x18\x02 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersionB\r\n\x0b\x63redentials\x1a\xfe\x02\n\x10\x44ockerRepository\x12z\n\x11public_repository\x18\x01 \x01(\x0e\x32].google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.PublicRepositoryH\x00\x12z\n\x11\x63ustom_repository\x18\x03 \x01(\x0b\x32].google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.CustomRepositoryH\x00\x1a\x1f\n\x10\x43ustomRepository\x12\x0b\n\x03uri\x18\x01 \x01(\t\"E\n\x10PublicRepository\x12!\n\x1dPUBLIC_REPOSITORY_UNSPECIFIED\x10\x00\x12\x0e\n\nDOCKER_HUB\x10\x01\x42\n\n\x08upstream\x1a\xfe\x02\n\x0fMavenRepository\x12y\n\x11public_repository\x18\x01 \x01(\x0e\x32\\.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository.PublicRepositoryH\x00\x12y\n\x11\x63ustom_repository\x18\x03 \x01(\x0b\x32\\.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository.CustomRepositoryH\x00\x1a\x1f\n\x10\x43ustomRepository\x12\x0b\n\x03uri\x18\x01 \x01(\t\"H\n\x10PublicRepository\x12!\n\x1dPUBLIC_REPOSITORY_UNSPECIFIED\x10\x00\x12\x11\n\rMAVEN_CENTRAL\x10\x01\x42\n\n\x08upstream\x1a\xf0\x02\n\rNpmRepository\x12w\n\x11public_repository\x18\x01 \x01(\x0e\x32Z.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository.PublicRepositoryH\x00\x12w\n\x11\x63ustom_repository\x18\x03 \x01(\x0b\x32Z.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository.CustomRepositoryH\x00\x1a\x1f\n\x10\x43ustomRepository\x12\x0b\n\x03uri\x18\x01 \x01(\t\"@\n\x10PublicRepository\x12!\n\x1dPUBLIC_REPOSITORY_UNSPECIFIED\x10\x00\x12\t\n\x05NPMJS\x10\x01\x42\n\n\x08upstream\x1a\xf8\x02\n\x10PythonRepository\x12z\n\x11public_repository\x18\x01 \x01(\x0e\x32].google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository.PublicRepositoryH\x00\x12z\n\x11\x63ustom_repository\x18\x03 \x01(\x0b\x32].google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository.CustomRepositoryH\x00\x1a\x1f\n\x10\x43ustomRepository\x12\x0b\n\x03uri\x18\x01 \x01(\t\"?\n\x10PublicRepository\x12!\n\x1dPUBLIC_REPOSITORY_UNSPECIFIED\x10\x00\x12\x08\n\x04PYPI\x10\x01\x42\n\n\x08upstream\x1a\xc1\x04\n\rAptRepository\x12w\n\x11public_repository\x18\x01 \x01(\x0b\x32Z.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepositoryH\x00\x12w\n\x11\x63ustom_repository\x18\x03 \x01(\x0b\x32Z.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.CustomRepositoryH\x00\x1a\x90\x02\n\x10PublicRepository\x12\x82\x01\n\x0frepository_base\x18\x01 \x01(\x0e\x32i.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository.RepositoryBase\x12\x17\n\x0frepository_path\x18\x02 \x01(\t\"^\n\x0eRepositoryBase\x12\x1f\n\x1bREPOSITORY_BASE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45\x42IAN\x10\x01\x12\n\n\x06UBUNTU\x10\x02\x12\x13\n\x0f\x44\x45\x42IAN_SNAPSHOT\x10\x03\x1a\x1f\n\x10\x43ustomRepository\x12\x0b\n\x03uri\x18\x01 \x01(\tB\n\n\x08upstream\x1a\xed\x04\n\rYumRepository\x12w\n\x11public_repository\x18\x01 \x01(\x0b\x32Z.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepositoryH\x00\x12w\n\x11\x63ustom_repository\x18\x03 \x01(\x0b\x32Z.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.CustomRepositoryH\x00\x1a\xbc\x02\n\x10PublicRepository\x12\x82\x01\n\x0frepository_base\x18\x01 \x01(\x0e\x32i.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase\x12\x17\n\x0frepository_path\x18\x02 \x01(\t\"\x89\x01\n\x0eRepositoryBase\x12\x1f\n\x1bREPOSITORY_BASE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43\x45NTOS\x10\x01\x12\x10\n\x0c\x43\x45NTOS_DEBUG\x10\x02\x12\x10\n\x0c\x43\x45NTOS_VAULT\x10\x03\x12\x11\n\rCENTOS_STREAM\x10\x04\x12\t\n\x05ROCKY\x10\x05\x12\x08\n\x04\x45PEL\x10\x06\x1a\x1f\n\x10\x43ustomRepository\x12\x0b\n\x03uri\x18\x01 \x01(\tB\n\n\x08upstream\x1a*\n\x16\x43ommonRemoteRepository\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x0f\n\rremote_source\"\x99\x14\n\nRepository\x12]\n\x0cmaven_config\x18\t \x01(\x0b\x32\x45.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigH\x00\x12_\n\rdocker_config\x18\x11 \x01(\x0b\x32\x46.google.devtools.artifactregistry.v1.Repository.DockerRepositoryConfigH\x00\x12\x61\n\x19virtual_repository_config\x18\x0e \x01(\x0b\x32<.google.devtools.artifactregistry.v1.VirtualRepositoryConfigH\x01\x12_\n\x18remote_repository_config\x18\x0f \x01(\x0b\x32;.google.devtools.artifactregistry.v1.RemoteRepositoryConfigH\x01\x12\x0c\n\x04name\x18\x01 \x01(\t\x12K\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x36.google.devtools.artifactregistry.v1.Repository.FormatB\x03\xe0\x41\x01\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12K\n\x06labels\x18\x04 \x03(\x0b\x32;.google.devtools.artifactregistry.v1.Repository.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x0ckms_key_name\x18\x08 \x01(\t\x12G\n\x04mode\x18\n \x01(\x0e\x32\x34.google.devtools.artifactregistry.v1.Repository.ModeB\x03\xe0\x41\x01\x12\x63\n\x10\x63leanup_policies\x18\x0c \x03(\x0b\x32\x44.google.devtools.artifactregistry.v1.Repository.CleanupPoliciesEntryB\x03\xe0\x41\x01\x12\x17\n\nsize_bytes\x18\r \x01(\x03\x42\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x10 \x01(\x08\x42\x03\xe0\x41\x03\x12#\n\x16\x63leanup_policy_dry_run\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01\x12w\n\x1dvulnerability_scanning_config\x18\x13 \x01(\x0b\x32K.google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfigB\x03\xe0\x41\x01\x12&\n\x19\x64isallow_unspecified_mode\x18\x15 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rsatisfies_pzi\x18\x16 \x01(\x08\x42\x03\xe0\x41\x03\x1a\xf3\x01\n\x15MavenRepositoryConfig\x12!\n\x19\x61llow_snapshot_overwrites\x18\x01 \x01(\x08\x12k\n\x0eversion_policy\x18\x02 \x01(\x0e\x32S.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy\"J\n\rVersionPolicy\x12\x1e\n\x1aVERSION_POLICY_UNSPECIFIED\x10\x00\x12\x0b\n\x07RELEASE\x10\x01\x12\x0c\n\x08SNAPSHOT\x10\x02\x1a\x30\n\x16\x44ockerRepositoryConfig\x12\x16\n\x0eimmutable_tags\x18\x01 \x01(\x08\x1a\xc7\x04\n\x1bVulnerabilityScanningConfig\x12|\n\x11\x65nablement_config\x18\x01 \x01(\x0e\x32\\.google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig.EnablementConfigB\x03\xe0\x41\x01\x12\x39\n\x10last_enable_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12z\n\x10\x65nablement_state\x18\x03 \x01(\x0e\x32[.google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig.EnablementStateB\x03\xe0\x41\x03\x12$\n\x17\x65nablement_state_reason\x18\x04 \x01(\tB\x03\xe0\x41\x03\"R\n\x10\x45nablementConfig\x12!\n\x1d\x45NABLEMENT_CONFIG_UNSPECIFIED\x10\x00\x12\r\n\tINHERITED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\"y\n\x0f\x45nablementState\x12 \n\x1c\x45NABLEMENT_STATE_UNSPECIFIED\x10\x00\x12\x18\n\x14SCANNING_UNSUPPORTED\x10\x01\x12\x15\n\x11SCANNING_DISABLED\x10\x02\x12\x13\n\x0fSCANNING_ACTIVE\x10\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aj\n\x14\x43leanupPoliciesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.google.devtools.artifactregistry.v1.CleanupPolicy:\x02\x38\x01\"|\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\n\n\x06\x44OCKER\x10\x01\x12\t\n\x05MAVEN\x10\x02\x12\x07\n\x03NPM\x10\x03\x12\x07\n\x03\x41PT\x10\x05\x12\x07\n\x03YUM\x10\x06\x12\n\n\x06PYTHON\x10\x08\x12\x07\n\x03KFP\x10\t\x12\x06\n\x02GO\x10\n\x12\x0b\n\x07GENERIC\x10\x0b\"d\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x17\n\x13STANDARD_REPOSITORY\x10\x01\x12\x16\n\x12VIRTUAL_REPOSITORY\x10\x02\x12\x15\n\x11REMOTE_REPOSITORY\x10\x03:r\xea\x41o\n*artifactregistry.googleapis.com/Repository\x12\x41projects/{project}/locations/{location}/repositories/{repository}B\x0f\n\rformat_configB\r\n\x0bmode_config\"\xb0\x01\n\x17ListRepositoriesRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*artifactregistry.googleapis.com/Repository\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"z\n\x18ListRepositoriesResponse\x12\x45\n\x0crepositories\x18\x01 \x03(\x0b\x32/.google.devtools.artifactregistry.v1.Repository\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"X\n\x14GetRepositoryRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*artifactregistry.googleapis.com/Repository\"\xc3\x01\n\x17\x43reateRepositoryRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*artifactregistry.googleapis.com/Repository\x12\x1a\n\rrepository_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12H\n\nrepository\x18\x03 \x01(\x0b\x32/.google.devtools.artifactregistry.v1.RepositoryB\x03\xe0\x41\x02\"\x8f\x01\n\x17UpdateRepositoryRequest\x12\x43\n\nrepository\x18\x01 \x01(\x0b\x32/.google.devtools.artifactregistry.v1.Repository\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"[\n\x17\x44\x65leteRepositoryRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*artifactregistry.googleapis.com/RepositoryB\xe7\x03\n\'com.google.devtools.artifactregistry.v1B\x0fRepositoryProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1\xea\x41k\n*secretmanager.googleapis.com/SecretVersion\x12=projects/{project}/secrets/{secret}/versions/{secret_version}\xea\x41|\n\'servicedirectory.googleapis.com/Service\x12Qprojects/{project}/locations/{location}/namespaces/{namespace}/services/{service}b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -55,23 +55,33 @@ module Google
55
55
  RemoteRepositoryConfig::UpstreamCredentials = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials").msgclass
56
56
  RemoteRepositoryConfig::UpstreamCredentials::UsernamePasswordCredentials = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials").msgclass
57
57
  RemoteRepositoryConfig::DockerRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository").msgclass
58
+ RemoteRepositoryConfig::DockerRepository::CustomRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.CustomRepository").msgclass
58
59
  RemoteRepositoryConfig::DockerRepository::PublicRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.PublicRepository").enummodule
59
60
  RemoteRepositoryConfig::MavenRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository").msgclass
61
+ RemoteRepositoryConfig::MavenRepository::CustomRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository.CustomRepository").msgclass
60
62
  RemoteRepositoryConfig::MavenRepository::PublicRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository.PublicRepository").enummodule
61
63
  RemoteRepositoryConfig::NpmRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository").msgclass
64
+ RemoteRepositoryConfig::NpmRepository::CustomRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository.CustomRepository").msgclass
62
65
  RemoteRepositoryConfig::NpmRepository::PublicRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository.PublicRepository").enummodule
63
66
  RemoteRepositoryConfig::PythonRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository").msgclass
67
+ RemoteRepositoryConfig::PythonRepository::CustomRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository.CustomRepository").msgclass
64
68
  RemoteRepositoryConfig::PythonRepository::PublicRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository.PublicRepository").enummodule
65
69
  RemoteRepositoryConfig::AptRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository").msgclass
66
70
  RemoteRepositoryConfig::AptRepository::PublicRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository").msgclass
67
71
  RemoteRepositoryConfig::AptRepository::PublicRepository::RepositoryBase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.PublicRepository.RepositoryBase").enummodule
72
+ RemoteRepositoryConfig::AptRepository::CustomRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository.CustomRepository").msgclass
68
73
  RemoteRepositoryConfig::YumRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository").msgclass
69
74
  RemoteRepositoryConfig::YumRepository::PublicRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository").msgclass
70
75
  RemoteRepositoryConfig::YumRepository::PublicRepository::RepositoryBase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.PublicRepository.RepositoryBase").enummodule
76
+ RemoteRepositoryConfig::YumRepository::CustomRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository.CustomRepository").msgclass
77
+ RemoteRepositoryConfig::CommonRemoteRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository").msgclass
71
78
  Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository").msgclass
72
79
  Repository::MavenRepositoryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig").msgclass
73
80
  Repository::MavenRepositoryConfig::VersionPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy").enummodule
74
81
  Repository::DockerRepositoryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository.DockerRepositoryConfig").msgclass
82
+ Repository::VulnerabilityScanningConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig").msgclass
83
+ Repository::VulnerabilityScanningConfig::EnablementConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig.EnablementConfig").enummodule
84
+ Repository::VulnerabilityScanningConfig::EnablementState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository.VulnerabilityScanningConfig.EnablementState").enummodule
75
85
  Repository::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository.Format").enummodule
76
86
  Repository::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Repository.Mode").enummodule
77
87
  ListRepositoriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListRepositoriesRequest").msgclass
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/devtools/artifactregistry/v1/rule.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/field_mask_pb'
10
+ require 'google/type/expr_pb'
11
+
12
+
13
+ descriptor_data = "\n.google/devtools/artifactregistry/v1/rule.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x16google/type/expr.proto\"\xc5\x03\n\x04Rule\x12\x0c\n\x04name\x18\x01 \x01(\t\x12@\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x30.google.devtools.artifactregistry.v1.Rule.Action\x12\x46\n\toperation\x18\x03 \x01(\x0e\x32\x33.google.devtools.artifactregistry.v1.Rule.Operation\x12)\n\tcondition\x18\x04 \x01(\x0b\x32\x11.google.type.ExprB\x03\xe0\x41\x01\x12\x12\n\npackage_id\x18\x05 \x01(\t\"5\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\"4\n\tOperation\x12\x19\n\x15OPERATION_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44OWNLOAD\x10\x01:y\xea\x41v\n$artifactregistry.googleapis.com/Rule\x12Nprojects/{project}/locations/{location}/repositories/{repository}/rules/{rule}\"w\n\x10ListRulesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$artifactregistry.googleapis.com/Rule\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"f\n\x11ListRulesResponse\x12\x38\n\x05rules\x18\x01 \x03(\x0b\x32).google.devtools.artifactregistry.v1.Rule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"L\n\x0eGetRuleRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$artifactregistry.googleapis.com/Rule\"\x9b\x01\n\x11\x43reateRuleRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$artifactregistry.googleapis.com/Rule\x12\x0f\n\x07rule_id\x18\x02 \x01(\t\x12\x37\n\x04rule\x18\x03 \x01(\x0b\x32).google.devtools.artifactregistry.v1.Rule\"}\n\x11UpdateRuleRequest\x12\x37\n\x04rule\x18\x01 \x01(\x0b\x32).google.devtools.artifactregistry.v1.Rule\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"O\n\x11\x44\x65leteRuleRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$artifactregistry.googleapis.com/RuleB\xf4\x01\n\'com.google.devtools.artifactregistry.v1B\tRuleProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.type.Expr", "google/type/expr.proto"],
29
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
+ end
36
+ end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
39
+ end
40
+
41
+ module Google
42
+ module Cloud
43
+ module ArtifactRegistry
44
+ module V1
45
+ Rule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Rule").msgclass
46
+ Rule::Action = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Rule.Action").enummodule
47
+ Rule::Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.Rule.Operation").enummodule
48
+ ListRulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListRulesRequest").msgclass
49
+ ListRulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListRulesResponse").msgclass
50
+ GetRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetRuleRequest").msgclass
51
+ CreateRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.CreateRuleRequest").msgclass
52
+ UpdateRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.UpdateRuleRequest").msgclass
53
+ DeleteRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.DeleteRuleRequest").msgclass
54
+ end
55
+ end
56
+ end
57
+ end
@@ -8,9 +8,11 @@ require 'google/api/annotations_pb'
8
8
  require 'google/api/client_pb'
9
9
  require 'google/devtools/artifactregistry/v1/apt_artifact_pb'
10
10
  require 'google/devtools/artifactregistry/v1/artifact_pb'
11
+ require 'google/devtools/artifactregistry/v1/attachment_pb'
11
12
  require 'google/devtools/artifactregistry/v1/file_pb'
12
13
  require 'google/devtools/artifactregistry/v1/package_pb'
13
14
  require 'google/devtools/artifactregistry/v1/repository_pb'
15
+ require 'google/devtools/artifactregistry/v1/rule_pb'
14
16
  require 'google/devtools/artifactregistry/v1/settings_pb'
15
17
  require 'google/devtools/artifactregistry/v1/tag_pb'
16
18
  require 'google/devtools/artifactregistry/v1/version_pb'
@@ -22,7 +24,7 @@ require 'google/longrunning/operations_pb'
22
24
  require 'google/protobuf/empty_pb'
23
25
 
24
26
 
25
- descriptor_data = "\n1google/devtools/artifactregistry/v1/service.proto\x12#google.devtools.artifactregistry.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x36google/devtools/artifactregistry/v1/apt_artifact.proto\x1a\x32google/devtools/artifactregistry/v1/artifact.proto\x1a.google/devtools/artifactregistry/v1/file.proto\x1a\x31google/devtools/artifactregistry/v1/package.proto\x1a\x34google/devtools/artifactregistry/v1/repository.proto\x1a\x32google/devtools/artifactregistry/v1/settings.proto\x1a-google/devtools/artifactregistry/v1/tag.proto\x1a\x31google/devtools/artifactregistry/v1/version.proto\x1a\x36google/devtools/artifactregistry/v1/vpcsc_config.proto\x1a\x36google/devtools/artifactregistry/v1/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\xe4@\n\x10\x41rtifactRegistry\x12\xe1\x01\n\x10ListDockerImages\x12<.google.devtools.artifactregistry.v1.ListDockerImagesRequest\x1a=.google.devtools.artifactregistry.v1.ListDockerImagesResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*/repositories/*}/dockerImages\x12\xce\x01\n\x0eGetDockerImage\x12:.google.devtools.artifactregistry.v1.GetDockerImageRequest\x1a\x30.google.devtools.artifactregistry.v1.DockerImage\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/repositories/*/dockerImages/*}\x12\xe9\x01\n\x12ListMavenArtifacts\x12>.google.devtools.artifactregistry.v1.ListMavenArtifactsRequest\x1a?.google.devtools.artifactregistry.v1.ListMavenArtifactsResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/repositories/*}/mavenArtifacts\x12\xd6\x01\n\x10GetMavenArtifact\x12<.google.devtools.artifactregistry.v1.GetMavenArtifactRequest\x1a\x32.google.devtools.artifactregistry.v1.MavenArtifact\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/repositories/*/mavenArtifacts/*}\x12\xdd\x01\n\x0fListNpmPackages\x12;.google.devtools.artifactregistry.v1.ListNpmPackagesRequest\x1a<.google.devtools.artifactregistry.v1.ListNpmPackagesResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/repositories/*}/npmPackages\x12\xca\x01\n\rGetNpmPackage\x12\x39.google.devtools.artifactregistry.v1.GetNpmPackageRequest\x1a/.google.devtools.artifactregistry.v1.NpmPackage\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/repositories/*/npmPackages/*}\x12\xe9\x01\n\x12ListPythonPackages\x12>.google.devtools.artifactregistry.v1.ListPythonPackagesRequest\x1a?.google.devtools.artifactregistry.v1.ListPythonPackagesResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/repositories/*}/pythonPackages\x12\xd6\x01\n\x10GetPythonPackage\x12<.google.devtools.artifactregistry.v1.GetPythonPackageRequest\x1a\x32.google.devtools.artifactregistry.v1.PythonPackage\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/repositories/*/pythonPackages/*}\x12\xcb\x02\n\x12ImportAptArtifacts\x12>.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest\x1a\x1d.google.longrunning.Operation\"\xd5\x01\xca\x41\x80\x01\n>google.devtools.artifactregistry.v1.ImportAptArtifactsResponse\x12>google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata\x82\xd3\xe4\x93\x02K\"F/v1/{parent=projects/*/locations/*/repositories/*}/aptArtifacts:import:\x01*\x12\xcb\x02\n\x12ImportYumArtifacts\x12>.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest\x1a\x1d.google.longrunning.Operation\"\xd5\x01\xca\x41\x80\x01\n>google.devtools.artifactregistry.v1.ImportYumArtifactsResponse\x12>google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata\x82\xd3\xe4\x93\x02K\"F/v1/{parent=projects/*/locations/*/repositories/*}/yumArtifacts:import:\x01*\x12\xd2\x01\n\x10ListRepositories\x12<.google.devtools.artifactregistry.v1.ListRepositoriesRequest\x1a=.google.devtools.artifactregistry.v1.ListRepositoriesResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/repositories\x12\xbc\x01\n\rGetRepository\x12\x39.google.devtools.artifactregistry.v1.GetRepositoryRequest\x1a/.google.devtools.artifactregistry.v1.Repository\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/repositories/*}\x12\xc2\x02\n\x10\x43reateRepository\x12<.google.devtools.artifactregistry.v1.CreateRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\xd0\x01\xca\x41g\n.google.devtools.artifactregistry.v1.Repository\x12\x35google.devtools.artifactregistry.v1.OperationMetadata\xda\x41\x1fparent,repository,repository_id\x82\xd3\xe4\x93\x02>\"0/v1/{parent=projects/*/locations/*}/repositories:\nrepository\x12\xeb\x01\n\x10UpdateRepository\x12<.google.devtools.artifactregistry.v1.UpdateRepositoryRequest\x1a/.google.devtools.artifactregistry.v1.Repository\"h\xda\x41\x16repository,update_mask\x82\xd3\xe4\x93\x02I2;/v1/{repository.name=projects/*/locations/*/repositories/*}:\nrepository\x12\x82\x02\n\x10\x44\x65leteRepository\x12<.google.devtools.artifactregistry.v1.DeleteRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\x90\x01\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.devtools.artifactregistry.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/repositories/*}\x12\xd1\x01\n\x0cListPackages\x12\x38.google.devtools.artifactregistry.v1.ListPackagesRequest\x1a\x39.google.devtools.artifactregistry.v1.ListPackagesResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/repositories/*}/packages\x12\xbe\x01\n\nGetPackage\x12\x36.google.devtools.artifactregistry.v1.GetPackageRequest\x1a,.google.devtools.artifactregistry.v1.Package\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/repositories/*/packages/*}\x12\x87\x02\n\rDeletePackage\x12\x39.google.devtools.artifactregistry.v1.DeletePackageRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.devtools.artifactregistry.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/repositories/*/packages/*}\x12\xdc\x01\n\x0cListVersions\x12\x38.google.devtools.artifactregistry.v1.ListVersionsRequest\x1a\x39.google.devtools.artifactregistry.v1.ListVersionsResponse\"W\xda\x41\x06parent\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/versions\x12\xc9\x01\n\nGetVersion\x12\x36.google.devtools.artifactregistry.v1.GetVersionRequest\x1a,.google.devtools.artifactregistry.v1.Version\"U\xda\x41\x04name\x82\xd3\xe4\x93\x02H\x12\x46/v1/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}\x12\x92\x02\n\rDeleteVersion\x12\x39.google.devtools.artifactregistry.v1.DeleteVersionRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.devtools.artifactregistry.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02H*F/v1/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}\x12\xbf\x02\n\x13\x42\x61tchDeleteVersions\x12?.google.devtools.artifactregistry.v1.BatchDeleteVersionsRequest\x1a\x1d.google.longrunning.Operation\"\xc7\x01\xca\x41X\n\x15google.protobuf.Empty\x12?google.devtools.artifactregistry.v1.BatchDeleteVersionsMetadata\xda\x41\x0cparent,names\x82\xd3\xe4\x93\x02W\"R/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/versions:batchDelete:\x01*\x12\xc5\x01\n\tListFiles\x12\x35.google.devtools.artifactregistry.v1.ListFilesRequest\x1a\x36.google.devtools.artifactregistry.v1.ListFilesResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/repositories/*}/files\x12\xb3\x01\n\x07GetFile\x12\x33.google.devtools.artifactregistry.v1.GetFileRequest\x1a).google.devtools.artifactregistry.v1.File\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/repositories/*/files/**}\x12\xcc\x01\n\x08ListTags\x12\x34.google.devtools.artifactregistry.v1.ListTagsRequest\x1a\x35.google.devtools.artifactregistry.v1.ListTagsResponse\"S\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/tags\x12\xb9\x01\n\x06GetTag\x12\x32.google.devtools.artifactregistry.v1.GetTagRequest\x1a(.google.devtools.artifactregistry.v1.Tag\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}\x12\xd1\x01\n\tCreateTag\x12\x35.google.devtools.artifactregistry.v1.CreateTagRequest\x1a(.google.devtools.artifactregistry.v1.Tag\"c\xda\x41\x11parent,tag,tag_id\x82\xd3\xe4\x93\x02I\"B/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/tags:\x03tag\x12\xd3\x01\n\tUpdateTag\x12\x35.google.devtools.artifactregistry.v1.UpdateTagRequest\x1a(.google.devtools.artifactregistry.v1.Tag\"e\xda\x41\x0ftag,update_mask\x82\xd3\xe4\x93\x02M2F/v1/{tag.name=projects/*/locations/*/repositories/*/packages/*/tags/*}:\x03tag\x12\xad\x01\n\tDeleteTag\x12\x35.google.devtools.artifactregistry.v1.DeleteTagRequest\x1a\x16.google.protobuf.Empty\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44*B/v1/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}\x12\x97\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"L\x82\xd3\xe4\x93\x02\x46\"A/v1/{resource=projects/*/locations/*/repositories/*}:setIamPolicy:\x01*\x12\x94\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{resource=projects/*/locations/*/repositories/*}:getIamPolicy\x12\xbd\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"R\x82\xd3\xe4\x93\x02L\"G/v1/{resource=projects/*/locations/*/repositories/*}:testIamPermissions:\x01*\x12\xc0\x01\n\x12GetProjectSettings\x12>.google.devtools.artifactregistry.v1.GetProjectSettingsRequest\x1a\x34.google.devtools.artifactregistry.v1.ProjectSettings\"4\xda\x41\x04name\x82\xd3\xe4\x93\x02\'\x12%/v1/{name=projects/*/projectSettings}\x12\x81\x02\n\x15UpdateProjectSettings\x12\x41.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest\x1a\x34.google.devtools.artifactregistry.v1.ProjectSettings\"o\xda\x41\x1cproject_settings,update_mask\x82\xd3\xe4\x93\x02J26/v1/{project_settings.name=projects/*/projectSettings}:\x10project_settings\x12\xbc\x01\n\x0eGetVPCSCConfig\x12:.google.devtools.artifactregistry.v1.GetVPCSCConfigRequest\x1a\x30.google.devtools.artifactregistry.v1.VPCSCConfig\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/vpcscConfig}\x12\xf1\x01\n\x11UpdateVPCSCConfig\x12=.google.devtools.artifactregistry.v1.UpdateVPCSCConfigRequest\x1a\x30.google.devtools.artifactregistry.v1.VPCSCConfig\"k\xda\x41\x18vpcsc_config,update_mask\x82\xd3\xe4\x93\x02J2:/v1/{vpcsc_config.name=projects/*/locations/*/vpcscConfig}:\x0cvpcsc_config\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\xf7\x01\n\'com.google.devtools.artifactregistry.v1B\x0cServiceProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
27
+ descriptor_data = "\n1google/devtools/artifactregistry/v1/service.proto\x12#google.devtools.artifactregistry.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x36google/devtools/artifactregistry/v1/apt_artifact.proto\x1a\x32google/devtools/artifactregistry/v1/artifact.proto\x1a\x34google/devtools/artifactregistry/v1/attachment.proto\x1a.google/devtools/artifactregistry/v1/file.proto\x1a\x31google/devtools/artifactregistry/v1/package.proto\x1a\x34google/devtools/artifactregistry/v1/repository.proto\x1a.google/devtools/artifactregistry/v1/rule.proto\x1a\x32google/devtools/artifactregistry/v1/settings.proto\x1a-google/devtools/artifactregistry/v1/tag.proto\x1a\x31google/devtools/artifactregistry/v1/version.proto\x1a\x36google/devtools/artifactregistry/v1/vpcsc_config.proto\x1a\x36google/devtools/artifactregistry/v1/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\xeaW\n\x10\x41rtifactRegistry\x12\xe1\x01\n\x10ListDockerImages\x12<.google.devtools.artifactregistry.v1.ListDockerImagesRequest\x1a=.google.devtools.artifactregistry.v1.ListDockerImagesResponse\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*/repositories/*}/dockerImages\x12\xce\x01\n\x0eGetDockerImage\x12:.google.devtools.artifactregistry.v1.GetDockerImageRequest\x1a\x30.google.devtools.artifactregistry.v1.DockerImage\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/repositories/*/dockerImages/*}\x12\xe9\x01\n\x12ListMavenArtifacts\x12>.google.devtools.artifactregistry.v1.ListMavenArtifactsRequest\x1a?.google.devtools.artifactregistry.v1.ListMavenArtifactsResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/repositories/*}/mavenArtifacts\x12\xd6\x01\n\x10GetMavenArtifact\x12<.google.devtools.artifactregistry.v1.GetMavenArtifactRequest\x1a\x32.google.devtools.artifactregistry.v1.MavenArtifact\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/repositories/*/mavenArtifacts/*}\x12\xdd\x01\n\x0fListNpmPackages\x12;.google.devtools.artifactregistry.v1.ListNpmPackagesRequest\x1a<.google.devtools.artifactregistry.v1.ListNpmPackagesResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/repositories/*}/npmPackages\x12\xca\x01\n\rGetNpmPackage\x12\x39.google.devtools.artifactregistry.v1.GetNpmPackageRequest\x1a/.google.devtools.artifactregistry.v1.NpmPackage\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/repositories/*/npmPackages/*}\x12\xe9\x01\n\x12ListPythonPackages\x12>.google.devtools.artifactregistry.v1.ListPythonPackagesRequest\x1a?.google.devtools.artifactregistry.v1.ListPythonPackagesResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/repositories/*}/pythonPackages\x12\xd6\x01\n\x10GetPythonPackage\x12<.google.devtools.artifactregistry.v1.GetPythonPackageRequest\x1a\x32.google.devtools.artifactregistry.v1.PythonPackage\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/repositories/*/pythonPackages/*}\x12\xcb\x02\n\x12ImportAptArtifacts\x12>.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest\x1a\x1d.google.longrunning.Operation\"\xd5\x01\xca\x41\x80\x01\n>google.devtools.artifactregistry.v1.ImportAptArtifactsResponse\x12>google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata\x82\xd3\xe4\x93\x02K\"F/v1/{parent=projects/*/locations/*/repositories/*}/aptArtifacts:import:\x01*\x12\xcb\x02\n\x12ImportYumArtifacts\x12>.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest\x1a\x1d.google.longrunning.Operation\"\xd5\x01\xca\x41\x80\x01\n>google.devtools.artifactregistry.v1.ImportYumArtifactsResponse\x12>google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata\x82\xd3\xe4\x93\x02K\"F/v1/{parent=projects/*/locations/*/repositories/*}/yumArtifacts:import:\x01*\x12\xd2\x01\n\x10ListRepositories\x12<.google.devtools.artifactregistry.v1.ListRepositoriesRequest\x1a=.google.devtools.artifactregistry.v1.ListRepositoriesResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/repositories\x12\xbc\x01\n\rGetRepository\x12\x39.google.devtools.artifactregistry.v1.GetRepositoryRequest\x1a/.google.devtools.artifactregistry.v1.Repository\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/repositories/*}\x12\xc2\x02\n\x10\x43reateRepository\x12<.google.devtools.artifactregistry.v1.CreateRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\xd0\x01\xca\x41g\n.google.devtools.artifactregistry.v1.Repository\x12\x35google.devtools.artifactregistry.v1.OperationMetadata\xda\x41\x1fparent,repository,repository_id\x82\xd3\xe4\x93\x02>\"0/v1/{parent=projects/*/locations/*}/repositories:\nrepository\x12\xeb\x01\n\x10UpdateRepository\x12<.google.devtools.artifactregistry.v1.UpdateRepositoryRequest\x1a/.google.devtools.artifactregistry.v1.Repository\"h\xda\x41\x16repository,update_mask\x82\xd3\xe4\x93\x02I2;/v1/{repository.name=projects/*/locations/*/repositories/*}:\nrepository\x12\x82\x02\n\x10\x44\x65leteRepository\x12<.google.devtools.artifactregistry.v1.DeleteRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\x90\x01\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.devtools.artifactregistry.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/repositories/*}\x12\xd1\x01\n\x0cListPackages\x12\x38.google.devtools.artifactregistry.v1.ListPackagesRequest\x1a\x39.google.devtools.artifactregistry.v1.ListPackagesResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/repositories/*}/packages\x12\xbe\x01\n\nGetPackage\x12\x36.google.devtools.artifactregistry.v1.GetPackageRequest\x1a,.google.devtools.artifactregistry.v1.Package\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/repositories/*/packages/*}\x12\x87\x02\n\rDeletePackage\x12\x39.google.devtools.artifactregistry.v1.DeletePackageRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.devtools.artifactregistry.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/repositories/*/packages/*}\x12\xdc\x01\n\x0cListVersions\x12\x38.google.devtools.artifactregistry.v1.ListVersionsRequest\x1a\x39.google.devtools.artifactregistry.v1.ListVersionsResponse\"W\xda\x41\x06parent\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/versions\x12\xc9\x01\n\nGetVersion\x12\x36.google.devtools.artifactregistry.v1.GetVersionRequest\x1a,.google.devtools.artifactregistry.v1.Version\"U\xda\x41\x04name\x82\xd3\xe4\x93\x02H\x12\x46/v1/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}\x12\x92\x02\n\rDeleteVersion\x12\x39.google.devtools.artifactregistry.v1.DeleteVersionRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.devtools.artifactregistry.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02H*F/v1/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}\x12\xbf\x02\n\x13\x42\x61tchDeleteVersions\x12?.google.devtools.artifactregistry.v1.BatchDeleteVersionsRequest\x1a\x1d.google.longrunning.Operation\"\xc7\x01\xca\x41X\n\x15google.protobuf.Empty\x12?google.devtools.artifactregistry.v1.BatchDeleteVersionsMetadata\xda\x41\x0cparent,names\x82\xd3\xe4\x93\x02W\"R/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/versions:batchDelete:\x01*\x12\xef\x01\n\rUpdateVersion\x12\x39.google.devtools.artifactregistry.v1.UpdateVersionRequest\x1a,.google.devtools.artifactregistry.v1.Version\"u\xda\x41\x13version,update_mask\x82\xd3\xe4\x93\x02Y2N/v1/{version.name=projects/*/locations/*/repositories/*/packages/*/versions/*}:\x07version\x12\xc5\x01\n\tListFiles\x12\x35.google.devtools.artifactregistry.v1.ListFilesRequest\x1a\x36.google.devtools.artifactregistry.v1.ListFilesResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/repositories/*}/files\x12\xb3\x01\n\x07GetFile\x12\x33.google.devtools.artifactregistry.v1.GetFileRequest\x1a).google.devtools.artifactregistry.v1.File\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/repositories/*/files/**}\x12\xfe\x01\n\nDeleteFile\x12\x36.google.devtools.artifactregistry.v1.DeleteFileRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.devtools.artifactregistry.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02:*8/v1/{name=projects/*/locations/*/repositories/*/files/*}\x12\xcf\x01\n\nUpdateFile\x12\x36.google.devtools.artifactregistry.v1.UpdateFileRequest\x1a).google.devtools.artifactregistry.v1.File\"^\xda\x41\x10\x66ile,update_mask\x82\xd3\xe4\x93\x02\x45\x32=/v1/{file.name=projects/*/locations/*/repositories/*/files/*}:\x04\x66ile\x12\xcc\x01\n\x08ListTags\x12\x34.google.devtools.artifactregistry.v1.ListTagsRequest\x1a\x35.google.devtools.artifactregistry.v1.ListTagsResponse\"S\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/tags\x12\xb9\x01\n\x06GetTag\x12\x32.google.devtools.artifactregistry.v1.GetTagRequest\x1a(.google.devtools.artifactregistry.v1.Tag\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}\x12\xd1\x01\n\tCreateTag\x12\x35.google.devtools.artifactregistry.v1.CreateTagRequest\x1a(.google.devtools.artifactregistry.v1.Tag\"c\xda\x41\x11parent,tag,tag_id\x82\xd3\xe4\x93\x02I\"B/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/tags:\x03tag\x12\xd3\x01\n\tUpdateTag\x12\x35.google.devtools.artifactregistry.v1.UpdateTagRequest\x1a(.google.devtools.artifactregistry.v1.Tag\"e\xda\x41\x0ftag,update_mask\x82\xd3\xe4\x93\x02M2F/v1/{tag.name=projects/*/locations/*/repositories/*/packages/*/tags/*}:\x03tag\x12\xad\x01\n\tDeleteTag\x12\x35.google.devtools.artifactregistry.v1.DeleteTagRequest\x1a\x16.google.protobuf.Empty\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44*B/v1/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}\x12\xcd\x01\n\nCreateRule\x12\x36.google.devtools.artifactregistry.v1.CreateRuleRequest\x1a).google.devtools.artifactregistry.v1.Rule\"\\\xda\x41\x13parent,rule,rule_id\x82\xd3\xe4\x93\x02@\"8/v1/{parent=projects/*/locations/*/repositories/*}/rules:\x04rule\x12\xc5\x01\n\tListRules\x12\x35.google.devtools.artifactregistry.v1.ListRulesRequest\x1a\x36.google.devtools.artifactregistry.v1.ListRulesResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/repositories/*}/rules\x12\xb2\x01\n\x07GetRule\x12\x33.google.devtools.artifactregistry.v1.GetRuleRequest\x1a).google.devtools.artifactregistry.v1.Rule\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v1/{name=projects/*/locations/*/repositories/*/rules/*}\x12\xcf\x01\n\nUpdateRule\x12\x36.google.devtools.artifactregistry.v1.UpdateRuleRequest\x1a).google.devtools.artifactregistry.v1.Rule\"^\xda\x41\x10rule,update_mask\x82\xd3\xe4\x93\x02\x45\x32=/v1/{rule.name=projects/*/locations/*/repositories/*/rules/*}:\x04rule\x12\xa5\x01\n\nDeleteRule\x12\x36.google.devtools.artifactregistry.v1.DeleteRuleRequest\x1a\x16.google.protobuf.Empty\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:*8/v1/{name=projects/*/locations/*/repositories/*/rules/*}\x12\x97\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"L\x82\xd3\xe4\x93\x02\x46\"A/v1/{resource=projects/*/locations/*/repositories/*}:setIamPolicy:\x01*\x12\x94\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{resource=projects/*/locations/*/repositories/*}:getIamPolicy\x12\xbd\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"R\x82\xd3\xe4\x93\x02L\"G/v1/{resource=projects/*/locations/*/repositories/*}:testIamPermissions:\x01*\x12\xc0\x01\n\x12GetProjectSettings\x12>.google.devtools.artifactregistry.v1.GetProjectSettingsRequest\x1a\x34.google.devtools.artifactregistry.v1.ProjectSettings\"4\xda\x41\x04name\x82\xd3\xe4\x93\x02\'\x12%/v1/{name=projects/*/projectSettings}\x12\x81\x02\n\x15UpdateProjectSettings\x12\x41.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest\x1a\x34.google.devtools.artifactregistry.v1.ProjectSettings\"o\xda\x41\x1cproject_settings,update_mask\x82\xd3\xe4\x93\x02J26/v1/{project_settings.name=projects/*/projectSettings}:\x10project_settings\x12\xbc\x01\n\x0eGetVPCSCConfig\x12:.google.devtools.artifactregistry.v1.GetVPCSCConfigRequest\x1a\x30.google.devtools.artifactregistry.v1.VPCSCConfig\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/vpcscConfig}\x12\xf1\x01\n\x11UpdateVPCSCConfig\x12=.google.devtools.artifactregistry.v1.UpdateVPCSCConfigRequest\x1a\x30.google.devtools.artifactregistry.v1.VPCSCConfig\"k\xda\x41\x18vpcsc_config,update_mask\x82\xd3\xe4\x93\x02J2:/v1/{vpcsc_config.name=projects/*/locations/*/vpcscConfig}:\x0cvpcsc_config\x12\xe4\x01\n\rUpdatePackage\x12\x39.google.devtools.artifactregistry.v1.UpdatePackageRequest\x1a,.google.devtools.artifactregistry.v1.Package\"j\xda\x41\x13package,update_mask\x82\xd3\xe4\x93\x02N2C/v1/{package.name=projects/*/locations/*/repositories/*/packages/*}:\x07package\x12\xdd\x01\n\x0fListAttachments\x12;.google.devtools.artifactregistry.v1.ListAttachmentsRequest\x1a<.google.devtools.artifactregistry.v1.ListAttachmentsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/repositories/*}/attachments\x12\xca\x01\n\rGetAttachment\x12\x39.google.devtools.artifactregistry.v1.GetAttachmentRequest\x1a/.google.devtools.artifactregistry.v1.Attachment\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/repositories/*/attachments/*}\x12\xd0\x02\n\x10\x43reateAttachment\x12<.google.devtools.artifactregistry.v1.CreateAttachmentRequest\x1a\x1d.google.longrunning.Operation\"\xde\x01\xca\x41g\n.google.devtools.artifactregistry.v1.Attachment\x12\x35google.devtools.artifactregistry.v1.OperationMetadata\xda\x41\x1fparent,attachment,attachment_id\x82\xd3\xe4\x93\x02L\">/v1/{parent=projects/*/locations/*/repositories/*}/attachments:\nattachment\x12\x90\x02\n\x10\x44\x65leteAttachment\x12<.google.devtools.artifactregistry.v1.DeleteAttachmentRequest\x1a\x1d.google.longrunning.Operation\"\x9e\x01\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.devtools.artifactregistry.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/repositories/*/attachments/*}\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\xf7\x01\n\'com.google.devtools.artifactregistry.v1B\x0cServiceProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
26
28
 
27
29
  pool = Google::Protobuf::DescriptorPool.generated_pool
28
30
 
@@ -101,10 +101,18 @@ module Google
101
101
  # Deletes multiple versions across a repository. The returned operation will
102
102
  # complete once the versions have been deleted.
103
103
  rpc :BatchDeleteVersions, ::Google::Cloud::ArtifactRegistry::V1::BatchDeleteVersionsRequest, ::Google::Longrunning::Operation
104
+ # Updates a version.
105
+ rpc :UpdateVersion, ::Google::Cloud::ArtifactRegistry::V1::UpdateVersionRequest, ::Google::Cloud::ArtifactRegistry::V1::Version
104
106
  # Lists files.
105
107
  rpc :ListFiles, ::Google::Cloud::ArtifactRegistry::V1::ListFilesRequest, ::Google::Cloud::ArtifactRegistry::V1::ListFilesResponse
106
108
  # Gets a file.
107
109
  rpc :GetFile, ::Google::Cloud::ArtifactRegistry::V1::GetFileRequest, ::Google::Cloud::ArtifactRegistry::V1::File
110
+ # Deletes a file and all of its content. It is only allowed on generic
111
+ # repositories. The returned operation will complete once the file has been
112
+ # deleted.
113
+ rpc :DeleteFile, ::Google::Cloud::ArtifactRegistry::V1::DeleteFileRequest, ::Google::Longrunning::Operation
114
+ # Updates a file.
115
+ rpc :UpdateFile, ::Google::Cloud::ArtifactRegistry::V1::UpdateFileRequest, ::Google::Cloud::ArtifactRegistry::V1::File
108
116
  # Lists tags.
109
117
  rpc :ListTags, ::Google::Cloud::ArtifactRegistry::V1::ListTagsRequest, ::Google::Cloud::ArtifactRegistry::V1::ListTagsResponse
110
118
  # Gets a tag.
@@ -115,6 +123,16 @@ module Google
115
123
  rpc :UpdateTag, ::Google::Cloud::ArtifactRegistry::V1::UpdateTagRequest, ::Google::Cloud::ArtifactRegistry::V1::Tag
116
124
  # Deletes a tag.
117
125
  rpc :DeleteTag, ::Google::Cloud::ArtifactRegistry::V1::DeleteTagRequest, ::Google::Protobuf::Empty
126
+ # Creates a rule.
127
+ rpc :CreateRule, ::Google::Cloud::ArtifactRegistry::V1::CreateRuleRequest, ::Google::Cloud::ArtifactRegistry::V1::Rule
128
+ # Lists rules.
129
+ rpc :ListRules, ::Google::Cloud::ArtifactRegistry::V1::ListRulesRequest, ::Google::Cloud::ArtifactRegistry::V1::ListRulesResponse
130
+ # Gets a rule.
131
+ rpc :GetRule, ::Google::Cloud::ArtifactRegistry::V1::GetRuleRequest, ::Google::Cloud::ArtifactRegistry::V1::Rule
132
+ # Updates a rule.
133
+ rpc :UpdateRule, ::Google::Cloud::ArtifactRegistry::V1::UpdateRuleRequest, ::Google::Cloud::ArtifactRegistry::V1::Rule
134
+ # Deletes a rule.
135
+ rpc :DeleteRule, ::Google::Cloud::ArtifactRegistry::V1::DeleteRuleRequest, ::Google::Protobuf::Empty
118
136
  # Updates the IAM policy for a given resource.
119
137
  rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
120
138
  # Gets the IAM policy for a given resource.
@@ -129,6 +147,19 @@ module Google
129
147
  rpc :GetVPCSCConfig, ::Google::Cloud::ArtifactRegistry::V1::GetVPCSCConfigRequest, ::Google::Cloud::ArtifactRegistry::V1::VPCSCConfig
130
148
  # Updates the VPCSC Config for the Project.
131
149
  rpc :UpdateVPCSCConfig, ::Google::Cloud::ArtifactRegistry::V1::UpdateVPCSCConfigRequest, ::Google::Cloud::ArtifactRegistry::V1::VPCSCConfig
150
+ # Updates a package.
151
+ rpc :UpdatePackage, ::Google::Cloud::ArtifactRegistry::V1::UpdatePackageRequest, ::Google::Cloud::ArtifactRegistry::V1::Package
152
+ # Lists attachments.
153
+ rpc :ListAttachments, ::Google::Cloud::ArtifactRegistry::V1::ListAttachmentsRequest, ::Google::Cloud::ArtifactRegistry::V1::ListAttachmentsResponse
154
+ # Gets an attachment.
155
+ rpc :GetAttachment, ::Google::Cloud::ArtifactRegistry::V1::GetAttachmentRequest, ::Google::Cloud::ArtifactRegistry::V1::Attachment
156
+ # Creates an attachment. The returned Operation will finish once the
157
+ # attachment has been created. Its response will be the created attachment.
158
+ rpc :CreateAttachment, ::Google::Cloud::ArtifactRegistry::V1::CreateAttachmentRequest, ::Google::Longrunning::Operation
159
+ # Deletes an attachment. The returned Operation will
160
+ # finish once the attachments has been deleted. It will not have any
161
+ # Operation metadata and will return a `google.protobuf.Empty` response.
162
+ rpc :DeleteAttachment, ::Google::Cloud::ArtifactRegistry::V1::DeleteAttachmentRequest, ::Google::Longrunning::Operation
132
163
  end
133
164
 
134
165
  Stub = Service.rpc_stub_class
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/protobuf/field_mask_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n2google/devtools/artifactregistry/v1/settings.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\x90\x03\n\x0fProjectSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12g\n\x18legacy_redirection_state\x18\x02 \x01(\x0e\x32\x45.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState\"\xab\x01\n\x10RedirectionState\x12!\n\x1dREDIRECTION_STATE_UNSPECIFIED\x10\x00\x12$\n REDIRECTION_FROM_GCR_IO_DISABLED\x10\x01\x12#\n\x1fREDIRECTION_FROM_GCR_IO_ENABLED\x10\x02\x12)\n!REDIRECTION_FROM_GCR_IO_FINALIZED\x10\x03\x1a\x02\x08\x01:X\xea\x41U\n/artifactregistry.googleapis.com/ProjectSettings\x12\"projects/{project}/projectSettings\"b\n\x19GetProjectSettingsRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/artifactregistry.googleapis.com/ProjectSettings\"\x9f\x01\n\x1cUpdateProjectSettingsRequest\x12N\n\x10project_settings\x18\x02 \x01(\x0b\x32\x34.google.devtools.artifactregistry.v1.ProjectSettings\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\xf8\x01\n\'com.google.devtools.artifactregistry.v1B\rSettingsProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
12
+ descriptor_data = "\n2google/devtools/artifactregistry/v1/settings.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\x88\x04\n\x0fProjectSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12g\n\x18legacy_redirection_state\x18\x02 \x01(\x0e\x32\x45.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState\x12\x14\n\x0cpull_percent\x18\x03 \x01(\x05\"\x8d\x02\n\x10RedirectionState\x12!\n\x1dREDIRECTION_STATE_UNSPECIFIED\x10\x00\x12$\n REDIRECTION_FROM_GCR_IO_DISABLED\x10\x01\x12#\n\x1fREDIRECTION_FROM_GCR_IO_ENABLED\x10\x02\x12)\n!REDIRECTION_FROM_GCR_IO_FINALIZED\x10\x03\x1a\x02\x08\x01\x12/\n+REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING\x10\x05\x12/\n+REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING\x10\x06:X\xea\x41U\n/artifactregistry.googleapis.com/ProjectSettings\x12\"projects/{project}/projectSettings\"b\n\x19GetProjectSettingsRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/artifactregistry.googleapis.com/ProjectSettings\"\x9f\x01\n\x1cUpdateProjectSettingsRequest\x12N\n\x10project_settings\x18\x02 \x01(\x0b\x32\x34.google.devtools.artifactregistry.v1.ProjectSettings\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\xf8\x01\n\'com.google.devtools.artifactregistry.v1B\rSettingsProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -7,11 +7,12 @@ require 'google/protobuf'
7
7
  require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
  require 'google/devtools/artifactregistry/v1/tag_pb'
10
+ require 'google/protobuf/field_mask_pb'
10
11
  require 'google/protobuf/struct_pb'
11
12
  require 'google/protobuf/timestamp_pb'
12
13
 
13
14
 
14
- descriptor_data = "\n1google/devtools/artifactregistry/v1/version.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/devtools/artifactregistry/v1/tag.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x97\x03\n\x07Version\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x0crelated_tags\x18\x07 \x03(\x0b\x32(.google.devtools.artifactregistry.v1.Tag\x12.\n\x08metadata\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03:\x96\x01\xea\x41\x92\x01\n\'artifactregistry.googleapis.com/Version\x12gprojects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}\"\xa3\x01\n\x13ListVersionsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12>\n\x04view\x18\x04 \x01(\x0e\x32\x30.google.devtools.artifactregistry.v1.VersionView\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"o\n\x14ListVersionsResponse\x12>\n\x08versions\x18\x01 \x03(\x0b\x32,.google.devtools.artifactregistry.v1.Version\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x11GetVersionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12>\n\x04view\x18\x02 \x01(\x0e\x32\x30.google.devtools.artifactregistry.v1.VersionView\"3\n\x14\x44\x65leteVersionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\xb1\x01\n\x1a\x42\x61tchDeleteVersionsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xfa\x41)\x12\'artifactregistry.googleapis.com/Version\x12>\n\x05names\x18\x02 \x03(\tB/\xe0\x41\x02\xfa\x41)\n\'artifactregistry.googleapis.com/Version\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"6\n\x1b\x42\x61tchDeleteVersionsMetadata\x12\x17\n\x0f\x66\x61iled_versions\x18\x02 \x03(\t*@\n\x0bVersionView\x12\x1c\n\x18VERSION_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x42\xf7\x01\n\'com.google.devtools.artifactregistry.v1B\x0cVersionProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
15
+ descriptor_data = "\n1google/devtools/artifactregistry/v1/version.proto\x12#google.devtools.artifactregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/devtools/artifactregistry/v1/tag.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa4\x04\n\x07Version\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x0crelated_tags\x18\x07 \x03(\x0b\x32(.google.devtools.artifactregistry.v1.Tag\x12.\n\x08metadata\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03\x12W\n\x0b\x61nnotations\x18\t \x03(\x0b\x32=.google.devtools.artifactregistry.v1.Version.AnnotationsEntryB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x96\x01\xea\x41\x92\x01\n\'artifactregistry.googleapis.com/Version\x12gprojects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}\"\xb8\x01\n\x13ListVersionsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12>\n\x04view\x18\x04 \x01(\x0e\x32\x30.google.devtools.artifactregistry.v1.VersionView\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x06 \x01(\tB\x03\xe0\x41\x01\"o\n\x14ListVersionsResponse\x12>\n\x08versions\x18\x01 \x03(\x0b\x32,.google.devtools.artifactregistry.v1.Version\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x11GetVersionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12>\n\x04view\x18\x02 \x01(\x0e\x32\x30.google.devtools.artifactregistry.v1.VersionView\"3\n\x14\x44\x65leteVersionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\xb1\x01\n\x1a\x42\x61tchDeleteVersionsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xfa\x41)\x12\'artifactregistry.googleapis.com/Version\x12>\n\x05names\x18\x02 \x03(\tB/\xe0\x41\x02\xfa\x41)\n\'artifactregistry.googleapis.com/Version\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"6\n\x1b\x42\x61tchDeleteVersionsMetadata\x12\x17\n\x0f\x66\x61iled_versions\x18\x02 \x03(\t\"\x8b\x01\n\x14UpdateVersionRequest\x12\x42\n\x07version\x18\x01 \x01(\x0b\x32,.google.devtools.artifactregistry.v1.VersionB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask*@\n\x0bVersionView\x12\x1c\n\x18VERSION_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x42\xf7\x01\n\'com.google.devtools.artifactregistry.v1B\x0cVersionProtoP\x01ZPcloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb\xaa\x02 Google.Cloud.ArtifactRegistry.V1\xca\x02 Google\\Cloud\\ArtifactRegistry\\V1\xea\x02#Google::Cloud::ArtifactRegistry::V1b\x06proto3"
15
16
 
16
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
18
 
@@ -29,6 +30,7 @@ rescue TypeError
29
30
  ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
31
  ["google.devtools.artifactregistry.v1.Tag", "google/devtools/artifactregistry/v1/tag.proto"],
31
32
  ["google.protobuf.Struct", "google/protobuf/struct.proto"],
33
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
32
34
  ]
33
35
  imports.each do |type_name, expected_filename|
34
36
  import_file = pool.lookup(type_name).file_descriptor
@@ -51,6 +53,7 @@ module Google
51
53
  DeleteVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.DeleteVersionRequest").msgclass
52
54
  BatchDeleteVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.BatchDeleteVersionsRequest").msgclass
53
55
  BatchDeleteVersionsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.BatchDeleteVersionsMetadata").msgclass
56
+ UpdateVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.UpdateVersionRequest").msgclass
54
57
  VersionView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.VersionView").enummodule
55
58
  end
56
59
  end
@@ -28,6 +28,9 @@ module Google
28
28
  # @!attribute [rw] destinations
29
29
  # @return [::Array<::Google::Api::ClientLibraryDestination>]
30
30
  # The destination where API teams want this client library to be published.
31
+ # @!attribute [rw] selective_gapic_generation
32
+ # @return [::Google::Api::SelectiveGapicGeneration]
33
+ # Configuration for which RPCs should be generated in the GAPIC client.
31
34
  class CommonLanguageSettings
32
35
  include ::Google::Protobuf::MessageExts
33
36
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -212,6 +215,12 @@ module Google
212
215
  # enabled. By default, asynchronous REST clients will not be generated.
213
216
  # This feature will be enabled by default 1 month after launching the
214
217
  # feature in preview packages.
218
+ # @!attribute [rw] protobuf_pythonic_types_enabled
219
+ # @return [::Boolean]
220
+ # Enables generation of protobuf code using new types that are more
221
+ # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
+ # enabled by default 1 month after launching the feature in preview
223
+ # packages.
215
224
  class ExperimentalFeatures
216
225
  include ::Google::Protobuf::MessageExts
217
226
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -375,6 +384,17 @@ module Google
375
384
  end
376
385
  end
377
386
 
387
+ # This message is used to configure the generation of a subset of the RPCs in
388
+ # a service for client libraries.
389
+ # @!attribute [rw] methods
390
+ # @return [::Array<::String>]
391
+ # An allowlist of the fully qualified names of RPCs that should be included
392
+ # on public client surfaces.
393
+ class SelectiveGapicGeneration
394
+ include ::Google::Protobuf::MessageExts
395
+ extend ::Google::Protobuf::MessageExts::ClassMethods
396
+ end
397
+
378
398
  # The organization for which the client libraries are being published.
379
399
  # Affects the url where generated docs are published, etc.
380
400
  module ClientLibraryOrganization