public class InterconnectAttachmentsClient : ClientBase<InterconnectAttachments.InterconnectAttachmentsClient>
Reference documentation and code samples for the Compute Engine v1 API class InterconnectAttachments.InterconnectAttachmentsClient.
Client for InterconnectAttachments
Inheritance
Object > ClientBase > ClientBase<InterconnectAttachments.InterconnectAttachmentsClient> > InterconnectAttachments.InterconnectAttachmentsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
InterconnectAttachmentsClient()
protected InterconnectAttachmentsClient()
Protected parameterless constructor to allow creation of test doubles.
InterconnectAttachmentsClient(CallInvoker)
public InterconnectAttachmentsClient(CallInvoker callInvoker)
Creates a new client for InterconnectAttachments that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
InterconnectAttachmentsClient(ChannelBase)
public InterconnectAttachmentsClient(ChannelBase channel)
Creates a new client for InterconnectAttachments
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
InterconnectAttachmentsClient(ClientBase.ClientBaseConfiguration)
protected InterconnectAttachmentsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
AggregatedList(AggregatedListInterconnectAttachmentsRequest, CallOptions)
public virtual InterconnectAttachmentAggregatedList AggregatedList(AggregatedListInterconnectAttachmentsRequest request, CallOptions options)
Retrieves an aggregated list of interconnect attachments.
Parameters | |
---|---|
Name | Description |
request | AggregatedListInterconnectAttachmentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
InterconnectAttachmentAggregatedList | The response received from the server. |
AggregatedList(AggregatedListInterconnectAttachmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual InterconnectAttachmentAggregatedList AggregatedList(AggregatedListInterconnectAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves an aggregated list of interconnect attachments.
Parameters | |
---|---|
Name | Description |
request | AggregatedListInterconnectAttachmentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
InterconnectAttachmentAggregatedList | The response received from the server. |
AggregatedListAsync(AggregatedListInterconnectAttachmentsRequest, CallOptions)
public virtual AsyncUnaryCall<InterconnectAttachmentAggregatedList> AggregatedListAsync(AggregatedListInterconnectAttachmentsRequest request, CallOptions options)
Retrieves an aggregated list of interconnect attachments.
Parameters | |
---|---|
Name | Description |
request | AggregatedListInterconnectAttachmentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<InterconnectAttachmentAggregatedList> | The call object. |
AggregatedListAsync(AggregatedListInterconnectAttachmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<InterconnectAttachmentAggregatedList> AggregatedListAsync(AggregatedListInterconnectAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves an aggregated list of interconnect attachments.
Parameters | |
---|---|
Name | Description |
request | AggregatedListInterconnectAttachmentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<InterconnectAttachmentAggregatedList> | The call object. |
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
Returns | |
---|---|
Type | Description |
Operations.OperationsClient | A new Operations client for the same target as this client. |
Delete(DeleteInterconnectAttachmentRequest, CallOptions)
public virtual Operation Delete(DeleteInterconnectAttachmentRequest request, CallOptions options)
Deletes the specified interconnect attachment.
Parameters | |
---|---|
Name | Description |
request | DeleteInterconnectAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Delete(DeleteInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified interconnect attachment.
Parameters | |
---|---|
Name | Description |
request | DeleteInterconnectAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteAsync(DeleteInterconnectAttachmentRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteInterconnectAttachmentRequest request, CallOptions options)
Deletes the specified interconnect attachment.
Parameters | |
---|---|
Name | Description |
request | DeleteInterconnectAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified interconnect attachment.
Parameters | |
---|---|
Name | Description |
request | DeleteInterconnectAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
Get(GetInterconnectAttachmentRequest, CallOptions)
public virtual InterconnectAttachment Get(GetInterconnectAttachmentRequest request, CallOptions options)
Returns the specified interconnect attachment.
Parameters | |
---|---|
Name | Description |
request | GetInterconnectAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
InterconnectAttachment | The response received from the server. |
Get(GetInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual InterconnectAttachment Get(GetInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the specified interconnect attachment.
Parameters | |
---|---|
Name | Description |
request | GetInterconnectAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
InterconnectAttachment | The response received from the server. |
GetAsync(GetInterconnectAttachmentRequest, CallOptions)
public virtual AsyncUnaryCall<InterconnectAttachment> GetAsync(GetInterconnectAttachmentRequest request, CallOptions options)
Returns the specified interconnect attachment.
Parameters | |
---|---|
Name | Description |
request | GetInterconnectAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<InterconnectAttachment> | The call object. |
GetAsync(GetInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<InterconnectAttachment> GetAsync(GetInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the specified interconnect attachment.
Parameters | |
---|---|
Name | Description |
request | GetInterconnectAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<InterconnectAttachment> | The call object. |
Insert(InsertInterconnectAttachmentRequest, CallOptions)
public virtual Operation Insert(InsertInterconnectAttachmentRequest request, CallOptions options)
Creates an InterconnectAttachment in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertInterconnectAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Insert(InsertInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates an InterconnectAttachment in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertInterconnectAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
InsertAsync(InsertInterconnectAttachmentRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertInterconnectAttachmentRequest request, CallOptions options)
Creates an InterconnectAttachment in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertInterconnectAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates an InterconnectAttachment in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertInterconnectAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
List(ListInterconnectAttachmentsRequest, CallOptions)
public virtual InterconnectAttachmentList List(ListInterconnectAttachmentsRequest request, CallOptions options)
Retrieves the list of interconnect attachments contained within the specified region.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectAttachmentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
InterconnectAttachmentList | The response received from the server. |
List(ListInterconnectAttachmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual InterconnectAttachmentList List(ListInterconnectAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves the list of interconnect attachments contained within the specified region.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectAttachmentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
InterconnectAttachmentList | The response received from the server. |
ListAsync(ListInterconnectAttachmentsRequest, CallOptions)
public virtual AsyncUnaryCall<InterconnectAttachmentList> ListAsync(ListInterconnectAttachmentsRequest request, CallOptions options)
Retrieves the list of interconnect attachments contained within the specified region.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectAttachmentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<InterconnectAttachmentList> | The call object. |
ListAsync(ListInterconnectAttachmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<InterconnectAttachmentList> ListAsync(ListInterconnectAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves the list of interconnect attachments contained within the specified region.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectAttachmentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<InterconnectAttachmentList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override InterconnectAttachments.InterconnectAttachmentsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
InterconnectAttachments.InterconnectAttachmentsClient |
Patch(PatchInterconnectAttachmentRequest, CallOptions)
public virtual Operation Patch(PatchInterconnectAttachmentRequest request, CallOptions options)
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.
Parameters | |
---|---|
Name | Description |
request | PatchInterconnectAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Patch(PatchInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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.
Parameters | |
---|---|
Name | Description |
request | PatchInterconnectAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
PatchAsync(PatchInterconnectAttachmentRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchInterconnectAttachmentRequest request, CallOptions options)
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.
Parameters | |
---|---|
Name | Description |
request | PatchInterconnectAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
PatchAsync(PatchInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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.
Parameters | |
---|---|
Name | Description |
request | PatchInterconnectAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
SetLabels(SetLabelsInterconnectAttachmentRequest, CallOptions)
public virtual Operation SetLabels(SetLabelsInterconnectAttachmentRequest request, CallOptions options)
Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.
Parameters | |
---|---|
Name | Description |
request | SetLabelsInterconnectAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
SetLabels(SetLabelsInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation SetLabels(SetLabelsInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.
Parameters | |
---|---|
Name | Description |
request | SetLabelsInterconnectAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
SetLabelsAsync(SetLabelsInterconnectAttachmentRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SetLabelsAsync(SetLabelsInterconnectAttachmentRequest request, CallOptions options)
Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.
Parameters | |
---|---|
Name | Description |
request | SetLabelsInterconnectAttachmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
SetLabelsAsync(SetLabelsInterconnectAttachmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> SetLabelsAsync(SetLabelsInterconnectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.
Parameters | |
---|---|
Name | Description |
request | SetLabelsInterconnectAttachmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |