public sealed class HubServiceClientImpl : HubServiceClient
HubService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.NetworkConnectivity.V1Alpha1Assembly
Google.Cloud.NetworkConnectivity.V1Alpha1.dll
Remarks
Network Connectivity Center is a hub-and-spoke abstraction for network connectivity management in Google Cloud. It reduces operational complexity through a simple, centralized connectivity management model.
Constructors
HubServiceClientImpl(HubService.HubServiceClient, HubServiceSettings)
public HubServiceClientImpl(HubService.HubServiceClient grpcClient, HubServiceSettings settings)
Constructs a client wrapper for the HubService service, with the specified gRPC client and settings.
Type | Name | Description |
---|---|---|
HubService.HubServiceClient | grpcClient | The underlying gRPC client. |
HubServiceSettings | settings | The base HubServiceSettings used within this client. |
Properties
CreateHubOperationsClient
public override OperationsClient CreateHubOperationsClient { get; }
The long-running operations client for CreateHub
.
Type | Description |
---|---|
OperationsClient |
CreateSpokeOperationsClient
public override OperationsClient CreateSpokeOperationsClient { get; }
The long-running operations client for CreateSpoke
.
Type | Description |
---|---|
OperationsClient |
DeleteHubOperationsClient
public override OperationsClient DeleteHubOperationsClient { get; }
The long-running operations client for DeleteHub
.
Type | Description |
---|---|
OperationsClient |
DeleteSpokeOperationsClient
public override OperationsClient DeleteSpokeOperationsClient { get; }
The long-running operations client for DeleteSpoke
.
Type | Description |
---|---|
OperationsClient |
GrpcClient
public override HubService.HubServiceClient GrpcClient { get; }
The underlying gRPC HubService client
Type | Description |
---|---|
HubService.HubServiceClient |
UpdateHubOperationsClient
public override OperationsClient UpdateHubOperationsClient { get; }
The long-running operations client for UpdateHub
.
Type | Description |
---|---|
OperationsClient |
UpdateSpokeOperationsClient
public override OperationsClient UpdateSpokeOperationsClient { get; }
The long-running operations client for UpdateSpoke
.
Type | Description |
---|---|
OperationsClient |
Methods
CreateHub(CreateHubRequest, CallSettings)
public override Operation<Hub, OperationMetadata> CreateHub(CreateHubRequest request, CallSettings callSettings = null)
Creates a new Hub in a given project and location.
Type | Name | Description |
---|---|---|
CreateHubRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Operation<Hub, OperationMetadata> | The RPC response. |
CreateHubAsync(CreateHubRequest, CallSettings)
public override Task<Operation<Hub, OperationMetadata>> CreateHubAsync(CreateHubRequest request, CallSettings callSettings = null)
Creates a new Hub in a given project and location.
Type | Name | Description |
---|---|---|
CreateHubRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Task<Operation<Hub, OperationMetadata>> | A Task containing the RPC response. |
CreateSpoke(CreateSpokeRequest, CallSettings)
public override Operation<Spoke, OperationMetadata> CreateSpoke(CreateSpokeRequest request, CallSettings callSettings = null)
Creates a new Spoke in a given project and location.
Type | Name | Description |
---|---|---|
CreateSpokeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Operation<Spoke, OperationMetadata> | The RPC response. |
CreateSpokeAsync(CreateSpokeRequest, CallSettings)
public override Task<Operation<Spoke, OperationMetadata>> CreateSpokeAsync(CreateSpokeRequest request, CallSettings callSettings = null)
Creates a new Spoke in a given project and location.
Type | Name | Description |
---|---|---|
CreateSpokeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Task<Operation<Spoke, OperationMetadata>> | A Task containing the RPC response. |
DeleteHub(DeleteHubRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteHub(DeleteHubRequest request, CallSettings callSettings = null)
Deletes a single Hub.
Type | Name | Description |
---|---|---|
DeleteHubRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Operation<Empty, OperationMetadata> | The RPC response. |
DeleteHubAsync(DeleteHubRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteHubAsync(DeleteHubRequest request, CallSettings callSettings = null)
Deletes a single Hub.
Type | Name | Description |
---|---|---|
DeleteHubRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
DeleteSpoke(DeleteSpokeRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteSpoke(DeleteSpokeRequest request, CallSettings callSettings = null)
Deletes a single Spoke.
Type | Name | Description |
---|---|---|
DeleteSpokeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Operation<Empty, OperationMetadata> | The RPC response. |
DeleteSpokeAsync(DeleteSpokeRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteSpokeAsync(DeleteSpokeRequest request, CallSettings callSettings = null)
Deletes a single Spoke.
Type | Name | Description |
---|---|---|
DeleteSpokeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
GetHub(GetHubRequest, CallSettings)
public override Hub GetHub(GetHubRequest request, CallSettings callSettings = null)
Gets details of a single Hub.
Type | Name | Description |
---|---|---|
GetHubRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Hub | The RPC response. |
GetHubAsync(GetHubRequest, CallSettings)
public override Task<Hub> GetHubAsync(GetHubRequest request, CallSettings callSettings = null)
Gets details of a single Hub.
Type | Name | Description |
---|---|---|
GetHubRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Task<Hub> | A Task containing the RPC response. |
GetSpoke(GetSpokeRequest, CallSettings)
public override Spoke GetSpoke(GetSpokeRequest request, CallSettings callSettings = null)
Gets details of a single Spoke.
Type | Name | Description |
---|---|---|
GetSpokeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Spoke | The RPC response. |
GetSpokeAsync(GetSpokeRequest, CallSettings)
public override Task<Spoke> GetSpokeAsync(GetSpokeRequest request, CallSettings callSettings = null)
Gets details of a single Spoke.
Type | Name | Description |
---|---|---|
GetSpokeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Task<Spoke> | A Task containing the RPC response. |
ListHubs(ListHubsRequest, CallSettings)
public override PagedEnumerable<ListHubsResponse, Hub> ListHubs(ListHubsRequest request, CallSettings callSettings = null)
Lists Hubs in a given project and location.
Type | Name | Description |
---|---|---|
ListHubsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
PagedEnumerable<ListHubsResponse, Hub> | A pageable sequence of Hub resources. |
ListHubsAsync(ListHubsRequest, CallSettings)
public override PagedAsyncEnumerable<ListHubsResponse, Hub> ListHubsAsync(ListHubsRequest request, CallSettings callSettings = null)
Lists Hubs in a given project and location.
Type | Name | Description |
---|---|---|
ListHubsRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
PagedAsyncEnumerable<ListHubsResponse, Hub> | A pageable asynchronous sequence of Hub resources. |
ListSpokes(ListSpokesRequest, CallSettings)
public override PagedEnumerable<ListSpokesResponse, Spoke> ListSpokes(ListSpokesRequest request, CallSettings callSettings = null)
Lists Spokes in a given project and location.
Type | Name | Description |
---|---|---|
ListSpokesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
PagedEnumerable<ListSpokesResponse, Spoke> | A pageable sequence of Spoke resources. |
ListSpokesAsync(ListSpokesRequest, CallSettings)
public override PagedAsyncEnumerable<ListSpokesResponse, Spoke> ListSpokesAsync(ListSpokesRequest request, CallSettings callSettings = null)
Lists Spokes in a given project and location.
Type | Name | Description |
---|---|---|
ListSpokesRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
PagedAsyncEnumerable<ListSpokesResponse, Spoke> | A pageable asynchronous sequence of Spoke resources. |
UpdateHub(UpdateHubRequest, CallSettings)
public override Operation<Hub, OperationMetadata> UpdateHub(UpdateHubRequest request, CallSettings callSettings = null)
Updates the parameters of a single Hub.
Type | Name | Description |
---|---|---|
UpdateHubRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Operation<Hub, OperationMetadata> | The RPC response. |
UpdateHubAsync(UpdateHubRequest, CallSettings)
public override Task<Operation<Hub, OperationMetadata>> UpdateHubAsync(UpdateHubRequest request, CallSettings callSettings = null)
Updates the parameters of a single Hub.
Type | Name | Description |
---|---|---|
UpdateHubRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Task<Operation<Hub, OperationMetadata>> | A Task containing the RPC response. |
UpdateSpoke(UpdateSpokeRequest, CallSettings)
public override Operation<Spoke, OperationMetadata> UpdateSpoke(UpdateSpokeRequest request, CallSettings callSettings = null)
Updates the parameters of a single Spoke.
Type | Name | Description |
---|---|---|
UpdateSpokeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Operation<Spoke, OperationMetadata> | The RPC response. |
UpdateSpokeAsync(UpdateSpokeRequest, CallSettings)
public override Task<Operation<Spoke, OperationMetadata>> UpdateSpokeAsync(UpdateSpokeRequest request, CallSettings callSettings = null)
Updates the parameters of a single Spoke.
Type | Name | Description |
---|---|---|
UpdateSpokeRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Type | Description |
---|---|
Task<Operation<Spoke, OperationMetadata>> | A Task containing the RPC response. |