Class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs
Describes the inputs to a shell-style task.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.RemoteBuildExecution.v1.Data
Assembly: Google.Apis.RemoteBuildExecution.v1.dll
Syntax
public class GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs : IDirectResponseSchema
Properties
Arguments
The command itself to run (e.g., argv). This field should be passed directly to the underlying operating system, and so it must be sensible to that operating system. For example, on Windows, the first argument might be "C:\Windows\System32\ping.exe" - that is, using drive letters and backslashes. A command for a *nix system, on the other hand, would use forward slashes. All other fields in the RWAPI must consistently use forward slashes, since those fields may be interpretted by both the service and the bot.
Declaration
[JsonProperty("arguments")]
public virtual IList<string> Arguments { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |
EnvironmentVariables
All environment variables required by the task.
Declaration
[JsonProperty("environmentVariables")]
public virtual IList<GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable> EnvironmentVariables { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Files
The input filesystem to be set up prior to the task beginning. The contents should be a repeated set of FileMetadata messages though other formats are allowed if better for the implementation (eg, a LUCI-style .isolated file). This field is repeated since implementations might want to cache the metadata, in which case it may be useful to break up portions of the filesystem that change frequently (eg, specific input files) from those that don't (eg, standard header files).
Declaration
[JsonProperty("files")]
public virtual IList<GoogleDevtoolsRemoteworkersV1test2Digest> Files { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<GoogleDevtoolsRemoteworkersV1test2Digest> |
InlineBlobs
Inline contents for blobs expected to be needed by the bot to execute the task. For example, contents of
entries in files or blobs that are indirectly referenced by an entry there. The bot should check against
this list before downloading required task inputs to reduce the number of communications between itself and
the remote CAS server.
Declaration
[JsonProperty("inlineBlobs")]
public virtual IList<GoogleDevtoolsRemoteworkersV1test2Blob> InlineBlobs { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<GoogleDevtoolsRemoteworkersV1test2Blob> |
WorkingDirectory
Directory from which a command is executed. It is a relative directory with respect to the bot's working directory (i.e., "./"). If it is non-empty, then it must exist under "./". Otherwise, "./" will be used.
Declaration
[JsonProperty("workingDirectory")]
public virtual string WorkingDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |