Class: Google::Apis::CloudbillingV1beta::CloudInterconnectWorkload
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::CloudInterconnectWorkload
- 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
Specifies usage for Cloud Interconnect resources.
Instance Attribute Summary collapse
-
#interconnect_attachments ⇒ Array<Google::Apis::CloudbillingV1beta::VlanAttachment>
VLAN attachment used for interconnect.
-
#interconnect_type ⇒ String
Vlan attachment type.
-
#link_type ⇒ String
Interconnect circuit link type.
-
#provisioned_link_count ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudInterconnectWorkload
constructor
A new instance of CloudInterconnectWorkload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudInterconnectWorkload
Returns a new instance of CloudInterconnectWorkload.
164 165 166 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 164 def initialize(**args) update!(**args) end |
Instance Attribute Details
#interconnect_attachments ⇒ Array<Google::Apis::CloudbillingV1beta::VlanAttachment>
VLAN attachment used for interconnect.
Corresponds to the JSON property interconnectAttachments
147 148 149 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 147 def @interconnect_attachments end |
#interconnect_type ⇒ String
Vlan attachment type.
Corresponds to the JSON property interconnectType
152 153 154 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 152 def interconnect_type @interconnect_type end |
#link_type ⇒ String
Interconnect circuit link type.
Corresponds to the JSON property linkType
157 158 159 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 157 def link_type @link_type end |
#provisioned_link_count ⇒ Google::Apis::CloudbillingV1beta::Usage
An amount of usage over a time frame.
Corresponds to the JSON property provisionedLinkCount
162 163 164 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 162 def provisioned_link_count @provisioned_link_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
169 170 171 172 173 174 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 169 def update!(**args) @interconnect_attachments = args[:interconnect_attachments] if args.key?(:interconnect_attachments) @interconnect_type = args[:interconnect_type] if args.key?(:interconnect_type) @link_type = args[:link_type] if args.key?(:link_type) @provisioned_link_count = args[:provisioned_link_count] if args.key?(:provisioned_link_count) end |