metadata_stores
Creates, updates, deletes, gets or lists a metadata_stores
resource.
Overview
Name | metadata_stores |
Type | Resource |
Id | google.aiplatform.metadata_stores |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The resource name of the MetadataStore instance. |
description | string | Description of the MetadataStore. |
createTime | string | Output only. Timestamp when this MetadataStore was created. |
dataplexConfig | object | Represents Dataplex integration settings. |
encryptionSpec | object | Represents a customer-managed encryption key spec that can be applied to a top-level resource. |
state | object | Represents state information for a MetadataStore. |
updateTime | string | Output only. Timestamp when this MetadataStore was last updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, metadataStoresId, projectsId | Retrieves a specific MetadataStore. |
list | SELECT | locationsId, projectsId | Lists MetadataStores for a Location. |
create | INSERT | locationsId, projectsId | Initializes a MetadataStore, including allocation of resources. |
delete | DELETE | locationsId, metadataStoresId, projectsId | Deletes a single MetadataStore and all its child resources (Artifacts, Executions, and Contexts). |
SELECT
examples
Lists MetadataStores for a Location.
SELECT
name,
description,
createTime,
dataplexConfig,
encryptionSpec,
state,
updateTime
FROM google.aiplatform.metadata_stores
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new metadata_stores
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.aiplatform.metadata_stores (
locationsId,
projectsId,
dataplexConfig,
encryptionSpec,
description
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ dataplexConfig }}',
'{{ encryptionSpec }}',
'{{ description }}'
;
- name: your_resource_model_name
props:
- name: dataplexConfig
value:
- name: enabledPipelinesLineage
value: boolean
- name: name
value: string
- name: encryptionSpec
value:
- name: kmsKeyName
value: string
- name: updateTime
value: string
- name: state
value:
- name: diskUtilizationBytes
value: string
- name: createTime
value: string
- name: description
value: string
DELETE
example
Deletes the specified metadata_stores
resource.
/*+ delete */
DELETE FROM google.aiplatform.metadata_stores
WHERE locationsId = '{{ locationsId }}'
AND metadataStoresId = '{{ metadataStoresId }}'
AND projectsId = '{{ projectsId }}';