Skip to main content

specialist_pools

Creates, updates, deletes, gets or lists a specialist_pools resource.

Overview

Namespecialist_pools
TypeResource
Idgoogle.aiplatform.specialist_pools

Fields

NameDatatypeDescription
namestringRequired. The resource name of the SpecialistPool.
displayNamestringRequired. The user-defined name of the SpecialistPool. The name can be up to 128 characters long and can consist of any UTF-8 characters. This field should be unique on project-level.
pendingDataLabelingJobsarrayOutput only. The resource name of the pending data labeling jobs.
specialistManagerEmailsarrayThe email addresses of the managers in the SpecialistPool.
specialistManagersCountintegerOutput only. The number of managers in this SpecialistPool.
specialistWorkerEmailsarrayThe email addresses of workers in the SpecialistPool.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocationsId, projectsId, specialistPoolsIdGets a SpecialistPool.
listSELECTlocationsId, projectsIdLists SpecialistPools in a Location.
createINSERTlocationsId, projectsIdCreates a SpecialistPool.
deleteDELETElocationsId, projectsId, specialistPoolsIdDeletes a SpecialistPool as well as all Specialists in the pool.
patchUPDATElocationsId, projectsId, specialistPoolsIdUpdates a SpecialistPool.

SELECT examples

Lists SpecialistPools in a Location.

SELECT
name,
displayName,
pendingDataLabelingJobs,
specialistManagerEmails,
specialistManagersCount,
specialistWorkerEmails
FROM google.aiplatform.specialist_pools
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

INSERT example

Use the following StackQL query and manifest file to create a new specialist_pools resource.

/*+ create */
INSERT INTO google.aiplatform.specialist_pools (
locationsId,
projectsId,
specialistManagerEmails,
displayName,
name,
specialistWorkerEmails
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ specialistManagerEmails }}',
'{{ displayName }}',
'{{ name }}',
'{{ specialistWorkerEmails }}'
;

UPDATE example

Updates a specialist_pools resource.

/*+ update */
UPDATE google.aiplatform.specialist_pools
SET
specialistManagerEmails = '{{ specialistManagerEmails }}',
displayName = '{{ displayName }}',
name = '{{ name }}',
specialistWorkerEmails = '{{ specialistWorkerEmails }}'
WHERE
locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND specialistPoolsId = '{{ specialistPoolsId }}';

DELETE example

Deletes the specified specialist_pools resource.

/*+ delete */
DELETE FROM google.aiplatform.specialist_pools
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND specialistPoolsId = '{{ specialistPoolsId }}';