...
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: vertexai.cnrm.cloud.google.com
19 namespace: cnrm-system
20spec:
21 name: VertexAI
22 version: v1beta1
23 serviceHostName: vertexai.googleapis.com
24 resources:
25 - name: google_vertex_ai_dataset
26 kind: VertexAIDataset
27 autoGenerated: true
28 idTemplate: "{{name}}"
29 idTemplateCanBeUsedToMatchResourceName: false
30 resourceAvailableInAssetInventory: false
31 metadataMapping:
32 labels: labels
33 serverGeneratedIDField: name
34 resourceID:
35 targetField: name
36 valueTemplate: "projects/{{project}}/locations/{{region}}/datasets/{{value}}"
37 hierarchicalReferences:
38 - type: project
39 key: projectRef
40 resourceReferences:
41 - tfField: project
42 key: projectRef
43 description: |-
44 The project that this resource belongs to.
45 gvk:
46 kind: Project
47 version: v1beta1
48 group: resourcemanager.cnrm.cloud.google.com
49 - name: google_vertex_ai_endpoint
50 kind: VertexAIEndpoint
51 autoGenerated: true
52 idTemplate: "projects/{{project}}/locations/{{location}}/endpoints/{{name}}"
53 idTemplateCanBeUsedToMatchResourceName: false
54 resourceAvailableInAssetInventory: false
55 metadataMapping:
56 name: name
57 labels: labels
58 resourceID:
59 targetField: name
60 hierarchicalReferences:
61 - type: project
62 key: projectRef
63 resourceReferences:
64 - tfField: project
65 key: projectRef
66 description: |-
67 The project that this resource belongs to.
68 gvk:
69 kind: Project
70 version: v1beta1
71 group: resourcemanager.cnrm.cloud.google.com
72 - name: google_vertex_ai_featurestore
73 kind: VertexAIFeaturestore
74 autoGenerated: true
75 iamConfig:
76 policyName: google_vertex_ai_featurestore_iam_policy
77 policyMemberName: google_vertex_ai_featurestore_iam_member
78 referenceField:
79 name: featurestore
80 type: name
81 supportsConditions: false
82 idTemplate: "projects/{{project}}/locations/{{region}}/featurestores/{{name}}"
83 idTemplateCanBeUsedToMatchResourceName: false
84 resourceAvailableInAssetInventory: false
85 metadataMapping:
86 name: name
87 labels: labels
88 resourceID:
89 targetField: name
90 hierarchicalReferences:
91 - type: project
92 key: projectRef
93 resourceReferences:
94 - tfField: project
95 key: projectRef
96 description: |-
97 The project that this resource belongs to.
98 gvk:
99 kind: Project
100 version: v1beta1
101 group: resourcemanager.cnrm.cloud.google.com
102 - name: google_vertex_ai_featurestore_entitytype
103 kind: VertexAIFeaturestoreEntityType
104 autoGenerated: true
105 iamConfig:
106 policyName: google_vertex_ai_featurestore_entitytype_iam_policy
107 policyMemberName: google_vertex_ai_featurestore_entitytype_iam_member
108 referenceField:
109 name: entitytype
110 type: name
111 supportsConditions: false
112 idTemplate: "{{featurestore}}/entityTypes/{{name}}"
113 idTemplateCanBeUsedToMatchResourceName: false
114 resourceAvailableInAssetInventory: false
115 metadataMapping:
116 name: name
117 labels: labels
118 resourceID:
119 targetField: name
120 - name: google_vertex_ai_featurestore_entitytype_feature
121 kind: VertexAIFeaturestoreEntityTypeFeature
122 autoGenerated: true
123 idTemplate: "{{entitytype}}/features/{{name}}"
124 idTemplateCanBeUsedToMatchResourceName: false
125 resourceAvailableInAssetInventory: false
126 metadataMapping:
127 name: name
128 labels: labels
129 resourceID:
130 targetField: name
131 - name: google_vertex_ai_index
132 kind: VertexAIIndex
133 autoGenerated: true
134 idTemplate: "projects/{{project}}/locations/{{region}}/indexes/{{name}}"
135 idTemplateCanBeUsedToMatchResourceName: false
136 resourceAvailableInAssetInventory: false
137 metadataMapping:
138 labels: labels
139 serverGeneratedIDField: name
140 resourceID:
141 targetField: name
142 hierarchicalReferences:
143 - type: project
144 key: projectRef
145 resourceReferences:
146 - tfField: project
147 key: projectRef
148 description: |-
149 The project that this resource belongs to.
150 gvk:
151 kind: Project
152 version: v1beta1
153 group: resourcemanager.cnrm.cloud.google.com
154 - name: google_vertex_ai_metadata_store
155 kind: VertexAIMetadataStore
156 autoGenerated: true
157 idTemplate: "projects/{{project}}/locations/{{region}}/metadataStores/{{name}}"
158 idTemplateCanBeUsedToMatchResourceName: false
159 resourceAvailableInAssetInventory: false
160 metadataMapping:
161 name: name
162 resourceID:
163 targetField: name
164 hierarchicalReferences:
165 - type: project
166 key: projectRef
167 resourceReferences:
168 - tfField: project
169 key: projectRef
170 description: |-
171 The project that this resource belongs to.
172 gvk:
173 kind: Project
174 version: v1beta1
175 group: resourcemanager.cnrm.cloud.google.com
176 - name: google_vertex_ai_tensorboard
177 kind: VertexAITensorboard
178 autoGenerated: true
179 idTemplate: "projects/{{project}}/locations/{{region}}/tensorboards/{{name}}"
180 idTemplateCanBeUsedToMatchResourceName: false
181 resourceAvailableInAssetInventory: false
182 metadataMapping:
183 labels: labels
184 serverGeneratedIDField: name
185 resourceID:
186 targetField: name
187 hierarchicalReferences:
188 - type: project
189 key: projectRef
190 resourceReferences:
191 - tfField: project
192 key: projectRef
193 description: |-
194 The project that this resource belongs to.
195 gvk:
196 kind: Project
197 version: v1beta1
198 group: resourcemanager.cnrm.cloud.google.com
View as plain text