Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testRequestMetadata
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testRequestMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v1alpha/classes.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb
Overview
An optional Metadata to attach to any RPC request to tell the server about an external context of the request. The server may use this for logging or other purposes. To use it, the client attaches the header to the call using the canonical proto serialization: name: google.devtools.remoteexecution.v1test.requestmetadata-bin contents: the base64 encoded binary RequestMetadata message.
Instance Attribute Summary collapse
-
#action_id ⇒ String
An identifier that ties multiple requests to the same action.
-
#correlated_invocations_id ⇒ String
An identifier to tie multiple tool invocations together.
-
#tool_details ⇒ Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testToolDetails
Details for the tool used to call the API.
-
#tool_invocation_id ⇒ String
An identifier that ties multiple actions together to a final result.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemoteexecutionV1testRequestMetadata
constructor
A new instance of GoogleDevtoolsRemoteexecutionV1testRequestMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemoteexecutionV1testRequestMetadata
Returns a new instance of GoogleDevtoolsRemoteexecutionV1testRequestMetadata
2893 2894 2895 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2893 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_id ⇒ String
An identifier that ties multiple requests to the same action.
For example, multiple requests to the CAS, Action Cache, and Execution
API are used in order to compile foo.cc.
Corresponds to the JSON property actionId
2874 2875 2876 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2874 def action_id @action_id end |
#correlated_invocations_id ⇒ String
An identifier to tie multiple tool invocations together. For example,
runs of foo_test, bar_test and baz_test on a post-submit of a given patch.
Corresponds to the JSON property correlatedInvocationsId
2880 2881 2882 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2880 def @correlated_invocations_id end |
#tool_details ⇒ Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testToolDetails
Details for the tool used to call the API.
Corresponds to the JSON property toolDetails
2885 2886 2887 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2885 def tool_details @tool_details end |
#tool_invocation_id ⇒ String
An identifier that ties multiple actions together to a final result.
For example, multiple actions are required to build and run foo_test.
Corresponds to the JSON property toolInvocationId
2891 2892 2893 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2891 def tool_invocation_id @tool_invocation_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2898 2899 2900 2901 2902 2903 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2898 def update!(**args) @action_id = args[:action_id] if args.key?(:action_id) @correlated_invocations_id = args[:correlated_invocations_id] if args.key?(:correlated_invocations_id) @tool_details = args[:tool_details] if args.key?(:tool_details) @tool_invocation_id = args[:tool_invocation_id] if args.key?(:tool_invocation_id) end |