Struct googapis::google::devtools::resultstore::v2::CreateActionRequest [−][src]
pub struct CreateActionRequest {
pub request_id: String,
pub parent: String,
pub action_id: String,
pub action: Option<Action>,
pub authorization_token: String,
}
Expand description
Request passed into CreateAction
Fields
request_id: String
A 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.
parent: String
Required. 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}
action_id: String
The action identifier. It can be any string up to 512 Unicode characters long, 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.
action: Option<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.
This is a token to authorize access to this invocation. It must be set to the same value that was provided in the CreateInvocationRequest.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateActionRequest
impl Send for CreateActionRequest
impl Sync for CreateActionRequest
impl Unpin for CreateActionRequest
impl UnwindSafe for CreateActionRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more