Struct google_api_proto::google::cloud::resourcemanager::v3::ListProjectsRequest
source · pub struct ListProjectsRequest {
pub parent: String,
pub page_token: String,
pub page_size: i32,
pub show_deleted: bool,
}
Expand description
The request sent to the [ListProjects][google.cloud.resourcemanager.v3.Projects.ListProjects] method.
Fields§
§parent: String
Required. The name of the parent resource whose projects are being listed. Only children of this parent resource are listed; descendants are not listed.
If the parent is a folder, use the value folders/{folder_id}
. If the
parent is an organization, use the value organizations/{org_id}
.
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.
show_deleted: bool
Optional. Indicate that projects in the DELETE_REQUESTED
state should
also be returned. Normally only ACTIVE
projects are returned.
Trait Implementations§
source§impl Clone for ListProjectsRequest
impl Clone for ListProjectsRequest
source§fn clone(&self) -> ListProjectsRequest
fn clone(&self) -> ListProjectsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListProjectsRequest
impl Debug for ListProjectsRequest
source§impl Default for ListProjectsRequest
impl Default for ListProjectsRequest
source§impl Message for ListProjectsRequest
impl Message for ListProjectsRequest
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 ListProjectsRequest
impl PartialEq for ListProjectsRequest
source§fn eq(&self, other: &ListProjectsRequest) -> bool
fn eq(&self, other: &ListProjectsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListProjectsRequest
Auto Trait Implementations§
impl Freeze for ListProjectsRequest
impl RefUnwindSafe for ListProjectsRequest
impl Send for ListProjectsRequest
impl Sync for ListProjectsRequest
impl Unpin for ListProjectsRequest
impl UnwindSafe for ListProjectsRequest
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