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

The following fields are returned by SELECT queries:

Successful response

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.
specialistManagersCountinteger (int32)Output only. The number of managers in this SpecialistPool.
specialistWorkerEmailsarrayThe email addresses of workers in the SpecialistPool.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, specialistPoolsIdGets a SpecialistPool.
listselectprojectsId, locationsIdpageSize, pageToken, readMaskLists SpecialistPools in a Location.
createinsertprojectsId, locationsIdCreates a SpecialistPool.
patchupdateprojectsId, locationsId, specialistPoolsIdupdateMaskUpdates a SpecialistPool.
deletedeleteprojectsId, locationsId, specialistPoolsIdforceDeletes a SpecialistPool as well as all Specialists in the pool.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
specialistPoolsIdstring
forceboolean
pageSizeinteger (int32)
pageTokenstring
readMaskstring (google-fieldmask)
updateMaskstring (google-fieldmask)

SELECT examples

Gets a SpecialistPool.

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

INSERT examples

Creates a SpecialistPool.

INSERT INTO google.aiplatform.specialist_pools (
data__name,
data__displayName,
data__specialistManagerEmails,
data__specialistWorkerEmails,
projectsId,
locationsId
)
SELECT
'{{ name }}',
'{{ displayName }}',
'{{ specialistManagerEmails }}',
'{{ specialistWorkerEmails }}',
'{{ projectsId }}',
'{{ locationsId }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates a SpecialistPool.

UPDATE google.aiplatform.specialist_pools
SET
data__name = '{{ name }}',
data__displayName = '{{ displayName }}',
data__specialistManagerEmails = '{{ specialistManagerEmails }}',
data__specialistWorkerEmails = '{{ specialistWorkerEmails }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND specialistPoolsId = '{{ specialistPoolsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes a SpecialistPool as well as all Specialists in the pool.

DELETE FROM google.aiplatform.specialist_pools
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND specialistPoolsId = '{{ specialistPoolsId }}' --required
AND force = '{{ force }}';