Storage Batch Operations v1 API - Class StorageBatchOperationsSettings (1.0.0-beta01)

public sealed class StorageBatchOperationsSettings : ServiceSettingsBase

Reference documentation and code samples for the Storage Batch Operations v1 API class StorageBatchOperationsSettings.

Settings for StorageBatchOperationsClient instances.

Inheritance

object > ServiceSettingsBase > StorageBatchOperationsSettings

Namespace

Google.Cloud.StorageBatchOperations.V1

Assembly

Google.Cloud.StorageBatchOperations.V1.dll

Constructors

StorageBatchOperationsSettings()

public StorageBatchOperationsSettings()

Constructs a new StorageBatchOperationsSettings object with default settings.

Properties

CancelJobSettings

public CallSettings CancelJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageBatchOperationsClient.CancelJob and StorageBatchOperationsClient.CancelJobAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 2
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

CreateJobOperationsSettings

public OperationsSettings CreateJobOperationsSettings { get; set; }

Long Running Operation settings for calls to StorageBatchOperationsClient.CreateJob and StorageBatchOperationsClient.CreateJobAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

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

CreateJobSettings

public CallSettings CreateJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageBatchOperationsClient.CreateJob and StorageBatchOperationsClient.CreateJobAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

DeleteJobSettings

public CallSettings DeleteJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageBatchOperationsClient.DeleteJob and StorageBatchOperationsClient.DeleteJobAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

GetJobSettings

public CallSettings GetJobSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageBatchOperationsClient.GetJob and StorageBatchOperationsClient.GetJobAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 2
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListJobsSettings

public CallSettings ListJobsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageBatchOperationsClient.ListJobs and StorageBatchOperationsClient.ListJobsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 2
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
Type Description
LocationsSettings

Methods

Clone()

public StorageBatchOperationsSettings Clone()

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

Returns
Type Description
StorageBatchOperationsSettings

A deep clone of this StorageBatchOperationsSettings object.

GetDefault()

public static StorageBatchOperationsSettings GetDefault()

Get a new instance of the default StorageBatchOperationsSettings.

Returns
Type Description
StorageBatchOperationsSettings

A new instance of the default StorageBatchOperationsSettings.