Class: Google::Cloud::VisionAI::V1::AppPlatformCloudFunctionResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/annotations.rb

Overview

Message of the response from customer's Cloud Function to AppPlatform.

Defined Under Namespace

Classes: StructedOutputAnnotation

Instance Attribute Summary collapse

Instance Attribute Details

#annotation_passthrough::Boolean

Returns If set to true, AppPlatform will use original annotations instead of dropping them, even if it is empty in the annotations filed.

Returns:

  • (::Boolean)

    If set to true, AppPlatform will use original annotations instead of dropping them, even if it is empty in the annotations filed.



733
734
735
736
737
738
739
740
741
742
743
744
745
746
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 733

class AppPlatformCloudFunctionResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A general annotation message that uses struct format to represent different
  # concrete annotation protobufs.
  # @!attribute [rw] annotation
  #   @return [::Google::Protobuf::Struct]
  #     The struct format of the actual annotation.
  class StructedOutputAnnotation
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#annotations::Array<::Google::Cloud::VisionAI::V1::AppPlatformCloudFunctionResponse::StructedOutputAnnotation>

Returns The modified annotations that is returned back to AppPlatform. If the annotations fields are empty, then those annotations will be dropped by AppPlatform.

Returns:



733
734
735
736
737
738
739
740
741
742
743
744
745
746
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 733

class AppPlatformCloudFunctionResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A general annotation message that uses struct format to represent different
  # concrete annotation protobufs.
  # @!attribute [rw] annotation
  #   @return [::Google::Protobuf::Struct]
  #     The struct format of the actual annotation.
  class StructedOutputAnnotation
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#events::Array<::Google::Cloud::VisionAI::V1::AppPlatformEventBody>

Returns The event notifications that is returned back to AppPlatform. Typically it will then be configured to be consumed/forwared to a operator that handles events, such as Pub/Sub operator.

Returns:



733
734
735
736
737
738
739
740
741
742
743
744
745
746
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 733

class AppPlatformCloudFunctionResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A general annotation message that uses struct format to represent different
  # concrete annotation protobufs.
  # @!attribute [rw] annotation
  #   @return [::Google::Protobuf::Struct]
  #     The struct format of the actual annotation.
  class StructedOutputAnnotation
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end