# frozen_string_literal: true

# Copyright 2022 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
#
#     https://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.

# Auto-generated by gapic-generator-ruby. DO NOT EDIT!


module Google
  module Cloud
    module AIPlatform
      module V1
        # References an API call. It contains more information about long running
        # operation and Jobs that are triggered by the API call.
        # @!attribute [rw] operation
        #   @return [::String]
        #     For API calls that return a long running operation.
        #     Resource name of the long running operation.
        #     Format:
        #     `projects/{project}/locations/{location}/operations/{operation}`
        #
        #     Note: The following fields are mutually exclusive: `operation`, `data_labeling_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
        # @!attribute [rw] data_labeling_job
        #   @return [::String]
        #     For API calls that start a LabelingJob.
        #     Resource name of the LabelingJob.
        #     Format:
        #     `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}`
        #
        #     Note: The following fields are mutually exclusive: `data_labeling_job`, `operation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
        # @!attribute [rw] method
        #   @return [::String]
        #     The method name of the API RPC call. For example,
        #     "/google.cloud.aiplatform.\\{apiVersion}.DatasetService.CreateDataset"
        class UserActionReference
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end
      end
    end
  end
end
