class Google::Apis::BaremetalsolutionV1alpha1::NetworkConfig
Configuration parameters for a new network.
Attributes
Interconnect bandwidth. Set only when type is CLIENT. Corresponds to the JSON property `bandwidth` @return [String]
CIDR range of the network. Corresponds to the JSON property `cidr` @return [String]
A transient unique identifier to identify a volume within an ProvisioningConfig
request. Corresponds to the JSON property `id` @return [String]
Location where to deploy the network. Corresponds to the JSON property `location` @return [String]
Service CIDR, if any. Corresponds to the JSON property `serviceCidr` @return [String]
The type of this network. Corresponds to the JSON property `type` @return [String]
User note field, it can be used by customers to add additional information for the BMS Ops team (b/194021617). Corresponds to the JSON property `userNote` @return [String]
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan). Corresponds to the JSON property `vlanAttachments` @return [Array<Google::Apis::BaremetalsolutionV1alpha1::VlanAttachment>]
Public Class Methods
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 589 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 594 def update!(**args) @bandwidth = args[:bandwidth] if args.key?(:bandwidth) @cidr = args[:cidr] if args.key?(:cidr) @id = args[:id] if args.key?(:id) @location = args[:location] if args.key?(:location) @service_cidr = args[:service_cidr] if args.key?(:service_cidr) @type = args[:type] if args.key?(:type) @user_note = args[:user_note] if args.key?(:user_note) @vlan_attachments = args[:vlan_attachments] if args.key?(:vlan_attachments) end