Cloud Storage v2 API - Class StorageControlSettings (1.0.0-beta02)

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
TypeDescription
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
TypeDescription
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
TypeDescription
CallSettings
Remarks

GetStorageLayoutSettings

public CallSettings GetStorageLayoutSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks

ListFoldersSettings

public CallSettings ListFoldersSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks

RenameFolderOperationsSettings

public OperationsSettings RenameFolderOperationsSettings { get; set; }

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

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.

RenameFolderSettings

public CallSettings RenameFolderSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks

Methods

Clone()

public StorageControlSettings Clone()

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

Returns
TypeDescription
StorageControlSettings

A deep clone of this StorageControlSettings object.

GetDefault()

public static StorageControlSettings GetDefault()

Get a new instance of the default StorageControlSettings.

Returns
TypeDescription
StorageControlSettings

A new instance of the default StorageControlSettings.