App Hub v1 API - Class AppHubSettings (1.0.0-beta02)

public sealed class AppHubSettings : ServiceSettingsBase

Reference documentation and code samples for the App Hub v1 API class AppHubSettings.

Settings for AppHubClient instances.

Inheritance

object > ServiceSettingsBase > AppHubSettings

Namespace

Google.Cloud.AppHub.V1

Assembly

Google.Cloud.AppHub.V1.dll

Constructors

AppHubSettings()

public AppHubSettings()

Constructs a new AppHubSettings object with default settings.

Properties

CreateApplicationOperationsSettings

public OperationsSettings CreateApplicationOperationsSettings { get; set; }

Long Running Operation settings for calls to AppHubClient.CreateApplication and AppHubClient.CreateApplicationAsync.

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.

CreateApplicationSettings

public CallSettings CreateApplicationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.CreateApplication and AppHubClient.CreateApplicationAsync.

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

CreateServiceOperationsSettings

public OperationsSettings CreateServiceOperationsSettings { get; set; }

Long Running Operation settings for calls to AppHubClient.CreateService and AppHubClient.CreateServiceAsync.

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.

CreateServiceProjectAttachmentOperationsSettings

public OperationsSettings CreateServiceProjectAttachmentOperationsSettings { get; set; }

Long Running Operation settings for calls to AppHubClient.CreateServiceProjectAttachment and AppHubClient.CreateServiceProjectAttachmentAsync.

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.

CreateServiceProjectAttachmentSettings

public CallSettings CreateServiceProjectAttachmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.CreateServiceProjectAttachment and AppHubClient.CreateServiceProjectAttachmentAsync .

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

CreateServiceSettings

public CallSettings CreateServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.CreateService and AppHubClient.CreateServiceAsync.

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

CreateWorkloadOperationsSettings

public OperationsSettings CreateWorkloadOperationsSettings { get; set; }

Long Running Operation settings for calls to AppHubClient.CreateWorkload and AppHubClient.CreateWorkloadAsync.

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.

CreateWorkloadSettings

public CallSettings CreateWorkloadSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.CreateWorkload and AppHubClient.CreateWorkloadAsync.

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

DeleteApplicationOperationsSettings

public OperationsSettings DeleteApplicationOperationsSettings { get; set; }

Long Running Operation settings for calls to AppHubClient.DeleteApplication and AppHubClient.DeleteApplicationAsync.

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.

DeleteApplicationSettings

public CallSettings DeleteApplicationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.DeleteApplication and AppHubClient.DeleteApplicationAsync.

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

DeleteServiceOperationsSettings

public OperationsSettings DeleteServiceOperationsSettings { get; set; }

Long Running Operation settings for calls to AppHubClient.DeleteService and AppHubClient.DeleteServiceAsync.

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.

DeleteServiceProjectAttachmentOperationsSettings

public OperationsSettings DeleteServiceProjectAttachmentOperationsSettings { get; set; }

Long Running Operation settings for calls to AppHubClient.DeleteServiceProjectAttachment and AppHubClient.DeleteServiceProjectAttachmentAsync.

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.

DeleteServiceProjectAttachmentSettings

public CallSettings DeleteServiceProjectAttachmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.DeleteServiceProjectAttachment and AppHubClient.DeleteServiceProjectAttachmentAsync .

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

DeleteServiceSettings

public CallSettings DeleteServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.DeleteService and AppHubClient.DeleteServiceAsync.

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

DeleteWorkloadOperationsSettings

public OperationsSettings DeleteWorkloadOperationsSettings { get; set; }

Long Running Operation settings for calls to AppHubClient.DeleteWorkload and AppHubClient.DeleteWorkloadAsync.

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.

DeleteWorkloadSettings

public CallSettings DeleteWorkloadSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.DeleteWorkload and AppHubClient.DeleteWorkloadAsync.

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

DetachServiceProjectAttachmentSettings

public CallSettings DetachServiceProjectAttachmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.DetachServiceProjectAttachment and AppHubClient.DetachServiceProjectAttachmentAsync .

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

GetApplicationSettings

