Struct google_api_proto::google::cloud::channel::v1::ListChannelPartnerRepricingConfigsRequest
source · pub struct ListChannelPartnerRepricingConfigsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}
Expand description
Request message for [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs].
Fields§
§parent: String
Required. The resource name of the account’s [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}. Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs for all channel partners.
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 [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token] of the previous [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs] call.
filter: String
Optional. A filter for
[CloudChannelService.ListChannelPartnerRepricingConfigs] results
(channel_partner_link only). You can use this filter when you support a
BatchGet-like query. To use the filter, you must set
parent=accounts/{account_id}/channelPartnerLinks/-
.
Example: channel_partner_link = accounts/account_id/channelPartnerLinks/c1
OR channel_partner_link = accounts/account_id/channelPartnerLinks/c2
.
Trait Implementations§
source§impl Clone for ListChannelPartnerRepricingConfigsRequest
impl Clone for ListChannelPartnerRepricingConfigsRequest
source§fn clone(&self) -> ListChannelPartnerRepricingConfigsRequest
fn clone(&self) -> ListChannelPartnerRepricingConfigsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for ListChannelPartnerRepricingConfigsRequest
impl Message for ListChannelPartnerRepricingConfigsRequest
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 ListChannelPartnerRepricingConfigsRequest
impl PartialEq for ListChannelPartnerRepricingConfigsRequest
source§fn eq(&self, other: &ListChannelPartnerRepricingConfigsRequest) -> bool
fn eq(&self, other: &ListChannelPartnerRepricingConfigsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListChannelPartnerRepricingConfigsRequest
Auto Trait Implementations§
impl Freeze for ListChannelPartnerRepricingConfigsRequest
impl RefUnwindSafe for ListChannelPartnerRepricingConfigsRequest
impl Send for ListChannelPartnerRepricingConfigsRequest
impl Sync for ListChannelPartnerRepricingConfigsRequest
impl Unpin for ListChannelPartnerRepricingConfigsRequest
impl UnwindSafe for ListChannelPartnerRepricingConfigsRequest
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