public sealed class LocationsSettings : Api.Gax.Grpc.ServiceSettingsBase
Settings for LocationsClient instances.
Namespace
Google.Cloud.LocationAssembly
Google.Cloud.Location.dll
Constructors
LocationsSettings()
public LocationsSettings()
Constructs a new LocationsSettings object with default settings.
Properties
GetLocationSettings
public Api.Gax.Grpc.CallSettings GetLocationSettings { get; set; }
for synchronous and asynchronous calls to LocationsClient.GetLocation
and LocationsClient.GetLocationAsync
.
Property Value | |
---|---|
Type | Description |
Api.Gax.Grpc.CallSettings |
- This call will not be retried.
- No timeout is applied.
ListLocationsSettings
public Api.Gax.Grpc.CallSettings ListLocationsSettings { get; set; }
for synchronous and asynchronous calls to
LocationsClient.ListLocations
and LocationsClient.ListLocationsAsync
.
Property Value | |
---|---|
Type | Description |
Api.Gax.Grpc.CallSettings |
- This call will not be retried.
- No timeout is applied.
Methods
Clone()
public LocationsSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
LocationsSettings | A deep clone of this LocationsSettings object. |
GetDefault()
public static LocationsSettings GetDefault()
Get a new instance of the default LocationsSettings.
Returns | |
---|---|
Type | Description |
LocationsSettings | A new instance of the default LocationsSettings. |