Class: Google::Apis::ComputeV1::InterconnectCircuitInfo

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Overview

Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectCircuitInfo

Returns a new instance of InterconnectCircuitInfo.



20221
20222
20223
# File 'lib/google/apis/compute_v1/classes.rb', line 20221

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#customer_demarc_idString

Customer-side demarc ID for this circuit. Corresponds to the JSON property customerDemarcId

Returns:

  • (String)


20208
20209
20210
# File 'lib/google/apis/compute_v1/classes.rb', line 20208

def customer_demarc_id
  @customer_demarc_id
end

#google_circuit_idString

Google-assigned unique ID for this circuit. Assigned at circuit turn-up. Corresponds to the JSON property googleCircuitId

Returns:

  • (String)


20213
20214
20215
# File 'lib/google/apis/compute_v1/classes.rb', line 20213

def google_circuit_id
  @google_circuit_id
end

#google_demarc_idString

Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA. Corresponds to the JSON property googleDemarcId

Returns:

  • (String)


20219
20220
20221
# File 'lib/google/apis/compute_v1/classes.rb', line 20219

def google_demarc_id
  @google_demarc_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20226
20227
20228
20229
20230
# File 'lib/google/apis/compute_v1/classes.rb', line 20226

def update!(**args)
  @customer_demarc_id = args[:customer_demarc_id] if args.key?(:customer_demarc_id)
  @google_circuit_id = args[:google_circuit_id] if args.key?(:google_circuit_id)
  @google_demarc_id = args[:google_demarc_id] if args.key?(:google_demarc_id)
end