Struct google_api_proto::google::cloud::channel::v1::ListChannelPartnerLinksRequest
source · pub struct ListChannelPartnerLinksRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub view: i32,
}
Expand description
Request message for [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks]
Fields§
§parent: String
Required. The resource name of the reseller account for listing channel partner links. Parent uses the format: accounts/{account_id}
page_size: i32
Optional. Requested page size. Server might return fewer results than requested. If unspecified, server will pick a default size (25). The maximum value is 200; the server will coerce values above 200.
page_token: String
Optional. A token for a page of results other than the first page. Obtained using [ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token] of the previous [CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks] call.
view: i32
Optional. The level of granularity the ChannelPartnerLink will display.
Implementations§
source§impl ListChannelPartnerLinksRequest
impl ListChannelPartnerLinksRequest
sourcepub fn view(&self) -> ChannelPartnerLinkView
pub fn view(&self) -> ChannelPartnerLinkView
Returns the enum value of view
, or the default if the field is set to an invalid enum value.
sourcepub fn set_view(&mut self, value: ChannelPartnerLinkView)
pub fn set_view(&mut self, value: ChannelPartnerLinkView)
Sets view
to the provided enum value.
Trait Implementations§
source§impl Clone for ListChannelPartnerLinksRequest
impl Clone for ListChannelPartnerLinksRequest
source§fn clone(&self) -> ListChannelPartnerLinksRequest
fn clone(&self) -> ListChannelPartnerLinksRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for ListChannelPartnerLinksRequest
impl Message for ListChannelPartnerLinksRequest
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 ListChannelPartnerLinksRequest
impl PartialEq for ListChannelPartnerLinksRequest
source§fn eq(&self, other: &ListChannelPartnerLinksRequest) -> bool
fn eq(&self, other: &ListChannelPartnerLinksRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListChannelPartnerLinksRequest
Auto Trait Implementations§
impl Freeze for ListChannelPartnerLinksRequest
impl RefUnwindSafe for ListChannelPartnerLinksRequest
impl Send for ListChannelPartnerLinksRequest
impl Sync for ListChannelPartnerLinksRequest
impl Unpin for ListChannelPartnerLinksRequest
impl UnwindSafe for ListChannelPartnerLinksRequest
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