API hub v1 API - Class LintingServiceSettings (1.0.0-beta02)

public sealed class LintingServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the API hub v1 API class LintingServiceSettings.

Settings for LintingServiceClient instances.

Inheritance

object > ServiceSettingsBase > LintingServiceSettings

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

LintingServiceSettings()

public LintingServiceSettings()

Constructs a new LintingServiceSettings object with default settings.

Properties

GetStyleGuideContentsSettings

public CallSettings GetStyleGuideContentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LintingServiceClient.GetStyleGuideContents and LintingServiceClient.GetStyleGuideContentsAsync .

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.

GetStyleGuideSettings

public CallSettings GetStyleGuideSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LintingServiceClient.GetStyleGuide and LintingServiceClient.GetStyleGuideAsync.

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.

LintSpecSettings

public CallSettings LintSpecSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LintingServiceClient.LintSpec and LintingServiceClient.LintSpecAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • 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

UpdateStyleGuideSettings

public CallSettings UpdateStyleGuideSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LintingServiceClient.UpdateStyleGuide and LintingServiceClient.UpdateStyleGuideAsync.

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

Methods

Clone()

public LintingServiceSettings Clone()

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

Returns
Type Description
LintingServiceSettings

A deep clone of this LintingServiceSettings object.

GetDefault()

public static LintingServiceSettings GetDefault()

Get a new instance of the default LintingServiceSettings.

Returns
Type Description
LintingServiceSettings

A new instance of the default LintingServiceSettings.