public sealed class SchemaServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Cloud Pub/Sub v1 API class SchemaServiceSettings.
Settings for SchemaServiceClient instances.
Namespace
Google.Cloud.PubSub.V1Assembly
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
IAMPolicySettings |
ListSchemaRevisionsSettings
public CallSettings ListSchemaRevisionsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
SchemaServiceClient.ListSchemaRevisions
and SchemaServiceClient.ListSchemaRevisionsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
SchemaServiceSettings | A deep clone of this SchemaServiceSettings object. |
GetDefault()
public static SchemaServiceSettings GetDefault()
Get a new instance of the default SchemaServiceSettings.
Returns | |
---|---|
Type | Description |
SchemaServiceSettings | A new instance of the default SchemaServiceSettings. |