pub struct ConnectionProfile {Show 14 fields
pub alloydb: Option<AlloyDbConnectionProfile>,
pub cloudsql: Option<CloudSqlConnectionProfile>,
pub create_time: Option<DateTime<Utc>>,
pub display_name: Option<String>,
pub error: Option<Status>,
pub labels: Option<HashMap<String, String>>,
pub mysql: Option<MySqlConnectionProfile>,
pub name: Option<String>,
pub oracle: Option<OracleConnectionProfile>,
pub postgresql: Option<PostgreSqlConnectionProfile>,
pub provider: Option<String>,
pub sqlserver: Option<SqlServerConnectionProfile>,
pub state: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
A connection profile definition.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations connection profiles create projects (request)
- locations connection profiles get projects (response)
- locations connection profiles patch projects (request)
Fields§
§alloydb: Option<AlloyDbConnectionProfile>
An AlloyDB cluster connection profile.
cloudsql: Option<CloudSqlConnectionProfile>
A CloudSQL database connection profile.
create_time: Option<DateTime<Utc>>
Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC “Zulu” format, accurate to nanoseconds. Example: “2014-10-02T15:01:23.045123456Z”.
display_name: Option<String>
The connection profile display name.
error: Option<Status>
Output only. The error details in case of state FAILED.
labels: Option<HashMap<String, String>>
The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of “key”: “value” pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.
mysql: Option<MySqlConnectionProfile>
A MySQL database connection profile.
name: Option<String>
The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
oracle: Option<OracleConnectionProfile>
An Oracle database connection profile.
postgresql: Option<PostgreSqlConnectionProfile>
A PostgreSQL database connection profile.
provider: Option<String>
The database provider.
sqlserver: Option<SqlServerConnectionProfile>
Connection profile for a SQL Server data source.
state: Option<String>
The current connection profile state (e.g. DRAFT, READY, or FAILED).
update_time: Option<DateTime<Utc>>
Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC “Zulu” format, accurate to nanoseconds. Example: “2014-10-02T15:01:23.045123456Z”.
Trait Implementations§
Source§impl Clone for ConnectionProfile
impl Clone for ConnectionProfile
Source§fn clone(&self) -> ConnectionProfile
fn clone(&self) -> ConnectionProfile
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ConnectionProfile
impl Debug for ConnectionProfile
Source§impl Default for ConnectionProfile
impl Default for ConnectionProfile
Source§fn default() -> ConnectionProfile
fn default() -> ConnectionProfile
Source§impl<'de> Deserialize<'de> for ConnectionProfile
impl<'de> Deserialize<'de> for ConnectionProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ConnectionProfile
impl Serialize for ConnectionProfile
impl RequestValue for ConnectionProfile
impl ResponseResult for ConnectionProfile
Auto Trait Implementations§
impl Freeze for ConnectionProfile
impl RefUnwindSafe for ConnectionProfile
impl Send for ConnectionProfile
impl Sync for ConnectionProfile
impl Unpin for ConnectionProfile
impl UnwindSafe for ConnectionProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more