Class PacketMirroringsClientImpl (2.0.0)

public sealed class PacketMirroringsClientImpl : PacketMirroringsClient

PacketMirrorings client wrapper implementation, for convenient use.

Inheritance

Object > PacketMirroringsClient > PacketMirroringsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The PacketMirrorings API.

Constructors

PacketMirroringsClientImpl(PacketMirrorings.PacketMirroringsClient, PacketMirroringsSettings, ILogger)

public PacketMirroringsClientImpl(PacketMirrorings.PacketMirroringsClient grpcClient, PacketMirroringsSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientPacketMirrorings.PacketMirroringsClient

The underlying gRPC client.

settingsPacketMirroringsSettings

The base PacketMirroringsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override PacketMirrorings.PacketMirroringsClient GrpcClient { get; }

The underlying gRPC PacketMirrorings client

Property Value
TypeDescription
PacketMirrorings.PacketMirroringsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

AggregatedList(AggregatedListPacketMirroringsRequest, CallSettings)

public override PagedEnumerable<PacketMirroringAggregatedList, KeyValuePair<string, PacketMirroringsScopedList>> AggregatedList(AggregatedListPacketMirroringsRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of packetMirrorings.

Parameters
NameDescription
requestAggregatedListPacketMirroringsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<PacketMirroringAggregatedList, KeyValuePair<String, PacketMirroringsScopedList>>

A pageable sequence of KeyValuePair<TKey,TValue> resources.

Overrides

AggregatedListAsync(AggregatedListPacketMirroringsRequest, CallSettings)

public override PagedAsyncEnumerable<PacketMirroringAggregatedList, KeyValuePair<string, PacketMirroringsScopedList>> AggregatedListAsync(AggregatedListPacketMirroringsRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of packetMirrorings.

Parameters
NameDescription
requestAggregatedListPacketMirroringsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<PacketMirroringAggregatedList, KeyValuePair<String, PacketMirroringsScopedList>>

A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources.

Overrides

Delete(DeletePacketMirroringRequest, CallSettings)

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

Deletes the specified PacketMirroring resource.

Parameters
NameDescription
requestDeletePacketMirroringRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeletePacketMirroringRequest, CallSettings)

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

Deletes the specified PacketMirroring resource.

Parameters
NameDescription
requestDeletePacketMirroringRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

Get(GetPacketMirroringRequest, CallSettings)

public override PacketMirroring Get(GetPacketMirroringRequest request, CallSettings callSettings = null)

Returns the specified PacketMirroring resource.

Parameters
NameDescription
requestGetPacketMirroringRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PacketMirroring

The RPC response.

Overrides

GetAsync(GetPacketMirroringRequest, CallSettings)

public override Task<PacketMirroring> GetAsync(GetPacketMirroringRequest request, CallSettings callSettings = null)

Returns the specified PacketMirroring resource.

Parameters
NameDescription
requestGetPacketMirroringRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<PacketMirroring>

A Task containing the RPC response.

Overrides

Insert(InsertPacketMirroringRequest, CallSettings)

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

Creates a PacketMirroring resource in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertPacketMirroringRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

InsertAsync(InsertPacketMirroringRequest, CallSettings)

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

Creates a PacketMirroring resource in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertPacketMirroringRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

List(ListPacketMirroringsRequest, CallSettings)

public override PagedEnumerable<PacketMirroringList, PacketMirroring> List(ListPacketMirroringsRequest request, CallSettings callSettings = null)

Retrieves a list of PacketMirroring resources available to the specified project and region.

Parameters
NameDescription
requestListPacketMirroringsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<PacketMirroringList, PacketMirroring>

A pageable sequence of PacketMirroring resources.

Overrides

ListAsync(ListPacketMirroringsRequest, CallSettings)

public override PagedAsyncEnumerable<PacketMirroringList, PacketMirroring> ListAsync(ListPacketMirroringsRequest request, CallSettings callSettings = null)

Retrieves a list of PacketMirroring resources available to the specified project and region.

Parameters
NameDescription
requestListPacketMirroringsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<PacketMirroringList, PacketMirroring>

A pageable asynchronous sequence of PacketMirroring resources.

Overrides

Patch(PatchPacketMirroringRequest, CallSettings)

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

Patches the specified PacketMirroring resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchPacketMirroringRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

PatchAsync(PatchPacketMirroringRequest, CallSettings)

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

Patches the specified PacketMirroring resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchPacketMirroringRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

TestIamPermissions(TestIamPermissionsPacketMirroringRequest, CallSettings)

public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsPacketMirroringRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsPacketMirroringRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TestPermissionsResponse

The RPC response.

Overrides

TestIamPermissionsAsync(TestIamPermissionsPacketMirroringRequest, CallSettings)

public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsPacketMirroringRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsPacketMirroringRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<TestPermissionsResponse>

A Task containing the RPC response.

Overrides