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.
Namespace
Google.Cloud.Compute.V1Assembly
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 | |
---|---|
Name | Description |
grpcClient |
PacketMirroringsPacketMirroringsClient The underlying gRPC client. |
settings |
PacketMirroringsSettings The base PacketMirroringsSettings 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 |
GrpcClient
public override PacketMirrorings.PacketMirroringsClient GrpcClient { get; }
The underlying gRPC PacketMirrorings client
Property Value | |
---|---|
Type | Description |
PacketMirroringsPacketMirroringsClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }
The long-running operations client for Patch
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 | |
---|---|
Name | Description |
request |
AggregatedListPacketMirroringsRequest 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 |
PagedEnumerablePacketMirroringAggregatedListKeyValuePairstringPacketMirroringsScopedList |
A pageable sequence of KeyValuePair<TKey, TValue> resources. |
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 | |
---|---|
Name | Description |
request |
AggregatedListPacketMirroringsRequest 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 |
PagedAsyncEnumerablePacketMirroringAggregatedListKeyValuePairstringPacketMirroringsScopedList |
A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources. |
Delete(DeletePacketMirroringRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeletePacketMirroringRequest request, CallSettings callSettings = null)
Deletes the specified PacketMirroring resource.
Parameters | |
---|---|
Name | Description |
request |
DeletePacketMirroringRequest 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. |
DeleteAsync(DeletePacketMirroringRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeletePacketMirroringRequest request, CallSettings callSettings = null)
Deletes the specified PacketMirroring resource.
Parameters | |
---|---|
Name | Description |
request |
DeletePacketMirroringRequest 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. |
Get(GetPacketMirroringRequest, CallSettings)
public override PacketMirroring Get(GetPacketMirroringRequest request, CallSettings callSettings = null)
Returns the specified PacketMirroring resource.
Parameters | |
---|---|
Name | Description |
request |
GetPacketMirroringRequest 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 |
PacketMirroring |
The RPC response. |
GetAsync(GetPacketMirroringRequest, CallSettings)
public override Task<PacketMirroring> GetAsync(GetPacketMirroringRequest request, CallSettings callSettings = null)
Returns the specified PacketMirroring resource.
Parameters | |
---|---|
Name | Description |
request |
GetPacketMirroringRequest 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 |
TaskPacketMirroring |
A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request |
InsertPacketMirroringRequest 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. |
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 | |
---|---|
Name | Description |
request |
InsertPacketMirroringRequest 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. |
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 | |
---|---|
Name | Description |
request |
ListPacketMirroringsRequest 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 |
PagedEnumerablePacketMirroringListPacketMirroring |
A pageable sequence of PacketMirroring resources. |
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 | |
---|---|
Name | Description |
request |
ListPacketMirroringsRequest 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 |
PagedAsyncEnumerablePacketMirroringListPacketMirroring |
A pageable asynchronous sequence of PacketMirroring resources. |
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 | |
---|---|
Name | Description |
request |
PatchPacketMirroringRequest 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. |
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 | |
---|---|
Name | Description |
request |
PatchPacketMirroringRequest 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. |
TestIamPermissions(TestIamPermissionsPacketMirroringRequest, CallSettings)
public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsPacketMirroringRequest request, CallSettings callSettings = null)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsPacketMirroringRequest 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 |
TestPermissionsResponse |
The RPC response. |
TestIamPermissionsAsync(TestIamPermissionsPacketMirroringRequest, CallSettings)
public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsPacketMirroringRequest request, CallSettings callSettings = null)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsPacketMirroringRequest 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 |
TaskTestPermissionsResponse |
A Task containing the RPC response. |