Class protos.google.logging.v2.ConfigServiceV2 (10.2.3)

Represents a ConfigServiceV2

Inheritance

$protobuf.rpc.Service > protos.google.logging.v2.ConfigServiceV2

Package

@google-cloud/logging

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new ConfigServiceV2 service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

copyLogEntries(request, callback)

public copyLogEntries(request: google.logging.v2.ICopyLogEntriesRequest, callback: google.logging.v2.ConfigServiceV2.CopyLogEntriesCallback): void;

Calls CopyLogEntries.

Parameters
NameDescription
request ICopyLogEntriesRequest

CopyLogEntriesRequest message or plain object

callback google.logging.v2.ConfigServiceV2.CopyLogEntriesCallback

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

Returns
TypeDescription
void

copyLogEntries(request)

public copyLogEntries(request: google.logging.v2.ICopyLogEntriesRequest): Promise<google.longrunning.Operation>;

Calls CopyLogEntries.

Parameter
NameDescription
request ICopyLogEntriesRequest

CopyLogEntriesRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

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

Creates new ConfigServiceV2 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
ConfigServiceV2

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

createBucket(request, callback)

public createBucket(request: google.logging.v2.ICreateBucketRequest, callback: google.logging.v2.ConfigServiceV2.CreateBucketCallback): void;

Calls CreateBucket.

Parameters
NameDescription
request ICreateBucketRequest

CreateBucketRequest message or plain object

callback google.logging.v2.ConfigServiceV2.CreateBucketCallback

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

Returns
TypeDescription
void

createBucket(request)

public createBucket(request: google.logging.v2.ICreateBucketRequest): Promise<google.logging.v2.LogBucket>;

Calls CreateBucket.

Parameter
NameDescription
request ICreateBucketRequest

CreateBucketRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.LogBucket>

Promise

createExclusion(request, callback)

public createExclusion(request: google.logging.v2.ICreateExclusionRequest, callback: google.logging.v2.ConfigServiceV2.CreateExclusionCallback): void;

Calls CreateExclusion.

Parameters
NameDescription
request ICreateExclusionRequest

CreateExclusionRequest message or plain object

callback google.logging.v2.ConfigServiceV2.CreateExclusionCallback

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

Returns
TypeDescription
void

createExclusion(request)

public createExclusion(request: google.logging.v2.ICreateExclusionRequest): Promise<google.logging.v2.LogExclusion>;

Calls CreateExclusion.

Parameter
NameDescription
request ICreateExclusionRequest

CreateExclusionRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.LogExclusion>

Promise

createSink(request, callback)

public createSink(request: google.logging.v2.ICreateSinkRequest, callback: google.logging.v2.ConfigServiceV2.CreateSinkCallback): void;

Calls CreateSink.

Parameters
NameDescription
request ICreateSinkRequest

CreateSinkRequest message or plain object

callback google.logging.v2.ConfigServiceV2.CreateSinkCallback

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

Returns
TypeDescription
void

createSink(request)

public createSink(request: google.logging.v2.ICreateSinkRequest): Promise<google.logging.v2.LogSink>;

Calls CreateSink.

Parameter
NameDescription
request ICreateSinkRequest

CreateSinkRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.LogSink>

Promise

createView(request, callback)

public createView(request: google.logging.v2.ICreateViewRequest, callback: google.logging.v2.ConfigServiceV2.CreateViewCallback): void;

Calls CreateView.

Parameters
NameDescription
request ICreateViewRequest

CreateViewRequest message or plain object

callback google.logging.v2.ConfigServiceV2.CreateViewCallback

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

Returns
TypeDescription
void

createView(request)

public createView(request: google.logging.v2.ICreateViewRequest): Promise<google.logging.v2.LogView>;

Calls CreateView.

Parameter
NameDescription
request ICreateViewRequest

CreateViewRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.LogView>

Promise

deleteBucket(request, callback)

public deleteBucket(request: google.logging.v2.IDeleteBucketRequest, callback: google.logging.v2.ConfigServiceV2.DeleteBucketCallback): void;

Calls DeleteBucket.

Parameters
NameDescription
request IDeleteBucketRequest

DeleteBucketRequest message or plain object

callback google.logging.v2.ConfigServiceV2.DeleteBucketCallback

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

Returns
TypeDescription
void

deleteBucket(request)

public deleteBucket(request: google.logging.v2.IDeleteBucketRequest): Promise<google.protobuf.Empty>;

Calls DeleteBucket.

Parameter
NameDescription
request IDeleteBucketRequest

DeleteBucketRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteExclusion(request, callback)

public deleteExclusion(request: google.logging.v2.IDeleteExclusionRequest, callback: google.logging.v2.ConfigServiceV2.DeleteExclusionCallback): void;

