Interconnects
class Interconnects extends Resource (View source)
The "interconnects" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$interconnects = $computeService->interconnects;
Methods
Deletes the specified Interconnect. (interconnects.delete)
Returns the specified Interconnect. Get a list of available Interconnects by making a list() request. (interconnects.get)
Returns the interconnectDiagnostics for the specified Interconnect. In the event of a global outage, do not use this API to make decisions about where to redirect your network traffic. Unlike a VLAN attachment, which is regional, a Cloud Interconnect connection is a global resource. A global outage can prevent this API from functioning properly.
Returns the interconnectMacsecConfig for the specified Interconnect.
Creates an Interconnect in the specified project using the data included in the request. (interconnects.insert)
Retrieves the list of Interconnects available to the specified project.
Updates the specified Interconnect with the data included in the request.
Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation. (interconnects.setLabels)
Details
Operation
delete(string $project, string $interconnect, array $optParams = [])
Deletes the specified Interconnect. (interconnects.delete)
Interconnect
get(string $project, string $interconnect, array $optParams = [])
Returns the specified Interconnect. Get a list of available Interconnects by making a list() request. (interconnects.get)
InterconnectsGetDiagnosticsResponse
getDiagnostics(string $project, string $interconnect, array $optParams = [])
Returns the interconnectDiagnostics for the specified Interconnect. In the event of a global outage, do not use this API to make decisions about where to redirect your network traffic. Unlike a VLAN attachment, which is regional, a Cloud Interconnect connection is a global resource. A global outage can prevent this API from functioning properly.
(interconnects.getDiagnostics)
InterconnectsGetMacsecConfigResponse
getMacsecConfig(string $project, string $interconnect, array $optParams = [])
Returns the interconnectMacsecConfig for the specified Interconnect.
(interconnects.getMacsecConfig)
Operation
insert(string $project, Interconnect $postBody, array $optParams = [])
Creates an Interconnect in the specified project using the data included in the request. (interconnects.insert)
InterconnectList
listInterconnects(string $project, array $optParams = [])
Retrieves the list of Interconnects available to the specified project.
(interconnects.listInterconnects)
Operation
patch(string $project, string $interconnect, Interconnect $postBody, array $optParams = [])
Updates the specified Interconnect with the data included in the request.
This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (interconnects.patch)
Operation
setLabels(string $project, string $resource, GlobalSetLabelsRequest $postBody, array $optParams = [])
Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation. (interconnects.setLabels)