public sealed class DirectAccessServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Device Streaming v1 API class DirectAccessServiceSettings.
Settings for DirectAccessServiceClient instances.
Namespace
Google.Cloud.DeviceStreaming.V1Assembly
Google.Cloud.DeviceStreaming.V1.dll
Constructors
DirectAccessServiceSettings()
public DirectAccessServiceSettings()
Constructs a new DirectAccessServiceSettings object with default settings.
Properties
AdbConnectSettings
public CallSettings AdbConnectSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
DirectAccessServiceClient.AdbConnect
and DirectAccessServiceClient.AdbConnectAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 1800 seconds.
AdbConnectStreamingSettings
public BidirectionalStreamingSettings AdbConnectStreamingSettings { get; set; }
BidirectionalStreamingSettings for calls to DirectAccessServiceClient.AdbConnect
and DirectAccessServiceClient.AdbConnectAsync
.
Property Value | |
---|---|
Type | Description |
BidirectionalStreamingSettings |
The default local send queue size is 100.
CancelDeviceSessionSettings
public CallSettings CancelDeviceSessionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
DirectAccessServiceClient.CancelDeviceSession
and
DirectAccessServiceClient.CancelDeviceSessionAsync
.
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: 20 seconds.
CreateDeviceSessionSettings
public CallSettings CreateDeviceSessionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
DirectAccessServiceClient.CreateDeviceSession
and
DirectAccessServiceClient.CreateDeviceSessionAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 20 seconds.
GetDeviceSessionSettings
public CallSettings GetDeviceSessionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
DirectAccessServiceClient.GetDeviceSession
and DirectAccessServiceClient.GetDeviceSessionAsync
.
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: 20 seconds.
ListDeviceSessionsSettings
public CallSettings ListDeviceSessionsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
DirectAccessServiceClient.ListDeviceSessions
and DirectAccessServiceClient.ListDeviceSessionsAsync
.
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: 20 seconds.
UpdateDeviceSessionSettings
public CallSettings UpdateDeviceSessionSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
DirectAccessServiceClient.UpdateDeviceSession
and
DirectAccessServiceClient.UpdateDeviceSessionAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 20 seconds.
Methods
Clone()
public DirectAccessServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
DirectAccessServiceSettings |
A deep clone of this DirectAccessServiceSettings object. |
GetDefault()
public static DirectAccessServiceSettings GetDefault()
Get a new instance of the default DirectAccessServiceSettings.
Returns | |
---|---|
Type | Description |
DirectAccessServiceSettings |
A new instance of the default DirectAccessServiceSettings. |