Class: Google::Apis::CloudbillingV1beta::VlanAttachment
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::VlanAttachment
- 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
-
#bandwidth ⇒ String
Capacities in the pricing table Examples of capacity are: 50/100/200/300/400/500-Mbps, 1/ 2/5/10/20/50-Gbps.
-
#vlan_count ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VlanAttachment
constructor
A new instance of VlanAttachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VlanAttachment
Returns a new instance of VlanAttachment.
2879 2880 2881 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2879 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bandwidth ⇒ String
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
2872 2873 2874 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2872 def bandwidth @bandwidth end |
#vlan_count ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Corresponds to the JSON property vlanCount
2877 2878 2879 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2877 def vlan_count @vlan_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2884 2885 2886 2887 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2884 def update!(**args) @bandwidth = args[:bandwidth] if args.key?(:bandwidth) @vlan_count = args[:vlan_count] if args.key?(:vlan_count) end |