public class PacketMirroringsClient : ClientBase<PacketMirrorings.PacketMirroringsClient>
Client for PacketMirrorings
Inheritance
Object > ClientBase > ClientBase<PacketMirrorings.PacketMirroringsClient> > 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 | CallInvoker The callInvoker to use to make remote calls. |
PacketMirroringsClient(ChannelBase)
public PacketMirroringsClient(ChannelBase channel)
Creates a new client for PacketMirrorings
Parameter | |
---|---|
Name | Description |
channel | ChannelBase 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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
AggregatedList(AggregatedListPacketMirroringsRequest, CallOptions)
public virtual PacketMirroringAggregatedList AggregatedList(AggregatedListPacketMirroringsRequest request, CallOptions options)
Retrieves an aggregated list of packetMirrorings.
Parameters | |
---|---|
Name | Description |
request | AggregatedListPacketMirroringsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | AggregatedListPacketMirroringsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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.
Parameters | |
---|---|
Name | Description |
request | AggregatedListPacketMirroringsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | AggregatedListPacketMirroringsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeletePacketMirroringRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeletePacketMirroringRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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 | DeletePacketMirroringRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeletePacketMirroringRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
Get(GetPacketMirroringRequest, CallOptions)
public virtual PacketMirroring Get(GetPacketMirroringRequest request, CallOptions options)
Returns the specified PacketMirroring resource.
Parameters | |
---|---|
Name | Description |
request | GetPacketMirroringRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetPacketMirroringRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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 | GetPacketMirroringRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetPacketMirroringRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | InsertPacketMirroringRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | InsertPacketMirroringRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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 | InsertPacketMirroringRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | InsertPacketMirroringRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListPacketMirroringsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListPacketMirroringsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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 | ListPacketMirroringsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListPacketMirroringsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
PacketMirrorings.PacketMirroringsClient |
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 | |
---|---|
Name | Description |
request | PatchPacketMirroringRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | PatchPacketMirroringRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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 supports PATCH semantics and uses JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchPacketMirroringRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | PatchPacketMirroringRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | TestIamPermissionsPacketMirroringRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | TestIamPermissionsPacketMirroringRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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 | TestIamPermissionsPacketMirroringRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | TestIamPermissionsPacketMirroringRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TestPermissionsResponse> | The call object. |