public sealed class InterconnectsClientImpl : InterconnectsClient
Reference documentation and code samples for the Compute Engine v1 API class InterconnectsClientImpl.
Interconnects client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The Interconnects API.
Constructors
InterconnectsClientImpl(Interconnects.InterconnectsClient, InterconnectsSettings, ILogger)
public InterconnectsClientImpl(Interconnects.InterconnectsClient grpcClient, InterconnectsSettings settings, ILogger logger)
Constructs a client wrapper for the Interconnects service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | Interconnects.InterconnectsClient The underlying gRPC client. |
settings | InterconnectsSettings The base InterconnectsSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }
The long-running operations client for Delete
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override Interconnects.InterconnectsClient GrpcClient { get; }
The underlying gRPC Interconnects client
Property Value | |
---|---|
Type | Description |
Interconnects.InterconnectsClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }
The long-running operations client for Patch
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
SetLabelsOperationsClient
public override OperationsClient SetLabelsOperationsClient { get; }
The long-running operations client for SetLabels
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Delete(DeleteInterconnectRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteInterconnectRequest request, CallSettings callSettings = null)
Deletes the specified interconnect.
Parameters | |
---|---|
Name | Description |
request | DeleteInterconnectRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
DeleteAsync(DeleteInterconnectRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteInterconnectRequest request, CallSettings callSettings = null)
Deletes the specified interconnect.
Parameters | |
---|---|
Name | Description |
request | DeleteInterconnectRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
Get(GetInterconnectRequest, CallSettings)
public override Interconnect Get(GetInterconnectRequest request, CallSettings callSettings = null)
Returns the specified interconnect. Get a list of available interconnects by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetInterconnectRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Interconnect | The RPC response. |
GetAsync(GetInterconnectRequest, CallSettings)
public override Task<Interconnect> GetAsync(GetInterconnectRequest request, CallSettings callSettings = null)
Returns the specified interconnect. Get a list of available interconnects by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetInterconnectRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Interconnect> | A Task containing the RPC response. |
GetDiagnostics(GetDiagnosticsInterconnectRequest, CallSettings)
public override InterconnectsGetDiagnosticsResponse GetDiagnostics(GetDiagnosticsInterconnectRequest request, CallSettings callSettings = null)
Returns the interconnectDiagnostics for the specified interconnect.
Parameters | |
---|---|
Name | Description |
request | GetDiagnosticsInterconnectRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
InterconnectsGetDiagnosticsResponse | The RPC response. |
GetDiagnosticsAsync(GetDiagnosticsInterconnectRequest, CallSettings)
public override Task<InterconnectsGetDiagnosticsResponse> GetDiagnosticsAsync(GetDiagnosticsInterconnectRequest request, CallSettings callSettings = null)
Returns the interconnectDiagnostics for the specified interconnect.
Parameters | |
---|---|
Name | Description |
request | GetDiagnosticsInterconnectRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<InterconnectsGetDiagnosticsResponse> | A Task containing the RPC response. |
Insert(InsertInterconnectRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertInterconnectRequest request, CallSettings callSettings = null)
Creates a Interconnect in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertInterconnectRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
InsertAsync(InsertInterconnectRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> InsertAsync(InsertInterconnectRequest request, CallSettings callSettings = null)
Creates a Interconnect in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertInterconnectRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
List(ListInterconnectsRequest, CallSettings)
public override PagedEnumerable<InterconnectList, Interconnect> List(ListInterconnectsRequest request, CallSettings callSettings = null)
Retrieves the list of interconnect available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<InterconnectList, Interconnect> | A pageable sequence of Interconnect resources. |
ListAsync(ListInterconnectsRequest, CallSettings)
public override PagedAsyncEnumerable<InterconnectList, Interconnect> ListAsync(ListInterconnectsRequest request, CallSettings callSettings = null)
Retrieves the list of interconnect available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListInterconnectsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<InterconnectList, Interconnect> | A pageable asynchronous sequence of Interconnect resources. |
Patch(PatchInterconnectRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchInterconnectRequest request, CallSettings callSettings = null)
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.
Parameters | |
---|---|
Name | Description |
request | PatchInterconnectRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
PatchAsync(PatchInterconnectRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> PatchAsync(PatchInterconnectRequest request, CallSettings callSettings = null)
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.
Parameters | |
---|---|
Name | Description |
request | PatchInterconnectRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
SetLabels(SetLabelsInterconnectRequest, CallSettings)
public override Operation<Operation, Operation> SetLabels(SetLabelsInterconnectRequest request, CallSettings callSettings = null)
Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation.
Parameters | |
---|---|
Name | Description |
request | SetLabelsInterconnectRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
SetLabelsAsync(SetLabelsInterconnectRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> SetLabelsAsync(SetLabelsInterconnectRequest request, CallSettings callSettings = null)
Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation.
Parameters | |
---|---|
Name | Description |
request | SetLabelsInterconnectRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |