Struct google_api_proto::google::cloud::billing::budgets::v1::ListBudgetsRequest
source · pub struct ListBudgetsRequest {
pub parent: String,
pub scope: String,
pub page_size: i32,
pub page_token: String,
}
Expand description
Request for ListBudgets
Fields§
§parent: String
Required. Name of billing account to list budgets under. Values
are of the form billingAccounts/{billingAccountId}
.
scope: String
Optional. Set the scope of the budgets to be returned, in the format of the resource name. The scope of a budget is the cost that it tracks, such as costs for a single project, or the costs for all projects in a folder. Only project scope (in the format of “projects/project-id” or “projects/123”) is supported in this field. When this field is set to a project’s resource name, the budgets returned are tracking the costs for that project.
page_size: i32
Optional. The maximum number of budgets to return per page. The default and maximum value are 100.
page_token: String
Optional. The value returned by the last ListBudgetsResponse
which
indicates that this is a continuation of a prior ListBudgets
call,
and that the system should return the next page of data.
Trait Implementations§
source§impl Clone for ListBudgetsRequest
impl Clone for ListBudgetsRequest
source§fn clone(&self) -> ListBudgetsRequest
fn clone(&self) -> ListBudgetsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListBudgetsRequest
impl Debug for ListBudgetsRequest
source§impl Default for ListBudgetsRequest
impl Default for ListBudgetsRequest
source§impl Message for ListBudgetsRequest
impl Message for ListBudgetsRequest
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 ListBudgetsRequest
impl PartialEq for ListBudgetsRequest
source§fn eq(&self, other: &ListBudgetsRequest) -> bool
fn eq(&self, other: &ListBudgetsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListBudgetsRequest
Auto Trait Implementations§
impl Freeze for ListBudgetsRequest
impl RefUnwindSafe for ListBudgetsRequest
impl Send for ListBudgetsRequest
impl Sync for ListBudgetsRequest
impl Unpin for ListBudgetsRequest
impl UnwindSafe for ListBudgetsRequest
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