Struct gapi_grpc::google::cloud::vpcaccess::v1::Connector[][src]

pub struct Connector {
    pub name: String,
    pub network: String,
    pub ip_cidr_range: String,
    pub state: i32,
    pub min_throughput: i32,
    pub max_throughput: i32,
    pub connected_projects: Vec<String>,
    pub subnet: Option<Subnet>,
}

Definition of a Serverless VPC Access connector.

Fields

name: String

The resource name in the format projects/*/locations/*/connectors/*.

network: String

Name of a VPC network.

ip_cidr_range: String

The range of internal addresses that follows RFC 4632 notation. Example: 10.132.0.0/28.

state: i32

Output only. State of the VPC access connector.

min_throughput: i32

Minimum throughput of the connector in Mbps. Default and min is 200.

max_throughput: i32

Maximum throughput of the connector in Mbps. Default is 200, max is 1000.

connected_projects: Vec<String>

Output only. List of projects using the connector.

subnet: Option<Subnet>

The subnet in which to house the VPC Access Connector.

Implementations

impl Connector[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.

Trait Implementations

impl Clone for Connector[src]

impl Debug for Connector[src]

impl Default for Connector[src]

impl Message for Connector[src]

impl PartialEq<Connector> for Connector[src]

impl StructuralPartialEq for Connector[src]

Auto Trait Implementations

impl RefUnwindSafe for Connector

impl Send for Connector

impl Sync for Connector

impl Unpin for Connector

impl UnwindSafe for Connector

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]