- 3.10.0 (latest)
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
public sealed class PredictionServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Cloud AI Platform v1 API class PredictionServiceSettings.
Settings for PredictionServiceClient instances.
Namespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
PredictionServiceSettings()
public PredictionServiceSettings()
Constructs a new PredictionServiceSettings object with default settings.
Properties
DirectPredictSettings
public CallSettings DirectPredictSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
PredictionServiceClient.DirectPredict
and PredictionServiceClient.DirectPredictAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
DirectRawPredictSettings
public CallSettings DirectRawPredictSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
PredictionServiceClient.DirectRawPredict
and PredictionServiceClient.DirectRawPredictAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
ExplainSettings
public CallSettings ExplainSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
PredictionServiceClient.Explain
and PredictionServiceClient.ExplainAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
GenerateContentSettings
public CallSettings GenerateContentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
PredictionServiceClient.GenerateContent
and PredictionServiceClient.GenerateContentAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
IAMPolicySettings |
LocationsSettings
public LocationsSettings LocationsSettings { get; set; }
The settings to use for the LocationsClient associated with the client.
Property Value | |
---|---|
Type | Description |
LocationsSettings |
PredictSettings
public CallSettings PredictSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
PredictionServiceClient.Predict
and PredictionServiceClient.PredictAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
StreamDirectPredictSettings
public CallSettings StreamDirectPredictSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
PredictionServiceClient.StreamDirectPredict
and PredictionServiceClient.StreamDirectPredictAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
StreamDirectPredictStreamingSettings
public BidirectionalStreamingSettings StreamDirectPredictStreamingSettings { get; set; }
BidirectionalStreamingSettings for calls to
PredictionServiceClient.StreamDirectPredict
and PredictionServiceClient.StreamDirectPredictAsync
.
Property Value | |
---|---|
Type | Description |
BidirectionalStreamingSettings |
The default local send queue size is 100.
StreamDirectRawPredictSettings
public CallSettings StreamDirectRawPredictSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
PredictionServiceClient.StreamDirectRawPredict
and
PredictionServiceClient.StreamDirectRawPredictAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
StreamDirectRawPredictStreamingSettings
public BidirectionalStreamingSettings StreamDirectRawPredictStreamingSettings { get; set; }
BidirectionalStreamingSettings for calls to
PredictionServiceClient.StreamDirectRawPredict
and
PredictionServiceClient.StreamDirectRawPredictAsync
.
Property Value | |
---|---|
Type | Description |
BidirectionalStreamingSettings |
The default local send queue size is 100.
StreamGenerateContentSettings
public CallSettings StreamGenerateContentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
PredictionServiceClient.StreamGenerateContent
and
PredictionServiceClient.StreamGenerateContentAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
StreamRawPredictSettings
public CallSettings StreamRawPredictSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
PredictionServiceClient.StreamRawPredict
and PredictionServiceClient.StreamRawPredictAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
StreamingPredictSettings
public CallSettings StreamingPredictSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
PredictionServiceClient.StreamingPredict
and PredictionServiceClient.StreamingPredictAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
StreamingPredictStreamingSettings
public BidirectionalStreamingSettings StreamingPredictStreamingSettings { get; set; }
BidirectionalStreamingSettings for calls to
PredictionServiceClient.StreamingPredict
and PredictionServiceClient.StreamingPredictAsync
.
Property Value | |
---|---|
Type | Description |
BidirectionalStreamingSettings |
The default local send queue size is 100.
StreamingRawPredictSettings
public CallSettings StreamingRawPredictSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
PredictionServiceClient.StreamingRawPredict
and PredictionServiceClient.StreamingRawPredictAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
StreamingRawPredictStreamingSettings
public BidirectionalStreamingSettings StreamingRawPredictStreamingSettings { get; set; }
BidirectionalStreamingSettings for calls to
PredictionServiceClient.StreamingRawPredict
and PredictionServiceClient.StreamingRawPredictAsync
.
Property Value | |
---|---|
Type | Description |
BidirectionalStreamingSettings |
The default local send queue size is 100.
Methods
Clone()
public PredictionServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
PredictionServiceSettings |
A deep clone of this PredictionServiceSettings object. |
GetDefault()
public static PredictionServiceSettings GetDefault()
Get a new instance of the default PredictionServiceSettings.
Returns | |
---|---|
Type | Description |
PredictionServiceSettings |
A new instance of the default PredictionServiceSettings. |