Class JobConfig
The configuration of a job.
Implements
Inherited Members
Namespace: Google.Apis.DeviceRun.v1alpha.Data
Assembly: Google.Apis.DeviceRun.v1alpha.dll
Syntax
public class JobConfig : IDirectResponseSchema
Properties
Action
Required. Job action.
Declaration
[JsonProperty("action")]
public virtual JobAction Action { get; set; }
Property Value
| Type | Description |
|---|---|
| JobAction |
AllocationConfig
Required. Allocation config.
Declaration
[JsonProperty("allocationConfig")]
public virtual AllocationConfig AllocationConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| AllocationConfig |
DisplayName
Optional. User-settable, human-readable name for the job. If set, it must be unique within the session. If
not set, the display name will default to job-, where `` is the 0-based index of the job in the session
formatted as three digits (e.g., job-000, job-001, ...). Maximum size is 63 bytes when encoded as UTF-8. If
set, must match regex: ^A-Za-z0-9*$.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Labels
Optional. User-defined metadata for tracking or categorization. These labels do not affect job execution and are surfaced in the JobReport. Limits: - Maximum number of entries: 16. - Maximum key size: 32 bytes (UTF-8). - Maximum value size: 1024 bytes (UTF-8).
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Settings
Optional. Job settings.
Declaration
[JsonProperty("settings")]
public virtual JobSettings Settings { get; set; }
Property Value
| Type | Description |
|---|---|
| JobSettings |