Compute Engine v1 API - Class PacketMirroringsClientImpl (2.15.0)

public sealed class PacketMirroringsClientImpl : PacketMirroringsClient

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

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(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
grpcClientPacketMirroringsPacketMirroringsClient

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
PacketMirroringsPacketMirroringsClient
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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

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
PagedEnumerablePacketMirroringAggregatedListKeyValuePairstringPacketMirroringsScopedList

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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

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
PagedAsyncEnumerablePacketMirroringAggregatedListKeyValuePairstringPacketMirroringsScopedList

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
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeletePacketMirroringRequest, CallSettings)

public override 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
TaskOperationOperationOperation

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
TaskPacketMirroring

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
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertPacketMirroringRequest, CallSettings)

public override 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
TaskOperationOperationOperation

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
PagedEnumerablePacketMirroringListPacketMirroring

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
PagedAsyncEnumerablePacketMirroringListPacketMirroring

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
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchPacketMirroringRequest, CallSettings)

public override 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
TaskOperationOperationOperation

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
TaskTestPermissionsResponse

A Task containing the RPC response.

Overrides