google-cloud-artifact_registry-v1beta2 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +75 -0
- data/lib/google-cloud-artifact_registry-v1beta2.rb +21 -0
- data/lib/google/cloud/artifact_registry/v1beta2.rb +35 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry.rb +62 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/client.rb +2083 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/credentials.rb +52 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/operations.rb +570 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/paths.rb +52 -0
- data/lib/google/cloud/artifact_registry/v1beta2/version.rb +28 -0
- data/lib/google/devtools/artifactregistry/v1beta2/file_pb.rb +56 -0
- data/lib/google/devtools/artifactregistry/v1beta2/package_pb.rb +46 -0
- data/lib/google/devtools/artifactregistry/v1beta2/repository_pb.rb +67 -0
- data/lib/google/devtools/artifactregistry/v1beta2/service_pb.rb +32 -0
- data/lib/google/devtools/artifactregistry/v1beta2/service_services_pb.rb +102 -0
- data/lib/google/devtools/artifactregistry/v1beta2/settings_pb.rb +22 -0
- data/lib/google/devtools/artifactregistry/v1beta2/tag_pb.rb +56 -0
- data/lib/google/devtools/artifactregistry/v1beta2/version_pb.rb +57 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +283 -0
- data/proto_docs/google/devtools/artifactregistry/v1beta2/file.rb +123 -0
- data/proto_docs/google/devtools/artifactregistry/v1beta2/package.rb +93 -0
- data/proto_docs/google/devtools/artifactregistry/v1beta2/repository.rb +155 -0
- data/proto_docs/google/devtools/artifactregistry/v1beta2/service.rb +32 -0
- data/proto_docs/google/devtools/artifactregistry/v1beta2/tag.rb +128 -0
- data/proto_docs/google/devtools/artifactregistry/v1beta2/version.rb +122 -0
- data/proto_docs/google/iam/v1/iam_policy.rb +80 -0
- data/proto_docs/google/iam/v1/options.rb +40 -0
- data/proto_docs/google/iam/v1/policy.rb +248 -0
- data/proto_docs/google/longrunning/operations.rb +150 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/expr.rb +52 -0
- metadata +242 -0
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module ArtifactRegistry
|
23
|
+
module V1beta2
|
24
|
+
module ArtifactRegistry
|
25
|
+
# Path helper methods for the ArtifactRegistry API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified Repository resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/locations/{location}/repositories/{repository}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param repository [String]
|
37
|
+
#
|
38
|
+
# @return [::String]
|
39
|
+
def repository_path project:, location:, repository:
|
40
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
41
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
42
|
+
|
43
|
+
"projects/#{project}/locations/#{location}/repositories/#{repository}"
|
44
|
+
end
|
45
|
+
|
46
|
+
extend self
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module ArtifactRegistry
|
23
|
+
module V1beta2
|
24
|
+
VERSION = "0.1.0"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/devtools/artifactregistry/v1beta2/file.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/resource_pb'
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'google/api/annotations_pb'
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("google/devtools/artifactregistry/v1beta2/file.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.devtools.artifactregistry.v1beta2.Hash" do
|
12
|
+
optional :type, :enum, 1, "google.devtools.artifactregistry.v1beta2.Hash.HashType"
|
13
|
+
optional :value, :bytes, 2
|
14
|
+
end
|
15
|
+
add_enum "google.devtools.artifactregistry.v1beta2.Hash.HashType" do
|
16
|
+
value :HASH_TYPE_UNSPECIFIED, 0
|
17
|
+
value :SHA256, 1
|
18
|
+
end
|
19
|
+
add_message "google.devtools.artifactregistry.v1beta2.File" do
|
20
|
+
optional :name, :string, 1
|
21
|
+
optional :size_bytes, :int64, 3
|
22
|
+
repeated :hashes, :message, 4, "google.devtools.artifactregistry.v1beta2.Hash"
|
23
|
+
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
24
|
+
optional :update_time, :message, 6, "google.protobuf.Timestamp"
|
25
|
+
optional :owner, :string, 7
|
26
|
+
end
|
27
|
+
add_message "google.devtools.artifactregistry.v1beta2.ListFilesRequest" do
|
28
|
+
optional :parent, :string, 1
|
29
|
+
optional :filter, :string, 4
|
30
|
+
optional :page_size, :int32, 2
|
31
|
+
optional :page_token, :string, 3
|
32
|
+
end
|
33
|
+
add_message "google.devtools.artifactregistry.v1beta2.ListFilesResponse" do
|
34
|
+
repeated :files, :message, 1, "google.devtools.artifactregistry.v1beta2.File"
|
35
|
+
optional :next_page_token, :string, 2
|
36
|
+
end
|
37
|
+
add_message "google.devtools.artifactregistry.v1beta2.GetFileRequest" do
|
38
|
+
optional :name, :string, 1
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
module Google
|
44
|
+
module Cloud
|
45
|
+
module ArtifactRegistry
|
46
|
+
module V1beta2
|
47
|
+
Hash = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.Hash").msgclass
|
48
|
+
Hash::HashType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.Hash.HashType").enummodule
|
49
|
+
File = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.File").msgclass
|
50
|
+
ListFilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.ListFilesRequest").msgclass
|
51
|
+
ListFilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.ListFilesResponse").msgclass
|
52
|
+
GetFileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.GetFileRequest").msgclass
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/devtools/artifactregistry/v1beta2/package.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("google/devtools/artifactregistry/v1beta2/package.proto", :syntax => :proto3) do
|
10
|
+
add_message "google.devtools.artifactregistry.v1beta2.Package" do
|
11
|
+
optional :name, :string, 1
|
12
|
+
optional :display_name, :string, 2
|
13
|
+
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
14
|
+
optional :update_time, :message, 6, "google.protobuf.Timestamp"
|
15
|
+
end
|
16
|
+
add_message "google.devtools.artifactregistry.v1beta2.ListPackagesRequest" do
|
17
|
+
optional :parent, :string, 1
|
18
|
+
optional :page_size, :int32, 2
|
19
|
+
optional :page_token, :string, 3
|
20
|
+
end
|
21
|
+
add_message "google.devtools.artifactregistry.v1beta2.ListPackagesResponse" do
|
22
|
+
repeated :packages, :message, 1, "google.devtools.artifactregistry.v1beta2.Package"
|
23
|
+
optional :next_page_token, :string, 2
|
24
|
+
end
|
25
|
+
add_message "google.devtools.artifactregistry.v1beta2.GetPackageRequest" do
|
26
|
+
optional :name, :string, 1
|
27
|
+
end
|
28
|
+
add_message "google.devtools.artifactregistry.v1beta2.DeletePackageRequest" do
|
29
|
+
optional :name, :string, 1
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
module Google
|
35
|
+
module Cloud
|
36
|
+
module ArtifactRegistry
|
37
|
+
module V1beta2
|
38
|
+
Package = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.Package").msgclass
|
39
|
+
ListPackagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.ListPackagesRequest").msgclass
|
40
|
+
ListPackagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.ListPackagesResponse").msgclass
|
41
|
+
GetPackageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.GetPackageRequest").msgclass
|
42
|
+
DeletePackageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.DeletePackageRequest").msgclass
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/devtools/artifactregistry/v1beta2/repository.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/resource_pb'
|
7
|
+
require 'google/protobuf/field_mask_pb'
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
9
|
+
require 'google/api/annotations_pb'
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("google/devtools/artifactregistry/v1beta2/repository.proto", :syntax => :proto3) do
|
12
|
+
add_message "google.devtools.artifactregistry.v1beta2.Repository" do
|
13
|
+
optional :name, :string, 1
|
14
|
+
optional :format, :enum, 2, "google.devtools.artifactregistry.v1beta2.Repository.Format"
|
15
|
+
optional :description, :string, 3
|
16
|
+
map :labels, :string, :string, 4
|
17
|
+
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
18
|
+
optional :update_time, :message, 6, "google.protobuf.Timestamp"
|
19
|
+
optional :kms_key_name, :string, 8
|
20
|
+
end
|
21
|
+
add_enum "google.devtools.artifactregistry.v1beta2.Repository.Format" do
|
22
|
+
value :FORMAT_UNSPECIFIED, 0
|
23
|
+
value :DOCKER, 1
|
24
|
+
end
|
25
|
+
add_message "google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest" do
|
26
|
+
optional :parent, :string, 1
|
27
|
+
optional :page_size, :int32, 2
|
28
|
+
optional :page_token, :string, 3
|
29
|
+
end
|
30
|
+
add_message "google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse" do
|
31
|
+
repeated :repositories, :message, 1, "google.devtools.artifactregistry.v1beta2.Repository"
|
32
|
+
optional :next_page_token, :string, 2
|
33
|
+
end
|
34
|
+
add_message "google.devtools.artifactregistry.v1beta2.GetRepositoryRequest" do
|
35
|
+
optional :name, :string, 1
|
36
|
+
end
|
37
|
+
add_message "google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest" do
|
38
|
+
optional :parent, :string, 1
|
39
|
+
optional :repository_id, :string, 2
|
40
|
+
optional :repository, :message, 3, "google.devtools.artifactregistry.v1beta2.Repository"
|
41
|
+
end
|
42
|
+
add_message "google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest" do
|
43
|
+
optional :repository, :message, 1, "google.devtools.artifactregistry.v1beta2.Repository"
|
44
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
45
|
+
end
|
46
|
+
add_message "google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest" do
|
47
|
+
optional :name, :string, 1
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
module Google
|
53
|
+
module Cloud
|
54
|
+
module ArtifactRegistry
|
55
|
+
module V1beta2
|
56
|
+
Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.Repository").msgclass
|
57
|
+
Repository::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.Repository.Format").enummodule
|
58
|
+
ListRepositoriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest").msgclass
|
59
|
+
ListRepositoriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse").msgclass
|
60
|
+
GetRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.GetRepositoryRequest").msgclass
|
61
|
+
CreateRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest").msgclass
|
62
|
+
UpdateRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest").msgclass
|
63
|
+
DeleteRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest").msgclass
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/devtools/artifactregistry/v1beta2/service.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/client_pb'
|
8
|
+
require 'google/devtools/artifactregistry/v1beta2/file_pb'
|
9
|
+
require 'google/devtools/artifactregistry/v1beta2/package_pb'
|
10
|
+
require 'google/devtools/artifactregistry/v1beta2/repository_pb'
|
11
|
+
require 'google/devtools/artifactregistry/v1beta2/tag_pb'
|
12
|
+
require 'google/devtools/artifactregistry/v1beta2/version_pb'
|
13
|
+
require 'google/iam/v1/iam_policy_pb'
|
14
|
+
require 'google/iam/v1/policy_pb'
|
15
|
+
require 'google/longrunning/operations_pb'
|
16
|
+
require 'google/protobuf/empty_pb'
|
17
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
18
|
+
add_file("google/devtools/artifactregistry/v1beta2/service.proto", :syntax => :proto3) do
|
19
|
+
add_message "google.devtools.artifactregistry.v1beta2.OperationMetadata" do
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
module Google
|
25
|
+
module Cloud
|
26
|
+
module ArtifactRegistry
|
27
|
+
module V1beta2
|
28
|
+
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.OperationMetadata").msgclass
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/devtools/artifactregistry/v1beta2/service.proto for package 'Google.Cloud.ArtifactRegistry.V1beta2'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2020 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/devtools/artifactregistry/v1beta2/service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module ArtifactRegistry
|
25
|
+
module V1beta2
|
26
|
+
module ArtifactRegistry
|
27
|
+
# The Artifact Registry API service.
|
28
|
+
#
|
29
|
+
# Artifact Registry is an artifact management system for storing artifacts
|
30
|
+
# from different package management systems.
|
31
|
+
#
|
32
|
+
# The resources managed by this API are:
|
33
|
+
#
|
34
|
+
# * Repositories, which group packages and their data.
|
35
|
+
# * Packages, which group versions and their tags.
|
36
|
+
# * Versions, which are specific forms of a package.
|
37
|
+
# * Tags, which represent alternative names for versions.
|
38
|
+
# * Files, which contain content and are optionally associated with a Package
|
39
|
+
# or Version.
|
40
|
+
class Service
|
41
|
+
|
42
|
+
include GRPC::GenericService
|
43
|
+
|
44
|
+
self.marshal_class_method = :encode
|
45
|
+
self.unmarshal_class_method = :decode
|
46
|
+
self.service_name = 'google.devtools.artifactregistry.v1beta2.ArtifactRegistry'
|
47
|
+
|
48
|
+
# Lists repositories.
|
49
|
+
rpc :ListRepositories, ::Google::Cloud::ArtifactRegistry::V1beta2::ListRepositoriesRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::ListRepositoriesResponse
|
50
|
+
# Gets a repository.
|
51
|
+
rpc :GetRepository, ::Google::Cloud::ArtifactRegistry::V1beta2::GetRepositoryRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::Repository
|
52
|
+
# Creates a repository. The returned Operation will finish once the
|
53
|
+
# repository has been created. Its response will be the created Repository.
|
54
|
+
rpc :CreateRepository, ::Google::Cloud::ArtifactRegistry::V1beta2::CreateRepositoryRequest, ::Google::Longrunning::Operation
|
55
|
+
# Updates a repository.
|
56
|
+
rpc :UpdateRepository, ::Google::Cloud::ArtifactRegistry::V1beta2::UpdateRepositoryRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::Repository
|
57
|
+
# Deletes a repository and all of its contents. The returned Operation will
|
58
|
+
# finish once the repository has been deleted. It will not have any Operation
|
59
|
+
# metadata and will return a google.protobuf.Empty response.
|
60
|
+
rpc :DeleteRepository, ::Google::Cloud::ArtifactRegistry::V1beta2::DeleteRepositoryRequest, ::Google::Longrunning::Operation
|
61
|
+
# Lists packages.
|
62
|
+
rpc :ListPackages, ::Google::Cloud::ArtifactRegistry::V1beta2::ListPackagesRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::ListPackagesResponse
|
63
|
+
# Gets a package.
|
64
|
+
rpc :GetPackage, ::Google::Cloud::ArtifactRegistry::V1beta2::GetPackageRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::Package
|
65
|
+
# Deletes a package and all of its versions and tags. The returned operation
|
66
|
+
# will complete once the package has been deleted.
|
67
|
+
rpc :DeletePackage, ::Google::Cloud::ArtifactRegistry::V1beta2::DeletePackageRequest, ::Google::Longrunning::Operation
|
68
|
+
# Lists versions.
|
69
|
+
rpc :ListVersions, ::Google::Cloud::ArtifactRegistry::V1beta2::ListVersionsRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::ListVersionsResponse
|
70
|
+
# Gets a version
|
71
|
+
rpc :GetVersion, ::Google::Cloud::ArtifactRegistry::V1beta2::GetVersionRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::Version
|
72
|
+
# Deletes a version and all of its content. The returned operation will
|
73
|
+
# complete once the version has been deleted.
|
74
|
+
rpc :DeleteVersion, ::Google::Cloud::ArtifactRegistry::V1beta2::DeleteVersionRequest, ::Google::Longrunning::Operation
|
75
|
+
# Lists files.
|
76
|
+
rpc :ListFiles, ::Google::Cloud::ArtifactRegistry::V1beta2::ListFilesRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::ListFilesResponse
|
77
|
+
# Gets a file.
|
78
|
+
rpc :GetFile, ::Google::Cloud::ArtifactRegistry::V1beta2::GetFileRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::File
|
79
|
+
# Lists tags.
|
80
|
+
rpc :ListTags, ::Google::Cloud::ArtifactRegistry::V1beta2::ListTagsRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::ListTagsResponse
|
81
|
+
# Gets a tag.
|
82
|
+
rpc :GetTag, ::Google::Cloud::ArtifactRegistry::V1beta2::GetTagRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::Tag
|
83
|
+
# Creates a tag.
|
84
|
+
rpc :CreateTag, ::Google::Cloud::ArtifactRegistry::V1beta2::CreateTagRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::Tag
|
85
|
+
# Updates a tag.
|
86
|
+
rpc :UpdateTag, ::Google::Cloud::ArtifactRegistry::V1beta2::UpdateTagRequest, ::Google::Cloud::ArtifactRegistry::V1beta2::Tag
|
87
|
+
# Deletes a tag.
|
88
|
+
rpc :DeleteTag, ::Google::Cloud::ArtifactRegistry::V1beta2::DeleteTagRequest, ::Google::Protobuf::Empty
|
89
|
+
# Updates the IAM policy for a given resource.
|
90
|
+
rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
|
91
|
+
# Gets the IAM policy for a given resource.
|
92
|
+
rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
|
93
|
+
# Tests if the caller has a list of permissions on a resource.
|
94
|
+
rpc :TestIamPermissions, ::Google::Iam::V1::TestIamPermissionsRequest, ::Google::Iam::V1::TestIamPermissionsResponse
|
95
|
+
end
|
96
|
+
|
97
|
+
Stub = Service.rpc_stub_class
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/devtools/artifactregistry/v1beta2/settings.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
require 'google/protobuf/field_mask_pb'
|
9
|
+
require 'google/api/annotations_pb'
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("google/devtools/artifactregistry/v1beta2/settings.proto", :syntax => :proto3) do
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Cloud
|
17
|
+
module ArtifactRegistry
|
18
|
+
module V1beta2
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/devtools/artifactregistry/v1beta2/tag.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/field_mask_pb'
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("google/devtools/artifactregistry/v1beta2/tag.proto", :syntax => :proto3) do
|
10
|
+
add_message "google.devtools.artifactregistry.v1beta2.Tag" do
|
11
|
+
optional :name, :string, 1
|
12
|
+
optional :version, :string, 2
|
13
|
+
end
|
14
|
+
add_message "google.devtools.artifactregistry.v1beta2.ListTagsRequest" do
|
15
|
+
optional :parent, :string, 1
|
16
|
+
optional :filter, :string, 4
|
17
|
+
optional :page_size, :int32, 2
|
18
|
+
optional :page_token, :string, 3
|
19
|
+
end
|
20
|
+
add_message "google.devtools.artifactregistry.v1beta2.ListTagsResponse" do
|
21
|
+
repeated :tags, :message, 1, "google.devtools.artifactregistry.v1beta2.Tag"
|
22
|
+
optional :next_page_token, :string, 2
|
23
|
+
end
|
24
|
+
add_message "google.devtools.artifactregistry.v1beta2.GetTagRequest" do
|
25
|
+
optional :name, :string, 1
|
26
|
+
end
|
27
|
+
add_message "google.devtools.artifactregistry.v1beta2.CreateTagRequest" do
|
28
|
+
optional :parent, :string, 1
|
29
|
+
optional :tag_id, :string, 2
|
30
|
+
optional :tag, :message, 3, "google.devtools.artifactregistry.v1beta2.Tag"
|
31
|
+
end
|
32
|
+
add_message "google.devtools.artifactregistry.v1beta2.UpdateTagRequest" do
|
33
|
+
optional :tag, :message, 1, "google.devtools.artifactregistry.v1beta2.Tag"
|
34
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
35
|
+
end
|
36
|
+
add_message "google.devtools.artifactregistry.v1beta2.DeleteTagRequest" do
|
37
|
+
optional :name, :string, 1
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
module Google
|
43
|
+
module Cloud
|
44
|
+
module ArtifactRegistry
|
45
|
+
module V1beta2
|
46
|
+
Tag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.Tag").msgclass
|
47
|
+
ListTagsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.ListTagsRequest").msgclass
|
48
|
+
ListTagsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.ListTagsResponse").msgclass
|
49
|
+
GetTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.GetTagRequest").msgclass
|
50
|
+
CreateTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.CreateTagRequest").msgclass
|
51
|
+
UpdateTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.UpdateTagRequest").msgclass
|
52
|
+
DeleteTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1beta2.DeleteTagRequest").msgclass
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|