Calls DeleteExclusion.

Parameters
NameDescription
request IDeleteExclusionRequest

DeleteExclusionRequest message or plain object

callback google.logging.v2.ConfigServiceV2.DeleteExclusionCallback

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

Returns
TypeDescription
void

deleteExclusion(request)

public deleteExclusion(request: google.logging.v2.IDeleteExclusionRequest): Promise<google.protobuf.Empty>;

Calls DeleteExclusion.

Parameter
NameDescription
request IDeleteExclusionRequest

DeleteExclusionRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteSink(request, callback)

public deleteSink(request: google.logging.v2.IDeleteSinkRequest, callback: google.logging.v2.ConfigServiceV2.DeleteSinkCallback): void;

Calls DeleteSink.

Parameters
NameDescription
request IDeleteSinkRequest

DeleteSinkRequest message or plain object

callback google.logging.v2.ConfigServiceV2.DeleteSinkCallback

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

Returns
TypeDescription
void

deleteSink(request)

public deleteSink(request: google.logging.v2.IDeleteSinkRequest): Promise<google.protobuf.Empty>;

Calls DeleteSink.

Parameter
NameDescription
request IDeleteSinkRequest

DeleteSinkRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteView(request, callback)

public deleteView(request: google.logging.v2.IDeleteViewRequest, callback: google.logging.v2.ConfigServiceV2.DeleteViewCallback): void;

Calls DeleteView.

Parameters
NameDescription
request IDeleteViewRequest

DeleteViewRequest message or plain object

callback google.logging.v2.ConfigServiceV2.DeleteViewCallback

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

Returns
TypeDescription
void

deleteView(request)

public deleteView(request: google.logging.v2.IDeleteViewRequest): Promise<google.protobuf.Empty>;

Calls DeleteView.

Parameter
NameDescription
request IDeleteViewRequest

DeleteViewRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getBucket(request, callback)

public getBucket(request: google.logging.v2.IGetBucketRequest, callback: google.logging.v2.ConfigServiceV2.GetBucketCallback): void;

Calls GetBucket.

Parameters
NameDescription
request google.logging.v2.IGetBucketRequest

GetBucketRequest message or plain object

callback google.logging.v2.ConfigServiceV2.GetBucketCallback

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

Returns
TypeDescription
void

getBucket(request)

public getBucket(request: google.logging.v2.IGetBucketRequest): Promise<google.logging.v2.LogBucket>;

Calls GetBucket.

Parameter
NameDescription
request google.logging.v2.IGetBucketRequest

GetBucketRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.LogBucket>

Promise

getCmekSettings(request, callback)

public getCmekSettings(request: google.logging.v2.IGetCmekSettingsRequest, callback: google.logging.v2.ConfigServiceV2.GetCmekSettingsCallback): void;

Calls GetCmekSettings.

Parameters
NameDescription
request IGetCmekSettingsRequest

GetCmekSettingsRequest message or plain object

callback google.logging.v2.ConfigServiceV2.GetCmekSettingsCallback

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

Returns
TypeDescription
void

getCmekSettings(request)

public getCmekSettings(request: google.logging.v2.IGetCmekSettingsRequest): Promise<google.logging.v2.CmekSettings>;

Calls GetCmekSettings.

Parameter
NameDescription
request IGetCmekSettingsRequest

GetCmekSettingsRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.CmekSettings>

Promise

getExclusion(request, callback)

public getExclusion(request: google.logging.v2.IGetExclusionRequest, callback: google.logging.v2.ConfigServiceV2.GetExclusionCallback): void;

Calls GetExclusion.

Parameters
NameDescription
request IGetExclusionRequest

GetExclusionRequest message or plain object

callback google.logging.v2.ConfigServiceV2.GetExclusionCallback

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

Returns
TypeDescription
void

getExclusion(request)

public getExclusion(request: google.logging.v2.IGetExclusionRequest): Promise<google.logging.v2.LogExclusion>;

Calls GetExclusion.

Parameter
NameDescription
request IGetExclusionRequest

GetExclusionRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.LogExclusion>

Promise

getSettings(request, callback)

public getSettings(request: google.logging.v2.IGetSettingsRequest, callback: google.logging.v2.ConfigServiceV2.GetSettingsCallback): void;

Calls GetSettings.

Parameters
NameDescription
request IGetSettingsRequest

GetSettingsRequest message or plain object

callback google.logging.v2.ConfigServiceV2.GetSettingsCallback

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

Returns
TypeDescription
void

getSettings(request)

public getSettings(request: google.logging.v2.IGetSettingsRequest): Promise<google.logging.v2.Settings>;

Calls GetSettings.

Parameter
NameDescription
request IGetSettingsRequest

GetSettingsRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.Settings>

Promise

getSink(request, callback)

public getSink(request: google.logging.v2.IGetSinkRequest, callback: google.logging.v2.ConfigServiceV2.GetSinkCallback): void;

Calls GetSink.

Parameters
NameDescription
request IGetSinkRequest

GetSinkRequest message or plain object

callback google.logging.v2.ConfigServiceV2.GetSinkCallback

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

Returns
TypeDescription
void

getSink(request)

public getSink(request: google.logging.v2.IGetSinkRequest): Promise<google.logging.v2.LogSink>;

Calls GetSink.

Parameter
NameDescription
request IGetSinkRequest

GetSinkRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.LogSink>

Promise

getView(request, callback)

public getView(request: google.logging.v2.IGetViewRequest, callback: google.logging.v2.ConfigServiceV2.GetViewCallback): void;

Calls GetView.

Parameters
NameDescription
request IGetViewRequest

GetViewRequest message or plain object

callback google.logging.v2.ConfigServiceV2.GetViewCallback

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

Returns
TypeDescription
void

getView(request)

public getView(request: google.logging.v2.IGetViewRequest): Promise<google.logging.v2.LogView>;

Calls GetView.

Parameter
NameDescription
request IGetViewRequest

GetViewRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.LogView>

Promise

listBuckets(request, callback)

public listBuckets(request: google.logging.v2.IListBucketsRequest, callback: google.logging.v2.ConfigServiceV2.ListBucketsCallback): void;

Calls ListBuckets.

Parameters
NameDescription
request IListBucketsRequest

ListBucketsRequest message or plain object

callback google.logging.v2.ConfigServiceV2.ListBucketsCallback

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

Returns
TypeDescription
void

listBuckets(request)

public listBuckets(request: google.logging.v2.IListBucketsRequest): Promise<google.logging.v2.ListBucketsResponse>;

Calls ListBuckets.

Parameter
NameDescription
request IListBucketsRequest

ListBucketsRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.ListBucketsResponse>

Promise

listExclusions(request, callback)

public listExclusions(request: google.logging.v2.IListExclusionsRequest, callback: google.logging.v2.ConfigServiceV2.ListExclusionsCallback): void;

Calls ListExclusions.

Parameters
NameDescription
request IListExclusionsRequest

ListExclusionsRequest message or plain object

callback google.logging.v2.ConfigServiceV2.ListExclusionsCallback

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

Returns
TypeDescription
void

listExclusions(request)

public listExclusions(request: google.logging.v2.IListExclusionsRequest): Promise<google.logging.v2.ListExclusionsResponse>;

Calls ListExclusions.

Parameter
NameDescription
request IListExclusionsRequest

ListExclusionsRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.ListExclusionsResponse>

Promise

listSinks(request, callback)

public listSinks(request: google.logging.v2.IListSinksRequest, callback: google.logging.v2.ConfigServiceV2.ListSinksCallback): void;

Calls ListSinks.

Parameters
NameDescription
request IListSinksRequest

ListSinksRequest message or plain object

callback google.logging.v2.ConfigServiceV2.ListSinksCallback

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

Returns
TypeDescription
void

listSinks(request)

public listSinks(request: google.logging.v2.IListSinksRequest): Promise<google.logging.v2.ListSinksResponse>;

Calls ListSinks.

Parameter
NameDescription
request IListSinksRequest

ListSinksRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.ListSinksResponse>

Promise

listViews(request, callback)

public listViews(request: google.logging.v2.IListViewsRequest, callback: google.logging.v2.ConfigServiceV2.ListViewsCallback): void;

Calls ListViews.

Parameters
NameDescription
request IListViewsRequest

ListViewsRequest message or plain object

callback google.logging.v2.ConfigServiceV2.ListViewsCallback

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

Returns
TypeDescription
void

listViews(request)

public listViews(request: google.logging.v2.IListViewsRequest): Promise<google.logging.v2.ListViewsResponse>;

Calls ListViews.

Parameter
NameDescription
request IListViewsRequest

ListViewsRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.ListViewsResponse>

Promise

undeleteBucket(request, callback)

public undeleteBucket(request: google.logging.v2.IUndeleteBucketRequest, callback: google.logging.v2.ConfigServiceV2.UndeleteBucketCallback): void;

Calls UndeleteBucket.

Parameters
NameDescription
request IUndeleteBucketRequest

UndeleteBucketRequest message or plain object

callback google.logging.v2.ConfigServiceV2.UndeleteBucketCallback

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

Returns
TypeDescription
void

undeleteBucket(request)

public undeleteBucket(request: google.logging.v2.IUndeleteBucketRequest): Promise<google.protobuf.Empty>;

