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
- (::Array<::Google::Cloud::VisionAI::V1::AppPlatformCloudFunctionResponse::StructedOutputAnnotation>) — The modified annotations that is returned back to AppPlatform. If the annotations fields are empty, then those annotations will be dropped by AppPlatform.
#annotations=
def annotations=(value) -> ::Array<::Google::Cloud::VisionAI::V1::AppPlatformCloudFunctionResponse::StructedOutputAnnotation>
Parameter
- value (::Array<::Google::Cloud::VisionAI::V1::AppPlatformCloudFunctionResponse::StructedOutputAnnotation>) — The modified annotations that is returned back to AppPlatform. If the annotations fields are empty, then those annotations will be dropped by AppPlatform.
Returns
- (::Array<::Google::Cloud::VisionAI::V1::AppPlatformCloudFunctionResponse::StructedOutputAnnotation>) — The modified annotations that is returned back to AppPlatform. If the annotations fields are empty, then those annotations will be dropped by AppPlatform.
#events
def events() -> ::Array<::Google::Cloud::VisionAI::V1::AppPlatformEventBody>
Returns
- (::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.
#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
- (::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.