- 3.22.0 (latest)
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
public class PacketMirrorings.PacketMirroringsClient : ClientBase<PacketMirrorings.PacketMirroringsClient>Reference documentation and code samples for the Compute Engine v1 API class PacketMirrorings.PacketMirroringsClient.
Client for PacketMirrorings
Inheritance
object > ClientBase > ClientBasePacketMirroringsPacketMirroringsClient > PacketMirrorings.PacketMirroringsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
PacketMirroringsClient()
protected PacketMirroringsClient()Protected parameterless constructor to allow creation of test doubles.
PacketMirroringsClient(CallInvoker)
public PacketMirroringsClient(CallInvoker callInvoker)Creates a new client for PacketMirrorings that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
PacketMirroringsClient(ChannelBase)
public PacketMirroringsClient(ChannelBase channel)Creates a new client for PacketMirrorings
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
PacketMirroringsClient(ClientBaseConfiguration)
protected PacketMirroringsClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
AggregatedList(AggregatedListPacketMirroringsRequest, CallOptions)
public virtual PacketMirroringAggregatedList AggregatedList(AggregatedListPacketMirroringsRequest request, CallOptions options)Retrieves an aggregated list of packetMirrorings.
To prevent failure, Google recommends that you set the
returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListPacketMirroringsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
PacketMirroringAggregatedList |
The response received from the server. |
AggregatedList(AggregatedListPacketMirroringsRequest, Metadata, DateTime?, CancellationToken)
public virtual PacketMirroringAggregatedList AggregatedList(AggregatedListPacketMirroringsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves an aggregated list of packetMirrorings.
To prevent failure, Google recommends that you set the
returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListPacketMirroringsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
PacketMirroringAggregatedList |
The response received from the server. |
AggregatedListAsync(AggregatedListPacketMirroringsRequest, CallOptions)
public virtual AsyncUnaryCall<PacketMirroringAggregatedList> AggregatedListAsync(AggregatedListPacketMirroringsRequest request, CallOptions options)Retrieves an aggregated list of packetMirrorings.
To prevent failure, Google recommends that you set the
returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListPacketMirroringsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPacketMirroringAggregatedList |
The call object. |
AggregatedListAsync(AggregatedListPacketMirroringsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<PacketMirroringAggregatedList> AggregatedListAsync(AggregatedListPacketMirroringsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves an aggregated list of packetMirrorings.
To prevent failure, Google recommends that you set the
returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListPacketMirroringsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPacketMirroringAggregatedList |
The call object. |
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
Delete(DeletePacketMirroringRequest, CallOptions)
public virtual Operation Delete(DeletePacketMirroringRequest request, CallOptions options)Deletes the specified PacketMirroring resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePacketMirroringRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Delete(DeletePacketMirroringRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeletePacketMirroringRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes the specified PacketMirroring resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePacketMirroringRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteAsync(DeletePacketMirroringRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeletePacketMirroringRequest request, CallOptions options)Deletes the specified PacketMirroring resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePacketMirroringRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteAsync(DeletePacketMirroringRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeletePacketMirroringRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes the specified PacketMirroring resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePacketMirroringRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
Get(GetPacketMirroringRequest, CallOptions)
public virtual PacketMirroring Get(GetPacketMirroringRequest request, CallOptions options)Returns the specified PacketMirroring resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPacketMirroringRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
PacketMirroring |
The response received from the server. |
Get(GetPacketMirroringRequest, Metadata, DateTime?, CancellationToken)
public virtual PacketMirroring Get(GetPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns the specified PacketMirroring resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPacketMirroringRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
PacketMirroring |
The response received from the server. |
GetAsync(GetPacketMirroringRequest, CallOptions)
public virtual AsyncUnaryCall<PacketMirroring> GetAsync(GetPacketMirroringRequest request, CallOptions options)Returns the specified PacketMirroring resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPacketMirroringRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPacketMirroring |
The call object. |
GetAsync(GetPacketMirroringRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<PacketMirroring> GetAsync(GetPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns the specified PacketMirroring resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPacketMirroringRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPacketMirroring |
The call object. |
Insert(InsertPacketMirroringRequest, CallOptions)
public virtual Operation Insert(InsertPacketMirroringRequest request, CallOptions options)Creates a PacketMirroring resource in the specified project and region using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertPacketMirroringRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Insert(InsertPacketMirroringRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a PacketMirroring resource in the specified project and region using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertPacketMirroringRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
InsertAsync(InsertPacketMirroringRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertPacketMirroringRequest request, CallOptions options)Creates a PacketMirroring resource in the specified project and region using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertPacketMirroringRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
InsertAsync(InsertPacketMirroringRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a PacketMirroring resource in the specified project and region using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertPacketMirroringRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
List(ListPacketMirroringsRequest, CallOptions)
public virtual PacketMirroringList List(ListPacketMirroringsRequest request, CallOptions options)Retrieves a list of PacketMirroring resources available to the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPacketMirroringsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
PacketMirroringList |
The response received from the server. |
List(ListPacketMirroringsRequest, Metadata, DateTime?, CancellationToken)
public virtual PacketMirroringList List(ListPacketMirroringsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves a list of PacketMirroring resources available to the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPacketMirroringsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
PacketMirroringList |
The response received from the server. |
ListAsync(ListPacketMirroringsRequest, CallOptions)
public virtual AsyncUnaryCall<PacketMirroringList> ListAsync(ListPacketMirroringsRequest request, CallOptions options)Retrieves a list of PacketMirroring resources available to the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPacketMirroringsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPacketMirroringList |
The call object. |
ListAsync(ListPacketMirroringsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<PacketMirroringList> ListAsync(ListPacketMirroringsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves a list of PacketMirroring resources available to the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPacketMirroringsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPacketMirroringList |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override PacketMirrorings.PacketMirroringsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
PacketMirroringsPacketMirroringsClient |
|
Patch(PatchPacketMirroringRequest, CallOptions)
public virtual Operation Patch(PatchPacketMirroringRequest request, CallOptions options)Patches the specified PacketMirroring resource with the data included in the request. This method supportsPATCH semantics and usesJSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchPacketMirroringRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Patch(PatchPacketMirroringRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Patch(PatchPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Patches the specified PacketMirroring resource with the data included in the request. This method supportsPATCH semantics and usesJSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchPacketMirroringRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
PatchAsync(PatchPacketMirroringRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchPacketMirroringRequest request, CallOptions options)Patches the specified PacketMirroring resource with the data included in the request. This method supportsPATCH semantics and usesJSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchPacketMirroringRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
PatchAsync(PatchPacketMirroringRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Patches the specified PacketMirroring resource with the data included in the request. This method supportsPATCH semantics and usesJSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchPacketMirroringRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
TestIamPermissions(TestIamPermissionsPacketMirroringRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsPacketMirroringRequest request, CallOptions options)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsPacketMirroringRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
TestPermissionsResponse |
The response received from the server. |
TestIamPermissions(TestIamPermissionsPacketMirroringRequest, Metadata, DateTime?, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsPacketMirroringRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
TestPermissionsResponse |
The response received from the server. |
TestIamPermissionsAsync(TestIamPermissionsPacketMirroringRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsPacketMirroringRequest request, CallOptions options)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsPacketMirroringRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |
TestIamPermissionsAsync(TestIamPermissionsPacketMirroringRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsPacketMirroringRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |