Class protos.google.cloud.compute.v1.PacketMirrorings

Represents a PacketMirrorings

Inheritance

$protobuf.rpc.Service > protos.google.cloud.compute.v1.PacketMirrorings

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new PacketMirrorings service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

aggregatedList(request, callback)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListPacketMirroringsRequest, callback: google.cloud.compute.v1.PacketMirrorings.AggregatedListCallback): void;

Calls AggregatedList.

Parameters
NameDescription
request IAggregatedListPacketMirroringsRequest

AggregatedListPacketMirroringsRequest message or plain object

callback google.cloud.compute.v1.PacketMirrorings.AggregatedListCallback

Node-style callback called with the error, if any, and PacketMirroringAggregatedList

Returns
TypeDescription
void

aggregatedList(request)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListPacketMirroringsRequest): Promise<google.cloud.compute.v1.PacketMirroringAggregatedList>;

Calls AggregatedList.

Parameter
NameDescription
request IAggregatedListPacketMirroringsRequest

AggregatedListPacketMirroringsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.PacketMirroringAggregatedList>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): PacketMirrorings;

Creates new PacketMirrorings service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
PacketMirrorings

RPC service. Useful where requests and/or responses are streamed.

delete(request, callback)

public delete(request: google.cloud.compute.v1.IDeletePacketMirroringRequest, callback: google.cloud.compute.v1.PacketMirrorings.DeleteCallback): void;

Calls Delete.

Parameters
NameDescription
request IDeletePacketMirroringRequest

DeletePacketMirroringRequest message or plain object

callback google.cloud.compute.v1.PacketMirrorings.DeleteCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

delete(request)

public delete(request: google.cloud.compute.v1.IDeletePacketMirroringRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Delete.

Parameter
NameDescription
request IDeletePacketMirroringRequest

DeletePacketMirroringRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

get(request, callback)

public get(request: google.cloud.compute.v1.IGetPacketMirroringRequest, callback: google.cloud.compute.v1.PacketMirrorings.GetCallback): void;

Calls Get.

Parameters
NameDescription
request IGetPacketMirroringRequest

GetPacketMirroringRequest message or plain object

callback google.cloud.compute.v1.PacketMirrorings.GetCallback

Node-style callback called with the error, if any, and PacketMirroring

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetPacketMirroringRequest): Promise<google.cloud.compute.v1.PacketMirroring>;

Calls Get.

Parameter
NameDescription
request IGetPacketMirroringRequest

GetPacketMirroringRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.PacketMirroring>

Promise

insert(request, callback)

public insert(request: google.cloud.compute.v1.IInsertPacketMirroringRequest, callback: google.cloud.compute.v1.PacketMirrorings.InsertCallback): void;

Calls Insert.

Parameters
NameDescription
request IInsertPacketMirroringRequest

InsertPacketMirroringRequest message or plain object

callback google.cloud.compute.v1.PacketMirrorings.InsertCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

insert(request)

public insert(request: google.cloud.compute.v1.IInsertPacketMirroringRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Insert.

Parameter
NameDescription
request IInsertPacketMirroringRequest

InsertPacketMirroringRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

list(request, callback)

public list(request: google.cloud.compute.v1.IListPacketMirroringsRequest, callback: google.cloud.compute.v1.PacketMirrorings.ListCallback): void;

Calls List.

Parameters
NameDescription
request IListPacketMirroringsRequest

ListPacketMirroringsRequest message or plain object

callback google.cloud.compute.v1.PacketMirrorings.ListCallback

Node-style callback called with the error, if any, and PacketMirroringList

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListPacketMirroringsRequest): Promise<google.cloud.compute.v1.PacketMirroringList>;

Calls List.

Parameter
NameDescription
request IListPacketMirroringsRequest

ListPacketMirroringsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.PacketMirroringList>

Promise

patch(request, callback)

public patch(request: google.cloud.compute.v1.IPatchPacketMirroringRequest, callback: google.cloud.compute.v1.PacketMirrorings.PatchCallback): void;

Calls Patch.

Parameters
NameDescription
request IPatchPacketMirroringRequest

PatchPacketMirroringRequest message or plain object

callback google.cloud.compute.v1.PacketMirrorings.PatchCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

patch(request)

public patch(request: google.cloud.compute.v1.IPatchPacketMirroringRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Patch.

Parameter
NameDescription
request IPatchPacketMirroringRequest

PatchPacketMirroringRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

testIamPermissions(request, callback)

public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsPacketMirroringRequest, callback: google.cloud.compute.v1.PacketMirrorings.TestIamPermissionsCallback): void;

Calls TestIamPermissions.

Parameters
NameDescription
request ITestIamPermissionsPacketMirroringRequest

TestIamPermissionsPacketMirroringRequest message or plain object

callback google.cloud.compute.v1.PacketMirrorings.TestIamPermissionsCallback

Node-style callback called with the error, if any, and TestPermissionsResponse

Returns
TypeDescription
void

testIamPermissions(request)

public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsPacketMirroringRequest): Promise<google.cloud.compute.v1.TestPermissionsResponse>;

Calls TestIamPermissions.

Parameter
NameDescription
request ITestIamPermissionsPacketMirroringRequest

TestIamPermissionsPacketMirroringRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.TestPermissionsResponse>

Promise