Network Connectivity v1 API - Class HubService.HubServiceClient (2.6.0)

public class HubService.HubServiceClient : ClientBase<HubService.HubServiceClient>

Reference documentation and code samples for the Network Connectivity v1 API class HubService.HubServiceClient.

Client for HubService

Inheritance

object > ClientBase > ClientBaseHubServiceHubServiceClient > HubService.HubServiceClient

Namespace

Google.Cloud.NetworkConnectivity.V1

Assembly

Google.Cloud.NetworkConnectivity.V1.dll

Constructors

HubServiceClient()

protected HubServiceClient()

Protected parameterless constructor to allow creation of test doubles.

HubServiceClient(CallInvoker)

public HubServiceClient(CallInvoker callInvoker)

Creates a new client for HubService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

HubServiceClient(ChannelBase)

public HubServiceClient(ChannelBase channel)

Creates a new client for HubService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

HubServiceClient(ClientBaseConfiguration)

protected HubServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

AcceptHubSpoke(AcceptHubSpokeRequest, CallOptions)

public virtual Operation AcceptHubSpoke(AcceptHubSpokeRequest request, CallOptions options)

Accepts a proposal to attach a Network Connectivity Center spoke to a hub.

Parameters
NameDescription
requestAcceptHubSpokeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

AcceptHubSpoke(AcceptHubSpokeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation AcceptHubSpoke(AcceptHubSpokeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Accepts a proposal to attach a Network Connectivity Center spoke to a hub.

Parameters
NameDescription
requestAcceptHubSpokeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

AcceptHubSpokeAsync(AcceptHubSpokeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> AcceptHubSpokeAsync(AcceptHubSpokeRequest request, CallOptions options)

Accepts a proposal to attach a Network Connectivity Center spoke to a hub.

Parameters
NameDescription
requestAcceptHubSpokeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

AcceptHubSpokeAsync(AcceptHubSpokeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> AcceptHubSpokeAsync(AcceptHubSpokeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Accepts a proposal to attach a Network Connectivity Center spoke to a hub.

Parameters
NameDescription
requestAcceptHubSpokeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateHub(CreateHubRequest, CallOptions)

public virtual Operation CreateHub(CreateHubRequest request, CallOptions options)

Creates a new Network Connectivity Center hub in the specified project.

Parameters
NameDescription
requestCreateHubRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateHub(CreateHubRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateHub(CreateHubRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new Network Connectivity Center hub in the specified project.

Parameters
NameDescription
requestCreateHubRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateHubAsync(CreateHubRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateHubAsync(CreateHubRequest request, CallOptions options)

Creates a new Network Connectivity Center hub in the specified project.

Parameters
NameDescription
requestCreateHubRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateHubAsync(CreateHubRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateHubAsync(CreateHubRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new Network Connectivity Center hub in the specified project.

Parameters
NameDescription
requestCreateHubRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

CreateSpoke(CreateSpokeRequest, CallOptions)

public virtual Operation CreateSpoke(CreateSpokeRequest request, CallOptions options)

Creates a Network Connectivity Center spoke.

Parameters
NameDescription
requestCreateSpokeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateSpoke(CreateSpokeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateSpoke(CreateSpokeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a Network Connectivity Center spoke.

Parameters
NameDescription
requestCreateSpokeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateSpokeAsync(CreateSpokeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateSpokeAsync(CreateSpokeRequest request, CallOptions options)

Creates a Network Connectivity Center spoke.

Parameters
NameDescription
requestCreateSpokeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateSpokeAsync(CreateSpokeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateSpokeAsync(CreateSpokeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a Network Connectivity Center spoke.

Parameters
NameDescription
requestCreateSpokeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteHub(DeleteHubRequest, CallOptions)

public virtual Operation DeleteHub(DeleteHubRequest request, CallOptions options)

Deletes a Network Connectivity Center hub.

Parameters
NameDescription
requestDeleteHubRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteHub(DeleteHubRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteHub(DeleteHubRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a Network Connectivity Center hub.

Parameters
NameDescription
requestDeleteHubRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteHubAsync(DeleteHubRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteHubAsync(DeleteHubRequest request, CallOptions options)

Deletes a Network Connectivity Center hub.

Parameters
NameDescription
requestDeleteHubRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteHubAsync(DeleteHubRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteHubAsync(DeleteHubRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a Network Connectivity Center hub.

Parameters
NameDescription
requestDeleteHubRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteSpoke(DeleteSpokeRequest, CallOptions)

public virtual Operation DeleteSpoke(DeleteSpokeRequest request, CallOptions options)

Deletes a Network Connectivity Center spoke.

Parameters
NameDescription
requestDeleteSpokeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteSpoke(DeleteSpokeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteSpoke(DeleteSpokeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a Network Connectivity Center spoke.

Parameters
NameDescription
requestDeleteSpokeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteSpokeAsync(DeleteSpokeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteSpokeAsync(DeleteSpokeRequest request, CallOptions options)

Deletes a Network Connectivity Center spoke.

Parameters
NameDescription
requestDeleteSpokeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteSpokeAsync(DeleteSpokeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteSpokeAsync(DeleteSpokeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a Network Connectivity Center spoke.

Parameters
NameDescription
requestDeleteSpokeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

GetGroup(GetGroupRequest, CallOptions)

public virtual Group GetGroup(GetGroupRequest request, CallOptions options)

Gets details about a Network Connectivity Center group.

Parameters
NameDescription
requestGetGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Group

The response received from the server.

GetGroup(GetGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual Group GetGroup(GetGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a Network Connectivity Center group.

Parameters
NameDescription
requestGetGroupRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Group

The response received from the server.

GetGroupAsync(GetGroupRequest, CallOptions)

public virtual AsyncUnaryCall<Group> GetGroupAsync(GetGroupRequest request, CallOptions options)

Gets details about a Network Connectivity Center group.

Parameters
NameDescription
requestGetGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallGroup

The call object.

GetGroupAsync(GetGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Group> GetGroupAsync(GetGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a Network Connectivity Center group.

Parameters
NameDescription
requestGetGroupRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallGroup

The call object.

GetHub(GetHubRequest, CallOptions)

public virtual Hub GetHub(GetHubRequest request, CallOptions options)

Gets details about a Network Connectivity Center hub.

Parameters
NameDescription
requestGetHubRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Hub

The response received from the server.

GetHub(GetHubRequest, Metadata, DateTime?, CancellationToken)

public virtual Hub GetHub(GetHubRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a Network Connectivity Center hub.

Parameters
NameDescription
requestGetHubRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Hub

The response received from the server.

GetHubAsync(GetHubRequest, CallOptions)

public virtual AsyncUnaryCall<Hub> GetHubAsync(GetHubRequest request, CallOptions options)

Gets details about a Network Connectivity Center hub.

Parameters
NameDescription
requestGetHubRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallHub

The call object.

GetHubAsync(GetHubRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Hub> GetHubAsync(GetHubRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a Network Connectivity Center hub.

Parameters
NameDescription
requestGetHubRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallHub

The call object.

GetRoute(GetRouteRequest, CallOptions)

public virtual Route GetRoute(GetRouteRequest request, CallOptions options)

Gets details about the specified route.

Parameters
NameDescription
requestGetRouteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Route

The response received from the server.

GetRoute(GetRouteRequest, Metadata, DateTime?, CancellationToken)

public virtual Route GetRoute(GetRouteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about the specified route.

Parameters
NameDescription
requestGetRouteRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Route

The response received from the server.

GetRouteAsync(GetRouteRequest, CallOptions)

public virtual AsyncUnaryCall<Route> GetRouteAsync(GetRouteRequest request, CallOptions options)

Gets details about the specified route.

Parameters
NameDescription
requestGetRouteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallRoute

The call object.

GetRouteAsync(GetRouteRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Route> GetRouteAsync(GetRouteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about the specified route.

Parameters
NameDescription
requestGetRouteRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallRoute

The call object.

GetRouteTable(GetRouteTableRequest, CallOptions)

public virtual RouteTable GetRouteTable(GetRouteTableRequest request, CallOptions options)

Gets details about a Network Connectivity Center route table.

Parameters
NameDescription
requestGetRouteTableRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
RouteTable

The response received from the server.

GetRouteTable(GetRouteTableRequest, Metadata, DateTime?, CancellationToken)

public virtual RouteTable GetRouteTable(GetRouteTableRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a Network Connectivity Center route table.

Parameters
NameDescription
requestGetRouteTableRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
RouteTable

The response received from the server.

GetRouteTableAsync(GetRouteTableRequest, CallOptions)

public virtual AsyncUnaryCall<RouteTable> GetRouteTableAsync(GetRouteTableRequest request, CallOptions options)

Gets details about a Network Connectivity Center route table.

Parameters
NameDescription
requestGetRouteTableRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallRouteTable

The call object.

GetRouteTableAsync(GetRouteTableRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<RouteTable> GetRouteTableAsync(GetRouteTableRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a Network Connectivity Center route table.

Parameters
NameDescription
requestGetRouteTableRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallRouteTable

The call object.

GetSpoke(GetSpokeRequest, CallOptions)

public virtual Spoke GetSpoke(GetSpokeRequest request, CallOptions options)

Gets details about a Network Connectivity Center spoke.

Parameters
NameDescription
requestGetSpokeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Spoke

The response received from the server.

GetSpoke(GetSpokeRequest, Metadata, DateTime?, CancellationToken)

public virtual Spoke GetSpoke(GetSpokeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a Network Connectivity Center spoke.

Parameters
NameDescription
requestGetSpokeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Spoke

The response received from the server.

GetSpokeAsync(GetSpokeRequest, CallOptions)

public virtual AsyncUnaryCall<Spoke> GetSpokeAsync(GetSpokeRequest request, CallOptions options)

Gets details about a Network Connectivity Center spoke.

Parameters
NameDescription
requestGetSpokeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSpoke

The call object.

GetSpokeAsync(GetSpokeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Spoke> GetSpokeAsync(GetSpokeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details about a Network Connectivity Center spoke.

Parameters
NameDescription
requestGetSpokeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSpoke

The call object.

ListGroups(ListGroupsRequest, CallOptions)

public virtual ListGroupsResponse ListGroups(ListGroupsRequest request, CallOptions options)

Lists groups in a given hub.

Parameters
NameDescription
requestListGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListGroupsResponse

The response received from the server.

ListGroups(ListGroupsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListGroupsResponse ListGroups(ListGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists groups in a given hub.

Parameters
NameDescription
requestListGroupsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListGroupsResponse

The response received from the server.

ListGroupsAsync(ListGroupsRequest, CallOptions)

public virtual AsyncUnaryCall<ListGroupsResponse> ListGroupsAsync(ListGroupsRequest request, CallOptions options)

Lists groups in a given hub.

Parameters
NameDescription
requestListGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListGroupsResponse

The call object.

ListGroupsAsync(ListGroupsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListGroupsResponse> ListGroupsAsync(ListGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists groups in a given hub.

Parameters
NameDescription
requestListGroupsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListGroupsResponse

The call object.

ListHubSpokes(ListHubSpokesRequest, CallOptions)

public virtual ListHubSpokesResponse ListHubSpokes(ListHubSpokesRequest request, CallOptions options)

Lists the Network Connectivity Center spokes associated with a specified hub and location. The list includes both spokes that are attached to the hub and spokes that have been proposed but not yet accepted.

Parameters
NameDescription
requestListHubSpokesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListHubSpokesResponse

The response received from the server.

ListHubSpokes(ListHubSpokesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListHubSpokesResponse ListHubSpokes(ListHubSpokesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the Network Connectivity Center spokes associated with a specified hub and location. The list includes both spokes that are attached to the hub and spokes that have been proposed but not yet accepted.

Parameters
NameDescription
requestListHubSpokesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListHubSpokesResponse

The response received from the server.

ListHubSpokesAsync(ListHubSpokesRequest, CallOptions)

public virtual AsyncUnaryCall<ListHubSpokesResponse> ListHubSpokesAsync(ListHubSpokesRequest request, CallOptions options)

Lists the Network Connectivity Center spokes associated with a specified hub and location. The list includes both spokes that are attached to the hub and spokes that have been proposed but not yet accepted.

Parameters
NameDescription
requestListHubSpokesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListHubSpokesResponse

The call object.

ListHubSpokesAsync(ListHubSpokesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListHubSpokesResponse> ListHubSpokesAsync(ListHubSpokesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the Network Connectivity Center spokes associated with a specified hub and location. The list includes both spokes that are attached to the hub and spokes that have been proposed but not yet accepted.

Parameters
NameDescription
requestListHubSpokesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListHubSpokesResponse

The call object.

ListHubs(ListHubsRequest, CallOptions)

public virtual ListHubsResponse ListHubs(ListHubsRequest request, CallOptions options)

Lists the Network Connectivity Center hubs associated with a given project.

Parameters
NameDescription
requestListHubsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListHubsResponse

The response received from the server.

ListHubs(ListHubsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListHubsResponse ListHubs(ListHubsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the Network Connectivity Center hubs associated with a given project.

Parameters
NameDescription
requestListHubsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListHubsResponse

The response received from the server.

ListHubsAsync(ListHubsRequest, CallOptions)

public virtual AsyncUnaryCall<ListHubsResponse> ListHubsAsync(ListHubsRequest request, CallOptions options)

Lists the Network Connectivity Center hubs associated with a given project.

Parameters
NameDescription
requestListHubsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListHubsResponse

The call object.

ListHubsAsync(ListHubsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListHubsResponse> ListHubsAsync(ListHubsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the Network Connectivity Center hubs associated with a given project.

Parameters
NameDescription
requestListHubsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListHubsResponse

The call object.

ListRouteTables(ListRouteTablesRequest, CallOptions)

public virtual ListRouteTablesResponse ListRouteTables(ListRouteTablesRequest request, CallOptions options)

Lists route tables in a given project.

Parameters
NameDescription
requestListRouteTablesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListRouteTablesResponse

The response received from the server.

ListRouteTables(ListRouteTablesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListRouteTablesResponse ListRouteTables(ListRouteTablesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists route tables in a given project.

Parameters
NameDescription
requestListRouteTablesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListRouteTablesResponse

The response received from the server.

ListRouteTablesAsync(ListRouteTablesRequest, CallOptions)

public virtual AsyncUnaryCall<ListRouteTablesResponse> ListRouteTablesAsync(ListRouteTablesRequest request, CallOptions options)

Lists route tables in a given project.

Parameters
NameDescription
requestListRouteTablesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListRouteTablesResponse

The call object.

ListRouteTablesAsync(ListRouteTablesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListRouteTablesResponse> ListRouteTablesAsync(ListRouteTablesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists route tables in a given project.

Parameters
NameDescription
requestListRouteTablesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListRouteTablesResponse

The call object.

ListRoutes(ListRoutesRequest, CallOptions)

public virtual ListRoutesResponse ListRoutes(ListRoutesRequest request, CallOptions options)

Lists routes in a given project.

Parameters
NameDescription
requestListRoutesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListRoutesResponse

The response received from the server.

ListRoutes(ListRoutesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListRoutesResponse ListRoutes(ListRoutesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists routes in a given project.

Parameters
NameDescription
requestListRoutesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListRoutesResponse

The response received from the server.

ListRoutesAsync(ListRoutesRequest, CallOptions)

public virtual AsyncUnaryCall<ListRoutesResponse> ListRoutesAsync(ListRoutesRequest request, CallOptions options)

Lists routes in a given project.

Parameters
NameDescription
requestListRoutesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListRoutesResponse

The call object.

ListRoutesAsync(ListRoutesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListRoutesResponse> ListRoutesAsync(ListRoutesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists routes in a given project.

Parameters
NameDescription
requestListRoutesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListRoutesResponse

The call object.

ListSpokes(ListSpokesRequest, CallOptions)

public virtual ListSpokesResponse ListSpokes(ListSpokesRequest request, CallOptions options)

Lists the Network Connectivity Center spokes in a specified project and location.

Parameters
NameDescription
requestListSpokesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListSpokesResponse

The response received from the server.

ListSpokes(ListSpokesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSpokesResponse ListSpokes(ListSpokesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the Network Connectivity Center spokes in a specified project and location.

Parameters
NameDescription
requestListSpokesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListSpokesResponse

The response received from the server.

ListSpokesAsync(ListSpokesRequest, CallOptions)

public virtual AsyncUnaryCall<ListSpokesResponse> ListSpokesAsync(ListSpokesRequest request, CallOptions options)

Lists the Network Connectivity Center spokes in a specified project and location.

Parameters
NameDescription
requestListSpokesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListSpokesResponse

The call object.

ListSpokesAsync(ListSpokesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSpokesResponse> ListSpokesAsync(ListSpokesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the Network Connectivity Center spokes in a specified project and location.

Parameters
NameDescription
requestListSpokesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListSpokesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override HubService.HubServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
HubServiceHubServiceClient
Overrides

RejectHubSpoke(RejectHubSpokeRequest, CallOptions)

public virtual Operation RejectHubSpoke(RejectHubSpokeRequest request, CallOptions options)

Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was previously in the ACTIVE state, it transitions to the INACTIVE state and is no longer able to connect to other spokes that are attached to the hub.

Parameters
NameDescription
requestRejectHubSpokeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

RejectHubSpoke(RejectHubSpokeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation RejectHubSpoke(RejectHubSpokeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was previously in the ACTIVE state, it transitions to the INACTIVE state and is no longer able to connect to other spokes that are attached to the hub.

Parameters
NameDescription
requestRejectHubSpokeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

RejectHubSpokeAsync(RejectHubSpokeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> RejectHubSpokeAsync(RejectHubSpokeRequest request, CallOptions options)

Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was previously in the ACTIVE state, it transitions to the INACTIVE state and is no longer able to connect to other spokes that are attached to the hub.

Parameters
NameDescription
requestRejectHubSpokeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

RejectHubSpokeAsync(RejectHubSpokeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> RejectHubSpokeAsync(RejectHubSpokeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was previously in the ACTIVE state, it transitions to the INACTIVE state and is no longer able to connect to other spokes that are attached to the hub.

Parameters
NameDescription
requestRejectHubSpokeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateHub(UpdateHubRequest, CallOptions)

public virtual Operation UpdateHub(UpdateHubRequest request, CallOptions options)

Updates the description and/or labels of a Network Connectivity Center hub.

Parameters
NameDescription
requestUpdateHubRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateHub(UpdateHubRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateHub(UpdateHubRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the description and/or labels of a Network Connectivity Center hub.

Parameters
NameDescription
requestUpdateHubRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateHubAsync(UpdateHubRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateHubAsync(UpdateHubRequest request, CallOptions options)

Updates the description and/or labels of a Network Connectivity Center hub.

Parameters
NameDescription
requestUpdateHubRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateHubAsync(UpdateHubRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateHubAsync(UpdateHubRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the description and/or labels of a Network Connectivity Center hub.

Parameters
NameDescription
requestUpdateHubRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateSpoke(UpdateSpokeRequest, CallOptions)

public virtual Operation UpdateSpoke(UpdateSpokeRequest request, CallOptions options)

Updates the parameters of a Network Connectivity Center spoke.

Parameters
NameDescription
requestUpdateSpokeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateSpoke(UpdateSpokeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateSpoke(UpdateSpokeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a Network Connectivity Center spoke.

Parameters
NameDescription
requestUpdateSpokeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateSpokeAsync(UpdateSpokeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateSpokeAsync(UpdateSpokeRequest request, CallOptions options)

Updates the parameters of a Network Connectivity Center spoke.

Parameters
NameDescription
requestUpdateSpokeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateSpokeAsync(UpdateSpokeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateSpokeAsync(UpdateSpokeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the parameters of a Network Connectivity Center spoke.

Parameters
NameDescription
requestUpdateSpokeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.