public sealed class ProjectsSettings : ServiceSettingsBase
Reference documentation and code samples for the Compute Engine v1 API class ProjectsSettings.
Settings for ProjectsClient instances.
Namespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
OperationsSettings |
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
ProjectsSettings | A deep clone of this ProjectsSettings object. |
GetDefault()
public static ProjectsSettings GetDefault()
Get a new instance of the default ProjectsSettings.
Returns | |
---|---|
Type | Description |
ProjectsSettings | A new instance of the default ProjectsSettings. |