Struct google_api_proto::google::cloud::metastore::v1alpha::CreateFederationRequest
source · pub struct CreateFederationRequest {
pub parent: String,
pub federation_id: String,
pub federation: Option<Federation>,
pub request_id: String,
}
Expand description
Request message for CreateFederation.
Fields§
§parent: String
Required. The relative resource name of the location in which to create a federation service, in the following form:
projects/{project_number}/locations/{location_id}
.
federation_id: String
Required. The ID of the metastore federation, which is used as the final component of the metastore federation’s name.
This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.
federation: Option<Federation>
Required. The Metastore Federation to create. The name
field is
ignored. The ID of the created metastore federation must be
provided in the request’s federation_id
field.
request_id: String
Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.
For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.
The request ID must be a valid UUID A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
Trait Implementations§
source§impl Clone for CreateFederationRequest
impl Clone for CreateFederationRequest
source§fn clone(&self) -> CreateFederationRequest
fn clone(&self) -> CreateFederationRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateFederationRequest
impl Debug for CreateFederationRequest
source§impl Default for CreateFederationRequest
impl Default for CreateFederationRequest
source§impl Message for CreateFederationRequest
impl Message for CreateFederationRequest
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 CreateFederationRequest
impl PartialEq for CreateFederationRequest
source§fn eq(&self, other: &CreateFederationRequest) -> bool
fn eq(&self, other: &CreateFederationRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateFederationRequest
Auto Trait Implementations§
impl Freeze for CreateFederationRequest
impl RefUnwindSafe for CreateFederationRequest
impl Send for CreateFederationRequest
impl Sync for CreateFederationRequest
impl Unpin for CreateFederationRequest
impl UnwindSafe for CreateFederationRequest
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