Cloud Pub/Sub v1 API - Class SchemaServiceSettings (3.10.0-beta01)

public sealed class SchemaServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Pub/Sub v1 API class SchemaServiceSettings.

Settings for SchemaServiceClient instances.

Inheritance

object > ServiceSettingsBase > SchemaServiceSettings

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

SchemaServiceSettings()

public SchemaServiceSettings()

Constructs a new SchemaServiceSettings object with default settings.

Properties

CommitSchemaSettings

public CallSettings CommitSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.CommitSchema and SchemaServiceClient.CommitSchemaAsync.

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

CreateSchemaSettings

public CallSettings CreateSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.CreateSchema and SchemaServiceClient.CreateSchemaAsync.

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

DeleteSchemaRevisionSettings

public CallSettings DeleteSchemaRevisionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.DeleteSchemaRevision and SchemaServiceClient.DeleteSchemaRevisionAsync.

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

DeleteSchemaSettings

public CallSettings DeleteSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.DeleteSchema and SchemaServiceClient.DeleteSchemaAsync.

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

GetSchemaSettings

public CallSettings GetSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.GetSchema and SchemaServiceClient.GetSchemaAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 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
TypeDescription
IAMPolicySettings

ListSchemaRevisionsSettings

public CallSettings ListSchemaRevisionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.ListSchemaRevisions and SchemaServiceClient.ListSchemaRevisionsAsync.

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

ListSchemasSettings

public CallSettings ListSchemasSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.ListSchemas and SchemaServiceClient.ListSchemasAsync.

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

RollbackSchemaSettings

public CallSettings RollbackSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.RollbackSchema and SchemaServiceClient.RollbackSchemaAsync.

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

ValidateMessageSettings

public CallSettings ValidateMessageSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.ValidateMessage and SchemaServiceClient.ValidateMessageAsync.

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

ValidateSchemaSettings

public CallSettings ValidateSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.ValidateSchema and SchemaServiceClient.ValidateSchemaAsync.

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

Methods

Clone()

public SchemaServiceSettings Clone()

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

Returns
TypeDescription
SchemaServiceSettings

A deep clone of this SchemaServiceSettings object.

GetDefault()

public static SchemaServiceSettings GetDefault()

Get a new instance of the default SchemaServiceSettings.

Returns
TypeDescription
SchemaServiceSettings

A new instance of the default SchemaServiceSettings.