Class: Google::Apis::CloudbillingV1beta::VlanAttachment

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudbilling_v1beta/classes.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb

Overview

VLAN attachment for cloud interconnect.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VlanAttachment

Returns a new instance of VlanAttachment.



1329
1330
1331
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1329

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bandwidthString

Capacities in the pricing table Examples of capacity are: 50/100/200/300/400/500-Mbps, 1/ 2/5/10/20/50-Gbps. Corresponds to the JSON property bandwidth

Returns:

  • (String)


1322
1323
1324
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1322

def bandwidth
  @bandwidth
end

#vlan_countGoogle::Apis::CloudbillingV1beta::Usage

An amount of usage over a time frame. Corresponds to the JSON property vlanCount



1327
1328
1329
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1327

def vlan_count
  @vlan_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1334
1335
1336
1337
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1334

def update!(**args)
  @bandwidth = args[:bandwidth] if args.key?(:bandwidth)
  @vlan_count = args[:vlan_count] if args.key?(:vlan_count)
end