public sealed class StreamingServiceSettings : ServiceSettingsBaseReference documentation and code samples for the Vision AI v1 API class StreamingServiceSettings.
Settings for StreamingServiceClient instances.
Namespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Constructors
StreamingServiceSettings()
public StreamingServiceSettings()Constructs a new StreamingServiceSettings object with default settings.
Properties
AcquireLeaseSettings
public CallSettings AcquireLeaseSettings { get; set; }CallSettings for synchronous and asynchronous calls to
StreamingServiceClient.AcquireLease and StreamingServiceClient.AcquireLeaseAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
IAMPolicySettings
public IAMPolicySettings IAMPolicySettings { get; set; }The settings to use for the IAMPolicyClient associated with the client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicySettings |
|
LocationsSettings
public LocationsSettings LocationsSettings { get; set; }The settings to use for the LocationsClient associated with the client.
| Property Value | |
|---|---|
| Type | Description |
LocationsSettings |
|
ReceiveEventsSettings
public CallSettings ReceiveEventsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
StreamingServiceClient.ReceiveEvents and StreamingServiceClient.ReceiveEventsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
ReceiveEventsStreamingSettings
public BidirectionalStreamingSettings ReceiveEventsStreamingSettings { get; set; }BidirectionalStreamingSettings for calls to StreamingServiceClient.ReceiveEvents
and StreamingServiceClient.ReceiveEventsAsync.
| Property Value | |
|---|---|
| Type | Description |
BidirectionalStreamingSettings |
|
The default local send queue size is 100.
ReceivePacketsSettings
public CallSettings ReceivePacketsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
StreamingServiceClient.ReceivePackets and StreamingServiceClient.ReceivePacketsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
ReceivePacketsStreamingSettings
public BidirectionalStreamingSettings ReceivePacketsStreamingSettings { get; set; }BidirectionalStreamingSettings for calls to StreamingServiceClient.ReceivePackets
and StreamingServiceClient.ReceivePacketsAsync.
| Property Value | |
|---|---|
| Type | Description |
BidirectionalStreamingSettings |
|
The default local send queue size is 100.
ReleaseLeaseSettings
public CallSettings ReleaseLeaseSettings { get; set; }CallSettings for synchronous and asynchronous calls to
StreamingServiceClient.ReleaseLease and StreamingServiceClient.ReleaseLeaseAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
RenewLeaseSettings
public CallSettings RenewLeaseSettings { get; set; }CallSettings for synchronous and asynchronous calls to
StreamingServiceClient.RenewLease and StreamingServiceClient.RenewLeaseAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
SendPacketsSettings
public CallSettings SendPacketsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
StreamingServiceClient.SendPackets and StreamingServiceClient.SendPacketsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
SendPacketsStreamingSettings
public BidirectionalStreamingSettings SendPacketsStreamingSettings { get; set; }BidirectionalStreamingSettings for calls to StreamingServiceClient.SendPackets
and StreamingServiceClient.SendPacketsAsync.
| Property Value | |
|---|---|
| Type | Description |
BidirectionalStreamingSettings |
|
The default local send queue size is 100.
Methods
Clone()
public StreamingServiceSettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
StreamingServiceSettings |
A deep clone of this StreamingServiceSettings object. |
GetDefault()
public static StreamingServiceSettings GetDefault()Get a new instance of the default StreamingServiceSettings.
| Returns | |
|---|---|
| Type | Description |
StreamingServiceSettings |
A new instance of the default StreamingServiceSettings. |