Struct google_api_proto::google::cloud::asset::v1::CreateSavedQueryRequest
source · pub struct CreateSavedQueryRequest {
pub parent: String,
pub saved_query: Option<SavedQuery>,
pub saved_query_id: String,
}
Expand description
Request to create a saved query.
Fields§
§parent: String
Required. The name of the project/folder/organization where this saved_query should be created in. It can only be an organization number (such as “organizations/123”), a folder number (such as “folders/123”), a project ID (such as “projects/my-project-id”), or a project number (such as “projects/12345”).
saved_query: Option<SavedQuery>
Required. The saved_query details. The name
field must be empty as it
will be generated based on the parent and saved_query_id.
saved_query_id: String
Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query’s resource name.
This value should be 4-63 characters, and valid characters
are [a-z][0-9]-
.
Notice that this field is required in the saved query creation, and the
name
field of the saved_query
will be ignored.
Trait Implementations§
source§impl Clone for CreateSavedQueryRequest
impl Clone for CreateSavedQueryRequest
source§fn clone(&self) -> CreateSavedQueryRequest
fn clone(&self) -> CreateSavedQueryRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSavedQueryRequest
impl Debug for CreateSavedQueryRequest
source§impl Default for CreateSavedQueryRequest
impl Default for CreateSavedQueryRequest
source§impl Message for CreateSavedQueryRequest
impl Message for CreateSavedQueryRequest
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 CreateSavedQueryRequest
impl PartialEq for CreateSavedQueryRequest
source§fn eq(&self, other: &CreateSavedQueryRequest) -> bool
fn eq(&self, other: &CreateSavedQueryRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSavedQueryRequest
Auto Trait Implementations§
impl Freeze for CreateSavedQueryRequest
impl RefUnwindSafe for CreateSavedQueryRequest
impl Send for CreateSavedQueryRequest
impl Sync for CreateSavedQueryRequest
impl Unpin for CreateSavedQueryRequest
impl UnwindSafe for CreateSavedQueryRequest
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