class Google::Apis::BaremetalsolutionV1alpha1::NetworkConfig

Configuration parameters for a new network.

Attributes

bandwidth[RW]

Interconnect bandwidth. Set only when type is CLIENT. Corresponds to the JSON property `bandwidth` @return [String]

cidr[RW]

CIDR range of the network. Corresponds to the JSON property `cidr` @return [String]

id[RW]

A transient unique identifier to identify a volume within an ProvisioningConfig request. Corresponds to the JSON property `id` @return [String]

location[RW]

Location where to deploy the network. Corresponds to the JSON property `location` @return [String]

service_cidr[RW]

Service CIDR, if any. Corresponds to the JSON property `serviceCidr` @return [String]

type[RW]

The type of this network. Corresponds to the JSON property `type` @return [String]

user_note[RW]

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]

vlan_attachments[RW]

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

new(**args) click to toggle source
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 589
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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