public CallSettings GetApplicationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.GetApplication and AppHubClient.GetApplicationAsync.

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

GetDiscoveredServiceSettings

public CallSettings GetDiscoveredServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.GetDiscoveredService and AppHubClient.GetDiscoveredServiceAsync.

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

GetDiscoveredWorkloadSettings

public CallSettings GetDiscoveredWorkloadSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.GetDiscoveredWorkload and AppHubClient.GetDiscoveredWorkloadAsync.

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

GetServiceProjectAttachmentSettings

public CallSettings GetServiceProjectAttachmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.GetServiceProjectAttachment and AppHubClient.GetServiceProjectAttachmentAsync.

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

GetServiceSettings

public CallSettings GetServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.GetService and AppHubClient.GetServiceAsync.

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

GetWorkloadSettings

public CallSettings GetWorkloadSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.GetWorkload and AppHubClient.GetWorkloadAsync.

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

IAMPolicySettings

public IAMPolicySettings IAMPolicySettings { get; set; }

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

Property Value
Type Description
IAMPolicySettings

ListApplicationsSettings

public CallSettings ListApplicationsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.ListApplications and AppHubClient.ListApplicationsAsync.

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

ListDiscoveredServicesSettings

public CallSettings ListDiscoveredServicesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.ListDiscoveredServices and AppHubClient.ListDiscoveredServicesAsync.

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

ListDiscoveredWorkloadsSettings

public CallSettings ListDiscoveredWorkloadsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.ListDiscoveredWorkloads and AppHubClient.ListDiscoveredWorkloadsAsync.

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

ListServiceProjectAttachmentsSettings

public CallSettings ListServiceProjectAttachmentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.ListServiceProjectAttachments and AppHubClient.ListServiceProjectAttachmentsAsync .

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

ListServicesSettings

public CallSettings ListServicesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.ListServices and AppHubClient.ListServicesAsync.

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

ListWorkloadsSettings

public CallSettings ListWorkloadsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.ListWorkloads and AppHubClient.ListWorkloadsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 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

LookupDiscoveredServiceSettings

public CallSettings LookupDiscoveredServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.LookupDiscoveredService and AppHubClient.LookupDiscoveredServiceAsync.

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

LookupDiscoveredWorkloadSettings

public CallSettings LookupDiscoveredWorkloadSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.LookupDiscoveredWorkload and AppHubClient.LookupDiscoveredWorkloadAsync.

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

LookupServiceProjectAttachmentSettings

public CallSettings LookupServiceProjectAttachmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.LookupServiceProjectAttachment and AppHubClient.LookupServiceProjectAttachmentAsync .

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

UpdateApplicationOperationsSettings

public OperationsSettings UpdateApplicationOperationsSettings { get; set; }

Long Running Operation settings for calls to AppHubClient.UpdateApplication and AppHubClient.UpdateApplicationAsync.

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.

UpdateApplicationSettings

public CallSettings UpdateApplicationSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.UpdateApplication and AppHubClient.UpdateApplicationAsync.

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

UpdateServiceOperationsSettings

public OperationsSettings UpdateServiceOperationsSettings { get; set; }

Long Running Operation settings for calls to AppHubClient.UpdateService and AppHubClient.UpdateServiceAsync.

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.

UpdateServiceSettings

public CallSettings UpdateServiceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.UpdateService and AppHubClient.UpdateServiceAsync.

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

UpdateWorkloadOperationsSettings

public OperationsSettings UpdateWorkloadOperationsSettings { get; set; }

Long Running Operation settings for calls to AppHubClient.UpdateWorkload and AppHubClient.UpdateWorkloadAsync.

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.

UpdateWorkloadSettings

public CallSettings UpdateWorkloadSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AppHubClient.UpdateWorkload and AppHubClient.UpdateWorkloadAsync.

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

Methods

Clone()

public AppHubSettings Clone()

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

Returns
Type Description
AppHubSettings

A deep clone of this AppHubSettings object.

GetDefault()

public static AppHubSettings GetDefault()

Get a new instance of the default AppHubSettings.

Returns
Type Description
AppHubSettings

A new instance of the default AppHubSettings.