Struct google_api_proto::google::cloud::asset::v1::AnalyzeMoveRequest
source · pub struct AnalyzeMoveRequest {
pub resource: String,
pub destination_parent: String,
pub view: i32,
}
Expand description
The request message for performing resource move analysis.
Fields§
§resource: String
Required. Name of the resource to perform the analysis against. Only Google Cloud projects are supported as of today. Hence, this can only be a project ID (such as “projects/my-project-id”) or a project number (such as “projects/12345”).
destination_parent: String
Required. Name of the Google Cloud folder or organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a folder number (such as “folders/123”) or an organization number (such as “organizations/123”).
view: i32
Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.
Implementations§
source§impl AnalyzeMoveRequest
impl AnalyzeMoveRequest
sourcepub fn view(&self) -> AnalysisView
pub fn view(&self) -> AnalysisView
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: AnalysisView)
pub fn set_view(&mut self, value: AnalysisView)
Sets view
to the provided enum value.
Trait Implementations§
source§impl Clone for AnalyzeMoveRequest
impl Clone for AnalyzeMoveRequest
source§fn clone(&self) -> AnalyzeMoveRequest
fn clone(&self) -> AnalyzeMoveRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnalyzeMoveRequest
impl Debug for AnalyzeMoveRequest
source§impl Default for AnalyzeMoveRequest
impl Default for AnalyzeMoveRequest
source§impl Message for AnalyzeMoveRequest
impl Message for AnalyzeMoveRequest
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 AnalyzeMoveRequest
impl PartialEq for AnalyzeMoveRequest
source§fn eq(&self, other: &AnalyzeMoveRequest) -> bool
fn eq(&self, other: &AnalyzeMoveRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnalyzeMoveRequest
Auto Trait Implementations§
impl Freeze for AnalyzeMoveRequest
impl RefUnwindSafe for AnalyzeMoveRequest
impl Send for AnalyzeMoveRequest
impl Sync for AnalyzeMoveRequest
impl Unpin for AnalyzeMoveRequest
impl UnwindSafe for AnalyzeMoveRequest
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