Google Cloud Video Intelligence v1 API - Class VideoIntelligenceServiceSettings (3.2.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
TypeDescription
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
TypeDescription
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
TypeDescription
VideoIntelligenceServiceSettings

A deep clone of this VideoIntelligenceServiceSettings object.

GetDefault()

public static VideoIntelligenceServiceSettings GetDefault()

Get a new instance of the default VideoIntelligenceServiceSettings.

Returns
TypeDescription
VideoIntelligenceServiceSettings

A new instance of the default VideoIntelligenceServiceSettings.