theQRL/block-explorer

View on GitHub
private/google/cloud/aiplatform/v1beta1/specialist_pool.proto

Summary

Maintainability
Test Coverage
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

package google.cloud.aiplatform.v1beta1;

import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/api/annotations.proto";

option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform";
option java_multiple_files = true;
option java_outer_classname = "SpecialistPoolProto";
option java_package = "com.google.cloud.aiplatform.v1beta1";

// SpecialistPool represents customers' own workforce to work on their data
// labeling jobs. It includes a group of specialist managers who are responsible
// for managing the labelers in this pool as well as customers' data labeling
// jobs associated with this pool.
// Customers create specialist pool as well as start data labeling jobs on
// Cloud, managers and labelers work with the jobs using CrowdCompute console.
message SpecialistPool {
  option (google.api.resource) = {
    type: "aiplatform.googleapis.com/SpecialistPool"
    pattern: "projects/{project}/locations/{location}/specialistPools/{specialist_pool}"
  };

  // Required. The resource name of the SpecialistPool.
  string name = 1 [(google.api.field_behavior) = REQUIRED];

  // Required. The user-defined name of the SpecialistPool.
  // The name can be up to 128 characters long and can be consist of any UTF-8
  // characters.
  // This field should be unique on project-level.
  string display_name = 2 [(google.api.field_behavior) = REQUIRED];

  // Output only. The number of Specialists in this SpecialistPool.
  int32 specialist_managers_count = 3 [(google.api.field_behavior) = OUTPUT_ONLY];

  // The email addresses of the specialists in the SpecialistPool.
  repeated string specialist_manager_emails = 4;

  // Output only. The resource name of the pending data labeling jobs.
  repeated string pending_data_labeling_jobs = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
}