Class: Google::Cloud::EdgeNetwork::V1::Subnet
- Inherits:
-
Object
- Object
- Google::Cloud::EdgeNetwork::V1::Subnet
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/edgenetwork/v1/resources.rb
Overview
Message describing Subnet object
Defined Under Namespace
Modules: BondingType Classes: LabelsEntry
Instance Attribute Summary collapse
-
#bonding_type ⇒ ::Google::Cloud::EdgeNetwork::V1::Subnet::BondingType
Optional.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
Optional.
-
#ipv4_cidr ⇒ ::Array<::String>
The ranges of ipv4 addresses that are owned by this subnetwork.
-
#ipv6_cidr ⇒ ::Array<::String>
The ranges of ipv6 addresses that are owned by this subnetwork.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Labels associated with this resource.
-
#name ⇒ ::String
Required.
-
#network ⇒ ::String
Required.
-
#state ⇒ ::Google::Cloud::EdgeNetwork::V1::ResourceState
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#vlan_id ⇒ ::Integer
Optional.
Instance Attribute Details
#bonding_type ⇒ ::Google::Cloud::EdgeNetwork::V1::Subnet::BondingType
Returns 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.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 134 class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bonding type in the subnet. module BondingType # Unspecified # Bonding type will be unspecified by default and if the user chooses to # not specify a bonding type at time of creating the VLAN. This will be # treated as mixed bonding where the VLAN will have both bonded and # non-bonded connectivity to machines. BONDING_TYPE_UNSPECIFIED = 0 # Multi homed. BONDED = 1 # Single homed. NON_BONDED = 2 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the subnet was created.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 134 class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bonding type in the subnet. module BondingType # Unspecified # Bonding type will be unspecified by default and if the user chooses to # not specify a bonding type at time of creating the VLAN. This will be # treated as mixed bonding where the VLAN will have both bonded and # non-bonded connectivity to machines. BONDING_TYPE_UNSPECIFIED = 0 # Multi homed. BONDED = 1 # Single homed. NON_BONDED = 2 end end |
#description ⇒ ::String
Returns Optional. A free-text description of the resource. Max length 1024 characters.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 134 class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bonding type in the subnet. module BondingType # Unspecified # Bonding type will be unspecified by default and if the user chooses to # not specify a bonding type at time of creating the VLAN. This will be # treated as mixed bonding where the VLAN will have both bonded and # non-bonded connectivity to machines. BONDING_TYPE_UNSPECIFIED = 0 # Multi homed. BONDED = 1 # Single homed. NON_BONDED = 2 end end |
#ipv4_cidr ⇒ ::Array<::String>
Returns The ranges of ipv4 addresses that are owned by this subnetwork.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 134 class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bonding type in the subnet. module BondingType # Unspecified # Bonding type will be unspecified by default and if the user chooses to # not specify a bonding type at time of creating the VLAN. This will be # treated as mixed bonding where the VLAN will have both bonded and # non-bonded connectivity to machines. BONDING_TYPE_UNSPECIFIED = 0 # Multi homed. BONDED = 1 # Single homed. NON_BONDED = 2 end end |
#ipv6_cidr ⇒ ::Array<::String>
Returns The ranges of ipv6 addresses that are owned by this subnetwork.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 134 class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bonding type in the subnet. module BondingType # Unspecified # Bonding type will be unspecified by default and if the user chooses to # not specify a bonding type at time of creating the VLAN. This will be # treated as mixed bonding where the VLAN will have both bonded and # non-bonded connectivity to machines. BONDING_TYPE_UNSPECIFIED = 0 # Multi homed. BONDED = 1 # Single homed. NON_BONDED = 2 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Labels associated with this resource.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 134 class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bonding type in the subnet. module BondingType # Unspecified # Bonding type will be unspecified by default and if the user chooses to # not specify a bonding type at time of creating the VLAN. This will be # treated as mixed bonding where the VLAN will have both bonded and # non-bonded connectivity to machines. BONDING_TYPE_UNSPECIFIED = 0 # Multi homed. BONDED = 1 # Single homed. NON_BONDED = 2 end end |
#name ⇒ ::String
Returns Required. The canonical resource name of the subnet.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 134 class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bonding type in the subnet. module BondingType # Unspecified # Bonding type will be unspecified by default and if the user chooses to # not specify a bonding type at time of creating the VLAN. This will be # treated as mixed bonding where the VLAN will have both bonded and # non-bonded connectivity to machines. BONDING_TYPE_UNSPECIFIED = 0 # Multi homed. BONDED = 1 # Single homed. NON_BONDED = 2 end end |
#network ⇒ ::String
Returns Required. The network that this subnetwork belongs to.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 134 class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bonding type in the subnet. module BondingType # Unspecified # Bonding type will be unspecified by default and if the user chooses to # not specify a bonding type at time of creating the VLAN. This will be # treated as mixed bonding where the VLAN will have both bonded and # non-bonded connectivity to machines. BONDING_TYPE_UNSPECIFIED = 0 # Multi homed. BONDED = 1 # Single homed. NON_BONDED = 2 end end |
#state ⇒ ::Google::Cloud::EdgeNetwork::V1::ResourceState (readonly)
Returns Output only. Current stage of the resource to the device by config push.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 134 class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bonding type in the subnet. module BondingType # Unspecified # Bonding type will be unspecified by default and if the user chooses to # not specify a bonding type at time of creating the VLAN. This will be # treated as mixed bonding where the VLAN will have both bonded and # non-bonded connectivity to machines. BONDING_TYPE_UNSPECIFIED = 0 # Multi homed. BONDED = 1 # Single homed. NON_BONDED = 2 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the subnet was last updated.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 134 class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bonding type in the subnet. module BondingType # Unspecified # Bonding type will be unspecified by default and if the user chooses to # not specify a bonding type at time of creating the VLAN. This will be # treated as mixed bonding where the VLAN will have both bonded and # non-bonded connectivity to machines. BONDING_TYPE_UNSPECIFIED = 0 # Multi homed. BONDED = 1 # Single homed. NON_BONDED = 2 end end |
#vlan_id ⇒ ::Integer
Returns Optional. VLAN id provided by user. If not specified we assign one automatically.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'proto_docs/google/cloud/edgenetwork/v1/resources.rb', line 134 class Subnet include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Bonding type in the subnet. module BondingType # Unspecified # Bonding type will be unspecified by default and if the user chooses to # not specify a bonding type at time of creating the VLAN. This will be # treated as mixed bonding where the VLAN will have both bonded and # non-bonded connectivity to machines. BONDING_TYPE_UNSPECIFIED = 0 # Multi homed. BONDED = 1 # Single homed. NON_BONDED = 2 end end |