Class: Google::Cloud::VisionAI::V1::AppPlatformCloudFunctionRequest

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

Overview

For any cloud function based customer processing logic, customer's cloud function is expected to receive AppPlatformCloudFunctionRequest as request and send back AppPlatformCloudFunctionResponse as response. Message of request from AppPlatform to Cloud Function.

Defined Under Namespace

Classes: StructedInputAnnotation

Instance Attribute Summary collapse

Instance Attribute Details

#annotations::Array<::Google::Cloud::VisionAI::V1::AppPlatformCloudFunctionRequest::StructedInputAnnotation>

Returns The actual annotations to be processed by the customized Cloud Function.

Returns:



700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 700

class AppPlatformCloudFunctionRequest
  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] ingestion_time_micros
  #   @return [::Integer]
  #     The ingestion time of the current annotation.
  # @!attribute [rw] annotation
  #   @return [::Google::Protobuf::Struct]
  #     The struct format of the actual annotation.
  class StructedInputAnnotation
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#app_platform_metadata::Google::Cloud::VisionAI::V1::AppPlatformMetadata

Returns The metadata of the AppPlatform for customer to identify the source of the payload.

Returns:



700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 700

class AppPlatformCloudFunctionRequest
  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] ingestion_time_micros
  #   @return [::Integer]
  #     The ingestion time of the current annotation.
  # @!attribute [rw] annotation
  #   @return [::Google::Protobuf::Struct]
  #     The struct format of the actual annotation.
  class StructedInputAnnotation
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end