Service Client: Google::Devtools::Resultstore::V2::ResultstoreUpload::ResultStoreUploadClient
Client stub representing the remote ResultStoreUpload gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to devtools.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Devtools::Resultstore::V2::ResultstoreUpload - Compiled Protocol Buffers messages for google/devtools/resultstore/v2/resultstore_upload.proto
SYNOPSIS
use Google::Devtools::Resultstore::V2::ResultstoreUpload;
my $msg = Google::Devtools::Resultstore::V2::ResultstoreUpload::CreateInvocationRequest->new({
request_id => $request_id,
invocation_id => $invocation_id,
invocation => $invocation,
authorization_token => $authorization_token,
});
# Read or update a field
my $val = $msg->request_id();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Devtools::Resultstore::V2::ResultstoreUpload::CreateInvocationRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/devtools/resultstore/v2/resultstore_upload.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Devtools::Resultstore::V2::ResultstoreUpload::CreateInvocationRequest
Request passed into CreateInvocation
Inherits from Protobuf::Message.
Accessors
$msg->request_id()/$msg->request_id($value)Type:
StringA unique identifier for this request. Must be set to a different value for each request that affects a given resource (eg. a random UUID). Required for the operation to be idempotent. This is achieved by ignoring this request if the last successful operation on the resource had the same request ID. If set, invocation_id must also be provided. Restricted to 36 Unicode characters.
$msg->invocation_id()/$msg->invocation_id($value)Type:
StringThe invocation ID. It is optional, but strongly recommended.
If left empty then a new unique ID will be assigned by the server. If populated, a RFC 4122-compliant v4 UUID is preferred, but v3 or v5 UUIDs are allowed too.
$msg->invocation()/$msg->invocation($value)Type:
Message(Google::Devtools::Resultstore::V2::Invocation::Invocation)Required. The invocation to create. Its name field will be ignored, since the name will be derived from the id field above and assigned by the server.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize upload access to this invocation. It must be set to a RFC 4122-compliant v3, v4, or v5 UUID. Once this is set in CreateInvocation, all other upload RPCs for that Invocation and any of its child resources must also include the exact same token, or they will be rejected. The generated token should be unique to this invocation, and it should be kept secret.
The purpose of this field is to prevent other users and tools from clobbering your upload intentionally or accidentally. The standard way of using this token is to create a second v4 UUID when the invocation_id is created, and storing them together during the upload. Essentially, this is a "password" to the invocation.
$msg->auto_finalize_time()/$msg->auto_finalize_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)By default, Invocations are auto-finalized if they are not modified for 24 hours. If you need auto-finalize to happen sooner, set this field to the time you'd like auto-finalize to occur.
$msg->initial_resume_token()/$msg->initial_resume_token($value)Type:
StringClient provided unique token for batch upload to ensure data integrity and to provide a way to resume batch upload in case of a distributed failure on the client side. The standard uploading client is presumed to have many machines uploading to ResultStore, and that any given machine could process any given Invocation at any time. This field is used to coordinate between the client's machines, resolve concurrency issues, and enforce "exactly once" semantics on each batch within the upload.
The typical usage of the resume_token is that it should contain a "key" indicating to the client where it is in the upload process, so that the client can use it to resume the upload by reconstructing the state of upload from the point where it was interrupted.
If this matches the previously uploaded resume_token, then this request will silently do nothing, making CreateInvocation idempotent. If this token is provided, all further upload RPCs must be done through UploadBatch. This token must not be combined with request_id. Must be web safe Base64 encoded bytes.
$msg->uploader_state()/$msg->uploader_state($value)Type:
BytesClient-specific data used to resume batch upload if an error occurs and retry is needed. This serves a role closely related to resume_token, as both fields may be used to provide state required to restore a Batch Upload, but they differ in two important aspects: - it is not compared to previous values, and as such does not provide concurrency control; - it allows for a larger payload, since the contents are never inspected/compared; The size of the message must be within 1 MiB. Too large requests will be rejected.
Google::Devtools::Resultstore::V2::ResultstoreUpload::UpdateInvocationRequest
Request passed into UpdateInvocation
Inherits from Protobuf::Message.
Accessors
$msg->invocation()/$msg->invocation($value)Type:
Message(Google::Devtools::Resultstore::V2::Invocation::Invocation)Contains the name and the fields of the invocation to be updated. The name format must be: invocations/${INVOCATION_ID}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields to update.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
Google::Devtools::Resultstore::V2::ResultstoreUpload::MergeInvocationRequest
Request passed into MergeInvocation
Inherits from Protobuf::Message.
Accessors
$msg->request_id()/$msg->request_id($value)Type:
StringA unique identifier for this request. Must be set to a different value for each request that affects a given resource (eg. a random UUID). Required for the operation to be idempotent. This is achieved by ignoring this request if the last successful operation on the resource had the same request ID. Restricted to 36 Unicode characters.
$msg->invocation()/$msg->invocation($value)Type:
Message(Google::Devtools::Resultstore::V2::Invocation::Invocation)Contains the name and the fields of the invocation to be merged. The name format must be: invocations/${INVOCATION_ID}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields to merge.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
Google::Devtools::Resultstore::V2::ResultstoreUpload::TouchInvocationRequest
Request passed into TouchInvocation
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the invocation. Its format must be: invocations/${INVOCATION_ID}
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
Google::Devtools::Resultstore::V2::ResultstoreUpload::TouchInvocationResponse
Response returned from TouchInvocation
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the invocation. Its format will be: invocations/${INVOCATION_ID}
$msg->id()/$msg->id($value)Type:
Message(Google::Devtools::Resultstore::V2::Invocation::Invocation::Id)The resource ID components that identify the Invocation.
Google::Devtools::Resultstore::V2::ResultstoreUpload::DeleteInvocationRequest
Request passed into DeleteInvocation
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the invocation. Its format must be: invocations/${INVOCATION_ID}
Google::Devtools::Resultstore::V2::ResultstoreUpload::FinalizeInvocationRequest
Request passed into FinalizeInvocation
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the invocation. Its format must be: invocations/${INVOCATION_ID}
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
Google::Devtools::Resultstore::V2::ResultstoreUpload::FinalizeInvocationResponse
Response returned from FinalizeInvocation
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the invocation. Its format will be: invocations/${INVOCATION_ID}
$msg->id()/$msg->id($value)Type:
Message(Google::Devtools::Resultstore::V2::Invocation::Invocation::Id)The resource ID components that identify the Invocation.
Google::Devtools::Resultstore::V2::ResultstoreUpload::CreateTargetRequest
Request passed into CreateTarget
Inherits from Protobuf::Message.
Accessors
$msg->request_id()/$msg->request_id($value)Type:
StringA unique identifier for this request. Must be set to a different value for each request that affects a given resource (eg. a random UUID). Required for the operation to be idempotent. This is achieved by ignoring this request if the last successful operation on the resource had the same request ID. Restricted to 36 Unicode characters.
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the parent invocation in which the target is created. Its format must be invocations/${INVOCATION_ID}
$msg->target_id()/$msg->target_id($value)Type:
StringThe target identifier. It can be any string up to 1024 Unicode characters long except for the reserved id '-'.
$msg->target()/$msg->target($value)Type:
Message(Google::Devtools::Resultstore::V2::Target::Target)Required. The target to create. Its name field will be ignored, since the name will be derived from the id field above and assigned by the server.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
Google::Devtools::Resultstore::V2::ResultstoreUpload::UpdateTargetRequest
Request passed into UpdateTarget
Inherits from Protobuf::Message.
Accessors
$msg->target()/$msg->target($value)Type:
Message(Google::Devtools::Resultstore::V2::Target::Target)Contains the name and the fields of the target to be updated. The name format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields to update.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
$msg->create_if_not_found()/$msg->create_if_not_found($value)Type:
BoolIf true then the Update operation will become a Create operation if the Target is NOT_FOUND.
Google::Devtools::Resultstore::V2::ResultstoreUpload::MergeTargetRequest
Request passed into MergeTarget
Inherits from Protobuf::Message.
Accessors
$msg->request_id()/$msg->request_id($value)Type:
StringA unique identifier for this request. Must be set to a different value for each request that affects a given resource (eg. a random UUID). Required for the operation to be idempotent. This is achieved by ignoring this request if the last successful operation on the resource had the same request ID. Restricted to 36 Unicode characters.
$msg->target()/$msg->target($value)Type:
Message(Google::Devtools::Resultstore::V2::Target::Target)Contains the name and the fields of the target to be merged. The name format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields to merge.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
$msg->create_if_not_found()/$msg->create_if_not_found($value)Type:
BoolIf true then the Merge operation will become a Create operation if the Target is NOT_FOUND.
Google::Devtools::Resultstore::V2::ResultstoreUpload::FinalizeTargetRequest
Request passed into FinalizeTarget
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the target. Its format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
Google::Devtools::Resultstore::V2::ResultstoreUpload::FinalizeTargetResponse
Response returned from FinalizeTarget
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the target. Its format will be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}
$msg->id()/$msg->id($value)Type:
Message(Google::Devtools::Resultstore::V2::Target::Target::Id)The resource ID components that identify the Target.
Google::Devtools::Resultstore::V2::ResultstoreUpload::CreateConfiguredTargetRequest
Request passed into CreateConfiguredTarget
Inherits from Protobuf::Message.
Accessors
$msg->request_id()/$msg->request_id($value)Type:
StringA unique identifier for this request. Must be set to a different value for each request that affects a given resource (eg. a random UUID). Required for the operation to be idempotent. This is achieved by ignoring this request if the last successful operation on the resource had the same request ID. Restricted to 36 Unicode characters.
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the parent target in which the configured target is created. Its format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}
$msg->config_id()/$msg->config_id($value)Type:
StringThe configuration identifier. This must match the ID of an existing Configuration under this Invocation. Cannot be the reserved id '-'.
$msg->configured_target()/$msg->configured_target($value)Type:
Message(Google::Devtools::Resultstore::V2::ConfiguredTarget::ConfiguredTarget)Required. The configured target to create. Its name field will be ignored, since the name will be derived from the id field above and assigned by the server.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
Google::Devtools::Resultstore::V2::ResultstoreUpload::UpdateConfiguredTargetRequest
Request passed into UpdateConfiguredTarget
Inherits from Protobuf::Message.
Accessors
$msg->configured_target()/$msg->configured_target($value)Type:
Message(Google::Devtools::Resultstore::V2::ConfiguredTarget::ConfiguredTarget)Contains the name and the fields of the configured target to be updated. The name format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${CONFIG_ID}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields to update.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
$msg->create_if_not_found()/$msg->create_if_not_found($value)Type:
BoolIf true then the Update operation will become a Create operation if the ConfiguredTarget is NOT_FOUND.
Google::Devtools::Resultstore::V2::ResultstoreUpload::MergeConfiguredTargetRequest
Request passed into MergeConfiguredTarget
Inherits from Protobuf::Message.
Accessors
$msg->request_id()/$msg->request_id($value)Type:
StringA unique identifier for this request. Must be set to a different value for each request that affects a given resource (eg. a random UUID). Required for the operation to be idempotent. This is achieved by ignoring this request if the last successful operation on the resource had the same request ID. Restricted to 36 Unicode characters.
$msg->configured_target()/$msg->configured_target($value)Type:
Message(Google::Devtools::Resultstore::V2::ConfiguredTarget::ConfiguredTarget)Contains the name and the fields of the configured target to be merged. The name format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${CONFIG_ID}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields to merge.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
$msg->create_if_not_found()/$msg->create_if_not_found($value)Type:
BoolIf true then the Merge operation will become a Create operation if the ConfiguredTarget is NOT_FOUND.
Google::Devtools::Resultstore::V2::ResultstoreUpload::FinalizeConfiguredTargetRequest
Request passed into FinalizeConfiguredTarget
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the configured target. Its format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${CONFIG_ID}
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
Google::Devtools::Resultstore::V2::ResultstoreUpload::FinalizeConfiguredTargetResponse
Response returned from FinalizeConfiguredTarget
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the configured target. Its format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${CONFIG_ID}
$msg->id()/$msg->id($value)Type:
Message(Google::Devtools::Resultstore::V2::ConfiguredTarget::ConfiguredTarget::Id)The resource ID components that identify the ConfiguredTarget.
Google::Devtools::Resultstore::V2::ResultstoreUpload::CreateActionRequest
Request passed into CreateAction
Inherits from Protobuf::Message.
Accessors
$msg->request_id()/$msg->request_id($value)Type:
StringA unique identifier for this request. Must be set to a different value for each request that affects a given resource (eg. a random UUID). Required for the operation to be idempotent. This is achieved by ignoring this request if the last successful operation on the resource had the same request ID. Restricted to 36 Unicode characters.
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the parent configured target in which the action is created. Its format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${CONFIG_ID}
$msg->action_id()/$msg->action_id($value)Type:
StringThe action identifier. It can be any string of up to 512 alphanumeric characters [a-zA-Z_-], except for the reserved id '-'.
Recommended IDs for Test Actions: "test": For a single test action. "test_shard0_run0_attempt0" ... "test_shard9_run9_attempt9": For tests with shard/run/attempts.
Recommended IDs for Build Actions: "build": If you only have a single build action.
$msg->action()/$msg->action($value)Type:
Message(Google::Devtools::Resultstore::V2::Action::Action)Required. The action to create. Its name field will be ignored, since the name will be derived from the id field above and assigned by the server.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
Google::Devtools::Resultstore::V2::ResultstoreUpload::UpdateActionRequest
Request passed into UpdateAction
Inherits from Protobuf::Message.
Accessors
$msg->action()/$msg->action($value)Type:
Message(Google::Devtools::Resultstore::V2::Action::Action)Contains the name and the fields of the action to be updated. The name format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${CONFIG_ID}/actions/${ACTION_ID}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields to update.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
$msg->create_if_not_found()/$msg->create_if_not_found($value)Type:
BoolIf true then the Update operation will become a Create operation if the Action is NOT_FOUND.
Google::Devtools::Resultstore::V2::ResultstoreUpload::MergeActionRequest
Request passed into MergeAction
Inherits from Protobuf::Message.
Accessors
$msg->request_id()/$msg->request_id($value)Type:
StringA unique identifier for this request. Must be set to a different value for each request that affects a given resource (eg. a random UUID). Required for the operation to be idempotent. This is achieved by ignoring this request if the last successful operation on the resource had the same request ID. Restricted to 36 Unicode characters.
$msg->action()/$msg->action($value)Type:
Message(Google::Devtools::Resultstore::V2::Action::Action)Contains the name and the fields of the action to be merged. The name format must be: invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${CONFIG_ID}/actions/${ACTION_ID}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields to merge.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
$msg->create_if_not_found()/$msg->create_if_not_found($value)Type:
BoolIf true then the Merge operation will become a Create operation if the Action is NOT_FOUND.
Google::Devtools::Resultstore::V2::ResultstoreUpload::CreateConfigurationRequest
Request passed into CreateConfiguration
Inherits from Protobuf::Message.
Accessors
$msg->request_id()/$msg->request_id($value)Type:
StringA unique identifier for this request. Must be set to a different value for each request that affects a given resource (eg. a random UUID). Required for the operation to be idempotent. This is achieved by ignoring this request if the last successful operation on the resource had the same request ID. Restricted to 36 Unicode characters.
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the parent invocation in which the configuration is created. Its format must be invocations/${INVOCATION_ID}
$msg->config_id()/$msg->config_id($value)Type:
StringThe configuration identifier. It can be any string of up to 512 alphanumeric characters [a-zA-Z_-], except for the reserved id '-'. The configuration ID of "default" should be preferred for the default configuration in a single-config invocation.
$msg->configuration()/$msg->configuration($value)Type:
Message(Google::Devtools::Resultstore::V2::Configuration::Configuration)Required. The configuration to create. Its name field will be ignored, since the name will be derived from the id field above and assigned by the server.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
Google::Devtools::Resultstore::V2::ResultstoreUpload::UpdateConfigurationRequest
Request passed into UpdateConfiguration
Inherits from Protobuf::Message.
Accessors
$msg->configuration()/$msg->configuration($value)Type:
Message(Google::Devtools::Resultstore::V2::Configuration::Configuration)Contains the name and fields of the configuration to be updated. The name format must be: invocations/${INVOCATION_ID}/configs/${CONFIG_ID}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields to update.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
$msg->create_if_not_found()/$msg->create_if_not_found($value)Type:
BoolIf true then the Update operation will become a Create operation if the Configuration is NOT_FOUND.
Google::Devtools::Resultstore::V2::ResultstoreUpload::CreateFileSetRequest
Request passed into CreateFileSet
Inherits from Protobuf::Message.
Accessors
$msg->request_id()/$msg->request_id($value)Type:
StringA unique identifier for this request. Must be set to a different value for each request that affects a given resource (eg. a random UUID). Required for the operation to be idempotent. This is achieved by ignoring this request if the last successful operation on the resource had the same request ID. Restricted to 36 Unicode characters.
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the parent invocation in which the file set is created. Its format must be invocations/${INVOCATION_ID}
$msg->file_set_id()/$msg->file_set_id($value)Type:
StringThe file set identifier. It can be any string of up to 512 alphanumeric characters [a-zA-Z_-], except for the reserved id '-'.
$msg->file_set()/$msg->file_set($value)Type:
Message(Google::Devtools::Resultstore::V2::FileSet::FileSet)Required. The file set to create. Its name field will be ignored, since the name will be derived from the id field above and assigned by the server.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
Google::Devtools::Resultstore::V2::ResultstoreUpload::UpdateFileSetRequest
Request passed into UpdateFileSet
Inherits from Protobuf::Message.
Accessors
$msg->file_set()/$msg->file_set($value)Type:
Message(Google::Devtools::Resultstore::V2::FileSet::FileSet)Contains the name and fields of the file set to be updated. The name format must be: invocations/${INVOCATION_ID}/fileSets/${FILE_SET_ID}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields to update.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
$msg->create_if_not_found()/$msg->create_if_not_found($value)Type:
BoolIf true then the Update operation will become a Create operation if the FileSet is NOT_FOUND.
Google::Devtools::Resultstore::V2::ResultstoreUpload::MergeFileSetRequest
Request passed into MergeFileSet
Inherits from Protobuf::Message.
Accessors
$msg->request_id()/$msg->request_id($value)Type:
StringA unique identifier for this request. Must be set to a different value for each request that affects a given resource (eg. a random UUID). Required for the operation to be idempotent. This is achieved by ignoring this request if the last successful operation on the resource had the same request ID. Restricted to 36 Unicode characters.
$msg->file_set()/$msg->file_set($value)Type:
Message(Google::Devtools::Resultstore::V2::FileSet::FileSet)Contains the name and fields of the file set to be merged. The name format must be: invocations/${INVOCATION_ID}/fileSets/${FILE_SET_ID}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields to merge.
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringThis is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
$msg->create_if_not_found()/$msg->create_if_not_found($value)Type:
BoolIf true then the Merge operation will become a Create operation if the FileSet is NOT_FOUND.
Google::Devtools::Resultstore::V2::ResultstoreUpload::UploadBatchRequest
Request passed into UploadBatch
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the invocation being modified. The name format must be: invocations/${INVOCATION_ID}
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringRequired. A UUID that must match the value provided in CreateInvocationRequest.
$msg->next_resume_token()/$msg->next_resume_token($value)Type:
StringRequired. The token of this batch, that will be committed in this UploadBatchRequest. If this matches the previously uploaded resume_token, then this request will silently do nothing. See CreateInvocationRequest.initial_resume_token for more information. Must be web safe Base64 encoded bytes.
$msg->resume_token()/$msg->resume_token($value)Type:
StringRequired. The token of the previous batch that was committed in a UploadBatchRequest. This will be checked after next_resume_token match is checked. If this does not match the previously uploaded resume_token, a 409 Conflict (HTTPS) or ABORTED (gRPC ) error code indicating a concurrency failure will be returned, and that the user should call GetInvocationUploadMetadata to fetch the current resume_token to reconstruct the state of the upload to resume it. See CreateInvocationRequest.initial_resume_token for more information. Must be web safe Base64 encoded bytes.
$msg->uploader_state()/$msg->uploader_state($value)Type:
BytesClient-specific data used to resume batch upload if an error occurs and retry is needed. This serves a role closely related to resume_token, as both fields may be used to provide state required to restore a Batch Upload, but they differ in two important aspects: - it is not compared to previous values, and as such does not provide concurrency control; - it allows for a larger payload, since the contents are never inspected/compared; The size of the message must be within 1 MiB. Too large requests will be rejected.
$msg->upload_requests()/$msg->upload_requests($value)Type:
Message(Google::Devtools::Resultstore::V2::ResultstoreUpload::UploadRequest)The individual upload requests for this batch. This field may be empty, allowing this RPC to be used like TouchInvocation.
Google::Devtools::Resultstore::V2::ResultstoreUpload::UploadBatchResponse
Response for UploadBatch
Inherits from Protobuf::Message.
Google::Devtools::Resultstore::V2::ResultstoreUpload::UploadRequest
The individual upload requests for this batch.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
Message(Google::Devtools::Resultstore::V2::ResultstoreUpload::UploadRequest::Id)The resource ID components that identify the resource being uploaded.
$msg->upload_operation()/$msg->upload_operation($value)Type:
Enum(Google::Devtools::Resultstore::V2::UploadRequest::UploadOperation)The operation for the request (e.g. Create(), Update(), etc.)
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required for Update and Merge operations. Ignored for Create and Finalize operations. Masks the fields of the resource being uploaded. Provides support for a more granular upload. FieldMasks are limited to certain fields and must match one of the follow patterns, where * means any single field name.
For Update Operations:
Invocation: [*, status_attributes.*, timing.*, invocation_attributes.*, workspace_info.*]. Target: [*, status_attributes.*, timing.*]. Configuration: [*, status_attributes.*]. ConfiguredTarget: [*, status_attributes.*]. Action: [*, status_attributes.*, timing.*, test_action.test_suite, test_action.infrastructure_failure_info]. FileSet: [*].
For Merge Operations:
Invocation: [invocation_attributes.labels, workspace_info.command_lines, properties, files, file_processing_errors]. Target: [files]. ConfiguredTarget: [files]. Action: [files, file_processing_errors].
$msg->create_if_not_found()/$msg->create_if_not_found($value)Type:
BoolIf true then the Update, Merge operation will become a Create operation if the resource is NOT_FOUND. Not supported for Invocation resource.
$msg->invocation()/$msg->invocation($value)Type:
Message(Google::Devtools::Resultstore::V2::Invocation::Invocation)The Invocation Resource
$msg->target()/$msg->target($value)Type:
Message(Google::Devtools::Resultstore::V2::Target::Target)The Target Resource
$msg->configuration()/$msg->configuration($value)Type:
Message(Google::Devtools::Resultstore::V2::Configuration::Configuration)The Configuration Resource
$msg->configured_target()/$msg->configured_target($value)Type:
Message(Google::Devtools::Resultstore::V2::ConfiguredTarget::ConfiguredTarget)The ConfiguredTarget Resource
$msg->action()/$msg->action($value)Type:
Message(Google::Devtools::Resultstore::V2::Action::Action)The Action Resource
$msg->file_set()/$msg->file_set($value)Type:
Message(Google::Devtools::Resultstore::V2::FileSet::FileSet)The FileSet Resource
Enum: UploadRequest::UploadOperation
UPLOAD_OPERATION_UNSPECIFIED=>0CREATE=>1UPDATE=>2MERGE=>3FINALIZE=>4
Google::Devtools::Resultstore::V2::ResultstoreUpload::GetInvocationUploadMetadataRequest
Request passed into GetInvocationUploadMetadata
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the UploadMetadata being requested. The name format must be: invocations/${INVOCATION_ID}/uploadMetadata
$msg->authorization_token()/$msg->authorization_token($value)Type:
StringRequired. A UUID that must match the value provided in CreateInvocationRequest.
SEE ALSO
Protobuf, Protobuf::Message, Google::Devtools::Resultstore::V2::ResultstoreUpload::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.