google-cloud-dataplex-v1 2.2.0 → 2.3.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/dataplex/v1/catalog_pb.rb +4 -1
- data/lib/google/cloud/dataplex/v1/catalog_service/paths.rb +14 -0
- data/lib/google/cloud/dataplex/v1/cmek_pb.rb +63 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/client.rb +947 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/credentials.rb +47 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/operations.rb +813 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/paths.rb +69 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/client.rb +895 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/operations.rb +943 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/service_stub.rb +388 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest.rb +54 -0
- data/lib/google/cloud/dataplex/v1/cmek_service.rb +56 -0
- data/lib/google/cloud/dataplex/v1/cmek_services_pb.rb +53 -0
- data/lib/google/cloud/dataplex/v1/data_discovery_pb.rb +2 -1
- data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +1 -1
- data/lib/google/cloud/dataplex/v1/logs_pb.rb +3 -1
- data/lib/google/cloud/dataplex/v1/rest.rb +1 -0
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/lib/google/cloud/dataplex/v1.rb +1 -0
- data/proto_docs/google/cloud/dataplex/v1/catalog.rb +94 -0
- data/proto_docs/google/cloud/dataplex/v1/cmek.rb +216 -0
- data/proto_docs/google/cloud/dataplex/v1/data_discovery.rb +40 -3
- data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +2 -0
- data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +33 -28
- data/proto_docs/google/cloud/dataplex/v1/logs.rb +27 -0
- data/proto_docs/google/cloud/dataplex/v1/resources.rb +14 -10
- metadata +14 -2
@@ -0,0 +1,69 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 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 Dataplex
|
23
|
+
module V1
|
24
|
+
module CmekService
|
25
|
+
# Path helper methods for the CmekService API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified EncryptionConfig resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `organizations/{organization}/locations/{location}/encryptionConfigs/{encryption_config}`
|
33
|
+
#
|
34
|
+
# @param organization [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param encryption_config [String]
|
37
|
+
#
|
38
|
+
# @return [::String]
|
39
|
+
def encryption_config_path organization:, location:, encryption_config:
|
40
|
+
raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
|
41
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
42
|
+
|
43
|
+
"organizations/#{organization}/locations/#{location}/encryptionConfigs/#{encryption_config}"
|
44
|
+
end
|
45
|
+
|
46
|
+
##
|
47
|
+
# Create a fully-qualified OrganizationLocation resource string.
|
48
|
+
#
|
49
|
+
# The resource will be in the following format:
|
50
|
+
#
|
51
|
+
# `organizations/{organization}/locations/{location}`
|
52
|
+
#
|
53
|
+
# @param organization [String]
|
54
|
+
# @param location [String]
|
55
|
+
#
|
56
|
+
# @return [::String]
|
57
|
+
def organization_location_path organization:, location:
|
58
|
+
raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
|
59
|
+
|
60
|
+
"organizations/#{organization}/locations/#{location}"
|
61
|
+
end
|
62
|
+
|
63
|
+
extend self
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|