public sealed class TransportManagerClientImpl : TransportManagerClientReference documentation and code samples for the Network Connectivity v1beta API class TransportManagerClientImpl.
TransportManager client wrapper implementation, for convenient use.
Namespace
Google.Cloud.NetworkConnectivity.V1BetaAssembly
Google.Cloud.NetworkConnectivity.V1Beta.dll
Remarks
The CLH based service for managing RemoteTransportProfiles and Transports.
Constructors
TransportManagerClientImpl(TransportManagerClient, TransportManagerSettings, ILogger)
public TransportManagerClientImpl(TransportManager.TransportManagerClient grpcClient, TransportManagerSettings settings, ILogger logger)Constructs a client wrapper for the TransportManager service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
TransportManagerTransportManagerClientThe underlying gRPC client. |
settings |
TransportManagerSettingsThe base TransportManagerSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateTransportOperationsClient
public override OperationsClient CreateTransportOperationsClient { get; }The long-running operations client for CreateTransport.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteTransportOperationsClient
public override OperationsClient DeleteTransportOperationsClient { get; }The long-running operations client for DeleteTransport.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override TransportManager.TransportManagerClient GrpcClient { get; }The underlying gRPC TransportManager client
| Property Value | |
|---|---|
| Type | Description |
TransportManagerTransportManagerClient |
|
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
UpdateTransportOperationsClient
public override OperationsClient UpdateTransportOperationsClient { get; }The long-running operations client for UpdateTransport.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CreateTransport(CreateTransportRequest, CallSettings)
public override Operation<Transport, OperationMetadata> CreateTransport(CreateTransportRequest request, CallSettings callSettings = null)Creates a new Transport in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTransportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationTransportOperationMetadata |
The RPC response. |
CreateTransportAsync(CreateTransportRequest, CallSettings)
public override Task<Operation<Transport, OperationMetadata>> CreateTransportAsync(CreateTransportRequest request, CallSettings callSettings = null)Creates a new Transport in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTransportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationTransportOperationMetadata |
A Task containing the RPC response. |
DeleteTransport(DeleteTransportRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteTransport(DeleteTransportRequest request, CallSettings callSettings = null)Deletes a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTransportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteTransportAsync(DeleteTransportRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteTransportAsync(DeleteTransportRequest request, CallSettings callSettings = null)Deletes a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTransportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
GetRemoteTransportProfile(GetRemoteTransportProfileRequest, CallSettings)
public override RemoteTransportProfile GetRemoteTransportProfile(GetRemoteTransportProfileRequest request, CallSettings callSettings = null)Gets details of a single RemoteTransportProfile.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRemoteTransportProfileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
RemoteTransportProfile |
The RPC response. |
GetRemoteTransportProfileAsync(GetRemoteTransportProfileRequest, CallSettings)
public override Task<RemoteTransportProfile> GetRemoteTransportProfileAsync(GetRemoteTransportProfileRequest request, CallSettings callSettings = null)Gets details of a single RemoteTransportProfile.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRemoteTransportProfileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoteTransportProfile |
A Task containing the RPC response. |
GetStatus(GetStatusRequest, CallSettings)
public override GetStatusResponse GetStatus(GetStatusRequest request, CallSettings callSettings = null)Gets the operational status of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStatusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GetStatusResponse |
The RPC response. |
GetStatusAsync(GetStatusRequest, CallSettings)
public override Task<GetStatusResponse> GetStatusAsync(GetStatusRequest request, CallSettings callSettings = null)Gets the operational status of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStatusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGetStatusResponse |
A Task containing the RPC response. |
GetTransport(GetTransportRequest, CallSettings)
public override Transport GetTransport(GetTransportRequest request, CallSettings callSettings = null)Gets details of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTransportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Transport |
The RPC response. |
GetTransportAsync(GetTransportRequest, CallSettings)
public override Task<Transport> GetTransportAsync(GetTransportRequest request, CallSettings callSettings = null)Gets details of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTransportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTransport |
A Task containing the RPC response. |
ListRemoteTransportProfiles(ListRemoteTransportProfilesRequest, CallSettings)
public override PagedEnumerable<ListRemoteTransportProfilesResponse, RemoteTransportProfile> ListRemoteTransportProfiles(ListRemoteTransportProfilesRequest request, CallSettings callSettings = null)Lists RemoteTransportProfiles in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRemoteTransportProfilesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListRemoteTransportProfilesResponseRemoteTransportProfile |
A pageable sequence of RemoteTransportProfile resources. |
ListRemoteTransportProfilesAsync(ListRemoteTransportProfilesRequest, CallSettings)
public override PagedAsyncEnumerable<ListRemoteTransportProfilesResponse, RemoteTransportProfile> ListRemoteTransportProfilesAsync(ListRemoteTransportProfilesRequest request, CallSettings callSettings = null)Lists RemoteTransportProfiles in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRemoteTransportProfilesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListRemoteTransportProfilesResponseRemoteTransportProfile |
A pageable asynchronous sequence of RemoteTransportProfile resources. |
ListTransports(ListTransportsRequest, CallSettings)
public override PagedEnumerable<ListTransportsResponse, Transport> ListTransports(ListTransportsRequest request, CallSettings callSettings = null)Lists Transports in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTransportsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListTransportsResponseTransport |
A pageable sequence of Transport resources. |
ListTransportsAsync(ListTransportsRequest, CallSettings)
public override PagedAsyncEnumerable<ListTransportsResponse, Transport> ListTransportsAsync(ListTransportsRequest request, CallSettings callSettings = null)Lists Transports in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTransportsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListTransportsResponseTransport |
A pageable asynchronous sequence of Transport resources. |
UpdateTransport(UpdateTransportRequest, CallSettings)
public override Operation<Transport, OperationMetadata> UpdateTransport(UpdateTransportRequest request, CallSettings callSettings = null)Updates the parameters of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTransportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationTransportOperationMetadata |
The RPC response. |
UpdateTransportAsync(UpdateTransportRequest, CallSettings)
public override Task<Operation<Transport, OperationMetadata>> UpdateTransportAsync(UpdateTransportRequest request, CallSettings callSettings = null)Updates the parameters of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTransportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationTransportOperationMetadata |
A Task containing the RPC response. |