Struct gapi_grpc::google::cloud::clouddms::v1::ConnectionProfile[][src]

pub struct ConnectionProfile {
    pub name: String,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub labels: HashMap<String, String>,
    pub state: i32,
    pub display_name: String,
    pub error: Option<Status>,
    pub provider: i32,
    pub connection_profile: Option<ConnectionProfile>,
}

A connection profile definition.

Fields

name: String

The name of this connection profile resource in the form of projects/{project}/locations/{location}/instances/{instance}.

create_time: Option<Timestamp>

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”.

update_time: Option<Timestamp>

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”.

labels: 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" }.

state: i32

The current connection profile state (e.g. DRAFT, READY, or FAILED).

display_name: String

The connection profile display name.

error: Option<Status>

Output only. The error details in case of state FAILED.

provider: i32

The database provider.

connection_profile: Option<ConnectionProfile>

The connection profile definition.

Implementations

impl ConnectionProfile[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

pub fn provider(&self) -> DatabaseProvider[src]

Returns the enum value of provider, or the default if the field is set to an invalid enum value.

pub fn set_provider(&mut self, value: DatabaseProvider)[src]

Sets provider to the provided enum value.

Trait Implementations

impl Clone for ConnectionProfile[src]

impl Debug for ConnectionProfile[src]

impl Default for ConnectionProfile[src]

impl Message for ConnectionProfile[src]

impl PartialEq<ConnectionProfile> for ConnectionProfile[src]

impl StructuralPartialEq for ConnectionProfile[src]

Auto Trait Implementations

impl RefUnwindSafe for ConnectionProfile

impl Send for ConnectionProfile

impl Sync for ConnectionProfile

impl Unpin for ConnectionProfile

impl UnwindSafe for ConnectionProfile

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]