google-cloud-artifact_registry-v1 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/client.rb +815 -38
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/paths.rb +122 -0
- data/lib/google/cloud/artifact_registry/v1/version.rb +1 -1
- data/lib/google/devtools/artifactregistry/v1/artifact_pb.rb +75 -0
- data/lib/google/devtools/artifactregistry/v1/file_pb.rb +2 -0
- data/lib/google/devtools/artifactregistry/v1/package_pb.rb +1 -0
- data/lib/google/devtools/artifactregistry/v1/service_pb.rb +1 -0
- data/lib/google/devtools/artifactregistry/v1/service_services_pb.rb +16 -0
- data/lib/google/devtools/artifactregistry/v1/version_pb.rb +4 -0
- data/lib/google/devtools/artifactregistry/v1/vpcsc_config_pb.rb +42 -0
- data/proto_docs/google/devtools/artifactregistry/v1/artifact.rb +226 -3
- data/proto_docs/google/devtools/artifactregistry/v1/file.rb +11 -7
- data/proto_docs/google/devtools/artifactregistry/v1/version.rb +11 -1
- data/proto_docs/google/devtools/artifactregistry/v1/vpcsc_config.rb +82 -0
- metadata +7 -5
@@ -45,6 +45,27 @@ module Google
|
|
45
45
|
"projects/#{project}/locations/#{location}/repositories/#{repository}/dockerImages/#{docker_image}"
|
46
46
|
end
|
47
47
|
|
48
|
+
##
|
49
|
+
# Create a fully-qualified File resource string.
|
50
|
+
#
|
51
|
+
# The resource will be in the following format:
|
52
|
+
#
|
53
|
+
# `projects/{project}/locations/{location}/repositories/{repository}/files/{file}`
|
54
|
+
#
|
55
|
+
# @param project [String]
|
56
|
+
# @param location [String]
|
57
|
+
# @param repository [String]
|
58
|
+
# @param file [String]
|
59
|
+
#
|
60
|
+
# @return [::String]
|
61
|
+
def file_path project:, location:, repository:, file:
|
62
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
63
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
64
|
+
raise ::ArgumentError, "repository cannot contain /" if repository.to_s.include? "/"
|
65
|
+
|
66
|
+
"projects/#{project}/locations/#{location}/repositories/#{repository}/files/#{file}"
|
67
|
+
end
|
68
|
+
|
48
69
|
##
|
49
70
|
# Create a fully-qualified Location resource string.
|
50
71
|
#
|
@@ -62,6 +83,69 @@ module Google
|
|
62
83
|
"projects/#{project}/locations/#{location}"
|
63
84
|
end
|
64
85
|
|
86
|
+
##
|
87
|
+
# Create a fully-qualified MavenArtifact resource string.
|
88
|
+
#
|
89
|
+
# The resource will be in the following format:
|
90
|
+
#
|
91
|
+
# `projects/{project}/locations/{location}/repositories/{repository}/mavenArtifacts/{maven_artifact}`
|
92
|
+
#
|
93
|
+
# @param project [String]
|
94
|
+
# @param location [String]
|
95
|
+
# @param repository [String]
|
96
|
+
# @param maven_artifact [String]
|
97
|
+
#
|
98
|
+
# @return [::String]
|
99
|
+
def maven_artifact_path project:, location:, repository:, maven_artifact:
|
100
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
101
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
102
|
+
raise ::ArgumentError, "repository cannot contain /" if repository.to_s.include? "/"
|
103
|
+
|
104
|
+
"projects/#{project}/locations/#{location}/repositories/#{repository}/mavenArtifacts/#{maven_artifact}"
|
105
|
+
end
|
106
|
+
|
107
|
+
##
|
108
|
+
# Create a fully-qualified NpmPackage resource string.
|
109
|
+
#
|
110
|
+
# The resource will be in the following format:
|
111
|
+
#
|
112
|
+
# `projects/{project}/locations/{location}/repositories/{repository}/npmPackages/{npm_package}`
|
113
|
+
#
|
114
|
+
# @param project [String]
|
115
|
+
# @param location [String]
|
116
|
+
# @param repository [String]
|
117
|
+
# @param npm_package [String]
|
118
|
+
#
|
119
|
+
# @return [::String]
|
120
|
+
def npm_package_path project:, location:, repository:, npm_package:
|
121
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
122
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
123
|
+
raise ::ArgumentError, "repository cannot contain /" if repository.to_s.include? "/"
|
124
|
+
|
125
|
+
"projects/#{project}/locations/#{location}/repositories/#{repository}/npmPackages/#{npm_package}"
|
126
|
+
end
|
127
|
+
|
128
|
+
##
|
129
|
+
# Create a fully-qualified Package resource string.
|
130
|
+
#
|
131
|
+
# The resource will be in the following format:
|
132
|
+
#
|
133
|
+
# `projects/{project}/locations/{location}/repositories/{repository}/packages/{package}`
|
134
|
+
#
|
135
|
+
# @param project [String]
|
136
|
+
# @param location [String]
|
137
|
+
# @param repository [String]
|
138
|
+
# @param package [String]
|
139
|
+
#
|
140
|
+
# @return [::String]
|
141
|
+
def package_path project:, location:, repository:, package:
|
142
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
143
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
144
|
+
raise ::ArgumentError, "repository cannot contain /" if repository.to_s.include? "/"
|
145
|
+
|
146
|
+
"projects/#{project}/locations/#{location}/repositories/#{repository}/packages/#{package}"
|
147
|
+
end
|
148
|
+
|
65
149
|
##
|
66
150
|
# Create a fully-qualified ProjectSettings resource string.
|
67
151
|
#
|
@@ -76,6 +160,27 @@ module Google
|
|
76
160
|
"projects/#{project}/projectSettings"
|
77
161
|
end
|
78
162
|
|
163
|
+
##
|
164
|
+
# Create a fully-qualified PythonPackage resource string.
|
165
|
+
#
|
166
|
+
# The resource will be in the following format:
|
167
|
+
#
|
168
|
+
# `projects/{project}/locations/{location}/repositories/{repository}/pythonPackages/{python_package}`
|
169
|
+
#
|
170
|
+
# @param project [String]
|
171
|
+
# @param location [String]
|
172
|
+
# @param repository [String]
|
173
|
+
# @param python_package [String]
|
174
|
+
#
|
175
|
+
# @return [::String]
|
176
|
+
def python_package_path project:, location:, repository:, python_package:
|
177
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
178
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
179
|
+
raise ::ArgumentError, "repository cannot contain /" if repository.to_s.include? "/"
|
180
|
+
|
181
|
+
"projects/#{project}/locations/#{location}/repositories/#{repository}/pythonPackages/#{python_package}"
|
182
|
+
end
|
183
|
+
|
79
184
|
##
|
80
185
|
# Create a fully-qualified Repository resource string.
|
81
186
|
#
|
@@ -118,6 +223,23 @@ module Google
|
|
118
223
|
"projects/#{project}/locations/#{location}/repositories/#{repository}/packages/#{package}/tags/#{tag}"
|
119
224
|
end
|
120
225
|
|
226
|
+
##
|
227
|
+
# Create a fully-qualified VpcscConfig resource string.
|
228
|
+
#
|
229
|
+
# The resource will be in the following format:
|
230
|
+
#
|
231
|
+
# `projects/{project}/locations/{location}/vpcscConfig`
|
232
|
+
#
|
233
|
+
# @param project [String]
|
234
|
+
# @param location [String]
|
235
|
+
#
|
236
|
+
# @return [::String]
|
237
|
+
def vpcsc_config_path project:, location:
|
238
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
239
|
+
|
240
|
+
"projects/#{project}/locations/#{location}/vpcscConfig"
|
241
|
+
end
|
242
|
+
|
121
243
|
extend self
|
122
244
|
end
|
123
245
|
end
|
@@ -17,11 +17,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
17
17
|
optional :upload_time, :message, 5, "google.protobuf.Timestamp"
|
18
18
|
optional :media_type, :string, 6
|
19
19
|
optional :build_time, :message, 7, "google.protobuf.Timestamp"
|
20
|
+
optional :update_time, :message, 8, "google.protobuf.Timestamp"
|
20
21
|
end
|
21
22
|
add_message "google.devtools.artifactregistry.v1.ListDockerImagesRequest" do
|
22
23
|
optional :parent, :string, 1
|
23
24
|
optional :page_size, :int32, 2
|
24
25
|
optional :page_token, :string, 3
|
26
|
+
optional :order_by, :string, 4
|
25
27
|
end
|
26
28
|
add_message "google.devtools.artifactregistry.v1.ListDockerImagesResponse" do
|
27
29
|
repeated :docker_images, :message, 1, "google.devtools.artifactregistry.v1.DockerImage"
|
@@ -30,6 +32,67 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
30
32
|
add_message "google.devtools.artifactregistry.v1.GetDockerImageRequest" do
|
31
33
|
optional :name, :string, 1
|
32
34
|
end
|
35
|
+
add_message "google.devtools.artifactregistry.v1.MavenArtifact" do
|
36
|
+
optional :name, :string, 1
|
37
|
+
optional :pom_uri, :string, 2
|
38
|
+
optional :group_id, :string, 3
|
39
|
+
optional :artifact_id, :string, 4
|
40
|
+
optional :version, :string, 5
|
41
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
42
|
+
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
43
|
+
end
|
44
|
+
add_message "google.devtools.artifactregistry.v1.ListMavenArtifactsRequest" do
|
45
|
+
optional :parent, :string, 1
|
46
|
+
optional :page_size, :int32, 2
|
47
|
+
optional :page_token, :string, 3
|
48
|
+
end
|
49
|
+
add_message "google.devtools.artifactregistry.v1.ListMavenArtifactsResponse" do
|
50
|
+
repeated :maven_artifacts, :message, 1, "google.devtools.artifactregistry.v1.MavenArtifact"
|
51
|
+
optional :next_page_token, :string, 2
|
52
|
+
end
|
53
|
+
add_message "google.devtools.artifactregistry.v1.GetMavenArtifactRequest" do
|
54
|
+
optional :name, :string, 1
|
55
|
+
end
|
56
|
+
add_message "google.devtools.artifactregistry.v1.NpmPackage" do
|
57
|
+
optional :name, :string, 1
|
58
|
+
optional :package_name, :string, 3
|
59
|
+
optional :version, :string, 4
|
60
|
+
repeated :tags, :string, 5
|
61
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
62
|
+
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
63
|
+
end
|
64
|
+
add_message "google.devtools.artifactregistry.v1.ListNpmPackagesRequest" do
|
65
|
+
optional :parent, :string, 1
|
66
|
+
optional :page_size, :int32, 2
|
67
|
+
optional :page_token, :string, 3
|
68
|
+
end
|
69
|
+
add_message "google.devtools.artifactregistry.v1.ListNpmPackagesResponse" do
|
70
|
+
repeated :npm_packages, :message, 1, "google.devtools.artifactregistry.v1.NpmPackage"
|
71
|
+
optional :next_page_token, :string, 2
|
72
|
+
end
|
73
|
+
add_message "google.devtools.artifactregistry.v1.GetNpmPackageRequest" do
|
74
|
+
optional :name, :string, 1
|
75
|
+
end
|
76
|
+
add_message "google.devtools.artifactregistry.v1.PythonPackage" do
|
77
|
+
optional :name, :string, 1
|
78
|
+
optional :uri, :string, 2
|
79
|
+
optional :package_name, :string, 3
|
80
|
+
optional :version, :string, 4
|
81
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
82
|
+
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
83
|
+
end
|
84
|
+
add_message "google.devtools.artifactregistry.v1.ListPythonPackagesRequest" do
|
85
|
+
optional :parent, :string, 1
|
86
|
+
optional :page_size, :int32, 2
|
87
|
+
optional :page_token, :string, 3
|
88
|
+
end
|
89
|
+
add_message "google.devtools.artifactregistry.v1.ListPythonPackagesResponse" do
|
90
|
+
repeated :python_packages, :message, 1, "google.devtools.artifactregistry.v1.PythonPackage"
|
91
|
+
optional :next_page_token, :string, 2
|
92
|
+
end
|
93
|
+
add_message "google.devtools.artifactregistry.v1.GetPythonPackageRequest" do
|
94
|
+
optional :name, :string, 1
|
95
|
+
end
|
33
96
|
end
|
34
97
|
end
|
35
98
|
|
@@ -41,6 +104,18 @@ module Google
|
|
41
104
|
ListDockerImagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListDockerImagesRequest").msgclass
|
42
105
|
ListDockerImagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListDockerImagesResponse").msgclass
|
43
106
|
GetDockerImageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetDockerImageRequest").msgclass
|
107
|
+
MavenArtifact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.MavenArtifact").msgclass
|
108
|
+
ListMavenArtifactsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListMavenArtifactsRequest").msgclass
|
109
|
+
ListMavenArtifactsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListMavenArtifactsResponse").msgclass
|
110
|
+
GetMavenArtifactRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetMavenArtifactRequest").msgclass
|
111
|
+
NpmPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.NpmPackage").msgclass
|
112
|
+
ListNpmPackagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListNpmPackagesRequest").msgclass
|
113
|
+
ListNpmPackagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListNpmPackagesResponse").msgclass
|
114
|
+
GetNpmPackageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetNpmPackageRequest").msgclass
|
115
|
+
PythonPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.PythonPackage").msgclass
|
116
|
+
ListPythonPackagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListPythonPackagesRequest").msgclass
|
117
|
+
ListPythonPackagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListPythonPackagesResponse").msgclass
|
118
|
+
GetPythonPackageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetPythonPackageRequest").msgclass
|
44
119
|
end
|
45
120
|
end
|
46
121
|
end
|
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
8
|
require 'google/protobuf/timestamp_pb'
|
8
9
|
|
@@ -24,6 +25,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
25
|
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
25
26
|
optional :update_time, :message, 6, "google.protobuf.Timestamp"
|
26
27
|
optional :owner, :string, 7
|
28
|
+
optional :fetch_time, :message, 8, "google.protobuf.Timestamp"
|
27
29
|
end
|
28
30
|
add_message "google.devtools.artifactregistry.v1.ListFilesRequest" do
|
29
31
|
optional :parent, :string, 1
|
@@ -13,6 +13,7 @@ require 'google/devtools/artifactregistry/v1/repository_pb'
|
|
13
13
|
require 'google/devtools/artifactregistry/v1/settings_pb'
|
14
14
|
require 'google/devtools/artifactregistry/v1/tag_pb'
|
15
15
|
require 'google/devtools/artifactregistry/v1/version_pb'
|
16
|
+
require 'google/devtools/artifactregistry/v1/vpcsc_config_pb'
|
16
17
|
require 'google/devtools/artifactregistry/v1/yum_artifact_pb'
|
17
18
|
require 'google/iam/v1/iam_policy_pb'
|
18
19
|
require 'google/iam/v1/policy_pb'
|
@@ -49,6 +49,18 @@ module Google
|
|
49
49
|
rpc :ListDockerImages, ::Google::Cloud::ArtifactRegistry::V1::ListDockerImagesRequest, ::Google::Cloud::ArtifactRegistry::V1::ListDockerImagesResponse
|
50
50
|
# Gets a docker image.
|
51
51
|
rpc :GetDockerImage, ::Google::Cloud::ArtifactRegistry::V1::GetDockerImageRequest, ::Google::Cloud::ArtifactRegistry::V1::DockerImage
|
52
|
+
# Lists maven artifacts.
|
53
|
+
rpc :ListMavenArtifacts, ::Google::Cloud::ArtifactRegistry::V1::ListMavenArtifactsRequest, ::Google::Cloud::ArtifactRegistry::V1::ListMavenArtifactsResponse
|
54
|
+
# Gets a maven artifact.
|
55
|
+
rpc :GetMavenArtifact, ::Google::Cloud::ArtifactRegistry::V1::GetMavenArtifactRequest, ::Google::Cloud::ArtifactRegistry::V1::MavenArtifact
|
56
|
+
# Lists npm packages.
|
57
|
+
rpc :ListNpmPackages, ::Google::Cloud::ArtifactRegistry::V1::ListNpmPackagesRequest, ::Google::Cloud::ArtifactRegistry::V1::ListNpmPackagesResponse
|
58
|
+
# Gets a npm package.
|
59
|
+
rpc :GetNpmPackage, ::Google::Cloud::ArtifactRegistry::V1::GetNpmPackageRequest, ::Google::Cloud::ArtifactRegistry::V1::NpmPackage
|
60
|
+
# Lists python packages.
|
61
|
+
rpc :ListPythonPackages, ::Google::Cloud::ArtifactRegistry::V1::ListPythonPackagesRequest, ::Google::Cloud::ArtifactRegistry::V1::ListPythonPackagesResponse
|
62
|
+
# Gets a python package.
|
63
|
+
rpc :GetPythonPackage, ::Google::Cloud::ArtifactRegistry::V1::GetPythonPackageRequest, ::Google::Cloud::ArtifactRegistry::V1::PythonPackage
|
52
64
|
# Imports Apt artifacts. The returned Operation will complete once the
|
53
65
|
# resources are imported. Package, Version, and File resources are created
|
54
66
|
# based on the imported artifacts. Imported artifacts that conflict with
|
@@ -110,6 +122,10 @@ module Google
|
|
110
122
|
rpc :GetProjectSettings, ::Google::Cloud::ArtifactRegistry::V1::GetProjectSettingsRequest, ::Google::Cloud::ArtifactRegistry::V1::ProjectSettings
|
111
123
|
# Updates the Settings for the Project.
|
112
124
|
rpc :UpdateProjectSettings, ::Google::Cloud::ArtifactRegistry::V1::UpdateProjectSettingsRequest, ::Google::Cloud::ArtifactRegistry::V1::ProjectSettings
|
125
|
+
# Retrieves the VPCSC Config for the Project.
|
126
|
+
rpc :GetVPCSCConfig, ::Google::Cloud::ArtifactRegistry::V1::GetVPCSCConfigRequest, ::Google::Cloud::ArtifactRegistry::V1::VPCSCConfig
|
127
|
+
# Updates the VPCSC Config for the Project.
|
128
|
+
rpc :UpdateVPCSCConfig, ::Google::Cloud::ArtifactRegistry::V1::UpdateVPCSCConfigRequest, ::Google::Cloud::ArtifactRegistry::V1::VPCSCConfig
|
113
129
|
end
|
114
130
|
|
115
131
|
Stub = Service.rpc_stub_class
|
@@ -38,6 +38,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
38
38
|
optional :name, :string, 1
|
39
39
|
optional :force, :bool, 2
|
40
40
|
end
|
41
|
+
add_message "google.devtools.artifactregistry.v1.BatchDeleteVersionsMetadata" do
|
42
|
+
repeated :failed_versions, :string, 2
|
43
|
+
end
|
41
44
|
add_enum "google.devtools.artifactregistry.v1.VersionView" do
|
42
45
|
value :VERSION_VIEW_UNSPECIFIED, 0
|
43
46
|
value :BASIC, 1
|
@@ -55,6 +58,7 @@ module Google
|
|
55
58
|
ListVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListVersionsResponse").msgclass
|
56
59
|
GetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetVersionRequest").msgclass
|
57
60
|
DeleteVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.DeleteVersionRequest").msgclass
|
61
|
+
BatchDeleteVersionsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.BatchDeleteVersionsMetadata").msgclass
|
58
62
|
VersionView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.VersionView").enummodule
|
59
63
|
end
|
60
64
|
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/devtools/artifactregistry/v1/vpcsc_config.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
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("google/devtools/artifactregistry/v1/vpcsc_config.proto", :syntax => :proto3) do
|
12
|
+
add_message "google.devtools.artifactregistry.v1.VPCSCConfig" do
|
13
|
+
optional :name, :string, 1
|
14
|
+
optional :vpcsc_policy, :enum, 2, "google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy"
|
15
|
+
end
|
16
|
+
add_enum "google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy" do
|
17
|
+
value :VPCSC_POLICY_UNSPECIFIED, 0
|
18
|
+
value :DENY, 1
|
19
|
+
value :ALLOW, 2
|
20
|
+
end
|
21
|
+
add_message "google.devtools.artifactregistry.v1.GetVPCSCConfigRequest" do
|
22
|
+
optional :name, :string, 1
|
23
|
+
end
|
24
|
+
add_message "google.devtools.artifactregistry.v1.UpdateVPCSCConfigRequest" do
|
25
|
+
optional :vpcsc_config, :message, 1, "google.devtools.artifactregistry.v1.VPCSCConfig"
|
26
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module ArtifactRegistry
|
34
|
+
module V1
|
35
|
+
VPCSCConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.VPCSCConfig").msgclass
|
36
|
+
VPCSCConfig::VPCSCPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy").enummodule
|
37
|
+
GetVPCSCConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetVPCSCConfigRequest").msgclass
|
38
|
+
UpdateVPCSCConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.UpdateVPCSCConfigRequest").msgclass
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -29,8 +29,8 @@ module Google
|
|
29
29
|
# * buildTime
|
30
30
|
# @!attribute [rw] name
|
31
31
|
# @return [::String]
|
32
|
-
# Required. registry_location, project_id, repository_name and image id forms
|
33
|
-
# image
|
32
|
+
# Required. registry_location, project_id, repository_name and image id forms
|
33
|
+
# a unique image
|
34
34
|
# name:`projects/<project_id>/locations/<location>/repository/<repository_name>/dockerImages/<docker_image>`.
|
35
35
|
# For example,
|
36
36
|
# "projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/
|
@@ -68,6 +68,9 @@ module Google
|
|
68
68
|
# Version resource.
|
69
69
|
# The build time is returned to the client as an RFC 3339 string, which can
|
70
70
|
# be easily used with the JavaScript Date constructor.
|
71
|
+
# @!attribute [r] update_time
|
72
|
+
# @return [::Google::Protobuf::Timestamp]
|
73
|
+
# Output only. The time when the docker image was last updated.
|
71
74
|
class DockerImage
|
72
75
|
include ::Google::Protobuf::MessageExts
|
73
76
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -76,13 +79,17 @@ module Google
|
|
76
79
|
# The request to list docker images.
|
77
80
|
# @!attribute [rw] parent
|
78
81
|
# @return [::String]
|
79
|
-
# Required. The name of the parent resource whose docker images will be
|
82
|
+
# Required. The name of the parent resource whose docker images will be
|
83
|
+
# listed.
|
80
84
|
# @!attribute [rw] page_size
|
81
85
|
# @return [::Integer]
|
82
86
|
# The maximum number of artifacts to return.
|
83
87
|
# @!attribute [rw] page_token
|
84
88
|
# @return [::String]
|
85
89
|
# The next_page_token value returned from a previous list request, if any.
|
90
|
+
# @!attribute [rw] order_by
|
91
|
+
# @return [::String]
|
92
|
+
# The field to order the results by.
|
86
93
|
class ListDockerImagesRequest
|
87
94
|
include ::Google::Protobuf::MessageExts
|
88
95
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -109,6 +116,222 @@ module Google
|
|
109
116
|
include ::Google::Protobuf::MessageExts
|
110
117
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
111
118
|
end
|
119
|
+
|
120
|
+
# MavenArtifact represents a maven artifact.
|
121
|
+
# @!attribute [rw] name
|
122
|
+
# @return [::String]
|
123
|
+
# Required. registry_location, project_id, repository_name and maven_artifact
|
124
|
+
# forms a unique artifact For example,
|
125
|
+
# "projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/
|
126
|
+
# com.google.guava:guava:31.0-jre",
|
127
|
+
# where "us-west4" is the registry_location, "test-project" is the
|
128
|
+
# project_id, "test-repo" is the repository_name and
|
129
|
+
# "com.google.guava:guava:31.0-jre"
|
130
|
+
# is the maven artifact.
|
131
|
+
# @!attribute [rw] pom_uri
|
132
|
+
# @return [::String]
|
133
|
+
# Required. URL to access the pom file of the artifact.
|
134
|
+
# Example:
|
135
|
+
# us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom
|
136
|
+
# @!attribute [rw] group_id
|
137
|
+
# @return [::String]
|
138
|
+
# Group ID for the artifact.
|
139
|
+
# Example:
|
140
|
+
# com.google.guava
|
141
|
+
# @!attribute [rw] artifact_id
|
142
|
+
# @return [::String]
|
143
|
+
# Artifact ID for the artifact.
|
144
|
+
# @!attribute [rw] version
|
145
|
+
# @return [::String]
|
146
|
+
# Version of this artifact.
|
147
|
+
# @!attribute [r] create_time
|
148
|
+
# @return [::Google::Protobuf::Timestamp]
|
149
|
+
# Output only. Time the artifact was created.
|
150
|
+
# @!attribute [r] update_time
|
151
|
+
# @return [::Google::Protobuf::Timestamp]
|
152
|
+
# Output only. Time the artifact was updated.
|
153
|
+
class MavenArtifact
|
154
|
+
include ::Google::Protobuf::MessageExts
|
155
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
156
|
+
end
|
157
|
+
|
158
|
+
# The request to list maven artifacts.
|
159
|
+
# @!attribute [rw] parent
|
160
|
+
# @return [::String]
|
161
|
+
# Required. The name of the parent resource whose maven artifacts will be
|
162
|
+
# listed.
|
163
|
+
# @!attribute [rw] page_size
|
164
|
+
# @return [::Integer]
|
165
|
+
# The maximum number of artifacts to return.
|
166
|
+
# @!attribute [rw] page_token
|
167
|
+
# @return [::String]
|
168
|
+
# The next_page_token value returned from a previous list request, if any.
|
169
|
+
class ListMavenArtifactsRequest
|
170
|
+
include ::Google::Protobuf::MessageExts
|
171
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
172
|
+
end
|
173
|
+
|
174
|
+
# The response from listing maven artifacts.
|
175
|
+
# @!attribute [rw] maven_artifacts
|
176
|
+
# @return [::Array<::Google::Cloud::ArtifactRegistry::V1::MavenArtifact>]
|
177
|
+
# The maven artifacts returned.
|
178
|
+
# @!attribute [rw] next_page_token
|
179
|
+
# @return [::String]
|
180
|
+
# The token to retrieve the next page of artifacts, or empty if there are no
|
181
|
+
# more artifacts to return.
|
182
|
+
class ListMavenArtifactsResponse
|
183
|
+
include ::Google::Protobuf::MessageExts
|
184
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
185
|
+
end
|
186
|
+
|
187
|
+
# The request to get maven artifacts.
|
188
|
+
# @!attribute [rw] name
|
189
|
+
# @return [::String]
|
190
|
+
# Required. The name of the maven artifact.
|
191
|
+
class GetMavenArtifactRequest
|
192
|
+
include ::Google::Protobuf::MessageExts
|
193
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
194
|
+
end
|
195
|
+
|
196
|
+
# NpmPackage represents an npm artifact.
|
197
|
+
# @!attribute [rw] name
|
198
|
+
# @return [::String]
|
199
|
+
# Required. registry_location, project_id, repository_name and npm_package
|
200
|
+
# forms a unique package For example,
|
201
|
+
# "projects/test-project/locations/us-west4/repositories/test-repo/npmPackages/
|
202
|
+
# npm_test:1.0.0",
|
203
|
+
# where "us-west4" is the registry_location, "test-project" is the
|
204
|
+
# project_id, "test-repo" is the repository_name and
|
205
|
+
# npm_test:1.0.0" is the npm package.
|
206
|
+
# @!attribute [rw] package_name
|
207
|
+
# @return [::String]
|
208
|
+
# Package for the artifact.
|
209
|
+
# @!attribute [rw] version
|
210
|
+
# @return [::String]
|
211
|
+
# Version of this package.
|
212
|
+
# @!attribute [rw] tags
|
213
|
+
# @return [::Array<::String>]
|
214
|
+
# Tags attached to this package.
|
215
|
+
# @!attribute [r] create_time
|
216
|
+
# @return [::Google::Protobuf::Timestamp]
|
217
|
+
# Output only. Time the package was created.
|
218
|
+
# @!attribute [r] update_time
|
219
|
+
# @return [::Google::Protobuf::Timestamp]
|
220
|
+
# Output only. Time the package was updated.
|
221
|
+
class NpmPackage
|
222
|
+
include ::Google::Protobuf::MessageExts
|
223
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
224
|
+
end
|
225
|
+
|
226
|
+
# The request to list npm packages.
|
227
|
+
# @!attribute [rw] parent
|
228
|
+
# @return [::String]
|
229
|
+
# Required. The name of the parent resource whose npm packages will be
|
230
|
+
# listed.
|
231
|
+
# @!attribute [rw] page_size
|
232
|
+
# @return [::Integer]
|
233
|
+
# The maximum number of artifacts to return.
|
234
|
+
# @!attribute [rw] page_token
|
235
|
+
# @return [::String]
|
236
|
+
# The next_page_token value returned from a previous list request, if any.
|
237
|
+
class ListNpmPackagesRequest
|
238
|
+
include ::Google::Protobuf::MessageExts
|
239
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
240
|
+
end
|
241
|
+
|
242
|
+
# The response from listing npm packages.
|
243
|
+
# @!attribute [rw] npm_packages
|
244
|
+
# @return [::Array<::Google::Cloud::ArtifactRegistry::V1::NpmPackage>]
|
245
|
+
# The npm packages returned.
|
246
|
+
# @!attribute [rw] next_page_token
|
247
|
+
# @return [::String]
|
248
|
+
# The token to retrieve the next page of artifacts, or empty if there are no
|
249
|
+
# more artifacts to return.
|
250
|
+
class ListNpmPackagesResponse
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# The request to get npm packages.
|
256
|
+
# @!attribute [rw] name
|
257
|
+
# @return [::String]
|
258
|
+
# Required. The name of the npm package.
|
259
|
+
class GetNpmPackageRequest
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
263
|
+
|
264
|
+
# PythonPackage represents a python artifact.
|
265
|
+
# @!attribute [rw] name
|
266
|
+
# @return [::String]
|
267
|
+
# Required. registry_location, project_id, repository_name and python_package
|
268
|
+
# forms a unique package
|
269
|
+
# name:`projects/<project_id>/locations/<location>/repository/<repository_name>/pythonPackages/<python_package>`.
|
270
|
+
# For example,
|
271
|
+
# "projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/
|
272
|
+
# python_package:1.0.0",
|
273
|
+
# where "us-west4" is the registry_location, "test-project" is the
|
274
|
+
# project_id, "test-repo" is the repository_name and
|
275
|
+
# python_package:1.0.0" is the python package.
|
276
|
+
# @!attribute [rw] uri
|
277
|
+
# @return [::String]
|
278
|
+
# Required. URL to access the package.
|
279
|
+
# Example:
|
280
|
+
# us-west4-python.pkg.dev/test-project/test-repo/python_package/file-name-1.0.0.tar.gz
|
281
|
+
# @!attribute [rw] package_name
|
282
|
+
# @return [::String]
|
283
|
+
# Package for the artifact.
|
284
|
+
# @!attribute [rw] version
|
285
|
+
# @return [::String]
|
286
|
+
# Version of this package.
|
287
|
+
# @!attribute [r] create_time
|
288
|
+
# @return [::Google::Protobuf::Timestamp]
|
289
|
+
# Output only. Time the package was created.
|
290
|
+
# @!attribute [r] update_time
|
291
|
+
# @return [::Google::Protobuf::Timestamp]
|
292
|
+
# Output only. Time the package was updated.
|
293
|
+
class PythonPackage
|
294
|
+
include ::Google::Protobuf::MessageExts
|
295
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
296
|
+
end
|
297
|
+
|
298
|
+
# The request to list python packages.
|
299
|
+
# @!attribute [rw] parent
|
300
|
+
# @return [::String]
|
301
|
+
# Required. The name of the parent resource whose python packages will be
|
302
|
+
# listed.
|
303
|
+
# @!attribute [rw] page_size
|
304
|
+
# @return [::Integer]
|
305
|
+
# The maximum number of artifacts to return.
|
306
|
+
# @!attribute [rw] page_token
|
307
|
+
# @return [::String]
|
308
|
+
# The next_page_token value returned from a previous list request, if any.
|
309
|
+
class ListPythonPackagesRequest
|
310
|
+
include ::Google::Protobuf::MessageExts
|
311
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
312
|
+
end
|
313
|
+
|
314
|
+
# The response from listing python packages.
|
315
|
+
# @!attribute [rw] python_packages
|
316
|
+
# @return [::Array<::Google::Cloud::ArtifactRegistry::V1::PythonPackage>]
|
317
|
+
# The python packages returned.
|
318
|
+
# @!attribute [rw] next_page_token
|
319
|
+
# @return [::String]
|
320
|
+
# The token to retrieve the next page of artifacts, or empty if there are no
|
321
|
+
# more artifacts to return.
|
322
|
+
class ListPythonPackagesResponse
|
323
|
+
include ::Google::Protobuf::MessageExts
|
324
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
325
|
+
end
|
326
|
+
|
327
|
+
# The request to get python packages.
|
328
|
+
# @!attribute [rw] name
|
329
|
+
# @return [::String]
|
330
|
+
# Required. The name of the python package.
|
331
|
+
class GetPythonPackageRequest
|
332
|
+
include ::Google::Protobuf::MessageExts
|
333
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
334
|
+
end
|
112
335
|
end
|
113
336
|
end
|
114
337
|
end
|