Enum google_api_proto::google::cloud::orchestration::airflow::service::v1::ip_allocation_policy::ServicesIpAllocation
source · pub enum ServicesIpAllocation {
ServicesSecondaryRangeName(String),
ServicesIpv4CidrBlock(String),
}
Expand description
Configuration of allocating IP addresses for services in the GKE cluster.
Variants§
ServicesSecondaryRangeName(String)
Optional. The name of the services’ secondary range used to allocate IP addresses to the GKE cluster.
For Cloud Composer environments in versions composer-1..-airflow-..*,
this field is applicable only when use_ip_aliases
is true.
ServicesIpv4CidrBlock(String)
Optional. The IP address range of the services IP addresses in this GKE cluster.
For Cloud Composer environments in versions composer-1..-airflow-..*,
this field is applicable only when use_ip_aliases
is true.
Set to blank to have GKE choose a range with the default size.
Set to /netmask (e.g. /14
) to have GKE choose a range with a specific
netmask.
Set to a
CIDR
notation (e.g. 10.96.0.0/14
) from the RFC-1918 private networks (e.g.
10.0.0.0/8
, 172.16.0.0/12
, 192.168.0.0/16
) to pick a specific range
to use.
Implementations§
source§impl ServicesIpAllocation
impl ServicesIpAllocation
sourcepub fn merge<B>(
field: &mut Option<ServicesIpAllocation>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<ServicesIpAllocation>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for ServicesIpAllocation
impl Clone for ServicesIpAllocation
source§fn clone(&self) -> ServicesIpAllocation
fn clone(&self) -> ServicesIpAllocation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServicesIpAllocation
impl Debug for ServicesIpAllocation
source§impl PartialEq for ServicesIpAllocation
impl PartialEq for ServicesIpAllocation
source§fn eq(&self, other: &ServicesIpAllocation) -> bool
fn eq(&self, other: &ServicesIpAllocation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServicesIpAllocation
Auto Trait Implementations§
impl Freeze for ServicesIpAllocation
impl RefUnwindSafe for ServicesIpAllocation
impl Send for ServicesIpAllocation
impl Sync for ServicesIpAllocation
impl Unpin for ServicesIpAllocation
impl UnwindSafe for ServicesIpAllocation
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request