Calls UndeleteBucket.

Parameter
NameDescription
request IUndeleteBucketRequest

UndeleteBucketRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

updateBucket(request, callback)

public updateBucket(request: google.logging.v2.IUpdateBucketRequest, callback: google.logging.v2.ConfigServiceV2.UpdateBucketCallback): void;

Calls UpdateBucket.

Parameters
NameDescription
request IUpdateBucketRequest

UpdateBucketRequest message or plain object

callback google.logging.v2.ConfigServiceV2.UpdateBucketCallback

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

Returns
TypeDescription
void

updateBucket(request)

public updateBucket(request: google.logging.v2.IUpdateBucketRequest): Promise<google.logging.v2.LogBucket>;

Calls UpdateBucket.

Parameter
NameDescription
request IUpdateBucketRequest

UpdateBucketRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.LogBucket>

Promise

updateCmekSettings(request, callback)

public updateCmekSettings(request: google.logging.v2.IUpdateCmekSettingsRequest, callback: google.logging.v2.ConfigServiceV2.UpdateCmekSettingsCallback): void;

Calls UpdateCmekSettings.

Parameters
NameDescription
request IUpdateCmekSettingsRequest

UpdateCmekSettingsRequest message or plain object

callback google.logging.v2.ConfigServiceV2.UpdateCmekSettingsCallback

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

Returns
TypeDescription
void

updateCmekSettings(request)

public updateCmekSettings(request: google.logging.v2.IUpdateCmekSettingsRequest): Promise<google.logging.v2.CmekSettings>;

Calls UpdateCmekSettings.

Parameter
NameDescription
request IUpdateCmekSettingsRequest

UpdateCmekSettingsRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.CmekSettings>

Promise

updateExclusion(request, callback)

public updateExclusion(request: google.logging.v2.IUpdateExclusionRequest, callback: google.logging.v2.ConfigServiceV2.UpdateExclusionCallback): void;

Calls UpdateExclusion.

Parameters
NameDescription
request IUpdateExclusionRequest

UpdateExclusionRequest message or plain object

callback google.logging.v2.ConfigServiceV2.UpdateExclusionCallback

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

Returns
TypeDescription
void

updateExclusion(request)

public updateExclusion(request: google.logging.v2.IUpdateExclusionRequest): Promise<google.logging.v2.LogExclusion>;

Calls UpdateExclusion.

Parameter
NameDescription
request IUpdateExclusionRequest

UpdateExclusionRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.LogExclusion>

Promise

updateSettings(request, callback)

public updateSettings(request: google.logging.v2.IUpdateSettingsRequest, callback: google.logging.v2.ConfigServiceV2.UpdateSettingsCallback): void;

Calls UpdateSettings.

Parameters
NameDescription
request google.logging.v2.IUpdateSettingsRequest

UpdateSettingsRequest message or plain object

callback google.logging.v2.ConfigServiceV2.UpdateSettingsCallback

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

Returns
TypeDescription
void

updateSettings(request)

public updateSettings(request: google.logging.v2.IUpdateSettingsRequest): Promise<google.logging.v2.Settings>;

Calls UpdateSettings.

Parameter
NameDescription
request google.logging.v2.IUpdateSettingsRequest

UpdateSettingsRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.Settings>

Promise

updateSink(request, callback)

public updateSink(request: google.logging.v2.IUpdateSinkRequest, callback: google.logging.v2.ConfigServiceV2.UpdateSinkCallback): void;

Calls UpdateSink.

Parameters
NameDescription
request IUpdateSinkRequest

UpdateSinkRequest message or plain object

callback google.logging.v2.ConfigServiceV2.UpdateSinkCallback

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

Returns
TypeDescription
void

updateSink(request)

public updateSink(request: google.logging.v2.IUpdateSinkRequest): Promise<google.logging.v2.LogSink>;

Calls UpdateSink.

Parameter
NameDescription
request IUpdateSinkRequest

UpdateSinkRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.LogSink>

Promise

updateView(request, callback)

public updateView(request: google.logging.v2.IUpdateViewRequest, callback: google.logging.v2.ConfigServiceV2.UpdateViewCallback): void;

Calls UpdateView.

Parameters
NameDescription
request IUpdateViewRequest

UpdateViewRequest message or plain object

callback google.logging.v2.ConfigServiceV2.UpdateViewCallback

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

Returns
TypeDescription
void

updateView(request)

public updateView(request: google.logging.v2.IUpdateViewRequest): Promise<google.logging.v2.LogView>;

Calls UpdateView.

Parameter
NameDescription
request IUpdateViewRequest

UpdateViewRequest message or plain object

Returns
TypeDescription
Promise<google.logging.v2.LogView>

Promise