google-cloud-artifact_registry-v1 0.1.0 → 0.2.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/paths.rb +19 -0
- data/lib/google/cloud/artifact_registry/v1/version.rb +1 -1
- data/lib/google/devtools/artifactregistry/v1/artifact_pb.rb +2 -2
- data/lib/google/devtools/artifactregistry/v1/repository_pb.rb +2 -2
- data/lib/google/devtools/artifactregistry/v1/service_pb.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b33ea2bf6f8db37b9a66c06903393ecb687d1150f77f80795197b5f0237ed41
|
|
4
|
+
data.tar.gz: 3c55368cd6baed8b45035f47119dc7ec334c9850788e7037dafe97d24e820dea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1735a53274d91cd07e01a033792951b3feabd74af64d5f0818e1313fd2b42349714f56f2846ef697dd55a9ac320eee524b51956d44af29bddbc265e31f84eeb1
|
|
7
|
+
data.tar.gz: 6d0e0514d90eb904843c5e91f8d5300d24c74c147e82401eb83420d4aa71ce2d56dc6ce71ca53d4ad5d0cb884669106bc4b0bb6f75e79f16f4de0712f0af77fc
|
|
@@ -41,6 +41,25 @@ module Google
|
|
|
41
41
|
"projects/#{project}/locations/#{location}"
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
+
##
|
|
45
|
+
# Create a fully-qualified Repository resource string.
|
|
46
|
+
#
|
|
47
|
+
# The resource will be in the following format:
|
|
48
|
+
#
|
|
49
|
+
# `projects/{project}/locations/{location}/repositories/{repository}`
|
|
50
|
+
#
|
|
51
|
+
# @param project [String]
|
|
52
|
+
# @param location [String]
|
|
53
|
+
# @param repository [String]
|
|
54
|
+
#
|
|
55
|
+
# @return [::String]
|
|
56
|
+
def repository_path project:, location:, repository:
|
|
57
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
58
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
59
|
+
|
|
60
|
+
"projects/#{project}/locations/#{location}/repositories/#{repository}"
|
|
61
|
+
end
|
|
62
|
+
|
|
44
63
|
extend self
|
|
45
64
|
end
|
|
46
65
|
end
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/devtools/artifactregistry/v1/artifact.proto
|
|
3
3
|
|
|
4
|
-
require 'google/protobuf'
|
|
5
|
-
|
|
6
4
|
require 'google/api/field_behavior_pb'
|
|
7
5
|
require 'google/api/resource_pb'
|
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
|
9
7
|
require 'google/api/annotations_pb'
|
|
8
|
+
require 'google/protobuf'
|
|
9
|
+
|
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
11
11
|
add_file("google/devtools/artifactregistry/v1/artifact.proto", :syntax => :proto3) do
|
|
12
12
|
add_message "google.devtools.artifactregistry.v1.DockerImage" do
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/devtools/artifactregistry/v1/repository.proto
|
|
3
3
|
|
|
4
|
-
require 'google/protobuf'
|
|
5
|
-
|
|
6
4
|
require 'google/api/field_behavior_pb'
|
|
7
5
|
require 'google/api/resource_pb'
|
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
|
9
7
|
require 'google/api/annotations_pb'
|
|
8
|
+
require 'google/protobuf'
|
|
9
|
+
|
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
11
11
|
add_file("google/devtools/artifactregistry/v1/repository.proto", :syntax => :proto3) do
|
|
12
12
|
add_message "google.devtools.artifactregistry.v1.Repository" do
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/devtools/artifactregistry/v1/service.proto
|
|
3
3
|
|
|
4
|
-
require 'google/protobuf'
|
|
5
|
-
|
|
6
4
|
require 'google/api/annotations_pb'
|
|
7
5
|
require 'google/api/client_pb'
|
|
8
6
|
require 'google/devtools/artifactregistry/v1/artifact_pb'
|
|
9
7
|
require 'google/devtools/artifactregistry/v1/repository_pb'
|
|
10
8
|
require 'google/iam/v1/policy_pb'
|
|
9
|
+
require 'google/protobuf'
|
|
10
|
+
|
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
12
12
|
add_file("google/devtools/artifactregistry/v1/service.proto", :syntax => :proto3) do
|
|
13
13
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-artifact_registry-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-10-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|