Class InterconnectAttachmentsResource
The "interconnectAttachments" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class InterconnectAttachmentsResource
Constructors
InterconnectAttachmentsResource(IClientService)
Constructs a new resource.
Declaration
public InterconnectAttachmentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AggregatedList(string)
Retrieves an aggregated list of interconnect attachments. To prevent failure, Google recommends that you set
the returnPartialSuccess
parameter to true
.
Declaration
public virtual InterconnectAttachmentsResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
InterconnectAttachmentsResource.AggregatedListRequest |
Delete(string, string, string)
Deletes the specified interconnect attachment.
Declaration
public virtual InterconnectAttachmentsResource.DeleteRequest Delete(string project, string region, string interconnectAttachment)
Parameters
Type | Name | Description |
---|---|---|
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. |
Returns
Type | Description |
---|---|
InterconnectAttachmentsResource.DeleteRequest |
Get(string, string, string)
Returns the specified interconnect attachment.
Declaration
public virtual InterconnectAttachmentsResource.GetRequest Get(string project, string region, string interconnectAttachment)
Parameters
Type | Name | Description |
---|---|---|
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. |
Returns
Type | Description |
---|---|
InterconnectAttachmentsResource.GetRequest |
Insert(InterconnectAttachment, string, string)
Creates an InterconnectAttachment in the specified project using the data included in the request.
Declaration
public virtual InterconnectAttachmentsResource.InsertRequest Insert(InterconnectAttachment body, string project, string region)
Parameters
Type | Name | Description |
---|---|---|
InterconnectAttachment | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region for this request. |
Returns
Type | Description |
---|---|
InterconnectAttachmentsResource.InsertRequest |
List(string, string)
Retrieves the list of interconnect attachments contained within the specified region.
Declaration
public virtual InterconnectAttachmentsResource.ListRequest List(string project, string region)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region for this request. |
Returns
Type | Description |
---|---|
InterconnectAttachmentsResource.ListRequest |
Patch(InterconnectAttachment, string, string, string)
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.
Declaration
public virtual InterconnectAttachmentsResource.PatchRequest Patch(InterconnectAttachment body, string project, string region, string interconnectAttachment)
Parameters
Type | Name | Description |
---|---|---|
InterconnectAttachment | body | The body of the request. |
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. |
Returns
Type | Description |
---|---|
InterconnectAttachmentsResource.PatchRequest |
SetLabels(RegionSetLabelsRequest, string, string, string)
Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.
Declaration
public virtual InterconnectAttachmentsResource.SetLabelsRequest SetLabels(RegionSetLabelsRequest body, string project, string region, string resource)
Parameters
Type | Name | Description |
---|---|---|
RegionSetLabelsRequest | body | The body of the request. |
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. |
Returns
Type | Description |
---|---|
InterconnectAttachmentsResource.SetLabelsRequest |