Struct google_api_proto::google::cloud::clouddms::v1::DescribeDatabaseEntitiesRequest
source · pub struct DescribeDatabaseEntitiesRequest {
pub conversion_workspace: String,
pub page_size: i32,
pub page_token: String,
pub tree: i32,
pub uncommitted: bool,
pub commit_id: String,
pub filter: String,
pub view: i32,
}Expand description
Request message for ‘DescribeDatabaseEntities’ request.
Fields§
§conversion_workspace: StringRequired. Name of the conversion workspace resource whose database entities are described. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
page_size: i32Optional. The maximum number of entities to return. The service may return fewer entities than the value specifies.
page_token: StringOptional. The nextPageToken value received in the previous call to conversionWorkspace.describeDatabaseEntities, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspace.describeDatabaseEntities must match the call that provided the page token.
tree: i32Required. The tree to fetch.
uncommitted: boolOptional. Whether to retrieve the latest committed version of the entities or the latest version. This field is ignored if a specific commit_id is specified.
commit_id: StringOptional. Request a specific commit ID. If not specified, the entities from the latest commit are returned.
filter: StringOptional. Filter the returned entities based on AIP-160 standard.
view: i32Optional. Results view based on AIP-157
Implementations§
source§impl DescribeDatabaseEntitiesRequest
impl DescribeDatabaseEntitiesRequest
sourcepub fn tree(&self) -> DbTreeType
pub fn tree(&self) -> DbTreeType
Returns the enum value of tree, or the default if the field is set to an invalid enum value.
sourcepub fn set_tree(&mut self, value: DbTreeType)
pub fn set_tree(&mut self, value: DbTreeType)
Sets tree to the provided enum value.
sourcepub fn view(&self) -> DatabaseEntityView
pub fn view(&self) -> DatabaseEntityView
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: DatabaseEntityView)
pub fn set_view(&mut self, value: DatabaseEntityView)
Sets view to the provided enum value.
Trait Implementations§
source§impl Clone for DescribeDatabaseEntitiesRequest
impl Clone for DescribeDatabaseEntitiesRequest
source§fn clone(&self) -> DescribeDatabaseEntitiesRequest
fn clone(&self) -> DescribeDatabaseEntitiesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Message for DescribeDatabaseEntitiesRequest
impl Message for DescribeDatabaseEntitiesRequest
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 DescribeDatabaseEntitiesRequest
impl PartialEq for DescribeDatabaseEntitiesRequest
source§fn eq(&self, other: &DescribeDatabaseEntitiesRequest) -> bool
fn eq(&self, other: &DescribeDatabaseEntitiesRequest) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeDatabaseEntitiesRequest
Auto Trait Implementations§
impl Freeze for DescribeDatabaseEntitiesRequest
impl RefUnwindSafe for DescribeDatabaseEntitiesRequest
impl Send for DescribeDatabaseEntitiesRequest
impl Sync for DescribeDatabaseEntitiesRequest
impl Unpin for DescribeDatabaseEntitiesRequest
impl UnwindSafe for DescribeDatabaseEntitiesRequest
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