Class ProjectsSettings (1.1.0)

public sealed class ProjectsSettings : ServiceSettingsBase

Settings for ProjectsClient instances.

Inheritance

Object > ServiceSettingsBase > ProjectsSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ProjectsSettings()

public ProjectsSettings()

Constructs a new ProjectsSettings object with default settings.

Properties

DisableXpnHostOperationsSettings

public OperationsSettings DisableXpnHostOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.DisableXpnHost and ProjectsClient.DisableXpnHostAsync.

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.

DisableXpnHostSettings

public CallSettings DisableXpnHostSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.DisableXpnHost and ProjectsClient.DisableXpnHostAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

DisableXpnResourceOperationsSettings

public OperationsSettings DisableXpnResourceOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.DisableXpnResource and ProjectsClient.DisableXpnResourceAsync.

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.

DisableXpnResourceSettings

public CallSettings DisableXpnResourceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.DisableXpnResource and ProjectsClient.DisableXpnResourceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

EnableXpnHostOperationsSettings

public OperationsSettings EnableXpnHostOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.EnableXpnHost and ProjectsClient.EnableXpnHostAsync.

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.

EnableXpnHostSettings

public CallSettings EnableXpnHostSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.EnableXpnHost and ProjectsClient.EnableXpnHostAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

EnableXpnResourceOperationsSettings

public OperationsSettings EnableXpnResourceOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.EnableXpnResource and ProjectsClient.EnableXpnResourceAsync.

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.

EnableXpnResourceSettings

public CallSettings EnableXpnResourceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.EnableXpnResource and ProjectsClient.EnableXpnResourceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

GetSettings

public CallSettings GetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.Get and ProjectsClient.GetAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetXpnHostSettings

public CallSettings GetXpnHostSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.GetXpnHost and ProjectsClient.GetXpnHostAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetXpnResourcesSettings

public CallSettings GetXpnResourcesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.GetXpnResources and ProjectsClient.GetXpnResourcesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

ListXpnHostsSettings

public CallSettings ListXpnHostsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.ListXpnHosts and ProjectsClient.ListXpnHostsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

MoveDiskOperationsSettings

public OperationsSettings MoveDiskOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.MoveDisk and ProjectsClient.MoveDiskAsync.

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.

MoveDiskSettings

public CallSettings MoveDiskSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.MoveDisk and ProjectsClient.MoveDiskAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

MoveInstanceOperationsSettings

public OperationsSettings MoveInstanceOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.MoveInstance and ProjectsClient.MoveInstanceAsync.

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.

MoveInstanceSettings

public CallSettings MoveInstanceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.MoveInstance and ProjectsClient.MoveInstanceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

SetCommonInstanceMetadataOperationsSettings

public OperationsSettings SetCommonInstanceMetadataOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.SetCommonInstanceMetadata and ProjectsClient.SetCommonInstanceMetadataAsync.

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.

SetCommonInstanceMetadataSettings

public CallSettings SetCommonInstanceMetadataSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.SetCommonInstanceMetadata and ProjectsClient.SetCommonInstanceMetadataAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

SetDefaultNetworkTierOperationsSettings

public OperationsSettings SetDefaultNetworkTierOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.SetDefaultNetworkTier and ProjectsClient.SetDefaultNetworkTierAsync.

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.

SetDefaultNetworkTierSettings

public CallSettings SetDefaultNetworkTierSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.SetDefaultNetworkTier and ProjectsClient.SetDefaultNetworkTierAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

SetUsageExportBucketOperationsSettings

public OperationsSettings SetUsageExportBucketOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectsClient.SetUsageExportBucket and ProjectsClient.SetUsageExportBucketAsync.

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.

SetUsageExportBucketSettings

public CallSettings SetUsageExportBucketSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectsClient.SetUsageExportBucket and ProjectsClient.SetUsageExportBucketAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 600 seconds.

Methods

Clone()

public ProjectsSettings Clone()

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

Returns
TypeDescription
ProjectsSettings

A deep clone of this ProjectsSettings object.

GetDefault()

public static ProjectsSettings GetDefault()

Get a new instance of the default ProjectsSettings.

Returns
TypeDescription
ProjectsSettings

A new instance of the default ProjectsSettings.