class InterconnectAttachments extends Resource (View source)

The "interconnectAttachments" collection of methods.

Typical usage is:

 $computeService = new Google\Service\Compute(...);
 $interconnectAttachments = $computeService->interconnectAttachments;

Methods

aggregatedList(string $project, array $optParams = [])

Retrieves an aggregated list of interconnect attachments. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true. (interconnectAttachments.aggregatedList)

delete(string $project, string $region, string $interconnectAttachment, array $optParams = [])

Deletes the specified interconnect attachment.

get(string $project, string $region, string $interconnectAttachment, array $optParams = [])

Returns the specified interconnect attachment. (interconnectAttachments.get)

insert(string $project, string $region, InterconnectAttachment $postBody, array $optParams = [])

Creates an InterconnectAttachment in the specified project using the data included in the request. (interconnectAttachments.insert)

listInterconnectAttachments(string $project, string $region, array $optParams = [])

Retrieves the list of interconnect attachments contained within the specified region. (interconnectAttachments.listInterconnectAttachments)

patch(string $project, string $region, string $interconnectAttachment, InterconnectAttachment $postBody, array $optParams = [])

Updates the specified interconnect attachment with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (interconnectAttachments.patch)

setLabels(string $project, string $region, string $resource, RegionSetLabelsRequest $postBody, array $optParams = [])

Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.

Details

InterconnectAttachmentAggregatedList aggregatedList(string $project, array $optParams = [])

Retrieves an aggregated list of interconnect attachments. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true. (interconnectAttachments.aggregatedList)

Parameters

string $project

Project ID for this request.

array $optParams

Optional parameters.

Return Value

InterconnectAttachmentAggregatedList

Exceptions

Exception

Operation delete(string $project, string $region, string $interconnectAttachment, array $optParams = [])

Deletes the specified interconnect attachment.

(interconnectAttachments.delete)

Parameters

string $project

Project ID for this request.

string $region

Name of the region for this request.

string $interconnectAttachment

Name of the interconnect attachment to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

InterconnectAttachment get(string $project, string $region, string $interconnectAttachment, array $optParams = [])

Returns the specified interconnect attachment. (interconnectAttachments.get)

Parameters

string $project

Project ID for this request.

string $region

Name of the region for this request.

string $interconnectAttachment

Name of the interconnect attachment to return.

array $optParams

Optional parameters.

Return Value

InterconnectAttachment

Exceptions

Exception

Operation insert(string $project, string $region, InterconnectAttachment $postBody, array $optParams = [])

Creates an InterconnectAttachment in the specified project using the data included in the request. (interconnectAttachments.insert)

Parameters

string $project

Project ID for this request.

string $region

Name of the region for this request.

InterconnectAttachment $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

InterconnectAttachmentList listInterconnectAttachments(string $project, string $region, array $optParams = [])

Retrieves the list of interconnect attachments contained within the specified region. (interconnectAttachments.listInterconnectAttachments)

Parameters

string $project

Project ID for this request.

string $region

Name of the region for this request.

array $optParams

Optional parameters.

Return Value

InterconnectAttachmentList

Exceptions

Exception

Operation patch(string $project, string $region, string $interconnectAttachment, InterconnectAttachment $postBody, array $optParams = [])

Updates the specified interconnect attachment with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (interconnectAttachments.patch)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $interconnectAttachment

Name of the interconnect attachment to patch.

InterconnectAttachment $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation setLabels(string $project, string $region, string $resource, RegionSetLabelsRequest $postBody, array $optParams = [])

Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.

(interconnectAttachments.setLabels)

Parameters

string $project

Project ID for this request.

string $region

The region for this request.

string $resource

Name or id of the resource for this request.

RegionSetLabelsRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception