specialist_pool.proto 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // Copyright 2022 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. syntax = "proto3";
  15. package google.cloud.aiplatform.v1beta1;
  16. import "google/api/field_behavior.proto";
  17. import "google/api/resource.proto";
  18. option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1";
  19. option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
  20. option java_multiple_files = true;
  21. option java_outer_classname = "SpecialistPoolProto";
  22. option java_package = "com.google.cloud.aiplatform.v1beta1";
  23. option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
  24. option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
  25. // SpecialistPool represents customers' own workforce to work on their data
  26. // labeling jobs. It includes a group of specialist managers and workers.
  27. // Managers are responsible for managing the workers in this pool as well as
  28. // customers' data labeling jobs associated with this pool. Customers create
  29. // specialist pool as well as start data labeling jobs on Cloud, managers and
  30. // workers handle the jobs using CrowdCompute console.
  31. message SpecialistPool {
  32. option (google.api.resource) = {
  33. type: "aiplatform.googleapis.com/SpecialistPool"
  34. pattern: "projects/{project}/locations/{location}/specialistPools/{specialist_pool}"
  35. };
  36. // Required. The resource name of the SpecialistPool.
  37. string name = 1 [(google.api.field_behavior) = REQUIRED];
  38. // Required. The user-defined name of the SpecialistPool.
  39. // The name can be up to 128 characters long and can be consist of any UTF-8
  40. // characters.
  41. // This field should be unique on project-level.
  42. string display_name = 2 [(google.api.field_behavior) = REQUIRED];
  43. // Output only. The number of managers in this SpecialistPool.
  44. int32 specialist_managers_count = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
  45. // The email addresses of the managers in the SpecialistPool.
  46. repeated string specialist_manager_emails = 4;
  47. // Output only. The resource name of the pending data labeling jobs.
  48. repeated string pending_data_labeling_jobs = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
  49. // The email addresses of workers in the SpecialistPool.
  50. repeated string specialist_worker_emails = 7;
  51. }