#[non_exhaustive]pub struct AnalyzeMoveRequest {
pub resource: String,
pub destination_parent: String,
pub view: AnalysisView,
/* private fields */
}Expand description
The request message for performing resource move analysis.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resource: StringRequired. 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: StringRequired. 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 destination parent. This can only be a folder number (such as “folders/123”) or an organization number (such as “organizations/123”).
view: AnalysisViewAnalysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.
Implementations§
Source§impl AnalyzeMoveRequest
impl AnalyzeMoveRequest
pub fn new() -> Self
Sourcepub fn set_resource<T: Into<String>>(self, v: T) -> Self
pub fn set_resource<T: Into<String>>(self, v: T) -> Self
Sets the value of resource.
Sourcepub fn set_destination_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_destination_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of destination_parent.
Sourcepub fn set_view<T: Into<AnalysisView>>(self, v: T) -> Self
pub fn set_view<T: Into<AnalysisView>>(self, v: T) -> Self
Sets the value of view.
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 more