Class PacketMirrorings.PacketMirroringsClient (1.0.0)

public class PacketMirroringsClient : ClientBase<PacketMirrorings.PacketMirroringsClient>

Client for PacketMirrorings

Inheritance

Object > ClientBase > ClientBase<PacketMirrorings.PacketMirroringsClient> > PacketMirrorings.PacketMirroringsClient

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

PacketMirroringsClient(ChannelBase)

public PacketMirroringsClient(ChannelBase channel)

Creates a new client for PacketMirrorings

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

PacketMirroringsClient(ClientBase.ClientBaseConfiguration)

protected PacketMirroringsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

AggregatedList(AggregatedListPacketMirroringsRequest, CallOptions)

public virtual PacketMirroringAggregatedList AggregatedList(AggregatedListPacketMirroringsRequest request, CallOptions options)

Retrieves an aggregated list of packetMirrorings.

Parameters
NameDescription
requestAggregatedListPacketMirroringsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PacketMirroringAggregatedList

The response received from the server.

AggregatedList(AggregatedListPacketMirroringsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual PacketMirroringAggregatedList AggregatedList(AggregatedListPacketMirroringsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves an aggregated list of packetMirrorings.

Parameters
NameDescription
requestAggregatedListPacketMirroringsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestAggregatedListPacketMirroringsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<PacketMirroringAggregatedList>

The call object.

AggregatedListAsync(AggregatedListPacketMirroringsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<PacketMirroringAggregatedList> AggregatedListAsync(AggregatedListPacketMirroringsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves an aggregated list of packetMirrorings.

Parameters
NameDescription
requestAggregatedListPacketMirroringsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PacketMirroringAggregatedList>

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
TypeDescription
Operations.OperationsClient

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
NameDescription
requestDeletePacketMirroringRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeletePacketMirroringRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation Delete(DeletePacketMirroringRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified PacketMirroring resource.

Parameters
NameDescription
requestDeletePacketMirroringRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeletePacketMirroringRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteAsync(DeletePacketMirroringRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeletePacketMirroringRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified PacketMirroring resource.

Parameters
NameDescription
requestDeletePacketMirroringRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

Get(GetPacketMirroringRequest, CallOptions)

public virtual PacketMirroring Get(GetPacketMirroringRequest request, CallOptions options)

Returns the specified PacketMirroring resource.

Parameters
NameDescription
requestGetPacketMirroringRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PacketMirroring

The response received from the server.

Get(GetPacketMirroringRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual PacketMirroring Get(GetPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns the specified PacketMirroring resource.

Parameters
NameDescription
requestGetPacketMirroringRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetPacketMirroringRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<PacketMirroring>

The call object.

GetAsync(GetPacketMirroringRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<PacketMirroring> GetAsync(GetPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns the specified PacketMirroring resource.

Parameters
NameDescription
requestGetPacketMirroringRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PacketMirroring>

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
NameDescription
requestInsertPacketMirroringRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertPacketMirroringRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation Insert(InsertPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestInsertPacketMirroringRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestInsertPacketMirroringRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

InsertAsync(InsertPacketMirroringRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestInsertPacketMirroringRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

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
NameDescription
requestListPacketMirroringsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PacketMirroringList

The response received from the server.

List(ListPacketMirroringsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual PacketMirroringList List(ListPacketMirroringsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestListPacketMirroringsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListPacketMirroringsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<PacketMirroringList>

The call object.

ListAsync(ListPacketMirroringsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<PacketMirroringList> ListAsync(ListPacketMirroringsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestListPacketMirroringsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PacketMirroringList>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override PacketMirrorings.PacketMirroringsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
PacketMirrorings.PacketMirroringsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.PacketMirrorings.PacketMirroringsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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 supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchPacketMirroringRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Patch(PatchPacketMirroringRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation Patch(PatchPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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 supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchPacketMirroringRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

PatchAsync(PatchPacketMirroringRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

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
NameDescription
requestTestIamPermissionsPacketMirroringRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TestPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsPacketMirroringRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsPacketMirroringRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsPacketMirroringRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TestPermissionsResponse>

The call object.

TestIamPermissionsAsync(TestIamPermissionsPacketMirroringRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsPacketMirroringRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsPacketMirroringRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<TestPermissionsResponse>

The call object.