Class ModelServiceSettings (1.8.0)

public sealed class ModelServiceSettings : ServiceSettingsBase

Settings for ModelServiceClient instances.

Inheritance

Object > ServiceSettingsBase > ModelServiceSettings

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

ModelServiceSettings()

public ModelServiceSettings()

Constructs a new ModelServiceSettings object with default settings.

Properties

DeleteModelOperationsSettings

public OperationsSettings DeleteModelOperationsSettings { get; set; }

Long Running Operation settings for calls to ModelServiceClient.DeleteModel and ModelServiceClient.DeleteModelAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

DeleteModelSettings

public CallSettings DeleteModelSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ModelServiceClient.DeleteModel and ModelServiceClient.DeleteModelAsync.

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

ExportModelOperationsSettings

public OperationsSettings ExportModelOperationsSettings { get; set; }

Long Running Operation settings for calls to ModelServiceClient.ExportModel and ModelServiceClient.ExportModelAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

ExportModelSettings

public CallSettings ExportModelSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ModelServiceClient.ExportModel and ModelServiceClient.ExportModelAsync.

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

GetModelEvaluationSettings

public CallSettings GetModelEvaluationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ModelServiceClient.GetModelEvaluation and ModelServiceClient.GetModelEvaluationAsync.

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

GetModelEvaluationSliceSettings

public CallSettings GetModelEvaluationSliceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ModelServiceClient.GetModelEvaluationSlice and ModelServiceClient.GetModelEvaluationSliceAsync .

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

GetModelSettings

public CallSettings GetModelSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ModelServiceClient.GetModel and ModelServiceClient.GetModelAsync.

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

ImportModelEvaluationSettings

public CallSettings ImportModelEvaluationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ModelServiceClient.ImportModelEvaluation and ModelServiceClient.ImportModelEvaluationAsync.

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

ListModelEvaluationSlicesSettings

public CallSettings ListModelEvaluationSlicesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ModelServiceClient.ListModelEvaluationSlices and ModelServiceClient.ListModelEvaluationSlicesAsync .

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

ListModelEvaluationsSettings

public CallSettings ListModelEvaluationsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ModelServiceClient.ListModelEvaluations and ModelServiceClient.ListModelEvaluationsAsync.

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

ListModelsSettings

public CallSettings ListModelsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ModelServiceClient.ListModels and ModelServiceClient.ListModelsAsync.

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

UpdateModelSettings

public CallSettings UpdateModelSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ModelServiceClient.UpdateModel and ModelServiceClient.UpdateModelAsync.

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

UploadModelOperationsSettings

public OperationsSettings UploadModelOperationsSettings { get; set; }

Long Running Operation settings for calls to ModelServiceClient.UploadModel and ModelServiceClient.UploadModelAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

UploadModelSettings

public CallSettings UploadModelSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ModelServiceClient.UploadModel and ModelServiceClient.UploadModelAsync.

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

Methods

Clone()

public ModelServiceSettings Clone()

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

Returns
TypeDescription
ModelServiceSettings

A deep clone of this ModelServiceSettings object.

GetDefault()

public static ModelServiceSettings GetDefault()

Get a new instance of the default ModelServiceSettings.

Returns
TypeDescription
ModelServiceSettings

A new instance of the default ModelServiceSettings.