Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::UsableSubnetwork.
Subnetwork which the current user has compute.subnetworks.use permission on.
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 URL.
#network=
def network=(value) -> ::String
Parameter
- value (::String) — Network URL.
Returns
- (::String) — Network URL.
#secondary_ip_ranges
def secondary_ip_ranges() -> ::Array<::Google::Cloud::Compute::V1::UsableSubnetworkSecondaryRange>
Returns
- (::Array<::Google::Cloud::Compute::V1::UsableSubnetworkSecondaryRange>) — Secondary IP ranges.
#secondary_ip_ranges=
def secondary_ip_ranges=(value) -> ::Array<::Google::Cloud::Compute::V1::UsableSubnetworkSecondaryRange>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::UsableSubnetworkSecondaryRange>) — Secondary IP ranges.
Returns
- (::Array<::Google::Cloud::Compute::V1::UsableSubnetworkSecondaryRange>) — Secondary IP ranges.
#subnetwork
def subnetwork() -> ::String
Returns
- (::String) — Subnetwork URL.
#subnetwork=
def subnetwork=(value) -> ::String
Parameter
- value (::String) — Subnetwork URL.
Returns
- (::String) — Subnetwork URL.