Class: Google::Cloud::BareMetalSolution::V2::Network
- Inherits:
-
Object
- Object
- Google::Cloud::BareMetalSolution::V2::Network
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/baremetalsolution/v2/network.rb
Overview
A Network.
Defined Under Namespace
Modules: State, Type Classes: LabelsEntry
Instance Attribute Summary collapse
-
#cidr ⇒ ::String
The cidr of the Network.
-
#gateway_ip ⇒ ::String
readonly
Output only.
-
#id ⇒ ::String
An identifier for the
Network
, generated by the backend. -
#ip_address ⇒ ::String
IP address configured.
-
#jumbo_frames_enabled ⇒ ::Boolean
Whether network uses standard frames or jumbo ones.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Labels as key value pairs.
-
#mac_address ⇒ ::Array<::String>
List of physical interfaces.
-
#mount_points ⇒ ::Array<::Google::Cloud::BareMetalSolution::V2::NetworkMountPoint>
Input only.
-
#name ⇒ ::String
readonly
Output only.
-
#pod ⇒ ::String
readonly
Output only.
-
#reservations ⇒ ::Array<::Google::Cloud::BareMetalSolution::V2::NetworkAddressReservation>
List of IP address reservations in this network.
-
#services_cidr ⇒ ::String
IP range for reserved for services (e.g. NFS).
-
#state ⇒ ::Google::Cloud::BareMetalSolution::V2::Network::State
The Network state.
-
#type ⇒ ::Google::Cloud::BareMetalSolution::V2::Network::Type
The type of this network.
-
#vlan_id ⇒ ::String
The vlan id of the Network.
-
#vrf ⇒ ::Google::Cloud::BareMetalSolution::V2::VRF
The vrf for the Network.
Instance Attribute Details
#cidr ⇒ ::String
Returns The cidr of the Network.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#gateway_ip ⇒ ::String (readonly)
Returns Output only. Gateway ip address.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#id ⇒ ::String
Returns An identifier for the Network
, generated by the backend.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#ip_address ⇒ ::String
Returns IP address configured.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#jumbo_frames_enabled ⇒ ::Boolean
Returns Whether network uses standard frames or jumbo ones.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Labels as key value pairs.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#mac_address ⇒ ::Array<::String>
Returns List of physical interfaces.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#mount_points ⇒ ::Array<::Google::Cloud::BareMetalSolution::V2::NetworkMountPoint>
Returns Input only. List of mount points to attach the network to.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#name ⇒ ::String (readonly)
Returns Output only. The resource name of this Network
.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
Format:
projects/{project}/locations/{location}/networks/{network}
.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#pod ⇒ ::String (readonly)
Returns Output only. Pod name.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#reservations ⇒ ::Array<::Google::Cloud::BareMetalSolution::V2::NetworkAddressReservation>
Returns List of IP address reservations in this network. When updating this field, an error will be generated if a reservation conflicts with an IP address already allocated to a physical server.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#services_cidr ⇒ ::String
Returns IP range for reserved for services (e.g. NFS).
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#state ⇒ ::Google::Cloud::BareMetalSolution::V2::Network::State
Returns The Network state.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#type ⇒ ::Google::Cloud::BareMetalSolution::V2::Network::Type
Returns The type of this network.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#vlan_id ⇒ ::String
Returns The vlan id of the Network.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |
#vrf ⇒ ::Google::Cloud::BareMetalSolution::V2::VRF
Returns The vrf for the Network.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/network.rb', line 79 class Network 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 # Network type. module Type # Unspecified value. TYPE_UNSPECIFIED = 0 # Client network, a network peered to a Google Cloud VPC. CLIENT = 1 # Private network, a network local to the Bare Metal Solution environment. PRIVATE = 2 end # The possible states for this Network. module State # The Network is in an unknown state. STATE_UNSPECIFIED = 0 # The Network is provisioning. PROVISIONING = 1 # The Network has been provisioned. PROVISIONED = 2 # The Network is being deprovisioned. DEPROVISIONING = 3 # The Network is being updated. UPDATING = 4 end end |