pub struct ListCustomerRepricingConfigsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}
Expand description
Request message for [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs].
Fields§
§parent: String
Required. The resource name of the customer. Parent uses the format: accounts/{account_id}/customers/{customer_id}. Supports accounts/{account_id}/customers/- to retrieve configs for all customers.
page_size: i32
Optional. The maximum number of repricing configs to return. The service may return fewer than this value. If unspecified, returns a maximum of 50 rules. The maximum value is 100; values above 100 will be coerced to 100.
page_token: String
Optional. A token identifying a page of results beyond the first page. Obtained through [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token] of the previous [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs] call.
filter: String
Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs]
results (customer only). You can use this filter when you support
a BatchGet-like query.
To use the filter, you must set parent=accounts/{account_id}/customers/-
.
Example: customer = accounts/account_id/customers/c1 OR customer = accounts/account_id/customers/c2.
Trait Implementations§
source§impl Clone for ListCustomerRepricingConfigsRequest
impl Clone for ListCustomerRepricingConfigsRequest
source§fn clone(&self) -> ListCustomerRepricingConfigsRequest
fn clone(&self) -> ListCustomerRepricingConfigsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for ListCustomerRepricingConfigsRequest
impl Message for ListCustomerRepricingConfigsRequest
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 ListCustomerRepricingConfigsRequest
impl PartialEq for ListCustomerRepricingConfigsRequest
source§fn eq(&self, other: &ListCustomerRepricingConfigsRequest) -> bool
fn eq(&self, other: &ListCustomerRepricingConfigsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCustomerRepricingConfigsRequest
Auto Trait Implementations§
impl Freeze for ListCustomerRepricingConfigsRequest
impl RefUnwindSafe for ListCustomerRepricingConfigsRequest
impl Send for ListCustomerRepricingConfigsRequest
impl Sync for ListCustomerRepricingConfigsRequest
impl Unpin for ListCustomerRepricingConfigsRequest
impl UnwindSafe for ListCustomerRepricingConfigsRequest
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