public sealed class CloudApiRegistrySettings : ServiceSettingsBaseReference documentation and code samples for the Cloud API Registry v1beta API class CloudApiRegistrySettings.
Settings for CloudApiRegistryClient instances.
Namespace
Google.Cloud.ApiRegistry.V1BetaAssembly
Google.Cloud.ApiRegistry.V1Beta.dll
Constructors
CloudApiRegistrySettings()
public CloudApiRegistrySettings()Constructs a new CloudApiRegistrySettings object with default settings.
Properties
GetMcpServerSettings
public CallSettings GetMcpServerSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CloudApiRegistryClient.GetMcpServer and CloudApiRegistryClient.GetMcpServerAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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.
GetMcpToolSettings
public CallSettings GetMcpToolSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CloudApiRegistryClient.GetMcpTool and CloudApiRegistryClient.GetMcpToolAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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.
ListMcpServersSettings
public CallSettings ListMcpServersSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CloudApiRegistryClient.ListMcpServers and CloudApiRegistryClient.ListMcpServersAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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.
ListMcpToolsSettings
public CallSettings ListMcpToolsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CloudApiRegistryClient.ListMcpTools and CloudApiRegistryClient.ListMcpToolsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- 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.
LocationsSettings
public LocationsSettings LocationsSettings { get; set; }The settings to use for the LocationsClient associated with the client.
| Property Value | |
|---|---|
| Type | Description |
LocationsSettings |
|
Methods
Clone()
public CloudApiRegistrySettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
CloudApiRegistrySettings |
A deep clone of this CloudApiRegistrySettings object. |
GetDefault()
public static CloudApiRegistrySettings GetDefault()Get a new instance of the default CloudApiRegistrySettings.
| Returns | |
|---|---|
| Type | Description |
CloudApiRegistrySettings |
A new instance of the default CloudApiRegistrySettings. |