Struct google_api_proto::google::cloud::channel::v1::ListTransferableOffersRequest
source · pub struct ListTransferableOffersRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub sku: String,
pub language_code: String,
pub billing_account: String,
pub transferred_customer_identity: Option<TransferredCustomerIdentity>,
}
Expand description
Request message for [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
Fields§
§parent: String
Required. The resource name of the reseller’s account.
page_size: i32
Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 offers. The maximum value is 1000; the server will coerce values above 1000.
page_token: String
A token for a page of results other than the first page. Obtained using [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token] of the previous [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers] call.
sku: String
Required. The SKU to look up Offers for.
language_code: String
Optional. The BCP-47 language code. For example, “en-US”. The response will localize in the corresponding language code, if specified. The default value is “en-US”.
billing_account: String
Optional. The Billing Account to look up Offers for. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.
transferred_customer_identity: Option<TransferredCustomerIdentity>
Specifies the identity of transferred customer. Either a cloud_identity_id of the customer or the customer name is required to look up transferrable Offers.
Trait Implementations§
source§impl Clone for ListTransferableOffersRequest
impl Clone for ListTransferableOffersRequest
source§fn clone(&self) -> ListTransferableOffersRequest
fn clone(&self) -> ListTransferableOffersRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for ListTransferableOffersRequest
impl Message for ListTransferableOffersRequest
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 ListTransferableOffersRequest
impl PartialEq for ListTransferableOffersRequest
source§fn eq(&self, other: &ListTransferableOffersRequest) -> bool
fn eq(&self, other: &ListTransferableOffersRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTransferableOffersRequest
Auto Trait Implementations§
impl Freeze for ListTransferableOffersRequest
impl RefUnwindSafe for ListTransferableOffersRequest
impl Send for ListTransferableOffersRequest
impl Sync for ListTransferableOffersRequest
impl Unpin for ListTransferableOffersRequest
impl UnwindSafe for ListTransferableOffersRequest
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