#[non_exhaustive]pub struct DiscoverConnectionProfileRequest {
pub parent: String,
pub target: Option<Target>,
pub hierarchy: Option<Hierarchy>,
pub data_object: Option<DataObject>,
/* private fields */
}
Expand description
Request message for ‘discover’ ConnectionProfile request.
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.parent: String
Required. The parent resource of the connection profile type. Must be in
the format projects/*/locations/*
.
target: Option<Target>
The connection profile on which to run discover.
hierarchy: Option<Hierarchy>
The depth of the retrieved hierarchy of data objects.
data_object: Option<DataObject>
The data object to populate with child data objects and metadata.
Implementations§
Source§impl DiscoverConnectionProfileRequest
impl DiscoverConnectionProfileRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_target<T: Into<Option<Target>>>(self, v: T) -> Self
pub fn set_target<T: Into<Option<Target>>>(self, v: T) -> Self
Sets the value of target.
Note that all the setters affecting target
are mutually
exclusive.
Sourcepub fn connection_profile(&self) -> Option<&Box<ConnectionProfile>>
pub fn connection_profile(&self) -> Option<&Box<ConnectionProfile>>
The value of target
if it holds a ConnectionProfile
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_connection_profile<T: Into<Box<ConnectionProfile>>>(
self,
v: T,
) -> Self
pub fn set_connection_profile<T: Into<Box<ConnectionProfile>>>( self, v: T, ) -> Self
Sets the value of target
to hold a ConnectionProfile
.
Note that all the setters affecting target
are
mutually exclusive.
Sourcepub fn connection_profile_name(&self) -> Option<&String>
pub fn connection_profile_name(&self) -> Option<&String>
The value of target
if it holds a ConnectionProfileName
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_connection_profile_name<T: Into<String>>(self, v: T) -> Self
pub fn set_connection_profile_name<T: Into<String>>(self, v: T) -> Self
Sets the value of target
to hold a ConnectionProfileName
.
Note that all the setters affecting target
are
mutually exclusive.
Sourcepub fn set_hierarchy<T: Into<Option<Hierarchy>>>(self, v: T) -> Self
pub fn set_hierarchy<T: Into<Option<Hierarchy>>>(self, v: T) -> Self
Sets the value of hierarchy.
Note that all the setters affecting hierarchy
are mutually
exclusive.
Sourcepub fn full_hierarchy(&self) -> Option<&bool>
pub fn full_hierarchy(&self) -> Option<&bool>
The value of hierarchy
if it holds a FullHierarchy
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_full_hierarchy<T: Into<bool>>(self, v: T) -> Self
pub fn set_full_hierarchy<T: Into<bool>>(self, v: T) -> Self
Sets the value of hierarchy
to hold a FullHierarchy
.
Note that all the setters affecting hierarchy
are
mutually exclusive.
Sourcepub fn hierarchy_depth(&self) -> Option<&i32>
pub fn hierarchy_depth(&self) -> Option<&i32>
The value of hierarchy
if it holds a HierarchyDepth
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_hierarchy_depth<T: Into<i32>>(self, v: T) -> Self
pub fn set_hierarchy_depth<T: Into<i32>>(self, v: T) -> Self
Sets the value of hierarchy
to hold a HierarchyDepth
.
Note that all the setters affecting hierarchy
are
mutually exclusive.
Sourcepub fn set_data_object<T: Into<Option<DataObject>>>(self, v: T) -> Self
pub fn set_data_object<T: Into<Option<DataObject>>>(self, v: T) -> Self
Sets the value of data_object.
Note that all the setters affecting data_object
are mutually
exclusive.
Sourcepub fn oracle_rdbms(&self) -> Option<&Box<OracleRdbms>>
pub fn oracle_rdbms(&self) -> Option<&Box<OracleRdbms>>
The value of data_object
if it holds a OracleRdbms
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_oracle_rdbms<T: Into<Box<OracleRdbms>>>(self, v: T) -> Self
pub fn set_oracle_rdbms<T: Into<Box<OracleRdbms>>>(self, v: T) -> Self
Sets the value of data_object
to hold a OracleRdbms
.
Note that all the setters affecting data_object
are
mutually exclusive.
Sourcepub fn mysql_rdbms(&self) -> Option<&Box<MysqlRdbms>>
pub fn mysql_rdbms(&self) -> Option<&Box<MysqlRdbms>>
The value of data_object
if it holds a MysqlRdbms
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_mysql_rdbms<T: Into<Box<MysqlRdbms>>>(self, v: T) -> Self
pub fn set_mysql_rdbms<T: Into<Box<MysqlRdbms>>>(self, v: T) -> Self
Sets the value of data_object
to hold a MysqlRdbms
.
Note that all the setters affecting data_object
are
mutually exclusive.
Sourcepub fn postgresql_rdbms(&self) -> Option<&Box<PostgresqlRdbms>>
pub fn postgresql_rdbms(&self) -> Option<&Box<PostgresqlRdbms>>
The value of data_object
if it holds a PostgresqlRdbms
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_postgresql_rdbms<T: Into<Box<PostgresqlRdbms>>>(self, v: T) -> Self
pub fn set_postgresql_rdbms<T: Into<Box<PostgresqlRdbms>>>(self, v: T) -> Self
Sets the value of data_object
to hold a PostgresqlRdbms
.
Note that all the setters affecting data_object
are
mutually exclusive.
Sourcepub fn sql_server_rdbms(&self) -> Option<&Box<SqlServerRdbms>>
pub fn sql_server_rdbms(&self) -> Option<&Box<SqlServerRdbms>>
The value of data_object
if it holds a SqlServerRdbms
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_sql_server_rdbms<T: Into<Box<SqlServerRdbms>>>(self, v: T) -> Self
pub fn set_sql_server_rdbms<T: Into<Box<SqlServerRdbms>>>(self, v: T) -> Self
Sets the value of data_object
to hold a SqlServerRdbms
.
Note that all the setters affecting data_object
are
mutually exclusive.
Sourcepub fn salesforce_org(&self) -> Option<&Box<SalesforceOrg>>
pub fn salesforce_org(&self) -> Option<&Box<SalesforceOrg>>
The value of data_object
if it holds a SalesforceOrg
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_salesforce_org<T: Into<Box<SalesforceOrg>>>(self, v: T) -> Self
pub fn set_salesforce_org<T: Into<Box<SalesforceOrg>>>(self, v: T) -> Self
Sets the value of data_object
to hold a SalesforceOrg
.
Note that all the setters affecting data_object
are
mutually exclusive.
Sourcepub fn mongodb_cluster(&self) -> Option<&Box<MongodbCluster>>
pub fn mongodb_cluster(&self) -> Option<&Box<MongodbCluster>>
The value of data_object
if it holds a MongodbCluster
, None
if the field is not set or
holds a different branch.
Sourcepub fn set_mongodb_cluster<T: Into<Box<MongodbCluster>>>(self, v: T) -> Self
pub fn set_mongodb_cluster<T: Into<Box<MongodbCluster>>>(self, v: T) -> Self
Sets the value of data_object
to hold a MongodbCluster
.
Note that all the setters affecting data_object
are
mutually exclusive.
Trait Implementations§
Source§impl Clone for DiscoverConnectionProfileRequest
impl Clone for DiscoverConnectionProfileRequest
Source§fn clone(&self) -> DiscoverConnectionProfileRequest
fn clone(&self) -> DiscoverConnectionProfileRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for DiscoverConnectionProfileRequest
impl Default for DiscoverConnectionProfileRequest
Source§fn default() -> DiscoverConnectionProfileRequest
fn default() -> DiscoverConnectionProfileRequest
Source§impl PartialEq for DiscoverConnectionProfileRequest
impl PartialEq for DiscoverConnectionProfileRequest
Source§fn eq(&self, other: &DiscoverConnectionProfileRequest) -> bool
fn eq(&self, other: &DiscoverConnectionProfileRequest) -> bool
self
and other
values to be equal, and is used by ==
.