Network Connectivity v1beta API - Class TransportManagerClientImpl (1.0.0-beta01)

public sealed class TransportManagerClientImpl : TransportManagerClient

Reference documentation and code samples for the Network Connectivity v1beta API class TransportManagerClientImpl.

TransportManager client wrapper implementation, for convenient use.

Inheritance

object > TransportManagerClient > TransportManagerClientImpl

Namespace

Google.Cloud.NetworkConnectivity.V1Beta

Assembly

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 TransportManagerTransportManagerClient

The underlying gRPC client.

settings TransportManagerSettings

The base TransportManagerSettings used within this client.

logger ILogger

Optional 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
Overrides

DeleteTransportOperationsClient

public override OperationsClient DeleteTransportOperationsClient { get; }

The long-running operations client for DeleteTransport.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override TransportManager.TransportManagerClient GrpcClient { get; }

The underlying gRPC TransportManager client

Property Value
Type Description
TransportManagerTransportManagerClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UpdateTransportOperationsClient

public override OperationsClient UpdateTransportOperationsClient { get; }

The long-running operations client for UpdateTransport.

Property Value
Type Description
OperationsClient
Overrides

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 CreateTransportRequest

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
OperationTransportOperationMetadata

The RPC response.

Overrides

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 CreateTransportRequest

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
TaskOperationTransportOperationMetadata

A Task containing the RPC response.

Overrides

DeleteTransport(DeleteTransportRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteTransport(DeleteTransportRequest request, CallSettings callSettings = null)

Deletes a single Transport.

Parameters
Name Description
request DeleteTransportRequest

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
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteTransportAsync(DeleteTransportRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteTransportAsync(DeleteTransportRequest request, CallSettings callSettings = null)

Deletes a single Transport.

Parameters
Name Description
request DeleteTransportRequest

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
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GetRemoteTransportProfile(GetRemoteTransportProfileRequest, CallSettings)

public override RemoteTransportProfile GetRemoteTransportProfile(GetRemoteTransportProfileRequest request, CallSettings callSettings = null)

Gets details of a single RemoteTransportProfile.

Parameters
Name Description
request GetRemoteTransportProfileRequest

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
RemoteTransportProfile

The RPC response.

Overrides

GetRemoteTransportProfileAsync(GetRemoteTransportProfileRequest, CallSettings)

public override Task<RemoteTransportProfile> GetRemoteTransportProfileAsync(GetRemoteTransportProfileRequest request, CallSettings callSettings = null)

Gets details of a single RemoteTransportProfile.

Parameters
Name Description
request GetRemoteTransportProfileRequest

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
TaskRemoteTransportProfile

A Task containing the RPC response.

Overrides

GetStatus(GetStatusRequest, CallSettings)

public override GetStatusResponse GetStatus(GetStatusRequest request, CallSettings callSettings = null)

Gets the operational status of a single Transport.

Parameters
Name Description
request GetStatusRequest

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
GetStatusResponse

The RPC response.

Overrides

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 GetStatusRequest

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
TaskGetStatusResponse

A Task containing the RPC response.

Overrides

GetTransport(GetTransportRequest, CallSettings)

public override Transport GetTransport(GetTransportRequest request, CallSettings callSettings = null)

Gets details of a single Transport.

Parameters
Name Description
request GetTransportRequest

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
Transport

The RPC response.

Overrides

GetTransportAsync(GetTransportRequest, CallSettings)

public override Task<Transport> GetTransportAsync(GetTransportRequest request, CallSettings callSettings = null)

Gets details of a single Transport.

Parameters
Name Description
request GetTransportRequest

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
TaskTransport

A Task containing the RPC response.

Overrides

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 ListRemoteTransportProfilesRequest

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
PagedEnumerableListRemoteTransportProfilesResponseRemoteTransportProfile

A pageable sequence of RemoteTransportProfile resources.

Overrides

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 ListRemoteTransportProfilesRequest

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
PagedAsyncEnumerableListRemoteTransportProfilesResponseRemoteTransportProfile

A pageable asynchronous sequence of RemoteTransportProfile resources.

Overrides

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 ListTransportsRequest

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
PagedEnumerableListTransportsResponseTransport

A pageable sequence of Transport resources.

Overrides

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 ListTransportsRequest

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
PagedAsyncEnumerableListTransportsResponseTransport

A pageable asynchronous sequence of Transport resources.

Overrides

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 UpdateTransportRequest

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
OperationTransportOperationMetadata

The RPC response.

Overrides

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 UpdateTransportRequest

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
TaskOperationTransportOperationMetadata

A Task containing the RPC response.

Overrides