Cloud Storage v2 API - Class StorageControlSettings (1.1.0)

public sealed class StorageControlSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Storage v2 API class StorageControlSettings.

Settings for StorageControlClient instances.

Inheritance

object > ServiceSettingsBase > StorageControlSettings

Namespace

Google.Cloud.Storage.Control.V2

Assembly

Google.Cloud.Storage.Control.V2.dll

Constructors

StorageControlSettings()

public StorageControlSettings()

Constructs a new StorageControlSettings object with default settings.

Properties

CreateFolderSettings

public CallSettings CreateFolderSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageControlClient.CreateFolder and StorageControlClient.CreateFolderAsync.

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

CreateManagedFolderSettings

public CallSettings CreateManagedFolderSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageControlClient.CreateManagedFolder and StorageControlClient.CreateManagedFolderAsync.

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

DeleteFolderSettings

public CallSettings DeleteFolderSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageControlClient.DeleteFolder and StorageControlClient.DeleteFolderAsync.

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

DeleteManagedFolderSettings

public CallSettings DeleteManagedFolderSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageControlClient.DeleteManagedFolder and StorageControlClient.DeleteManagedFolderAsync.

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

GetFolderSettings

public CallSettings GetFolderSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageControlClient.GetFolder and StorageControlClient.GetFolderAsync.

Property Value
Type Description
CallSettings
Remarks

GetManagedFolderSettings

public CallSettings GetManagedFolderSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageControlClient.GetManagedFolder and StorageControlClient.GetManagedFolderAsync.

Property Value
Type Description
CallSettings
Remarks

GetStorageLayoutSettings

public CallSettings GetStorageLayoutSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageControlClient.GetStorageLayout and StorageControlClient.GetStorageLayoutAsync.

Property Value
Type Description
CallSettings
Remarks

ListFoldersSettings

public CallSettings ListFoldersSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageControlClient.ListFolders and StorageControlClient.ListFoldersAsync.

Property Value
Type Description
CallSettings
Remarks

ListManagedFoldersSettings

public CallSettings ListManagedFoldersSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageControlClient.ListManagedFolders and StorageControlClient.ListManagedFoldersAsync.

Property Value
Type Description
CallSettings
Remarks

RenameFolderOperationsSettings

public OperationsSettings RenameFolderOperationsSettings { get; set; }

Long Running Operation settings for calls to StorageControlClient.RenameFolder and StorageControlClient.RenameFolderAsync.

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.

RenameFolderSettings

public CallSettings RenameFolderSettings { get; set; }

CallSettings for synchronous and asynchronous calls to StorageControlClient.RenameFolder and StorageControlClient.RenameFolderAsync.

Property Value
Type Description
CallSettings
Remarks

Methods

Clone()

public StorageControlSettings Clone()

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

Returns
Type Description
StorageControlSettings

A deep clone of this StorageControlSettings object.

GetDefault()

public static StorageControlSettings GetDefault()

Get a new instance of the default StorageControlSettings.

Returns
Type Description
StorageControlSettings

A new instance of the default StorageControlSettings.