Google Cloud Support v2 API - Class CommentServiceSettings (1.0.0)

public sealed class CommentServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Support v2 API class CommentServiceSettings.

Settings for CommentServiceClient instances.

Inheritance

object > ServiceSettingsBase > CommentServiceSettings

Namespace

Google.Cloud.Support.V2

Assembly

Google.Cloud.Support.V2.dll

Constructors

CommentServiceSettings()

public CommentServiceSettings()

Constructs a new CommentServiceSettings object with default settings.

Properties

CreateCommentSettings

public CallSettings CreateCommentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CommentServiceClient.CreateComment and CommentServiceClient.CreateCommentAsync.

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

ListCommentsSettings

public CallSettings ListCommentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CommentServiceClient.ListComments and CommentServiceClient.ListCommentsAsync.

Property Value
TypeDescription
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.

Methods

Clone()

public CommentServiceSettings Clone()

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

Returns
TypeDescription
CommentServiceSettings

A deep clone of this CommentServiceSettings object.

GetDefault()

public static CommentServiceSettings GetDefault()

Get a new instance of the default CommentServiceSettings.

Returns
TypeDescription
CommentServiceSettings

A new instance of the default CommentServiceSettings.