Google Cloud Video Intelligence v1 API - Class VideoIntelligenceServiceSettings (3.3.0)

public sealed class VideoIntelligenceServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Video Intelligence v1 API class VideoIntelligenceServiceSettings.

Settings for VideoIntelligenceServiceClient instances.

Inheritance

object > ServiceSettingsBase > VideoIntelligenceServiceSettings

Namespace

Google.Cloud.VideoIntelligence.V1

Assembly

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
OperationsSettings
Remarks

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
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 2.5
  • Retry maximum delay: 120000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • 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.