public sealed class ApiHubDiscoverySettings : ServiceSettingsBaseReference documentation and code samples for the API hub v1 API class ApiHubDiscoverySettings.
Settings for ApiHubDiscoveryClient instances.
Namespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
ApiHubDiscoverySettings()
public ApiHubDiscoverySettings()Constructs a new ApiHubDiscoverySettings object with default settings.
Properties
GetDiscoveredApiObservationSettings
public CallSettings GetDiscoveredApiObservationSettings { get; set; }CallSettings for synchronous and asynchronous calls to
ApiHubDiscoveryClient.GetDiscoveredApiObservation and
ApiHubDiscoveryClient.GetDiscoveredApiObservationAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
GetDiscoveredApiOperationSettings
public CallSettings GetDiscoveredApiOperationSettings { get; set; }CallSettings for synchronous and asynchronous calls to
ApiHubDiscoveryClient.GetDiscoveredApiOperation and
ApiHubDiscoveryClient.GetDiscoveredApiOperationAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
ListDiscoveredApiObservationsSettings
public CallSettings ListDiscoveredApiObservationsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
ApiHubDiscoveryClient.ListDiscoveredApiObservations and
ApiHubDiscoveryClient.ListDiscoveredApiObservationsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
ListDiscoveredApiOperationsSettings
public CallSettings ListDiscoveredApiOperationsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
ApiHubDiscoveryClient.ListDiscoveredApiOperations and
ApiHubDiscoveryClient.ListDiscoveredApiOperationsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
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 ApiHubDiscoverySettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
ApiHubDiscoverySettings |
A deep clone of this ApiHubDiscoverySettings object. |
GetDefault()
public static ApiHubDiscoverySettings GetDefault()Get a new instance of the default ApiHubDiscoverySettings.
| Returns | |
|---|---|
| Type | Description |
ApiHubDiscoverySettings |
A new instance of the default ApiHubDiscoverySettings. |