Compute V1 Client - Class InterconnectAttachmentGroupLogicalStructureRegionMetro (1.31.0)

Reference documentation and code samples for the Compute V1 Client class InterconnectAttachmentGroupLogicalStructureRegionMetro.

[Output Only] The metros of Attachments in this group in this region.

Generated from protobuf message google.cloud.compute.v1.InterconnectAttachmentGroupLogicalStructureRegionMetro

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ facilities array<InterconnectAttachmentGroupLogicalStructureRegionMetroFacility>
↳ metro string

[Output Only] The name of the metro, as a three-letter lowercase string like "iad". This is the first component of the location of an Interconnect.

getFacilities

Generated from protobuf field repeated .google.cloud.compute.v1.InterconnectAttachmentGroupLogicalStructureRegionMetroFacility facilities = 536683137;

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFacilities

Generated from protobuf field repeated .google.cloud.compute.v1.InterconnectAttachmentGroupLogicalStructureRegionMetroFacility facilities = 536683137;

Parameter
Name Description
var array<InterconnectAttachmentGroupLogicalStructureRegionMetroFacility>
Returns
Type Description
$this

getMetro

[Output Only] The name of the metro, as a three-letter lowercase string like "iad". This is the first component of the location of an Interconnect.

Returns
Type Description
string

hasMetro

clearMetro

setMetro

[Output Only] The name of the metro, as a three-letter lowercase string like "iad". This is the first component of the location of an Interconnect.

Parameter
Name Description
var string
Returns
Type Description
$this