Class protos.google.cloud.networkmanagement.v1.VpcFlowLogsService (4.2.0)

Represents a VpcFlowLogsService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.networkmanagement.v1.VpcFlowLogsService

Package

@google-cloud/network-management

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new VpcFlowLogsService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

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

Creates new VpcFlowLogsService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
VpcFlowLogsService

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

createVpcFlowLogsConfig(request, callback)

public createVpcFlowLogsConfig(request: google.cloud.networkmanagement.v1.ICreateVpcFlowLogsConfigRequest, callback: google.cloud.networkmanagement.v1.VpcFlowLogsService.CreateVpcFlowLogsConfigCallback): void;

Calls CreateVpcFlowLogsConfig.

Parameters
Name Description
request ICreateVpcFlowLogsConfigRequest

CreateVpcFlowLogsConfigRequest message or plain object

callback CreateVpcFlowLogsConfigCallback

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

Returns
Type Description
void

createVpcFlowLogsConfig(request)

public createVpcFlowLogsConfig(request: google.cloud.networkmanagement.v1.ICreateVpcFlowLogsConfigRequest): Promise<google.longrunning.Operation>;

Calls CreateVpcFlowLogsConfig.

Parameter
Name Description
request ICreateVpcFlowLogsConfigRequest

CreateVpcFlowLogsConfigRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

deleteVpcFlowLogsConfig(request, callback)

public deleteVpcFlowLogsConfig(request: google.cloud.networkmanagement.v1.IDeleteVpcFlowLogsConfigRequest, callback: google.cloud.networkmanagement.v1.VpcFlowLogsService.DeleteVpcFlowLogsConfigCallback): void;

Calls DeleteVpcFlowLogsConfig.

Parameters
Name Description
request IDeleteVpcFlowLogsConfigRequest

DeleteVpcFlowLogsConfigRequest message or plain object

callback DeleteVpcFlowLogsConfigCallback

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

Returns
Type Description
void

deleteVpcFlowLogsConfig(request)

public deleteVpcFlowLogsConfig(request: google.cloud.networkmanagement.v1.IDeleteVpcFlowLogsConfigRequest): Promise<google.longrunning.Operation>;

Calls DeleteVpcFlowLogsConfig.

Parameter
Name Description
request IDeleteVpcFlowLogsConfigRequest

DeleteVpcFlowLogsConfigRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise

getVpcFlowLogsConfig(request, callback)

public getVpcFlowLogsConfig(request: google.cloud.networkmanagement.v1.IGetVpcFlowLogsConfigRequest, callback: google.cloud.networkmanagement.v1.VpcFlowLogsService.GetVpcFlowLogsConfigCallback): void;

Calls GetVpcFlowLogsConfig.

Parameters
Name Description
request IGetVpcFlowLogsConfigRequest

GetVpcFlowLogsConfigRequest message or plain object

callback GetVpcFlowLogsConfigCallback

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

Returns
Type Description
void

getVpcFlowLogsConfig(request)

public getVpcFlowLogsConfig(request: google.cloud.networkmanagement.v1.IGetVpcFlowLogsConfigRequest): Promise<google.cloud.networkmanagement.v1.VpcFlowLogsConfig>;

Calls GetVpcFlowLogsConfig.

Parameter
Name Description
request IGetVpcFlowLogsConfigRequest

GetVpcFlowLogsConfigRequest message or plain object

Returns
Type Description
Promise<google.cloud.networkmanagement.v1.VpcFlowLogsConfig>

Promise

listVpcFlowLogsConfigs(request, callback)

public listVpcFlowLogsConfigs(request: google.cloud.networkmanagement.v1.IListVpcFlowLogsConfigsRequest, callback: google.cloud.networkmanagement.v1.VpcFlowLogsService.ListVpcFlowLogsConfigsCallback): void;

Calls ListVpcFlowLogsConfigs.

Parameters
Name Description
request IListVpcFlowLogsConfigsRequest

ListVpcFlowLogsConfigsRequest message or plain object

callback ListVpcFlowLogsConfigsCallback

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

Returns
Type Description
void

listVpcFlowLogsConfigs(request)

public listVpcFlowLogsConfigs(request: google.cloud.networkmanagement.v1.IListVpcFlowLogsConfigsRequest): Promise<google.cloud.networkmanagement.v1.ListVpcFlowLogsConfigsResponse>;

Calls ListVpcFlowLogsConfigs.

Parameter
Name Description
request IListVpcFlowLogsConfigsRequest

ListVpcFlowLogsConfigsRequest message or plain object

Returns
Type Description
Promise<google.cloud.networkmanagement.v1.ListVpcFlowLogsConfigsResponse>

Promise

updateVpcFlowLogsConfig(request, callback)

public updateVpcFlowLogsConfig(request: google.cloud.networkmanagement.v1.IUpdateVpcFlowLogsConfigRequest, callback: google.cloud.networkmanagement.v1.VpcFlowLogsService.UpdateVpcFlowLogsConfigCallback): void;

Calls UpdateVpcFlowLogsConfig.

Parameters
Name Description
request IUpdateVpcFlowLogsConfigRequest

UpdateVpcFlowLogsConfigRequest message or plain object

callback UpdateVpcFlowLogsConfigCallback

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

Returns
Type Description
void

updateVpcFlowLogsConfig(request)

public updateVpcFlowLogsConfig(request: google.cloud.networkmanagement.v1.IUpdateVpcFlowLogsConfigRequest): Promise<google.longrunning.Operation>;

Calls UpdateVpcFlowLogsConfig.

Parameter
Name Description
request IUpdateVpcFlowLogsConfigRequest

UpdateVpcFlowLogsConfigRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise