Class InterconnectsResource
The "interconnects" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class InterconnectsResource
Constructors
InterconnectsResource(IClientService)
Constructs a new resource.
Declaration
public InterconnectsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(string, string)
Deletes the specified Interconnect.
Declaration
public virtual InterconnectsResource.DeleteRequest Delete(string project, string interconnect)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | interconnect | Name of the interconnect to delete. |
Returns
| Type | Description |
|---|---|
| InterconnectsResource.DeleteRequest |
Get(string, string)
Returns the specified Interconnect. Get a list of available Interconnects by making a list() request.
Declaration
public virtual InterconnectsResource.GetRequest Get(string project, string interconnect)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | interconnect | Name of the interconnect to return. |
Returns
| Type | Description |
|---|---|
| InterconnectsResource.GetRequest |
GetDiagnostics(string, string)
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.
Declaration
public virtual InterconnectsResource.GetDiagnosticsRequest GetDiagnostics(string project, string interconnect)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | interconnect | Name of the interconnect resource to query. |
Returns
| Type | Description |
|---|---|
| InterconnectsResource.GetDiagnosticsRequest |
GetMacsecConfig(string, string)
Returns the interconnectMacsecConfig for the specified Interconnect.
Declaration
public virtual InterconnectsResource.GetMacsecConfigRequest GetMacsecConfig(string project, string interconnect)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | interconnect | Name of the interconnect resource to query. |
Returns
| Type | Description |
|---|---|
| InterconnectsResource.GetMacsecConfigRequest |
Insert(Interconnect, string)
Creates an Interconnect in the specified project using the data included in the request.
Declaration
public virtual InterconnectsResource.InsertRequest Insert(Interconnect body, string project)
Parameters
| Type | Name | Description |
|---|---|---|
| Interconnect | body | The body of the request. |
| string | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| InterconnectsResource.InsertRequest |
List(string)
Retrieves the list of Interconnects available to the specified project.
Declaration
public virtual InterconnectsResource.ListRequest List(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| InterconnectsResource.ListRequest |
Patch(Interconnect, string, string)
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.
Declaration
public virtual InterconnectsResource.PatchRequest Patch(Interconnect body, string project, string interconnect)
Parameters
| Type | Name | Description |
|---|---|---|
| Interconnect | body | The body of the request. |
| string | project | Project ID for this request. |
| string | interconnect | Name of the interconnect to update. |
Returns
| Type | Description |
|---|---|
| InterconnectsResource.PatchRequest |
SetLabels(GlobalSetLabelsRequest, string, string)
Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation.
Declaration
public virtual InterconnectsResource.SetLabelsRequest SetLabels(GlobalSetLabelsRequest body, string project, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| GlobalSetLabelsRequest | body | The body of the request. |
| string | project | Project ID for this request. |
| string | resource | Name or id of the resource for this request. |
Returns
| Type | Description |
|---|---|
| InterconnectsResource.SetLabelsRequest |
TestIamPermissions(TestPermissionsRequest, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual InterconnectsResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| TestPermissionsRequest | body | The body of the request. |
| string | project | Project ID for this request. |
| string | resource | Name or id of the resource for this request. |
Returns
| Type | Description |
|---|---|
| InterconnectsResource.TestIamPermissionsRequest |