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.
2885 2886 2887 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2885 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
2878 2879 2880 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2878 def bandwidth @bandwidth end |
#vlan_count ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Corresponds to the JSON property vlanCount
2883 2884 2885 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2883 def vlan_count @vlan_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2890 2891 2892 2893 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2890 def update!(**args) @bandwidth = args[:bandwidth] if args.key?(:bandwidth) @vlan_count = args[:vlan_count] if args.key?(:vlan_count) end |