Vision AI V1 API - Class Google::Cloud::VisionAI::V1::AppPlatformCloudFunctionResponse (v0.3.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AppPlatformCloudFunctionResponse.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#annotation_passthrough

def annotation_passthrough() -> ::Boolean
Returns
  • (::Boolean) — If set to true, AppPlatform will use original annotations instead of dropping them, even if it is empty in the annotations filed.

#annotation_passthrough=

def annotation_passthrough=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.

#annotations

def annotations() -> ::Array<::Google::Cloud::VisionAI::V1::AppPlatformCloudFunctionResponse::StructedOutputAnnotation>
Returns

#annotations=

def annotations=(value) -> ::Array<::Google::Cloud::VisionAI::V1::AppPlatformCloudFunctionResponse::StructedOutputAnnotation>
Parameter
Returns

#events

def events() -> ::Array<::Google::Cloud::VisionAI::V1::AppPlatformEventBody>
Returns

#events=

def events=(value) -> ::Array<::Google::Cloud::VisionAI::V1::AppPlatformEventBody>
Parameter
  • value (::Array<::Google::Cloud::VisionAI::V1::AppPlatformEventBody>) — 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