Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::UsableSubnetwork (v0.11.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::UsableSubnetwork.

UsableSubnetwork resource returns the subnetwork name, its associated network and the primary CIDR range.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#ip_cidr_range

def ip_cidr_range() -> ::String
Returns
  • (::String) — The range of internal addresses that are owned by this subnetwork.

#ip_cidr_range=

def ip_cidr_range=(value) -> ::String
Parameter
  • value (::String) — The range of internal addresses that are owned by this subnetwork.
Returns
  • (::String) — The range of internal addresses that are owned by this subnetwork.

#network

def network() -> ::String
Returns
  • (::String) — Network Name. Example: projects/my-project/global/networks/my-network

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — Network Name. Example: projects/my-project/global/networks/my-network
Returns
  • (::String) — Network Name. Example: projects/my-project/global/networks/my-network

#secondary_ip_ranges

def secondary_ip_ranges() -> ::Array<::Google::Cloud::Container::V1beta1::UsableSubnetworkSecondaryRange>
Returns

#secondary_ip_ranges=

def secondary_ip_ranges=(value) -> ::Array<::Google::Cloud::Container::V1beta1::UsableSubnetworkSecondaryRange>
Parameter
Returns

#status_message

def status_message() -> ::String
Returns
  • (::String) — A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.

#status_message=

def status_message=(value) -> ::String
Parameter
  • value (::String) — A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.
Returns
  • (::String) — A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.

#subnetwork

def subnetwork() -> ::String
Returns
  • (::String) — Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet

#subnetwork=

def subnetwork=(value) -> ::String
Parameter
  • value (::String) — Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
Returns
  • (::String) — Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet