public sealed class InterconnectsClientImpl : InterconnectsClientInterconnects 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.InterconnectsClientThe underlying gRPC client. |
settings |
InterconnectsSettingsThe base InterconnectsSettings used within this client. |
logger |
ILoggerOptional 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 |
|
Methods
Delete(DeleteInterconnectRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteInterconnectRequest request, CallSettings callSettings = null)Deletes the specified interconnect.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteInterconnectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
DeleteInterconnectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
GetInterconnectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
GetInterconnectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
GetDiagnosticsInterconnectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
GetDiagnosticsInterconnectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
InsertInterconnectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
InsertInterconnectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
ListInterconnectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
ListInterconnectsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
PatchInterconnectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
PatchInterconnectRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |