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 19option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; 20option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; 21option java_multiple_files = true; 22option java_outer_classname = "UserActionReferenceProto"; 23option java_package = "com.google.cloud.aiplatform.v1beta1"; 24option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; 25option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; 26 27// References an API call. It contains more information about long running 28// operation and Jobs that are triggered by the API call. 29message UserActionReference { 30 oneof reference { 31 // For API calls that return a long running operation. 32 // Resource name of the long running operation. 33 // Format: 34 // `projects/{project}/locations/{location}/operations/{operation}` 35 string operation = 1; 36 37 // For API calls that start a LabelingJob. 38 // Resource name of the LabelingJob. 39 // Format: 40 // `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` 41 string data_labeling_job = 2; 42 } 43 44 // The method name of the API RPC call. For example, 45 // "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset" 46 string method = 3; 47} 48