Cloud AI Platform v1 API - Class PredictionServiceSettings (2.19.0)

public sealed class PredictionServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud AI Platform v1 API class PredictionServiceSettings.

Settings for PredictionServiceClient instances.

Inheritance

object > ServiceSettingsBase > PredictionServiceSettings

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

PredictionServiceSettings()

public PredictionServiceSettings()

Constructs a new PredictionServiceSettings object with default settings.

Properties

ExplainSettings

public CallSettings ExplainSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PredictionServiceClient.Explain and PredictionServiceClient.ExplainAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

IAMPolicySettings

public IAMPolicySettings IAMPolicySettings { get; set; }

The settings to use for the IAMPolicyClient associated with the client.

Property Value
TypeDescription
IAMPolicySettings

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
TypeDescription
LocationsSettings

PredictSettings

public CallSettings PredictSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PredictionServiceClient.Predict and PredictionServiceClient.PredictAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

RawPredictSettings

public CallSettings RawPredictSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PredictionServiceClient.RawPredict and PredictionServiceClient.RawPredictAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ServerStreamingPredictSettings

public CallSettings ServerStreamingPredictSettings { get; set; }

CallSettings for synchronous and asynchronous calls to PredictionServiceClient.ServerStreamingPredict and PredictionServiceClient.ServerStreamingPredictAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

Methods

Clone()

public PredictionServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
PredictionServiceSettings

A deep clone of this PredictionServiceSettings object.

GetDefault()

public static PredictionServiceSettings GetDefault()

Get a new instance of the default PredictionServiceSettings.

Returns
TypeDescription
PredictionServiceSettings

A new instance of the default PredictionServiceSettings.