...
1# Copyright 2022 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: core.cnrm.cloud.google.com/v1alpha1
16kind: ServiceMapping
17metadata:
18 name: healthcare.cnrm.cloud.google.com
19 namespace: cnrm-system
20spec:
21 name: Healthcare
22 version: v1beta1
23 serviceHostName: healthcare.googleapis.com
24 resources:
25 - name: google_healthcare_consent_store
26 kind: HealthcareConsentStore
27 autoGenerated: true
28 iamConfig:
29 policyName: google_healthcare_consent_store_iam_policy
30 policyMemberName: google_healthcare_consent_store_iam_member
31 referenceField:
32 name: consent_store_id
33 type: name
34 supportsConditions: false
35 idTemplate: "{{dataset}}/consentStores/{{name}}"
36 idTemplateCanBeUsedToMatchResourceName: false
37 resourceAvailableInAssetInventory: false
38 metadataMapping:
39 name: name
40 labels: labels
41 resourceID:
42 targetField: name
43 resourceReferences:
44 - key: datasetRef
45 tfField: dataset
46 gvk:
47 kind: HealthcareDataset
48 version: v1beta1
49 group: healthcare.cnrm.cloud.google.com
50 targetField: self_link
51 parent: true
52 - name: google_healthcare_dataset
53 kind: HealthcareDataset
54 autoGenerated: true
55 idTemplate: "projects/{{project}}/locations/{{location}}/datasets/{{name}}"
56 idTemplateCanBeUsedToMatchResourceName: false
57 resourceAvailableInAssetInventory: false
58 metadataMapping:
59 name: name
60 resourceID:
61 targetField: name
62 hierarchicalReferences:
63 - type: project
64 key: projectRef
65 resourceReferences:
66 - tfField: project
67 key: projectRef
68 description: |-
69 The project that this resource belongs to.
70 gvk:
71 kind: Project
72 version: v1beta1
73 group: resourcemanager.cnrm.cloud.google.com
74 - name: google_healthcare_dicom_store
75 kind: HealthcareDICOMStore
76 autoGenerated: true
77 idTemplate: "{{dataset}}/dicomStores/{{name}}"
78 idTemplateCanBeUsedToMatchResourceName: false
79 resourceAvailableInAssetInventory: false
80 metadataMapping:
81 name: name
82 labels: labels
83 resourceID:
84 targetField: name
85 resourceReferences:
86 - key: datasetRef
87 tfField: dataset
88 gvk:
89 kind: HealthcareDataset
90 version: v1beta1
91 group: healthcare.cnrm.cloud.google.com
92 targetField: self_link
93 parent: true
94 - name: google_healthcare_fhir_store
95 kind: HealthcareFHIRStore
96 autoGenerated: true
97 idTemplate: "{{dataset}}/fhirStores/{{name}}"
98 idTemplateCanBeUsedToMatchResourceName: false
99 resourceAvailableInAssetInventory: false
100 metadataMapping:
101 name: name
102 labels: labels
103 resourceID:
104 targetField: name
105 resourceReferences:
106 - key: datasetRef
107 tfField: dataset
108 gvk:
109 kind: HealthcareDataset
110 version: v1beta1
111 group: healthcare.cnrm.cloud.google.com
112 targetField: self_link
113 parent: true
114 - name: google_healthcare_hl7_v2_store
115 kind: HealthcareHL7V2Store
116 autoGenerated: true
117 idTemplate: "{{dataset}}/hl7V2Stores/{{name}}"
118 idTemplateCanBeUsedToMatchResourceName: false
119 resourceAvailableInAssetInventory: false
120 metadataMapping:
121 name: name
122 labels: labels
123 resourceID:
124 targetField: name
125 resourceReferences:
126 - key: datasetRef
127 tfField: dataset
128 gvk:
129 kind: HealthcareDataset
130 version: v1beta1
131 group: healthcare.cnrm.cloud.google.com
132 targetField: self_link
133 parent: true
View as plain text