Represents a ConfigServiceV2
Inheritance
$protobuf.rpc.Service > protos.google.logging.v2.ConfigServiceV2Package
@google-cloud/loggingConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ConfigServiceV2 service.
Name | Description |
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.
Name | Description |
request |
ICopyLogEntriesRequest
CopyLogEntriesRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.CopyLogEntriesCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
copyLogEntries(request)
public copyLogEntries(request: google.logging.v2.ICopyLogEntriesRequest): Promise<google.longrunning.Operation>;
Calls CopyLogEntries.
Name | Description |
request |
ICopyLogEntriesRequest
CopyLogEntriesRequest message or plain object |
Type | Description |
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.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
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.
Name | Description |
request |
ICreateBucketRequest
CreateBucketRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.CreateBucketCallback
Node-style callback called with the error, if any, and LogBucket |
Type | Description |
void |
createBucket(request)
public createBucket(request: google.logging.v2.ICreateBucketRequest): Promise<google.logging.v2.LogBucket>;
Calls CreateBucket.
Name | Description |
request |
ICreateBucketRequest
CreateBucketRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
ICreateExclusionRequest
CreateExclusionRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.CreateExclusionCallback
Node-style callback called with the error, if any, and LogExclusion |
Type | Description |
void |
createExclusion(request)
public createExclusion(request: google.logging.v2.ICreateExclusionRequest): Promise<google.logging.v2.LogExclusion>;
Calls CreateExclusion.
Name | Description |
request |
ICreateExclusionRequest
CreateExclusionRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
ICreateSinkRequest
CreateSinkRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.CreateSinkCallback
Node-style callback called with the error, if any, and LogSink |
Type | Description |
void |
createSink(request)
public createSink(request: google.logging.v2.ICreateSinkRequest): Promise<google.logging.v2.LogSink>;
Calls CreateSink.
Name | Description |
request |
ICreateSinkRequest
CreateSinkRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
ICreateViewRequest
CreateViewRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.CreateViewCallback
Node-style callback called with the error, if any, and LogView |
Type | Description |
void |
createView(request)
public createView(request: google.logging.v2.ICreateViewRequest): Promise<google.logging.v2.LogView>;
Calls CreateView.
Name | Description |
request |
ICreateViewRequest
CreateViewRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IDeleteBucketRequest
DeleteBucketRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.DeleteBucketCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteBucket(request)
public deleteBucket(request: google.logging.v2.IDeleteBucketRequest): Promise<google.protobuf.Empty>;
Calls DeleteBucket.
Name | Description |
request |
IDeleteBucketRequest
DeleteBucketRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
deleteExclusion(request, callback)
public deleteExclusion(request: google.logging.v2.IDeleteExclusionRequest, callback: google.logging.v2.ConfigServiceV2.DeleteExclusionCallback): void;
Calls DeleteExclusion.
Name | Description |
request |
IDeleteExclusionRequest
DeleteExclusionRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.DeleteExclusionCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteExclusion(request)
public deleteExclusion(request: google.logging.v2.IDeleteExclusionRequest): Promise<google.protobuf.Empty>;
Calls DeleteExclusion.
Name | Description |
request |
IDeleteExclusionRequest
DeleteExclusionRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
deleteSink(request, callback)
public deleteSink(request: google.logging.v2.IDeleteSinkRequest, callback: google.logging.v2.ConfigServiceV2.DeleteSinkCallback): void;
Calls DeleteSink.
Name | Description |
request |
IDeleteSinkRequest
DeleteSinkRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.DeleteSinkCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteSink(request)
public deleteSink(request: google.logging.v2.IDeleteSinkRequest): Promise<google.protobuf.Empty>;
Calls DeleteSink.
Name | Description |
request |
IDeleteSinkRequest
DeleteSinkRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
deleteView(request, callback)
public deleteView(request: google.logging.v2.IDeleteViewRequest, callback: google.logging.v2.ConfigServiceV2.DeleteViewCallback): void;
Calls DeleteView.
Name | Description |
request |
IDeleteViewRequest
DeleteViewRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.DeleteViewCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteView(request)
public deleteView(request: google.logging.v2.IDeleteViewRequest): Promise<google.protobuf.Empty>;
Calls DeleteView.
Name | Description |
request |
IDeleteViewRequest
DeleteViewRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getBucket(request, callback)
public getBucket(request: google.logging.v2.IGetBucketRequest, callback: google.logging.v2.ConfigServiceV2.GetBucketCallback): void;
Calls GetBucket.
Name | Description |
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 |
Type | Description |
void |
getBucket(request)
public getBucket(request: google.logging.v2.IGetBucketRequest): Promise<google.logging.v2.LogBucket>;
Calls GetBucket.
Name | Description |
request |
google.logging.v2.IGetBucketRequest
GetBucketRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IGetCmekSettingsRequest
GetCmekSettingsRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.GetCmekSettingsCallback
Node-style callback called with the error, if any, and CmekSettings |
Type | Description |
void |
getCmekSettings(request)
public getCmekSettings(request: google.logging.v2.IGetCmekSettingsRequest): Promise<google.logging.v2.CmekSettings>;
Calls GetCmekSettings.
Name | Description |
request |
IGetCmekSettingsRequest
GetCmekSettingsRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IGetExclusionRequest
GetExclusionRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.GetExclusionCallback
Node-style callback called with the error, if any, and LogExclusion |
Type | Description |
void |
getExclusion(request)
public getExclusion(request: google.logging.v2.IGetExclusionRequest): Promise<google.logging.v2.LogExclusion>;
Calls GetExclusion.
Name | Description |
request |
IGetExclusionRequest
GetExclusionRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IGetSettingsRequest
GetSettingsRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.GetSettingsCallback
Node-style callback called with the error, if any, and Settings |
Type | Description |
void |
getSettings(request)
public getSettings(request: google.logging.v2.IGetSettingsRequest): Promise<google.logging.v2.Settings>;
Calls GetSettings.
Name | Description |
request |
IGetSettingsRequest
GetSettingsRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IGetSinkRequest
GetSinkRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.GetSinkCallback
Node-style callback called with the error, if any, and LogSink |
Type | Description |
void |
getSink(request)
public getSink(request: google.logging.v2.IGetSinkRequest): Promise<google.logging.v2.LogSink>;
Calls GetSink.
Name | Description |
request |
IGetSinkRequest
GetSinkRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IGetViewRequest
GetViewRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.GetViewCallback
Node-style callback called with the error, if any, and LogView |
Type | Description |
void |
getView(request)
public getView(request: google.logging.v2.IGetViewRequest): Promise<google.logging.v2.LogView>;
Calls GetView.
Name | Description |
request |
IGetViewRequest
GetViewRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IListBucketsRequest
ListBucketsRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.ListBucketsCallback
Node-style callback called with the error, if any, and ListBucketsResponse |
Type | Description |
void |
listBuckets(request)
public listBuckets(request: google.logging.v2.IListBucketsRequest): Promise<google.logging.v2.ListBucketsResponse>;
Calls ListBuckets.
Name | Description |
request |
IListBucketsRequest
ListBucketsRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IListExclusionsRequest
ListExclusionsRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.ListExclusionsCallback
Node-style callback called with the error, if any, and ListExclusionsResponse |
Type | Description |
void |
listExclusions(request)
public listExclusions(request: google.logging.v2.IListExclusionsRequest): Promise<google.logging.v2.ListExclusionsResponse>;
Calls ListExclusions.
Name | Description |
request |
IListExclusionsRequest
ListExclusionsRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IListSinksRequest
ListSinksRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.ListSinksCallback
Node-style callback called with the error, if any, and ListSinksResponse |
Type | Description |
void |
listSinks(request)
public listSinks(request: google.logging.v2.IListSinksRequest): Promise<google.logging.v2.ListSinksResponse>;
Calls ListSinks.
Name | Description |
request |
IListSinksRequest
ListSinksRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IListViewsRequest
ListViewsRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.ListViewsCallback
Node-style callback called with the error, if any, and ListViewsResponse |
Type | Description |
void |
listViews(request)
public listViews(request: google.logging.v2.IListViewsRequest): Promise<google.logging.v2.ListViewsResponse>;
Calls ListViews.
Name | Description |
request |
IListViewsRequest
ListViewsRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IUndeleteBucketRequest
UndeleteBucketRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.UndeleteBucketCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
undeleteBucket(request)
public undeleteBucket(request: google.logging.v2.IUndeleteBucketRequest): Promise<google.protobuf.Empty>;
Calls UndeleteBucket.
Name | Description |
request |
IUndeleteBucketRequest
UndeleteBucketRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
updateBucket(request, callback)
public updateBucket(request: google.logging.v2.IUpdateBucketRequest, callback: google.logging.v2.ConfigServiceV2.UpdateBucketCallback): void;
Calls UpdateBucket.
Name | Description |
request |
IUpdateBucketRequest
UpdateBucketRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.UpdateBucketCallback
Node-style callback called with the error, if any, and LogBucket |
Type | Description |
void |
updateBucket(request)
public updateBucket(request: google.logging.v2.IUpdateBucketRequest): Promise<google.logging.v2.LogBucket>;
Calls UpdateBucket.
Name | Description |
request |
IUpdateBucketRequest
UpdateBucketRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IUpdateCmekSettingsRequest
UpdateCmekSettingsRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.UpdateCmekSettingsCallback
Node-style callback called with the error, if any, and CmekSettings |
Type | Description |
void |
updateCmekSettings(request)
public updateCmekSettings(request: google.logging.v2.IUpdateCmekSettingsRequest): Promise<google.logging.v2.CmekSettings>;
Calls UpdateCmekSettings.
Name | Description |
request |
IUpdateCmekSettingsRequest
UpdateCmekSettingsRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IUpdateExclusionRequest
UpdateExclusionRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.UpdateExclusionCallback
Node-style callback called with the error, if any, and LogExclusion |
Type | Description |
void |
updateExclusion(request)
public updateExclusion(request: google.logging.v2.IUpdateExclusionRequest): Promise<google.logging.v2.LogExclusion>;
Calls UpdateExclusion.
Name | Description |
request |
IUpdateExclusionRequest
UpdateExclusionRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
updateSettings(request)
public updateSettings(request: google.logging.v2.IUpdateSettingsRequest): Promise<google.logging.v2.Settings>;
Calls UpdateSettings.
Name | Description |
request |
google.logging.v2.IUpdateSettingsRequest
UpdateSettingsRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IUpdateSinkRequest
UpdateSinkRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.UpdateSinkCallback
Node-style callback called with the error, if any, and LogSink |
Type | Description |
void |
updateSink(request)
public updateSink(request: google.logging.v2.IUpdateSinkRequest): Promise<google.logging.v2.LogSink>;
Calls UpdateSink.
Name | Description |
request |
IUpdateSinkRequest
UpdateSinkRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IUpdateViewRequest
UpdateViewRequest message or plain object |
callback |
google.logging.v2.ConfigServiceV2.UpdateViewCallback
Node-style callback called with the error, if any, and LogView |
Type | Description |
void |
updateView(request)
public updateView(request: google.logging.v2.IUpdateViewRequest): Promise<google.logging.v2.LogView>;
Calls UpdateView.
Name | Description |
request |
IUpdateViewRequest
UpdateViewRequest message or plain object |
Type | Description |
Promise<google.logging.v2.LogView> | Promise |