Struct googapis::google::cloud::compute::v1::AccessConfig[][src]

pub struct AccessConfig {
    pub external_ipv6: Option<String>,
    pub external_ipv6_prefix_length: Option<i32>,
    pub kind: Option<String>,
    pub name: Option<String>,
    pub nat_i_p: Option<String>,
    pub network_tier: Option<String>,
    pub public_ptr_domain_name: Option<String>,
    pub set_public_ptr: Option<bool>,
    pub type: Option<String>,
}
Expand description

An access configuration attached to an instance’s network interface. Only one access config per instance is supported.

Fields

external_ipv6: Option<String>

[Output Only] The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.

external_ipv6_prefix_length: Option<i32>

[Output Only] The prefix length of the external IPv6 range.

kind: Option<String>

[Output Only] Type of the resource. Always compute#accessConfig for access configs.

name: Option<String>

The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access.

nat_i_p: Option<String>

An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.

network_tier: Option<String>

This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. Check the NetworkTier enum for the list of possible values.

public_ptr_domain_name: Option<String>

The DNS domain name for the public PTR record. You can set this field only if the setPublicPtr field is enabled.

set_public_ptr: Option<bool>

Specifies whether a public DNS ‘PTR’ record should be created to map the external IP address of the instance to a DNS domain name.

type: Option<String>

The type of configuration. The default and only option is ONE_TO_ONE_NAT. Check the Type enum for the list of possible values.

Implementations

Returns the value of kind, or the default value if kind is unset.

Returns the value of name, or the default value if name is unset.

Returns the value of type, or the default value if type is unset.

Returns the value of nat_i_p, or the default value if nat_i_p is unset.

Returns the value of public_ptr_domain_name, or the default value if public_ptr_domain_name is unset.

Returns the value of external_ipv6_prefix_length, or the default value if external_ipv6_prefix_length is unset.

Returns the value of network_tier, or the default value if network_tier is unset.

Returns the value of set_public_ptr, or the default value if set_public_ptr is unset.

Returns the value of external_ipv6, or the default value if external_ipv6 is unset.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

Encodes the message to a buffer. Read more

Encodes the message to a newly allocated buffer.

Encodes the message with a length-delimiter to a buffer. Read more

Encodes the message with a length-delimiter to a newly allocated buffer.

Decodes an instance of the message from a buffer. Read more

Decodes a length-delimited instance of the message from the buffer.

Decodes an instance of the message from a buffer, and merges it into self. Read more

Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more