public class TransportManager.TransportManagerClient : ClientBase<TransportManager.TransportManagerClient>Reference documentation and code samples for the Network Connectivity v1beta API class TransportManager.TransportManagerClient.
Client for TransportManager
Inheritance
object > ClientBase > ClientBaseTransportManagerTransportManagerClient > TransportManager.TransportManagerClientNamespace
Google.Cloud.NetworkConnectivity.V1BetaAssembly
Google.Cloud.NetworkConnectivity.V1Beta.dll
Constructors
TransportManagerClient()
protected TransportManagerClient()Protected parameterless constructor to allow creation of test doubles.
TransportManagerClient(CallInvoker)
public TransportManagerClient(CallInvoker callInvoker)Creates a new client for TransportManager that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
TransportManagerClient(ChannelBase)
public TransportManagerClient(ChannelBase channel)Creates a new client for TransportManager
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
TransportManagerClient(ClientBaseConfiguration)
protected TransportManagerClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateIAMPolicyClient()
public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
IAMPolicyIAMPolicyClient |
A new IAMPolicy.IAMPolicyClient for the same target as this client. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
CreateTransport(CreateTransportRequest, CallOptions)
public virtual Operation CreateTransport(CreateTransportRequest request, CallOptions options)Creates a new Transport in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTransportRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateTransport(CreateTransportRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateTransport(CreateTransportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new Transport in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTransportRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateTransportAsync(CreateTransportRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateTransportAsync(CreateTransportRequest request, CallOptions options)Creates a new Transport in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTransportRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateTransportAsync(CreateTransportRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateTransportAsync(CreateTransportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new Transport in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTransportRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteTransport(DeleteTransportRequest, CallOptions)
public virtual Operation DeleteTransport(DeleteTransportRequest request, CallOptions options)Deletes a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTransportRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteTransport(DeleteTransportRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteTransport(DeleteTransportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTransportRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteTransportAsync(DeleteTransportRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteTransportAsync(DeleteTransportRequest request, CallOptions options)Deletes a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTransportRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteTransportAsync(DeleteTransportRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteTransportAsync(DeleteTransportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTransportRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
GetRemoteTransportProfile(GetRemoteTransportProfileRequest, CallOptions)
public virtual RemoteTransportProfile GetRemoteTransportProfile(GetRemoteTransportProfileRequest request, CallOptions options)Gets details of a single RemoteTransportProfile.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRemoteTransportProfileRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
RemoteTransportProfile |
The response received from the server. |
GetRemoteTransportProfile(GetRemoteTransportProfileRequest, Metadata, DateTime?, CancellationToken)
public virtual RemoteTransportProfile GetRemoteTransportProfile(GetRemoteTransportProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single RemoteTransportProfile.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRemoteTransportProfileRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
RemoteTransportProfile |
The response received from the server. |
GetRemoteTransportProfileAsync(GetRemoteTransportProfileRequest, CallOptions)
public virtual AsyncUnaryCall<RemoteTransportProfile> GetRemoteTransportProfileAsync(GetRemoteTransportProfileRequest request, CallOptions options)Gets details of a single RemoteTransportProfile.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRemoteTransportProfileRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallRemoteTransportProfile |
The call object. |
GetRemoteTransportProfileAsync(GetRemoteTransportProfileRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<RemoteTransportProfile> GetRemoteTransportProfileAsync(GetRemoteTransportProfileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single RemoteTransportProfile.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRemoteTransportProfileRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallRemoteTransportProfile |
The call object. |
GetStatus(GetStatusRequest, CallOptions)
public virtual GetStatusResponse GetStatus(GetStatusRequest request, CallOptions options)Gets the operational status of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStatusRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
GetStatusResponse |
The response received from the server. |
GetStatus(GetStatusRequest, Metadata, DateTime?, CancellationToken)
public virtual GetStatusResponse GetStatus(GetStatusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets the operational status of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStatusRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
GetStatusResponse |
The response received from the server. |
GetStatusAsync(GetStatusRequest, CallOptions)
public virtual AsyncUnaryCall<GetStatusResponse> GetStatusAsync(GetStatusRequest request, CallOptions options)Gets the operational status of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStatusRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallGetStatusResponse |
The call object. |
GetStatusAsync(GetStatusRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<GetStatusResponse> GetStatusAsync(GetStatusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets the operational status of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
GetStatusRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallGetStatusResponse |
The call object. |
GetTransport(GetTransportRequest, CallOptions)
public virtual Transport GetTransport(GetTransportRequest request, CallOptions options)Gets details of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTransportRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Transport |
The response received from the server. |
GetTransport(GetTransportRequest, Metadata, DateTime?, CancellationToken)
public virtual Transport GetTransport(GetTransportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTransportRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Transport |
The response received from the server. |
GetTransportAsync(GetTransportRequest, CallOptions)
public virtual AsyncUnaryCall<Transport> GetTransportAsync(GetTransportRequest request, CallOptions options)Gets details of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTransportRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTransport |
The call object. |
GetTransportAsync(GetTransportRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Transport> GetTransportAsync(GetTransportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTransportRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTransport |
The call object. |
ListRemoteTransportProfiles(ListRemoteTransportProfilesRequest, CallOptions)
public virtual ListRemoteTransportProfilesResponse ListRemoteTransportProfiles(ListRemoteTransportProfilesRequest request, CallOptions options)Lists RemoteTransportProfiles in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRemoteTransportProfilesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListRemoteTransportProfilesResponse |
The response received from the server. |
ListRemoteTransportProfiles(ListRemoteTransportProfilesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListRemoteTransportProfilesResponse ListRemoteTransportProfiles(ListRemoteTransportProfilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists RemoteTransportProfiles in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRemoteTransportProfilesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListRemoteTransportProfilesResponse |
The response received from the server. |
ListRemoteTransportProfilesAsync(ListRemoteTransportProfilesRequest, CallOptions)
public virtual AsyncUnaryCall<ListRemoteTransportProfilesResponse> ListRemoteTransportProfilesAsync(ListRemoteTransportProfilesRequest request, CallOptions options)Lists RemoteTransportProfiles in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRemoteTransportProfilesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListRemoteTransportProfilesResponse |
The call object. |
ListRemoteTransportProfilesAsync(ListRemoteTransportProfilesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListRemoteTransportProfilesResponse> ListRemoteTransportProfilesAsync(ListRemoteTransportProfilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists RemoteTransportProfiles in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRemoteTransportProfilesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListRemoteTransportProfilesResponse |
The call object. |
ListTransports(ListTransportsRequest, CallOptions)
public virtual ListTransportsResponse ListTransports(ListTransportsRequest request, CallOptions options)Lists Transports in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTransportsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListTransportsResponse |
The response received from the server. |
ListTransports(ListTransportsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListTransportsResponse ListTransports(ListTransportsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists Transports in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTransportsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListTransportsResponse |
The response received from the server. |
ListTransportsAsync(ListTransportsRequest, CallOptions)
public virtual AsyncUnaryCall<ListTransportsResponse> ListTransportsAsync(ListTransportsRequest request, CallOptions options)Lists Transports in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTransportsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListTransportsResponse |
The call object. |
ListTransportsAsync(ListTransportsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListTransportsResponse> ListTransportsAsync(ListTransportsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists Transports in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTransportsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListTransportsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override TransportManager.TransportManagerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
TransportManagerTransportManagerClient |
|
UpdateTransport(UpdateTransportRequest, CallOptions)
public virtual Operation UpdateTransport(UpdateTransportRequest request, CallOptions options)Updates the parameters of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTransportRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateTransport(UpdateTransportRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateTransport(UpdateTransportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the parameters of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTransportRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateTransportAsync(UpdateTransportRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateTransportAsync(UpdateTransportRequest request, CallOptions options)Updates the parameters of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTransportRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateTransportAsync(UpdateTransportRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateTransportAsync(UpdateTransportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the parameters of a single Transport.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTransportRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |