Compute Engine v1 API - Class CrossSiteNetworksClientImpl (3.22.0)

public sealed class CrossSiteNetworksClientImpl : CrossSiteNetworksClient

Reference documentation and code samples for the Compute Engine v1 API class CrossSiteNetworksClientImpl.

CrossSiteNetworks client wrapper implementation, for convenient use.

Inheritance

object > CrossSiteNetworksClient > CrossSiteNetworksClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The CrossSiteNetworks API.

Constructors

CrossSiteNetworksClientImpl(CrossSiteNetworksClient, CrossSiteNetworksSettings, ILogger)

public CrossSiteNetworksClientImpl(CrossSiteNetworks.CrossSiteNetworksClient grpcClient, CrossSiteNetworksSettings settings, ILogger logger)

Constructs a client wrapper for the CrossSiteNetworks service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient CrossSiteNetworksCrossSiteNetworksClient

The underlying gRPC client.

settings CrossSiteNetworksSettings

The base CrossSiteNetworksSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override CrossSiteNetworks.CrossSiteNetworksClient GrpcClient { get; }

The underlying gRPC CrossSiteNetworks client

Property Value
Type Description
CrossSiteNetworksCrossSiteNetworksClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient
Overrides

Methods

Delete(DeleteCrossSiteNetworkRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteCrossSiteNetworkRequest request, CallSettings callSettings = null)

Deletes the specified cross-site network in the given scope.

Parameters
Name Description
request DeleteCrossSiteNetworkRequest

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
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteCrossSiteNetworkRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteCrossSiteNetworkRequest request, CallSettings callSettings = null)

Deletes the specified cross-site network in the given scope.

Parameters
Name Description
request DeleteCrossSiteNetworkRequest

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
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetCrossSiteNetworkRequest, CallSettings)

public override CrossSiteNetwork Get(GetCrossSiteNetworkRequest request, CallSettings callSettings = null)

Returns the specified cross-site network in the given scope.

Parameters
Name Description
request GetCrossSiteNetworkRequest

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
CrossSiteNetwork

The RPC response.

Overrides

GetAsync(GetCrossSiteNetworkRequest, CallSettings)

public override Task<CrossSiteNetwork> GetAsync(GetCrossSiteNetworkRequest request, CallSettings callSettings = null)

Returns the specified cross-site network in the given scope.

Parameters
Name Description
request GetCrossSiteNetworkRequest

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
TaskCrossSiteNetwork

A Task containing the RPC response.

Overrides

Insert(InsertCrossSiteNetworkRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertCrossSiteNetworkRequest request, CallSettings callSettings = null)

Creates a cross-site network in the specified project in the given scope using the parameters that are included in the request.

Parameters
Name Description
request InsertCrossSiteNetworkRequest

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
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertCrossSiteNetworkRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertCrossSiteNetworkRequest request, CallSettings callSettings = null)

Creates a cross-site network in the specified project in the given scope using the parameters that are included in the request.

Parameters
Name Description
request InsertCrossSiteNetworkRequest

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
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListCrossSiteNetworksRequest, CallSettings)

public override PagedEnumerable<CrossSiteNetworkList, CrossSiteNetwork> List(ListCrossSiteNetworksRequest request, CallSettings callSettings = null)

Lists the cross-site networks for a project in the given scope.

Parameters
Name Description
request ListCrossSiteNetworksRequest

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
PagedEnumerableCrossSiteNetworkListCrossSiteNetwork

A pageable sequence of CrossSiteNetwork resources.

Overrides

ListAsync(ListCrossSiteNetworksRequest, CallSettings)

public override PagedAsyncEnumerable<CrossSiteNetworkList, CrossSiteNetwork> ListAsync(ListCrossSiteNetworksRequest request, CallSettings callSettings = null)

Lists the cross-site networks for a project in the given scope.

Parameters
Name Description
request ListCrossSiteNetworksRequest

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
PagedAsyncEnumerableCrossSiteNetworkListCrossSiteNetwork

A pageable asynchronous sequence of CrossSiteNetwork resources.

Overrides

Patch(PatchCrossSiteNetworkRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchCrossSiteNetworkRequest request, CallSettings callSettings = null)

Updates the specified cross-site network with the data included in the request. This method supportsPATCH semantics and uses theJSON merge patch format and processing rules.

Parameters
Name Description
request PatchCrossSiteNetworkRequest

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
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchCrossSiteNetworkRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchAsync(PatchCrossSiteNetworkRequest request, CallSettings callSettings = null)

Updates the specified cross-site network with the data included in the request. This method supportsPATCH semantics and uses theJSON merge patch format and processing rules.

Parameters
Name Description
request PatchCrossSiteNetworkRequest

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
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides