public sealed class VideoIntelligenceServiceSettings : ServiceSettingsBase
Settings for VideoIntelligenceServiceClient instances.
Namespace
Google.Cloud.VideoIntelligence.V1Assembly
Google.Cloud.VideoIntelligence.V1.dll
Constructors
VideoIntelligenceServiceSettings()
public VideoIntelligenceServiceSettings()
Constructs a new VideoIntelligenceServiceSettings object with default settings.
Properties
AnnotateVideoOperationsSettings
public OperationsSettings AnnotateVideoOperationsSettings { get; set; }
Long Running Operation settings for calls to VideoIntelligenceServiceClient.AnnotateVideo
and
VideoIntelligenceServiceClient.AnnotateVideoAsync
.
Property Value | |
---|---|
Type | Description |
Google.LongRunning.OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
AnnotateVideoSettings
public CallSettings AnnotateVideoSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
VideoIntelligenceServiceClient.AnnotateVideo
and VideoIntelligenceServiceClient.AnnotateVideoAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 2.5
- Retry maximum delay: 120000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
Methods
Clone()
public VideoIntelligenceServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
VideoIntelligenceServiceSettings | A deep clone of this VideoIntelligenceServiceSettings object. |
GetDefault()
public static VideoIntelligenceServiceSettings GetDefault()
Get a new instance of the default VideoIntelligenceServiceSettings.
Returns | |
---|---|
Type | Description |
VideoIntelligenceServiceSettings | A new instance of the default VideoIntelligenceServiceSettings. |