pub struct SearchConfiguredTargetsRequest {
pub parent: String,
pub page_size: i32,
pub query: String,
pub project_id: String,
pub exact_match: bool,
pub page_start: Option<PageStart>,
}
Expand description
Request passed into SearchConfiguredTargets
Fields§
§parent: String
Required. Must be set to invocations/-/targets/- This only supports searching all ConfiguredTargets across all Invocations.
page_size: i32
The maximum number of items to return. Zero means all, but may be capped by the server.
query: String
A filtering query string.
Only a limited number of fields and operators are supported. Not every field supports every operator. Access to parent resources is provided via synthetic fields ‘invocation’, ‘configuration’, and ‘target’.
Any search must contain an equals restriction on id.target_id.
Fields that support equals (“=”) restrictions:
id.target_id status_attributes.status
target.target_attributes.type target.target_attributes.language target.test_attributes.size
configuration.configuration_attributes.cpu
invocation.workspace_info.hostname
Fields that support contains (“:”) restrictions:
target.target_attributes.tags
invocation.invocation_attributes.users invocation.invocation_attributes.labels
Fields that support comparison (“<”, “<=”, “>”, “>=”) restrictions;
timing.start_time coalesced_start_time Supported custom function global restrictions:
invocationPropertyEquals(“key”, “value”) targetPropertyEquals(“key”, “value”) configurationPropertyEquals(“key”, “value”) configuredTargetPropertyEquals(“key”, “value”)
project_id: String
The project id to search under.
exact_match: bool
Unimplemented
page_start: Option<PageStart>
Options for pagination.
Trait Implementations§
source§impl Clone for SearchConfiguredTargetsRequest
impl Clone for SearchConfiguredTargetsRequest
source§fn clone(&self) -> SearchConfiguredTargetsRequest
fn clone(&self) -> SearchConfiguredTargetsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for SearchConfiguredTargetsRequest
impl Message for SearchConfiguredTargetsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for SearchConfiguredTargetsRequest
impl PartialEq for SearchConfiguredTargetsRequest
source§fn eq(&self, other: &SearchConfiguredTargetsRequest) -> bool
fn eq(&self, other: &SearchConfiguredTargetsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchConfiguredTargetsRequest
Auto Trait Implementations§
impl Freeze for SearchConfiguredTargetsRequest
impl RefUnwindSafe for SearchConfiguredTargetsRequest
impl Send for SearchConfiguredTargetsRequest
impl Sync for SearchConfiguredTargetsRequest
impl Unpin for SearchConfiguredTargetsRequest
impl UnwindSafe for SearchConfiguredTargetsRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request