# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. apiVersion: core.cnrm.cloud.google.com/v1alpha1 kind: ServiceMapping metadata: name: vertexai.cnrm.cloud.google.com namespace: cnrm-system spec: name: VertexAI version: v1beta1 serviceHostName: vertexai.googleapis.com resources: - name: google_vertex_ai_dataset kind: VertexAIDataset autoGenerated: true idTemplate: "{{name}}" idTemplateCanBeUsedToMatchResourceName: false resourceAvailableInAssetInventory: false metadataMapping: labels: labels serverGeneratedIDField: name resourceID: targetField: name valueTemplate: "projects/{{project}}/locations/{{region}}/datasets/{{value}}" hierarchicalReferences: - type: project key: projectRef resourceReferences: - tfField: project key: projectRef description: |- The project that this resource belongs to. gvk: kind: Project version: v1beta1 group: resourcemanager.cnrm.cloud.google.com - name: google_vertex_ai_endpoint kind: VertexAIEndpoint autoGenerated: true idTemplate: "projects/{{project}}/locations/{{location}}/endpoints/{{name}}" idTemplateCanBeUsedToMatchResourceName: false resourceAvailableInAssetInventory: false metadataMapping: name: name labels: labels resourceID: targetField: name hierarchicalReferences: - type: project key: projectRef resourceReferences: - tfField: project key: projectRef description: |- The project that this resource belongs to. gvk: kind: Project version: v1beta1 group: resourcemanager.cnrm.cloud.google.com - name: google_vertex_ai_featurestore kind: VertexAIFeaturestore autoGenerated: true iamConfig: policyName: google_vertex_ai_featurestore_iam_policy policyMemberName: google_vertex_ai_featurestore_iam_member referenceField: name: featurestore type: name supportsConditions: false idTemplate: "projects/{{project}}/locations/{{region}}/featurestores/{{name}}" idTemplateCanBeUsedToMatchResourceName: false resourceAvailableInAssetInventory: false metadataMapping: name: name labels: labels resourceID: targetField: name hierarchicalReferences: - type: project key: projectRef resourceReferences: - tfField: project key: projectRef description: |- The project that this resource belongs to. gvk: kind: Project version: v1beta1 group: resourcemanager.cnrm.cloud.google.com - name: google_vertex_ai_featurestore_entitytype kind: VertexAIFeaturestoreEntityType autoGenerated: true iamConfig: policyName: google_vertex_ai_featurestore_entitytype_iam_policy policyMemberName: google_vertex_ai_featurestore_entitytype_iam_member referenceField: name: entitytype type: name supportsConditions: false idTemplate: "{{featurestore}}/entityTypes/{{name}}" idTemplateCanBeUsedToMatchResourceName: false resourceAvailableInAssetInventory: false metadataMapping: name: name labels: labels resourceID: targetField: name - name: google_vertex_ai_featurestore_entitytype_feature kind: VertexAIFeaturestoreEntityTypeFeature autoGenerated: true idTemplate: "{{entitytype}}/features/{{name}}" idTemplateCanBeUsedToMatchResourceName: false resourceAvailableInAssetInventory: false metadataMapping: name: name labels: labels resourceID: targetField: name - name: google_vertex_ai_index kind: VertexAIIndex autoGenerated: true idTemplate: "projects/{{project}}/locations/{{region}}/indexes/{{name}}" idTemplateCanBeUsedToMatchResourceName: false resourceAvailableInAssetInventory: false metadataMapping: labels: labels serverGeneratedIDField: name resourceID: targetField: name hierarchicalReferences: - type: project key: projectRef resourceReferences: - tfField: project key: projectRef description: |- The project that this resource belongs to. gvk: kind: Project version: v1beta1 group: resourcemanager.cnrm.cloud.google.com - name: google_vertex_ai_metadata_store kind: VertexAIMetadataStore autoGenerated: true idTemplate: "projects/{{project}}/locations/{{region}}/metadataStores/{{name}}" idTemplateCanBeUsedToMatchResourceName: false resourceAvailableInAssetInventory: false metadataMapping: name: name resourceID: targetField: name hierarchicalReferences: - type: project key: projectRef resourceReferences: - tfField: project key: projectRef description: |- The project that this resource belongs to. gvk: kind: Project version: v1beta1 group: resourcemanager.cnrm.cloud.google.com - name: google_vertex_ai_tensorboard kind: VertexAITensorboard autoGenerated: true idTemplate: "projects/{{project}}/locations/{{region}}/tensorboards/{{name}}" idTemplateCanBeUsedToMatchResourceName: false resourceAvailableInAssetInventory: false metadataMapping: labels: labels serverGeneratedIDField: name resourceID: targetField: name hierarchicalReferences: - type: project key: projectRef resourceReferences: - tfField: project key: projectRef description: |- The project that this resource belongs to. gvk: kind: Project version: v1beta1 group: resourcemanager.cnrm.cloud.google.com