Class GenerateVideosOperation
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Represents a long-running operation, specifically for video generation tasks. Poll this resource to check the status and retrieve results upon completion.
public class GenerateVideosOperation : GoogleLongRunningOperation
- Inheritance
-
GenerateVideosOperation
- Inherited Members
- Extension Methods
Constructors
GenerateVideosOperation()
Initializes a new instance of the GenerateVideosOperation class.
public GenerateVideosOperation()
GenerateVideosOperation(GoogleLongRunningOperation)
Initializes a new instance of the GenerateVideosOperation class from a Google long-running operation.
public GenerateVideosOperation(GoogleLongRunningOperation operation)
Parameters
operationGoogleLongRunningOperationThe base Google long-running operation to convert.
Properties
Result
Convenience property potentially containing the typed result of the video generation if the operation succeeded. This field might be populated by SDK logic by parsing the Response dictionary.
[JsonPropertyName("result")]
public GenerateVideosResponse? Result { get; set; }