Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::CustomProcessorSourceInfo::ModelSchema.
The schema is defined as an OpenAPI 3.0.2 Schema Object.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instances_schema
def instances_schema() -> ::Google::Cloud::VisionAI::V1::GcsSource
Returns
- (::Google::Cloud::VisionAI::V1::GcsSource) — Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.
#instances_schema=
def instances_schema=(value) -> ::Google::Cloud::VisionAI::V1::GcsSource
Parameter
- value (::Google::Cloud::VisionAI::V1::GcsSource) — Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.
Returns
- (::Google::Cloud::VisionAI::V1::GcsSource) — Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests.
#parameters_schema
def parameters_schema() -> ::Google::Cloud::VisionAI::V1::GcsSource
Returns
- (::Google::Cloud::VisionAI::V1::GcsSource) — Cloud Storage location to a YAML file that defines the prediction and explanation parameters.
#parameters_schema=
def parameters_schema=(value) -> ::Google::Cloud::VisionAI::V1::GcsSource
Parameter
- value (::Google::Cloud::VisionAI::V1::GcsSource) — Cloud Storage location to a YAML file that defines the prediction and explanation parameters.
Returns
- (::Google::Cloud::VisionAI::V1::GcsSource) — Cloud Storage location to a YAML file that defines the prediction and explanation parameters.
#predictions_schema
def predictions_schema() -> ::Google::Cloud::VisionAI::V1::GcsSource
Returns
- (::Google::Cloud::VisionAI::V1::GcsSource) — Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.
#predictions_schema=
def predictions_schema=(value) -> ::Google::Cloud::VisionAI::V1::GcsSource
Parameter
- value (::Google::Cloud::VisionAI::V1::GcsSource) — Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.
Returns
- (::Google::Cloud::VisionAI::V1::GcsSource) — Cloud Storage location to a YAML file that defines the format of a single prediction or explanation.