# frozen_string_literal: true

# Copyright 2023 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 Deploy
      module V1
        # Payload proto for "clouddeploy.googleapis.com/automation_run"
        # Platform Log event that describes the AutomationRun related events.
        # @!attribute [rw] message
        #   @return [::String]
        #     Debug message for when there is an update on the AutomationRun.
        #     Provides further details about the resource creation or state change.
        # @!attribute [rw] automation_run
        #   @return [::String]
        #     The name of the `AutomationRun`.
        # @!attribute [rw] pipeline_uid
        #   @return [::String]
        #     Unique identifier of the `DeliveryPipeline`.
        # @!attribute [rw] automation_id
        #   @return [::String]
        #     Identifier of the `Automation`.
        # @!attribute [rw] rule_id
        #   @return [::String]
        #     Identifier of the `Automation` rule.
        # @!attribute [rw] destination_target_id
        #   @return [::String]
        #     ID of the `Target` to which the `AutomationRun` is created.
        # @!attribute [rw] type
        #   @return [::Google::Cloud::Deploy::V1::Type]
        #     Type of this notification, e.g. for a Pub/Sub failure.
        class AutomationRunEvent
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end
      end
    end
  end
end
