Class: Google::Apis::CloudbillingV1beta::CloudInterconnectWorkload

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

Specifies usage for Cloud Interconnect resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_attachmentsArray<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
  @interconnect_attachments
end

#interconnect_typeString

Vlan attachment type. Corresponds to the JSON property interconnectType

Returns:

  • (String)


152
153
154
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 152

def interconnect_type
  @interconnect_type
end

Interconnect circuit link type. Corresponds to the JSON property linkType

Returns:

  • (String)


157
158
159
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 157

def link_type
  @link_type
end

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