Class CreateBatchJobConfig
Config for optional parameters.
public record CreateBatchJobConfig : IEquatable<CreateBatchJobConfig>
- Inheritance
-
CreateBatchJobConfig
- Implements
- Inherited Members
Properties
Dest
GCS or BigQuery URI prefix for the output predictions. Example: "gs://path/to/output/data" or "bq://projectId.bqDatasetId.bqTableId".
[JsonPropertyName("dest")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public BatchJobDestination? Dest { get; set; }
Property Value
DisplayName
The user-defined name of this BatchJob.
[JsonPropertyName("displayName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DisplayName { get; set; }
Property Value
HttpOptions
Used to override HTTP request options.
[JsonPropertyName("httpOptions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public HttpOptions? HttpOptions { get; set; }
Property Value
WebhookConfig
Webhook configuration for receiving notifications when the batch operation completes.
[JsonPropertyName("webhookConfig")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public WebhookConfig? WebhookConfig { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a CreateBatchJobConfig object.
public static CreateBatchJobConfig? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- CreateBatchJobConfig
The deserialized CreateBatchJobConfig object, or null if deserialization fails.