Class PredictionService
AutoML Prediction API.
On any input that is documented to expect a string parameter in snake_case or kebab-case, either of those cases is accepted.
Inheritance
System.Object
PredictionService
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.AutoML.V1
Assembly: Google.Cloud.AutoML.V1.dll
Syntax
public static class PredictionService
Methods
BindService(PredictionService.PredictionServiceBase)
Creates service definition that can be registered with a server
Declaration
public static ServerServiceDefinition BindService(PredictionService.PredictionServiceBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
PredictionService.PredictionServiceBase | serviceImpl | An object implementing the server-side handling logic. |
Returns
Type | Description |
---|---|
ServerServiceDefinition |
BindService(ServiceBinderBase, PredictionService.PredictionServiceBase)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Declaration
public static void BindService(ServiceBinderBase serviceBinder, PredictionService.PredictionServiceBase serviceImpl)
Parameters
Type | Name | Description |
---|---|---|
ServiceBinderBase | serviceBinder | Service methods will be bound by calling |
PredictionService.PredictionServiceBase | serviceImpl | An object implementing the server-side handling logic. |