Class SchemaServiceSettings

public sealed class SchemaServiceSettings : ServiceSettingsBase

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

CreateSchemaSettings

public CallSettings CreateSchemaSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

DeleteSchemaSettings

public CallSettings DeleteSchemaSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

GetSchemaSettings

public CallSettings GetSchemaSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ListSchemasSettings

public CallSettings ListSchemasSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ValidateMessageSettings

public CallSettings ValidateMessageSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

ValidateSchemaSettings

public CallSettings ValidateSchemaSettings { get; set; }

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

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

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.