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 Corresponds to the JSON property
interconnectType
. -
#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.
165 166 167 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 165 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
148 149 150 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 148 def @interconnect_attachments end |
#interconnect_type ⇒ String
VLAN attachment type
Corresponds to the JSON property interconnectType
153 154 155 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 153 def interconnect_type @interconnect_type end |
#link_type ⇒ String
Interconnect circuit link type.
Corresponds to the JSON property linkType
158 159 160 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 158 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
163 164 165 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 163 def provisioned_link_count @provisioned_link_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
170 171 172 173 174 175 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 170 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 |