1// Copyright 2023 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15syntax = "proto3"; 16 17package google.cloud.aiplatform.v1beta1; 18 19import "google/api/field_behavior.proto"; 20import "google/api/resource.proto"; 21 22option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; 23option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; 24option java_multiple_files = true; 25option java_outer_classname = "SpecialistPoolProto"; 26option java_package = "com.google.cloud.aiplatform.v1beta1"; 27option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; 28option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; 29 30// SpecialistPool represents customers' own workforce to work on their data 31// labeling jobs. It includes a group of specialist managers and workers. 32// Managers are responsible for managing the workers in this pool as well as 33// customers' data labeling jobs associated with this pool. Customers create 34// specialist pool as well as start data labeling jobs on Cloud, managers and 35// workers handle the jobs using CrowdCompute console. 36message SpecialistPool { 37 option (google.api.resource) = { 38 type: "aiplatform.googleapis.com/SpecialistPool" 39 pattern: "projects/{project}/locations/{location}/specialistPools/{specialist_pool}" 40 }; 41 42 // Required. The resource name of the SpecialistPool. 43 string name = 1 [(google.api.field_behavior) = REQUIRED]; 44 45 // Required. The user-defined name of the SpecialistPool. 46 // The name can be up to 128 characters long and can consist of any UTF-8 47 // characters. 48 // This field should be unique on project-level. 49 string display_name = 2 [(google.api.field_behavior) = REQUIRED]; 50 51 // Output only. The number of managers in this SpecialistPool. 52 int32 specialist_managers_count = 3 53 [(google.api.field_behavior) = OUTPUT_ONLY]; 54 55 // The email addresses of the managers in the SpecialistPool. 56 repeated string specialist_manager_emails = 4; 57 58 // Output only. The resource name of the pending data labeling jobs. 59 repeated string pending_data_labeling_jobs = 5 60 [(google.api.field_behavior) = OUTPUT_ONLY]; 61 62 // The email addresses of workers in the SpecialistPool. 63 repeated string specialist_worker_emails = 7; 64} 65