Class ActionResultsResource.GetRequest
Retrieve a cached execution result. Implementations SHOULD ensure that any blobs referenced from the
ContentAddressableStorage are available at the time of returning the ActionResult and will be for some
period of time afterwards. The lifetimes of the referenced blobs SHOULD be increased if necessary and
applicable. Errors: * NOT_FOUND
: The requested ActionResult
is not in the cache.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.RemoteBuildExecution.v2
Assembly: Google.Apis.RemoteBuildExecution.v2.dll
Syntax
public class GetRequest : RemoteBuildExecutionBaseServiceRequest<BuildBazelRemoteExecutionV2ActionResult>, IClientServiceRequest<BuildBazelRemoteExecutionV2ActionResult>, IClientServiceRequest
Constructors
GetRequest(IClientService, String, String, Int64)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string instanceName, string hash, long sizeBytes)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
System.String | instanceName | |
System.String | hash | |
System.Int64 | sizeBytes |
Properties
Hash
The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.
Declaration
[RequestParameter("hash", RequestParameterType.Path)]
public virtual string Hash { get; }
Property Value
Type | Description |
---|---|
System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
InlineOutputFiles
A hint to the server to inline the contents of the listed output files. Each path needs to exactly match
one file path in either output_paths
or output_files
(DEPRECATED since v2.1) in the Command message.
Declaration
[RequestParameter("inlineOutputFiles", RequestParameterType.Query)]
public virtual Repeatable<string> InlineOutputFiles { get; set; }
Property Value
Type | Description |
---|---|
Google.Apis.Util.Repeatable<System.String> |
InlineStderr
A hint to the server to request inlining stderr in the ActionResult message.
Declaration
[RequestParameter("inlineStderr", RequestParameterType.Query)]
public virtual bool? InlineStderr { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
InlineStdout
A hint to the server to request inlining stdout in the ActionResult message.
Declaration
[RequestParameter("inlineStdout", RequestParameterType.Query)]
public virtual bool? InlineStdout { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
InstanceName
The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.
Declaration
[RequestParameter("instanceName", RequestParameterType.Path)]
public virtual string InstanceName { get; }
Property Value
Type | Description |
---|---|
System.String |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
SizeBytes
The size of the blob, in bytes.
Declaration
[RequestParameter("sizeBytes", RequestParameterType.Path)]
public virtual long SizeBytes { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()