Class Subnet (0.1.18)

Subnet(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message describing Subnet object

Attributes

Name Description
name str
Required. The canonical resource name of the subnet.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the subnet was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the subnet was last updated.
labels MutableMapping[str, str]
Labels associated with this resource.
description str
Optional. A free-text description of the resource. Max length 1024 characters.
network str
Required. The network that this subnetwork belongs to.
ipv4_cidr MutableSequence[str]
The ranges of ipv4 addresses that are owned by this subnetwork.
ipv6_cidr MutableSequence[str]
The ranges of ipv6 addresses that are owned by this subnetwork.
vlan_id int
Optional. VLAN id provided by user. If not specified we assign one automatically.
bonding_type google.cloud.edgenetwork_v1.types.Subnet.BondingType
Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types. In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice.
state google.cloud.edgenetwork_v1.types.ResourceState
Output only. Current stage of the resource to the device by config push.

Classes

BondingType

BondingType(value)

Bonding type in the subnet.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.