Struct google_compute1::api::TargetTcpProxy[][src]

pub struct TargetTcpProxy {
    pub creation_timestamp: Option<String>,
    pub description: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub name: Option<String>,
    pub proxy_bind: Option<bool>,
    pub proxy_header: Option<String>,
    pub self_link: Option<String>,
    pub service: Option<String>,
}

Represents a Target TCP Proxy resource.

A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules reference target TCP proxy, and the target proxy then references an external backend service. For more information, read TCP Proxy Load Balancing overview. (== resource_for {$api_version}.targetTcpProxies ==)

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

Fields

creation_timestamp: Option<String>

[Output Only] Creation timestamp in RFC3339 text format.

description: Option<String>

An optional description of this resource. Provide this property when you create the resource.

id: Option<String>

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

kind: Option<String>

[Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies.

name: Option<String>

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

proxy_bind: Option<bool>

This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED.

When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them.

The default is false.

proxy_header: Option<String>

Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.

self_link: Option<String>

[Output Only] Server-defined URL for the resource.

service: Option<String>

URL to the BackendService resource.

Trait Implementations

impl Clone for TargetTcpProxy[src]

impl Debug for TargetTcpProxy[src]

impl Default for TargetTcpProxy[src]

impl<'de> Deserialize<'de> for TargetTcpProxy[src]

impl RequestValue for TargetTcpProxy[src]

impl ResponseResult for TargetTcpProxy[src]

impl Serialize for TargetTcpProxy[src]

Auto Trait Implementations

impl RefUnwindSafe for TargetTcpProxy[src]

impl Send for TargetTcpProxy[src]

impl Sync for TargetTcpProxy[src]

impl Unpin for TargetTcpProxy[src]

impl UnwindSafe for TargetTcpProxy[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.