# frozen_string_literal: true

# Copyright 2024 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 Ads
    module AdManager
      module V1
        # / AdManagerError contains all the information required for processing a
        # / particular error thrown by the AdManager API.
        # /
        # / At least one AdManagerError should be included in all error messages sent
        # to / the client.
        # @!attribute [rw] error_code
        #   @return [::String]
        #     The unique identifying string for this error.
        # @!attribute [rw] message
        #   @return [::String]
        #     A publisher appropriate explanation of this error.
        # @!attribute [rw] field_path
        #   @return [::String]
        #     The field path that triggered this error.
        # @!attribute [rw] trigger
        #   @return [::String]
        #     The value that triggered this error.
        # @!attribute [rw] stack_trace
        #   @return [::String]
        #     The stack trace that accompanies this error.
        # @!attribute [rw] details
        #   @return [::Array<::Google::Protobuf::Any>]
        #     A list of messages that carry any additional error details.
        class AdManagerError
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end
      end
    end
  end
end
