specialist_pools
Creates, updates, deletes, gets or lists a specialist_pools
resource.
Overview
Name | specialist_pools |
Type | Resource |
Id | google.aiplatform.specialist_pools |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. The resource name of the SpecialistPool. |
displayName | string | Required. 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. |
pendingDataLabelingJobs | array | Output only. The resource name of the pending data labeling jobs. |
specialistManagerEmails | array | The email addresses of the managers in the SpecialistPool. |
specialistManagersCount | integer | Output only. The number of managers in this SpecialistPool. |
specialistWorkerEmails | array | The email addresses of workers in the SpecialistPool. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, projectsId, specialistPoolsId | Gets a SpecialistPool. |
list | SELECT | locationsId, projectsId | Lists SpecialistPools in a Location. |
create | INSERT | locationsId, projectsId | Creates a SpecialistPool. |
delete | DELETE | locationsId, projectsId, specialistPoolsId | Deletes a SpecialistPool as well as all Specialists in the pool. |
patch | UPDATE | locationsId, projectsId, specialistPoolsId | Updates 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.aiplatform.specialist_pools (
locationsId,
projectsId,
specialistManagerEmails,
displayName,
name,
specialistWorkerEmails
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ specialistManagerEmails }}',
'{{ displayName }}',
'{{ name }}',
'{{ specialistWorkerEmails }}'
;
- name: your_resource_model_name
props:
- name: specialistManagerEmails
value:
- string
- name: displayName
value: string
- name: name
value: string
- name: pendingDataLabelingJobs
value:
- string
- name: specialistWorkerEmails
value:
- string
- name: specialistManagersCount
value: integer
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 }}';