Struct google_api_proto::google::cloud::billing::v1::ListSkusRequest
source · pub struct ListSkusRequest {
pub parent: String,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub currency_code: String,
pub page_size: i32,
pub page_token: String,
}
Expand description
Request message for ListSkus
.
Fields§
§parent: String
Required. The name of the service. Example: “services/6F81-5844-456A”
start_time: Option<Timestamp>
Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).
end_time: Option<Timestamp>
Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).
currency_code: String
The ISO 4217 currency code for the pricing info in the response proto. Will use the conversion rate as of start_time. Optional. If not specified USD will be used.
page_size: i32
Requested page size. Defaults to 5000.
page_token: String
A token identifying a page of results to return. This should be a
next_page_token
value returned from a previous ListSkus
call. If unspecified, the first page of results is returned.
Trait Implementations§
source§impl Clone for ListSkusRequest
impl Clone for ListSkusRequest
source§fn clone(&self) -> ListSkusRequest
fn clone(&self) -> ListSkusRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListSkusRequest
impl Debug for ListSkusRequest
source§impl Default for ListSkusRequest
impl Default for ListSkusRequest
source§impl Message for ListSkusRequest
impl Message for ListSkusRequest
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 ListSkusRequest
impl PartialEq for ListSkusRequest
source§fn eq(&self, other: &ListSkusRequest) -> bool
fn eq(&self, other: &ListSkusRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListSkusRequest
Auto Trait Implementations§
impl Freeze for ListSkusRequest
impl RefUnwindSafe for ListSkusRequest
impl Send for ListSkusRequest
impl Sync for ListSkusRequest
impl Unpin for ListSkusRequest
impl UnwindSafe for ListSkusRequest
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