Struct gapi_grpc::google::cloud::resourcemanager::v3::SearchProjectsRequest [−][src]
The request sent to the [SearchProjects][google.cloud.resourcemanager.v3.Projects.SearchProjects] method.
Fields
query: String
Optional. A query string for searching for projects that the caller has
resourcemanager.projects.get
permission to. If multiple fields are
included in the query, the it will return results that match any of the
fields. Some eligible fields are:
Field | Description |
---|---|
displayName, name | Filters by displayName. |
parent | Project’s parent. (for example: folders/123, |
organizations/*) Prefer parent field over parent.type and parent.id. | |
parent.type | Parent’s type: folder or organization . |
parent.id | Parent’s id number (for example: 123) |
id, projectId | Filters by projectId. |
state, lifecycleState | Filters by state. |
labels | Filters by label name or value. |
labels. | Filters by label |
name. |
Search expressions are case insensitive.
Some examples queries:
Query | Description |
---|---|
name:how* | The project’s name starts with “how”. |
name:Howl | The project’s name is Howl or howl . |
name:HOWL | Equivalent to above. |
NAME:howl | Equivalent to above. |
labels.color:* | The project has the label color . |
labels.color:red | The project’s label color has the value red . |
labels.color:red labels.size:big | The project’s label color has |
the value red and its label size has the value big . |
If no query is specified, the call will return projects for which the user
has the resourcemanager.projects.get
permission.
page_token: String
Optional. A pagination token returned from a previous call to [ListProjects] [google.cloud.resourcemanager.v3.Projects.ListProjects] that indicates from where listing should continue.
page_size: i32
Optional. The maximum number of projects to return in the response. The server can return fewer projects than requested. If unspecified, server picks an appropriate default.
Trait Implementations
impl Clone for SearchProjectsRequest
[src]
fn clone(&self) -> SearchProjectsRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SearchProjectsRequest
[src]
impl Default for SearchProjectsRequest
[src]
fn default() -> SearchProjectsRequest
[src]
impl Message for SearchProjectsRequest
[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
pub fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<SearchProjectsRequest> for SearchProjectsRequest
[src]
fn eq(&self, other: &SearchProjectsRequest) -> bool
[src]
fn ne(&self, other: &SearchProjectsRequest) -> bool
[src]
impl StructuralPartialEq for SearchProjectsRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for SearchProjectsRequest
impl Send for SearchProjectsRequest
impl Sync for SearchProjectsRequest
impl Unpin for SearchProjectsRequest
impl UnwindSafe for SearchProjectsRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,