Struct google_api_proto::google::cloud::dataplex::v1::CreateEntryRequest
source · pub struct CreateEntryRequest {
pub parent: String,
pub entry_id: String,
pub entry: Option<Entry>,
}
Fields§
§parent: String
Required. The resource name of the parent Entry Group:
projects/{project}/locations/{location}/entryGroups/{entry_group}
.
entry_id: String
Required. Entry identifier. It has to be unique within an Entry Group.
Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.
For example if the Full Resource Name of a resource is
//library.googleapis.com/shelves/shelf1/books/book2
,
then the suggested entry_id is
library.googleapis.com/shelves/shelf1/books/book2
.
It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.
The maximum size of the field is 4000 characters.
entry: Option<Entry>
Required. Entry resource.
Trait Implementations§
source§impl Clone for CreateEntryRequest
impl Clone for CreateEntryRequest
source§fn clone(&self) -> CreateEntryRequest
fn clone(&self) -> CreateEntryRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateEntryRequest
impl Debug for CreateEntryRequest
source§impl Default for CreateEntryRequest
impl Default for CreateEntryRequest
source§impl Message for CreateEntryRequest
impl Message for CreateEntryRequest
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 CreateEntryRequest
impl PartialEq for CreateEntryRequest
source§fn eq(&self, other: &CreateEntryRequest) -> bool
fn eq(&self, other: &CreateEntryRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateEntryRequest
Auto Trait Implementations§
impl Freeze for CreateEntryRequest
impl RefUnwindSafe for CreateEntryRequest
impl Send for CreateEntryRequest
impl Sync for CreateEntryRequest
impl Unpin for CreateEntryRequest
impl UnwindSafe for CreateEntryRequest
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