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.



165
166
167
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 165

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



148
149
150
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 148

def interconnect_attachments
  @interconnect_attachments
end

#interconnect_typeString

VLAN attachment type Corresponds to the JSON property interconnectType

Returns:

  • (String)


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

def interconnect_type
  @interconnect_type
end

Interconnect circuit link type. Corresponds to the JSON property linkType

Returns:

  • (String)


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

def link_type
  @link_type
end

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