google-cloud-dataform-v1beta1 0.10.0 → 0.11.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/dataform/v1beta1/bindings_override.rb +0 -24
- data/lib/google/cloud/dataform/v1beta1/dataform/client.rb +392 -53
- data/lib/google/cloud/dataform/v1beta1/dataform/credentials.rb +1 -0
- data/lib/google/cloud/dataform/v1beta1/dataform/paths.rb +61 -0
- data/lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb +371 -53
- data/lib/google/cloud/dataform/v1beta1/dataform/rest/service_stub.rb +208 -24
- data/lib/google/cloud/dataform/v1beta1/dataform_pb.rb +22 -2
- data/lib/google/cloud/dataform/v1beta1/dataform_services_pb.rb +38 -8
- data/lib/google/cloud/dataform/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +6 -0
- data/proto_docs/google/cloud/dataform/v1beta1/dataform.rb +421 -89
- metadata +3 -3
@@ -45,6 +45,67 @@ module Google
|
|
45
45
|
"projects/#{project}/locations/#{location}/repositories/#{repository}/compilationResults/#{compilation_result}"
|
46
46
|
end
|
47
47
|
|
48
|
+
##
|
49
|
+
# Create a fully-qualified Config resource string.
|
50
|
+
#
|
51
|
+
# The resource will be in the following format:
|
52
|
+
#
|
53
|
+
# `projects/{project}/locations/{location}/config`
|
54
|
+
#
|
55
|
+
# @param project [String]
|
56
|
+
# @param location [String]
|
57
|
+
#
|
58
|
+
# @return [::String]
|
59
|
+
def config_path project:, location:
|
60
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
61
|
+
|
62
|
+
"projects/#{project}/locations/#{location}/config"
|
63
|
+
end
|
64
|
+
|
65
|
+
##
|
66
|
+
# Create a fully-qualified CryptoKey resource string.
|
67
|
+
#
|
68
|
+
# The resource will be in the following format:
|
69
|
+
#
|
70
|
+
# `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
|
71
|
+
#
|
72
|
+
# @param project [String]
|
73
|
+
# @param location [String]
|
74
|
+
# @param key_ring [String]
|
75
|
+
# @param crypto_key [String]
|
76
|
+
#
|
77
|
+
# @return [::String]
|
78
|
+
def crypto_key_path project:, location:, key_ring:, crypto_key:
|
79
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
80
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
81
|
+
raise ::ArgumentError, "key_ring cannot contain /" if key_ring.to_s.include? "/"
|
82
|
+
|
83
|
+
"projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}"
|
84
|
+
end
|
85
|
+
|
86
|
+
##
|
87
|
+
# Create a fully-qualified CryptoKeyVersion resource string.
|
88
|
+
#
|
89
|
+
# The resource will be in the following format:
|
90
|
+
#
|
91
|
+
# `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`
|
92
|
+
#
|
93
|
+
# @param project [String]
|
94
|
+
# @param location [String]
|
95
|
+
# @param key_ring [String]
|
96
|
+
# @param crypto_key [String]
|
97
|
+
# @param crypto_key_version [String]
|
98
|
+
#
|
99
|
+
# @return [::String]
|
100
|
+
def crypto_key_version_path project:, location:, key_ring:, crypto_key:, crypto_key_version:
|
101
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
102
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
103
|
+
raise ::ArgumentError, "key_ring cannot contain /" if key_ring.to_s.include? "/"
|
104
|
+
raise ::ArgumentError, "crypto_key cannot contain /" if crypto_key.to_s.include? "/"
|
105
|
+
|
106
|
+
"projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}/cryptoKeyVersions/#{crypto_key_version}"
|
107
|
+
end
|
108
|
+
|
48
109
|
##
|
49
110
|
# Create a fully-qualified Location resource string.
|
50
111
|
#
|