SearchService provides methods for searching data in Chronicle. v1
Package
@google-cloud/chronicleConstructors
(constructor)(opts, gaxInstance)
constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);Construct an instance of SearchServiceClient.
| Parameters | |
|---|---|
| Name | Description |
opts |
ClientOptions
|
gaxInstance |
typeof gax | typeof fallback
: loaded instance of |
Properties
apiEndpoint
get apiEndpoint(): string;The DNS address for this API service.
apiEndpoint
static get apiEndpoint(): string;The DNS address for this API service - same as servicePath.
auth
auth: gax.GoogleAuth;descriptors
descriptors: Descriptors;innerApiCalls
innerApiCalls: {
[name: string]: Function;
};operationsClient
operationsClient: gax.OperationsClient;pathTemplates
pathTemplates: {
[name: string]: gax.PathTemplate;
};port
static get port(): number;The port for this API service.
scopes
static get scopes(): string[];The scopes needed to make gRPC calls for every method defined in this service.
searchServiceStub
searchServiceStub?: Promise<{
[name: string]: Function;
}>;servicePath
static get servicePath(): string;The DNS address for this API service.
universeDomain
get universeDomain(): string;warn
warn: (code: string, message: string, warnType?: string) => void;Methods
bigQueryExportPath(project, location, instance)
bigQueryExportPath(project: string, location: string, instance: string): string;Return a fully-qualified bigQueryExport resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
cancelOperation(request, optionsOrCallback, callback)
cancelOperation(request: protos.google.longrunning.CancelOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an value with a of 1, corresponding to Code.CANCELLED.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelOperationRequest
The request object that will be sent. |
optionsOrCallback |
CallOptions | Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>
|
callback |
Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>
The function which will be called with the result of the API call. {Promise} - The promise which resolves when API call finishes. The promise has a method named "cancel" which cancels the ongoing API call. |
| Returns | |
|---|---|
| Type | Description |
Promise<protos.google.protobuf.Empty> |
|
const client = longrunning.operationsClient();
await client.cancelOperation({name: ''});
checkSearchProgress(name)
checkSearchProgress(name: string): Promise<LROperation<protos.google.cloud.chronicle.v1.SearchSession, protos.google.cloud.chronicle.v1.SearchOperationMetadata>>;Check the status of the long running operation returned by search().
| Parameter | |
|---|---|
| Name | Description |
name |
string
The operation name that will be passed. |
| Returns | |
|---|---|
| Type | Description |
Promise<LROperation<protos.google.cloud.chronicle.v1.SearchSession, protos.google.cloud.chronicle.v1.SearchOperationMetadata>> |
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The resource name of the instance on which to perform the search.
* Format: projects/{project}/locations/{location}/instances/{instance}
*/
// const parent = 'abc123'
/**
* Required. The search query, in the dialect set in `dialect`.
* Example: 'ip=/172.* / AND metadata.event_type!="NETWORK_CONNECTION" AND (
* target.ip = "3.225.179.73" OR target.ip = "23.47.48.70")'
*/
// const query = 'abc123'
/**
* Required. Time range to search for Inclusive start time, exclusive end
* time).
*/
// const timeRange = {}
/**
* Optional. Specifies the dialect the Search Query is written in. If not
* specified, the query will be parsed as YL2.
*/
// const dialect = {}
/**
* Optional. Data access scope used to filter events. This is intended to be
* used by admins to preview in-development scopes. Should only be called by
* users with global access. If the caller does not have global access, the
* request will fail.
*/
// const draftDataAccessScope = {}
/**
* Optional. Requested maximum number of rows to materialize. The service may
* return fewer. If unspecified, a server-side default of 10,000 is used. The
* maximum value is 1,000,000. Some dialects have a lower maximum; see
* `QueryDialect`.
*/
// const resultLimit = 1234
/**
* Optional. Specifies visibility of simulated data to include in search
* results.
*/
// const simulatedDataVisibility = {}
// Imports the Chronicle library
const {SearchServiceClient} = require('@google-cloud/chronicle').v1;
// Instantiates a client
const chronicleClient = new SearchServiceClient();
async function callSearch() {
// Construct request
const request = {
parent,
query,
timeRange,
};
// Run request
const [operation] = await chronicleClient.search(request);
const [response] = await operation.promise();
console.log(response);
}
callSearch();
close()
close(): Promise<void>;Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
| Returns | |
|---|---|
| Type | Description |
Promise<void> |
{Promise} A promise that resolves when the client is closed. |
dashboardChartPath(project, location, instance, chart)
dashboardChartPath(project: string, location: string, instance: string, chart: string): string;Return a fully-qualified dashboardChart resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
chart |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
dashboardQueryPath(project, location, instance, query)
dashboardQueryPath(project: string, location: string, instance: string, query: string): string;Return a fully-qualified dashboardQuery resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
query |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
dataAccessLabelPath(project, location, instance, dataAccessLabel)
dataAccessLabelPath(project: string, location: string, instance: string, dataAccessLabel: string): string;Return a fully-qualified dataAccessLabel resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
dataAccessLabel |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
dataAccessScopePath(project, location, instance, dataAccessScope)
dataAccessScopePath(project: string, location: string, instance: string, dataAccessScope: string): string;Return a fully-qualified dataAccessScope resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
dataAccessScope |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
dataTableOperationErrorsPath(project, location, instance, dataTableOperationErrors)
dataTableOperationErrorsPath(project: string, location: string, instance: string, dataTableOperationErrors: string): string;Return a fully-qualified dataTableOperationErrors resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
dataTableOperationErrors |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
dataTablePath(project, location, instance, dataTable)
dataTablePath(project: string, location: string, instance: string, dataTable: string): string;Return a fully-qualified dataTable resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
dataTable |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
dataTableRowPath(project, location, instance, dataTable, dataTableRow)
dataTableRowPath(project: string, location: string, instance: string, dataTable: string, dataTableRow: string): string;Return a fully-qualified dataTableRow resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
dataTable |
string
|
dataTableRow |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
deleteOperation(request, optionsOrCallback, callback)
deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>): Promise<protos.google.protobuf.Empty>;Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteOperationRequest
The request object that will be sent. |
optionsOrCallback |
CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>
|
callback |
Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>
The function which will be called with the result of the API call. {Promise} - The promise which resolves when API call finishes. The promise has a method named "cancel" which cancels the ongoing API call. |
| Returns | |
|---|---|
| Type | Description |
Promise<protos.google.protobuf.Empty> |
|
const client = longrunning.operationsClient();
await client.deleteOperation({name: ''});
eventPath(project, location, instance, event)
eventPath(project: string, location: string, instance: string, event: string): string;Return a fully-qualified event resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
event |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
featuredContentNativeDashboardPath(project, location, instance, featuredContentNativeDashboard)
featuredContentNativeDashboardPath(project: string, location: string, instance: string, featuredContentNativeDashboard: string): string;Return a fully-qualified featuredContentNativeDashboard resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
featuredContentNativeDashboard |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
feedPackPath(project, location, instance, feedPack)
feedPackPath(project: string, location: string, instance: string, feedPack: string): string;Return a fully-qualified feedPack resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
feedPack |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
feedPath(project, location, instance, feed)
feedPath(project: string, location: string, instance: string, feed: string): string;Return a fully-qualified feed resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
feed |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
feedServiceAccountPath(project, location, instance, feedServiceAccount)
feedServiceAccountPath(project: string, location: string, instance: string, feedServiceAccount: string): string;Return a fully-qualified feedServiceAccount resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
feedServiceAccount |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
feedSourceTypeSchemaPath(project, location, instance, feedSourceType)
feedSourceTypeSchemaPath(project: string, location: string, instance: string, feedSourceType: string): string;Return a fully-qualified feedSourceTypeSchema resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
feedSourceType |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
findingsRefinementDeploymentPath(project, location, instance, findingsRefinement)
findingsRefinementDeploymentPath(project: string, location: string, instance: string, findingsRefinement: string): string;Return a fully-qualified findingsRefinementDeployment resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
findingsRefinement |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
findingsRefinementPath(project, location, instance, findingsRefinement)
findingsRefinementPath(project: string, location: string, instance: string, findingsRefinement: string): string;Return a fully-qualified findingsRefinement resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
findingsRefinement |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
getOperation(request, optionsOrCallback, callback)
getOperation(request: protos.google.longrunning.GetOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOperationRequest
The request object that will be sent. |
optionsOrCallback |
CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>
|
callback |
Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>
The function which will be called with the result of the API call. The second parameter to the callback is an object representing . {Promise} - The promise which resolves to an array. The first element of the array is an object representing . The promise has a method named "cancel" which cancels the ongoing API call. |
| Returns | |
|---|---|
| Type | Description |
Promise<[protos.google.longrunning.Operation]> |
|
const client = longrunning.operationsClient();
const name = '';
const [response] = await client.getOperation({name});
// doThingsWith(response)
getProjectId()
getProjectId(): Promise<string>;| Returns | |
|---|---|
| Type | Description |
Promise<string> |
|
getProjectId(callback)
getProjectId(callback: Callback<string, undefined, undefined>): void;| Parameter | |
|---|---|
| Name | Description |
callback |
Callback<string, undefined, undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
initialize()
initialize(): Promise<{
[name: string]: Function;
}>;Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.
You can await on this method if you want to make sure the client is initialized.
| Returns | |
|---|---|
| Type | Description |
Promise<{
[name: string]: Function;
}> |
{Promise} A promise that resolves to an authenticated service stub. |
instancePath(project, location, instance)
instancePath(project: string, location: string, instance: string): string;Return a fully-qualified instance resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
listOperationsAsync(request, options)
listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.IOperation>;Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. Returns an iterable object.
For-await-of syntax is used with the iterable to recursively get response element on-demand.
| Parameters | |
|---|---|
| Name | Description |
request |
ListOperationsRequest
The request object that will be sent. |
options |
CallOptions
Optional parameters. You can override the default settings for this call, e.g, timeout, retries, paginations, etc. See gax.CallOptions for the details. |
| Returns | |
|---|---|
| Type | Description |
AsyncIterable<protos.google.longrunning.IOperation> |
{Object} An iterable Object that conforms to iteration protocols. |
const client = longrunning.operationsClient();
for await (const response of client.listOperationsAsync(request));
// doThingsWith(response)
listSearchedResults(request, options)
listSearchedResults(request?: protos.google.cloud.chronicle.v1.IListSearchedResultsRequest, options?: CallOptions): Promise<[
protos.google.cloud.chronicle.v1.ISearchedResult[],
protos.google.cloud.chronicle.v1.IListSearchedResultsRequest | null,
protos.google.cloud.chronicle.v1.IListSearchedResultsResponse
]>;Retrieves results from a completed Search operation.
| Parameters | |
|---|---|
| Name | Description |
request |
IListSearchedResultsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
protos.google.cloud.chronicle.v1.ISearchedResult[],
protos.google.cloud.chronicle.v1.IListSearchedResultsRequest | null,
protos.google.cloud.chronicle.v1.IListSearchedResultsResponse
]> |
{Promise} - The promise which resolves to an array. The first element of the array is Array of SearchedResult. The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using |
listSearchedResults(request, options, callback)
listSearchedResults(request: protos.google.cloud.chronicle.v1.IListSearchedResultsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.chronicle.v1.IListSearchedResultsRequest, protos.google.cloud.chronicle.v1.IListSearchedResultsResponse | null | undefined, protos.google.cloud.chronicle.v1.ISearchedResult>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IListSearchedResultsRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.chronicle.v1.IListSearchedResultsRequest, protos.google.cloud.chronicle.v1.IListSearchedResultsResponse | null | undefined, protos.google.cloud.chronicle.v1.ISearchedResult>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
listSearchedResults(request, callback)
listSearchedResults(request: protos.google.cloud.chronicle.v1.IListSearchedResultsRequest, callback: PaginationCallback<protos.google.cloud.chronicle.v1.IListSearchedResultsRequest, protos.google.cloud.chronicle.v1.IListSearchedResultsResponse | null | undefined, protos.google.cloud.chronicle.v1.ISearchedResult>): void;| Parameters | |
|---|---|
| Name | Description |
request |
IListSearchedResultsRequest
|
callback |
PaginationCallback<protos.google.cloud.chronicle.v1.IListSearchedResultsRequest, protos.google.cloud.chronicle.v1.IListSearchedResultsResponse | null | undefined, protos.google.cloud.chronicle.v1.ISearchedResult>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
listSearchedResultsAsync(request, options)
listSearchedResultsAsync(request?: protos.google.cloud.chronicle.v1.IListSearchedResultsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.chronicle.v1.ISearchedResult>;Equivalent to listSearchedResults, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
| Parameters | |
|---|---|
| Name | Description |
request |
IListSearchedResultsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
AsyncIterable<protos.google.cloud.chronicle.v1.ISearchedResult> |
{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing SearchedResult. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the documentation for more details and examples. |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent SearchSession resource name.
* Format:
* projects/{project}/locations/{location}/instances/{instance}/searchSessions/{search_session}
*/
// const parent = 'abc123'
/**
* Optional. The maximum number of results to return. The service may return
* fewer. If unspecified, at most 100 results will be returned. The maximum
* value is 1000.
*/
// const pageSize = 1234
/**
* Optional. A page token, received from a previous `ListSearchedResults`
* call. Provide this to retrieve the subsequent page.
*/
// const pageToken = 'abc123'
/**
* Optional. The column to sort the results on. Example: "event_timestamp
* desc", "principal.hostname asc". Multi-columnar sorting is not supported.
*/
// const orderBy = 'abc123'
/**
* Optional. The number of results to skip before starting to return results.
* This field should not be used in conjunction with page_token.
*/
// const skip = 1234
// Imports the Chronicle library
const {SearchServiceClient} = require('@google-cloud/chronicle').v1;
// Instantiates a client
const chronicleClient = new SearchServiceClient();
async function callListSearchedResults() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = chronicleClient.listSearchedResultsAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListSearchedResults();
listSearchedResultsStream(request, options)
listSearchedResultsStream(request?: protos.google.cloud.chronicle.v1.IListSearchedResultsRequest, options?: CallOptions): Transform;Equivalent to listSearchedResults, but returns a NodeJS Stream object.
| Parameters | |
|---|---|
| Name | Description |
request |
IListSearchedResultsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Transform |
{Stream} An object stream which emits an object representing SearchedResult on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using |
logTypeSchemaPath(project, location, instance, feedSourceType, logType)
logTypeSchemaPath(project: string, location: string, instance: string, feedSourceType: string, logType: string): string;Return a fully-qualified logTypeSchema resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
feedSourceType |
string
|
logType |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
matchAnalyticFromProjectLocationInstanceAnalyticEntitiesName(projectLocationInstanceAnalyticEntitiesName)
matchAnalyticFromProjectLocationInstanceAnalyticEntitiesName(projectLocationInstanceAnalyticEntitiesName: string): string | number;Parse the analytic from ProjectLocationInstanceAnalyticEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceAnalyticEntitiesName |
string
A fully-qualified path representing project_location_instance_analytic_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the analytic. |
matchChartFromDashboardChartName(dashboardChartName)
matchChartFromDashboardChartName(dashboardChartName: string): string | number;Parse the chart from DashboardChart resource.
| Parameter | |
|---|---|
| Name | Description |
dashboardChartName |
string
A fully-qualified path representing DashboardChart resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the chart. |
matchDashboardFromNativeDashboardName(nativeDashboardName)
matchDashboardFromNativeDashboardName(nativeDashboardName: string): string | number;Parse the dashboard from NativeDashboard resource.
| Parameter | |
|---|---|
| Name | Description |
nativeDashboardName |
string
A fully-qualified path representing NativeDashboard resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the dashboard. |
matchDataAccessLabelFromDataAccessLabelName(dataAccessLabelName)
matchDataAccessLabelFromDataAccessLabelName(dataAccessLabelName: string): string | number;Parse the data_access_label from DataAccessLabel resource.
| Parameter | |
|---|---|
| Name | Description |
dataAccessLabelName |
string
A fully-qualified path representing DataAccessLabel resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the data_access_label. |
matchDataAccessScopeFromDataAccessScopeName(dataAccessScopeName)
matchDataAccessScopeFromDataAccessScopeName(dataAccessScopeName: string): string | number;Parse the data_access_scope from DataAccessScope resource.
| Parameter | |
|---|---|
| Name | Description |
dataAccessScopeName |
string
A fully-qualified path representing DataAccessScope resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the data_access_scope. |
matchDataTableFromDataTableName(dataTableName)
matchDataTableFromDataTableName(dataTableName: string): string | number;Parse the data_table from DataTable resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableName |
string
A fully-qualified path representing DataTable resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the data_table. |
matchDataTableFromDataTableRowName(dataTableRowName)
matchDataTableFromDataTableRowName(dataTableRowName: string): string | number;Parse the data_table from DataTableRow resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableRowName |
string
A fully-qualified path representing DataTableRow resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the data_table. |
matchDataTableOperationErrorsFromDataTableOperationErrorsName(dataTableOperationErrorsName)
matchDataTableOperationErrorsFromDataTableOperationErrorsName(dataTableOperationErrorsName: string): string | number;Parse the data_table_operation_errors from DataTableOperationErrors resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableOperationErrorsName |
string
A fully-qualified path representing DataTableOperationErrors resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the data_table_operation_errors. |
matchDataTableRowFromDataTableRowName(dataTableRowName)
matchDataTableRowFromDataTableRowName(dataTableRowName: string): string | number;Parse the data_table_row from DataTableRow resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableRowName |
string
A fully-qualified path representing DataTableRow resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the data_table_row. |
matchEntityFromProjectLocationInstanceAnalyticEntitiesName(projectLocationInstanceAnalyticEntitiesName)
matchEntityFromProjectLocationInstanceAnalyticEntitiesName(projectLocationInstanceAnalyticEntitiesName: string): string | number;Parse the entity from ProjectLocationInstanceAnalyticEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceAnalyticEntitiesName |
string
A fully-qualified path representing project_location_instance_analytic_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the entity. |
matchEntityFromProjectLocationInstanceEntitiesName(projectLocationInstanceEntitiesName)
matchEntityFromProjectLocationInstanceEntitiesName(projectLocationInstanceEntitiesName: string): string | number;Parse the entity from ProjectLocationInstanceEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceEntitiesName |
string
A fully-qualified path representing project_location_instance_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the entity. |
matchEntityFromProjectLocationInstanceWatchlistEntitiesName(projectLocationInstanceWatchlistEntitiesName)
matchEntityFromProjectLocationInstanceWatchlistEntitiesName(projectLocationInstanceWatchlistEntitiesName: string): string | number;Parse the entity from ProjectLocationInstanceWatchlistEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceWatchlistEntitiesName |
string
A fully-qualified path representing project_location_instance_watchlist_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the entity. |
matchEventFromEventName(eventName)
matchEventFromEventName(eventName: string): string | number;Parse the event from Event resource.
| Parameter | |
|---|---|
| Name | Description |
eventName |
string
A fully-qualified path representing Event resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the event. |
matchFeaturedContentNativeDashboardFromFeaturedContentNativeDashboardName(featuredContentNativeDashboardName)
matchFeaturedContentNativeDashboardFromFeaturedContentNativeDashboardName(featuredContentNativeDashboardName: string): string | number;Parse the featured_content_native_dashboard from FeaturedContentNativeDashboard resource.
| Parameter | |
|---|---|
| Name | Description |
featuredContentNativeDashboardName |
string
A fully-qualified path representing FeaturedContentNativeDashboard resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the featured_content_native_dashboard. |
matchFeedFromFeedName(feedName)
matchFeedFromFeedName(feedName: string): string | number;Parse the feed from Feed resource.
| Parameter | |
|---|---|
| Name | Description |
feedName |
string
A fully-qualified path representing Feed resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the feed. |
matchFeedPackFromFeedPackName(feedPackName)
matchFeedPackFromFeedPackName(feedPackName: string): string | number;Parse the feed_pack from FeedPack resource.
| Parameter | |
|---|---|
| Name | Description |
feedPackName |
string
A fully-qualified path representing FeedPack resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the feed_pack. |
matchFeedServiceAccountFromFeedServiceAccountName(feedServiceAccountName)
matchFeedServiceAccountFromFeedServiceAccountName(feedServiceAccountName: string): string | number;Parse the feed_service_account from FeedServiceAccount resource.
| Parameter | |
|---|---|
| Name | Description |
feedServiceAccountName |
string
A fully-qualified path representing FeedServiceAccount resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the feed_service_account. |
matchFeedSourceTypeFromFeedSourceTypeSchemaName(feedSourceTypeSchemaName)
matchFeedSourceTypeFromFeedSourceTypeSchemaName(feedSourceTypeSchemaName: string): string | number;Parse the feed_source_type from FeedSourceTypeSchema resource.
| Parameter | |
|---|---|
| Name | Description |
feedSourceTypeSchemaName |
string
A fully-qualified path representing FeedSourceTypeSchema resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the feed_source_type. |
matchFeedSourceTypeFromLogTypeSchemaName(logTypeSchemaName)
matchFeedSourceTypeFromLogTypeSchemaName(logTypeSchemaName: string): string | number;Parse the feed_source_type from LogTypeSchema resource.
| Parameter | |
|---|---|
| Name | Description |
logTypeSchemaName |
string
A fully-qualified path representing LogTypeSchema resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the feed_source_type. |
matchFindingsRefinementFromFindingsRefinementDeploymentName(findingsRefinementDeploymentName)
matchFindingsRefinementFromFindingsRefinementDeploymentName(findingsRefinementDeploymentName: string): string | number;Parse the findings_refinement from FindingsRefinementDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
findingsRefinementDeploymentName |
string
A fully-qualified path representing FindingsRefinementDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the findings_refinement. |
matchFindingsRefinementFromFindingsRefinementName(findingsRefinementName)
matchFindingsRefinementFromFindingsRefinementName(findingsRefinementName: string): string | number;Parse the findings_refinement from FindingsRefinement resource.
| Parameter | |
|---|---|
| Name | Description |
findingsRefinementName |
string
A fully-qualified path representing FindingsRefinement resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the findings_refinement. |
matchInstanceFromBigQueryExportName(bigQueryExportName)
matchInstanceFromBigQueryExportName(bigQueryExportName: string): string | number;Parse the instance from BigQueryExport resource.
| Parameter | |
|---|---|
| Name | Description |
bigQueryExportName |
string
A fully-qualified path representing BigQueryExport resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromDashboardChartName(dashboardChartName)
matchInstanceFromDashboardChartName(dashboardChartName: string): string | number;Parse the instance from DashboardChart resource.
| Parameter | |
|---|---|
| Name | Description |
dashboardChartName |
string
A fully-qualified path representing DashboardChart resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromDashboardQueryName(dashboardQueryName)
matchInstanceFromDashboardQueryName(dashboardQueryName: string): string | number;Parse the instance from DashboardQuery resource.
| Parameter | |
|---|---|
| Name | Description |
dashboardQueryName |
string
A fully-qualified path representing DashboardQuery resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromDataAccessLabelName(dataAccessLabelName)
matchInstanceFromDataAccessLabelName(dataAccessLabelName: string): string | number;Parse the instance from DataAccessLabel resource.
| Parameter | |
|---|---|
| Name | Description |
dataAccessLabelName |
string
A fully-qualified path representing DataAccessLabel resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromDataAccessScopeName(dataAccessScopeName)
matchInstanceFromDataAccessScopeName(dataAccessScopeName: string): string | number;Parse the instance from DataAccessScope resource.
| Parameter | |
|---|---|
| Name | Description |
dataAccessScopeName |
string
A fully-qualified path representing DataAccessScope resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromDataTableName(dataTableName)
matchInstanceFromDataTableName(dataTableName: string): string | number;Parse the instance from DataTable resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableName |
string
A fully-qualified path representing DataTable resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromDataTableOperationErrorsName(dataTableOperationErrorsName)
matchInstanceFromDataTableOperationErrorsName(dataTableOperationErrorsName: string): string | number;Parse the instance from DataTableOperationErrors resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableOperationErrorsName |
string
A fully-qualified path representing DataTableOperationErrors resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromDataTableRowName(dataTableRowName)
matchInstanceFromDataTableRowName(dataTableRowName: string): string | number;Parse the instance from DataTableRow resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableRowName |
string
A fully-qualified path representing DataTableRow resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromEventName(eventName)
matchInstanceFromEventName(eventName: string): string | number;Parse the instance from Event resource.
| Parameter | |
|---|---|
| Name | Description |
eventName |
string
A fully-qualified path representing Event resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromFeaturedContentNativeDashboardName(featuredContentNativeDashboardName)
matchInstanceFromFeaturedContentNativeDashboardName(featuredContentNativeDashboardName: string): string | number;Parse the instance from FeaturedContentNativeDashboard resource.
| Parameter | |
|---|---|
| Name | Description |
featuredContentNativeDashboardName |
string
A fully-qualified path representing FeaturedContentNativeDashboard resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromFeedName(feedName)
matchInstanceFromFeedName(feedName: string): string | number;Parse the instance from Feed resource.
| Parameter | |
|---|---|
| Name | Description |
feedName |
string
A fully-qualified path representing Feed resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromFeedPackName(feedPackName)
matchInstanceFromFeedPackName(feedPackName: string): string | number;Parse the instance from FeedPack resource.
| Parameter | |
|---|---|
| Name | Description |
feedPackName |
string
A fully-qualified path representing FeedPack resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromFeedServiceAccountName(feedServiceAccountName)
matchInstanceFromFeedServiceAccountName(feedServiceAccountName: string): string | number;Parse the instance from FeedServiceAccount resource.
| Parameter | |
|---|---|
| Name | Description |
feedServiceAccountName |
string
A fully-qualified path representing FeedServiceAccount resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromFeedSourceTypeSchemaName(feedSourceTypeSchemaName)
matchInstanceFromFeedSourceTypeSchemaName(feedSourceTypeSchemaName: string): string | number;Parse the instance from FeedSourceTypeSchema resource.
| Parameter | |
|---|---|
| Name | Description |
feedSourceTypeSchemaName |
string
A fully-qualified path representing FeedSourceTypeSchema resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromFindingsRefinementDeploymentName(findingsRefinementDeploymentName)
matchInstanceFromFindingsRefinementDeploymentName(findingsRefinementDeploymentName: string): string | number;Parse the instance from FindingsRefinementDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
findingsRefinementDeploymentName |
string
A fully-qualified path representing FindingsRefinementDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromFindingsRefinementName(findingsRefinementName)
matchInstanceFromFindingsRefinementName(findingsRefinementName: string): string | number;Parse the instance from FindingsRefinement resource.
| Parameter | |
|---|---|
| Name | Description |
findingsRefinementName |
string
A fully-qualified path representing FindingsRefinement resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromInstanceName(instanceName)
matchInstanceFromInstanceName(instanceName: string): string | number;Parse the instance from Instance resource.
| Parameter | |
|---|---|
| Name | Description |
instanceName |
string
A fully-qualified path representing Instance resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromLogTypeSchemaName(logTypeSchemaName)
matchInstanceFromLogTypeSchemaName(logTypeSchemaName: string): string | number;Parse the instance from LogTypeSchema resource.
| Parameter | |
|---|---|
| Name | Description |
logTypeSchemaName |
string
A fully-qualified path representing LogTypeSchema resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromNativeDashboardName(nativeDashboardName)
matchInstanceFromNativeDashboardName(nativeDashboardName: string): string | number;Parse the instance from NativeDashboard resource.
| Parameter | |
|---|---|
| Name | Description |
nativeDashboardName |
string
A fully-qualified path representing NativeDashboard resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromProjectLocationInstanceAnalyticEntitiesName(projectLocationInstanceAnalyticEntitiesName)
matchInstanceFromProjectLocationInstanceAnalyticEntitiesName(projectLocationInstanceAnalyticEntitiesName: string): string | number;Parse the instance from ProjectLocationInstanceAnalyticEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceAnalyticEntitiesName |
string
A fully-qualified path representing project_location_instance_analytic_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromProjectLocationInstanceEntitiesName(projectLocationInstanceEntitiesName)
matchInstanceFromProjectLocationInstanceEntitiesName(projectLocationInstanceEntitiesName: string): string | number;Parse the instance from ProjectLocationInstanceEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceEntitiesName |
string
A fully-qualified path representing project_location_instance_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromProjectLocationInstanceWatchlistEntitiesName(projectLocationInstanceWatchlistEntitiesName)
matchInstanceFromProjectLocationInstanceWatchlistEntitiesName(projectLocationInstanceWatchlistEntitiesName: string): string | number;Parse the instance from ProjectLocationInstanceWatchlistEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceWatchlistEntitiesName |
string
A fully-qualified path representing project_location_instance_watchlist_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromReferenceListName(referenceListName)
matchInstanceFromReferenceListName(referenceListName: string): string | number;Parse the instance from ReferenceList resource.
| Parameter | |
|---|---|
| Name | Description |
referenceListName |
string
A fully-qualified path representing ReferenceList resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromRetrohuntName(retrohuntName)
matchInstanceFromRetrohuntName(retrohuntName: string): string | number;Parse the instance from Retrohunt resource.
| Parameter | |
|---|---|
| Name | Description |
retrohuntName |
string
A fully-qualified path representing Retrohunt resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromRuleDeploymentName(ruleDeploymentName)
matchInstanceFromRuleDeploymentName(ruleDeploymentName: string): string | number;Parse the instance from RuleDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
ruleDeploymentName |
string
A fully-qualified path representing RuleDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromRuleExecutionErrorName(ruleExecutionErrorName)
matchInstanceFromRuleExecutionErrorName(ruleExecutionErrorName: string): string | number;Parse the instance from RuleExecutionError resource.
| Parameter | |
|---|---|
| Name | Description |
ruleExecutionErrorName |
string
A fully-qualified path representing RuleExecutionError resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromRuleName(ruleName)
matchInstanceFromRuleName(ruleName: string): string | number;Parse the instance from Rule resource.
| Parameter | |
|---|---|
| Name | Description |
ruleName |
string
A fully-qualified path representing Rule resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromSearchedResultName(searchedResultName)
matchInstanceFromSearchedResultName(searchedResultName: string): string | number;Parse the instance from SearchedResult resource.
| Parameter | |
|---|---|
| Name | Description |
searchedResultName |
string
A fully-qualified path representing SearchedResult resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromSearchSessionName(searchSessionName)
matchInstanceFromSearchSessionName(searchSessionName: string): string | number;Parse the instance from SearchSession resource.
| Parameter | |
|---|---|
| Name | Description |
searchSessionName |
string
A fully-qualified path representing SearchSession resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchInstanceFromWatchlistName(watchlistName)
matchInstanceFromWatchlistName(watchlistName: string): string | number;Parse the instance from Watchlist resource.
| Parameter | |
|---|---|
| Name | Description |
watchlistName |
string
A fully-qualified path representing Watchlist resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the instance. |
matchLocationFromBigQueryExportName(bigQueryExportName)
matchLocationFromBigQueryExportName(bigQueryExportName: string): string | number;Parse the location from BigQueryExport resource.
| Parameter | |
|---|---|
| Name | Description |
bigQueryExportName |
string
A fully-qualified path representing BigQueryExport resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromDashboardChartName(dashboardChartName)
matchLocationFromDashboardChartName(dashboardChartName: string): string | number;Parse the location from DashboardChart resource.
| Parameter | |
|---|---|
| Name | Description |
dashboardChartName |
string
A fully-qualified path representing DashboardChart resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromDashboardQueryName(dashboardQueryName)
matchLocationFromDashboardQueryName(dashboardQueryName: string): string | number;Parse the location from DashboardQuery resource.
| Parameter | |
|---|---|
| Name | Description |
dashboardQueryName |
string
A fully-qualified path representing DashboardQuery resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromDataAccessLabelName(dataAccessLabelName)
matchLocationFromDataAccessLabelName(dataAccessLabelName: string): string | number;Parse the location from DataAccessLabel resource.
| Parameter | |
|---|---|
| Name | Description |
dataAccessLabelName |
string
A fully-qualified path representing DataAccessLabel resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromDataAccessScopeName(dataAccessScopeName)
matchLocationFromDataAccessScopeName(dataAccessScopeName: string): string | number;Parse the location from DataAccessScope resource.
| Parameter | |
|---|---|
| Name | Description |
dataAccessScopeName |
string
A fully-qualified path representing DataAccessScope resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromDataTableName(dataTableName)
matchLocationFromDataTableName(dataTableName: string): string | number;Parse the location from DataTable resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableName |
string
A fully-qualified path representing DataTable resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromDataTableOperationErrorsName(dataTableOperationErrorsName)
matchLocationFromDataTableOperationErrorsName(dataTableOperationErrorsName: string): string | number;Parse the location from DataTableOperationErrors resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableOperationErrorsName |
string
A fully-qualified path representing DataTableOperationErrors resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromDataTableRowName(dataTableRowName)
matchLocationFromDataTableRowName(dataTableRowName: string): string | number;Parse the location from DataTableRow resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableRowName |
string
A fully-qualified path representing DataTableRow resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromEventName(eventName)
matchLocationFromEventName(eventName: string): string | number;Parse the location from Event resource.
| Parameter | |
|---|---|
| Name | Description |
eventName |
string
A fully-qualified path representing Event resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromFeaturedContentNativeDashboardName(featuredContentNativeDashboardName)
matchLocationFromFeaturedContentNativeDashboardName(featuredContentNativeDashboardName: string): string | number;Parse the location from FeaturedContentNativeDashboard resource.
| Parameter | |
|---|---|
| Name | Description |
featuredContentNativeDashboardName |
string
A fully-qualified path representing FeaturedContentNativeDashboard resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromFeedName(feedName)
matchLocationFromFeedName(feedName: string): string | number;Parse the location from Feed resource.
| Parameter | |
|---|---|
| Name | Description |
feedName |
string
A fully-qualified path representing Feed resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromFeedPackName(feedPackName)
matchLocationFromFeedPackName(feedPackName: string): string | number;Parse the location from FeedPack resource.
| Parameter | |
|---|---|
| Name | Description |
feedPackName |
string
A fully-qualified path representing FeedPack resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromFeedServiceAccountName(feedServiceAccountName)
matchLocationFromFeedServiceAccountName(feedServiceAccountName: string): string | number;Parse the location from FeedServiceAccount resource.
| Parameter | |
|---|---|
| Name | Description |
feedServiceAccountName |
string
A fully-qualified path representing FeedServiceAccount resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromFeedSourceTypeSchemaName(feedSourceTypeSchemaName)
matchLocationFromFeedSourceTypeSchemaName(feedSourceTypeSchemaName: string): string | number;Parse the location from FeedSourceTypeSchema resource.
| Parameter | |
|---|---|
| Name | Description |
feedSourceTypeSchemaName |
string
A fully-qualified path representing FeedSourceTypeSchema resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromFindingsRefinementDeploymentName(findingsRefinementDeploymentName)
matchLocationFromFindingsRefinementDeploymentName(findingsRefinementDeploymentName: string): string | number;Parse the location from FindingsRefinementDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
findingsRefinementDeploymentName |
string
A fully-qualified path representing FindingsRefinementDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromFindingsRefinementName(findingsRefinementName)
matchLocationFromFindingsRefinementName(findingsRefinementName: string): string | number;Parse the location from FindingsRefinement resource.
| Parameter | |
|---|---|
| Name | Description |
findingsRefinementName |
string
A fully-qualified path representing FindingsRefinement resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromInstanceName(instanceName)
matchLocationFromInstanceName(instanceName: string): string | number;Parse the location from Instance resource.
| Parameter | |
|---|---|
| Name | Description |
instanceName |
string
A fully-qualified path representing Instance resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromLogTypeSchemaName(logTypeSchemaName)
matchLocationFromLogTypeSchemaName(logTypeSchemaName: string): string | number;Parse the location from LogTypeSchema resource.
| Parameter | |
|---|---|
| Name | Description |
logTypeSchemaName |
string
A fully-qualified path representing LogTypeSchema resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromNativeDashboardName(nativeDashboardName)
matchLocationFromNativeDashboardName(nativeDashboardName: string): string | number;Parse the location from NativeDashboard resource.
| Parameter | |
|---|---|
| Name | Description |
nativeDashboardName |
string
A fully-qualified path representing NativeDashboard resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromProjectLocationInstanceAnalyticEntitiesName(projectLocationInstanceAnalyticEntitiesName)
matchLocationFromProjectLocationInstanceAnalyticEntitiesName(projectLocationInstanceAnalyticEntitiesName: string): string | number;Parse the location from ProjectLocationInstanceAnalyticEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceAnalyticEntitiesName |
string
A fully-qualified path representing project_location_instance_analytic_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromProjectLocationInstanceEntitiesName(projectLocationInstanceEntitiesName)
matchLocationFromProjectLocationInstanceEntitiesName(projectLocationInstanceEntitiesName: string): string | number;Parse the location from ProjectLocationInstanceEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceEntitiesName |
string
A fully-qualified path representing project_location_instance_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromProjectLocationInstanceWatchlistEntitiesName(projectLocationInstanceWatchlistEntitiesName)
matchLocationFromProjectLocationInstanceWatchlistEntitiesName(projectLocationInstanceWatchlistEntitiesName: string): string | number;Parse the location from ProjectLocationInstanceWatchlistEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceWatchlistEntitiesName |
string
A fully-qualified path representing project_location_instance_watchlist_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromReferenceListName(referenceListName)
matchLocationFromReferenceListName(referenceListName: string): string | number;Parse the location from ReferenceList resource.
| Parameter | |
|---|---|
| Name | Description |
referenceListName |
string
A fully-qualified path representing ReferenceList resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromRetrohuntName(retrohuntName)
matchLocationFromRetrohuntName(retrohuntName: string): string | number;Parse the location from Retrohunt resource.
| Parameter | |
|---|---|
| Name | Description |
retrohuntName |
string
A fully-qualified path representing Retrohunt resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromRuleDeploymentName(ruleDeploymentName)
matchLocationFromRuleDeploymentName(ruleDeploymentName: string): string | number;Parse the location from RuleDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
ruleDeploymentName |
string
A fully-qualified path representing RuleDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromRuleExecutionErrorName(ruleExecutionErrorName)
matchLocationFromRuleExecutionErrorName(ruleExecutionErrorName: string): string | number;Parse the location from RuleExecutionError resource.
| Parameter | |
|---|---|
| Name | Description |
ruleExecutionErrorName |
string
A fully-qualified path representing RuleExecutionError resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromRuleName(ruleName)
matchLocationFromRuleName(ruleName: string): string | number;Parse the location from Rule resource.
| Parameter | |
|---|---|
| Name | Description |
ruleName |
string
A fully-qualified path representing Rule resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromSearchedResultName(searchedResultName)
matchLocationFromSearchedResultName(searchedResultName: string): string | number;Parse the location from SearchedResult resource.
| Parameter | |
|---|---|
| Name | Description |
searchedResultName |
string
A fully-qualified path representing SearchedResult resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromSearchSessionName(searchSessionName)
matchLocationFromSearchSessionName(searchSessionName: string): string | number;Parse the location from SearchSession resource.
| Parameter | |
|---|---|
| Name | Description |
searchSessionName |
string
A fully-qualified path representing SearchSession resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromWatchlistName(watchlistName)
matchLocationFromWatchlistName(watchlistName: string): string | number;Parse the location from Watchlist resource.
| Parameter | |
|---|---|
| Name | Description |
watchlistName |
string
A fully-qualified path representing Watchlist resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the location. |
matchLogTypeFromLogTypeSchemaName(logTypeSchemaName)
matchLogTypeFromLogTypeSchemaName(logTypeSchemaName: string): string | number;Parse the log_type from LogTypeSchema resource.
| Parameter | |
|---|---|
| Name | Description |
logTypeSchemaName |
string
A fully-qualified path representing LogTypeSchema resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the log_type. |
matchProjectFromBigQueryExportName(bigQueryExportName)
matchProjectFromBigQueryExportName(bigQueryExportName: string): string | number;Parse the project from BigQueryExport resource.
| Parameter | |
|---|---|
| Name | Description |
bigQueryExportName |
string
A fully-qualified path representing BigQueryExport resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromDashboardChartName(dashboardChartName)
matchProjectFromDashboardChartName(dashboardChartName: string): string | number;Parse the project from DashboardChart resource.
| Parameter | |
|---|---|
| Name | Description |
dashboardChartName |
string
A fully-qualified path representing DashboardChart resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromDashboardQueryName(dashboardQueryName)
matchProjectFromDashboardQueryName(dashboardQueryName: string): string | number;Parse the project from DashboardQuery resource.
| Parameter | |
|---|---|
| Name | Description |
dashboardQueryName |
string
A fully-qualified path representing DashboardQuery resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromDataAccessLabelName(dataAccessLabelName)
matchProjectFromDataAccessLabelName(dataAccessLabelName: string): string | number;Parse the project from DataAccessLabel resource.
| Parameter | |
|---|---|
| Name | Description |
dataAccessLabelName |
string
A fully-qualified path representing DataAccessLabel resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromDataAccessScopeName(dataAccessScopeName)
matchProjectFromDataAccessScopeName(dataAccessScopeName: string): string | number;Parse the project from DataAccessScope resource.
| Parameter | |
|---|---|
| Name | Description |
dataAccessScopeName |
string
A fully-qualified path representing DataAccessScope resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromDataTableName(dataTableName)
matchProjectFromDataTableName(dataTableName: string): string | number;Parse the project from DataTable resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableName |
string
A fully-qualified path representing DataTable resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromDataTableOperationErrorsName(dataTableOperationErrorsName)
matchProjectFromDataTableOperationErrorsName(dataTableOperationErrorsName: string): string | number;Parse the project from DataTableOperationErrors resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableOperationErrorsName |
string
A fully-qualified path representing DataTableOperationErrors resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromDataTableRowName(dataTableRowName)
matchProjectFromDataTableRowName(dataTableRowName: string): string | number;Parse the project from DataTableRow resource.
| Parameter | |
|---|---|
| Name | Description |
dataTableRowName |
string
A fully-qualified path representing DataTableRow resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromEventName(eventName)
matchProjectFromEventName(eventName: string): string | number;Parse the project from Event resource.
| Parameter | |
|---|---|
| Name | Description |
eventName |
string
A fully-qualified path representing Event resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromFeaturedContentNativeDashboardName(featuredContentNativeDashboardName)
matchProjectFromFeaturedContentNativeDashboardName(featuredContentNativeDashboardName: string): string | number;Parse the project from FeaturedContentNativeDashboard resource.
| Parameter | |
|---|---|
| Name | Description |
featuredContentNativeDashboardName |
string
A fully-qualified path representing FeaturedContentNativeDashboard resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromFeedName(feedName)
matchProjectFromFeedName(feedName: string): string | number;Parse the project from Feed resource.
| Parameter | |
|---|---|
| Name | Description |
feedName |
string
A fully-qualified path representing Feed resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromFeedPackName(feedPackName)
matchProjectFromFeedPackName(feedPackName: string): string | number;Parse the project from FeedPack resource.
| Parameter | |
|---|---|
| Name | Description |
feedPackName |
string
A fully-qualified path representing FeedPack resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromFeedServiceAccountName(feedServiceAccountName)
matchProjectFromFeedServiceAccountName(feedServiceAccountName: string): string | number;Parse the project from FeedServiceAccount resource.
| Parameter | |
|---|---|
| Name | Description |
feedServiceAccountName |
string
A fully-qualified path representing FeedServiceAccount resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromFeedSourceTypeSchemaName(feedSourceTypeSchemaName)
matchProjectFromFeedSourceTypeSchemaName(feedSourceTypeSchemaName: string): string | number;Parse the project from FeedSourceTypeSchema resource.
| Parameter | |
|---|---|
| Name | Description |
feedSourceTypeSchemaName |
string
A fully-qualified path representing FeedSourceTypeSchema resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromFindingsRefinementDeploymentName(findingsRefinementDeploymentName)
matchProjectFromFindingsRefinementDeploymentName(findingsRefinementDeploymentName: string): string | number;Parse the project from FindingsRefinementDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
findingsRefinementDeploymentName |
string
A fully-qualified path representing FindingsRefinementDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromFindingsRefinementName(findingsRefinementName)
matchProjectFromFindingsRefinementName(findingsRefinementName: string): string | number;Parse the project from FindingsRefinement resource.
| Parameter | |
|---|---|
| Name | Description |
findingsRefinementName |
string
A fully-qualified path representing FindingsRefinement resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromInstanceName(instanceName)
matchProjectFromInstanceName(instanceName: string): string | number;Parse the project from Instance resource.
| Parameter | |
|---|---|
| Name | Description |
instanceName |
string
A fully-qualified path representing Instance resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromLogTypeSchemaName(logTypeSchemaName)
matchProjectFromLogTypeSchemaName(logTypeSchemaName: string): string | number;Parse the project from LogTypeSchema resource.
| Parameter | |
|---|---|
| Name | Description |
logTypeSchemaName |
string
A fully-qualified path representing LogTypeSchema resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromNativeDashboardName(nativeDashboardName)
matchProjectFromNativeDashboardName(nativeDashboardName: string): string | number;Parse the project from NativeDashboard resource.
| Parameter | |
|---|---|
| Name | Description |
nativeDashboardName |
string
A fully-qualified path representing NativeDashboard resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromProjectLocationInstanceAnalyticEntitiesName(projectLocationInstanceAnalyticEntitiesName)
matchProjectFromProjectLocationInstanceAnalyticEntitiesName(projectLocationInstanceAnalyticEntitiesName: string): string | number;Parse the project from ProjectLocationInstanceAnalyticEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceAnalyticEntitiesName |
string
A fully-qualified path representing project_location_instance_analytic_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromProjectLocationInstanceEntitiesName(projectLocationInstanceEntitiesName)
matchProjectFromProjectLocationInstanceEntitiesName(projectLocationInstanceEntitiesName: string): string | number;Parse the project from ProjectLocationInstanceEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceEntitiesName |
string
A fully-qualified path representing project_location_instance_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromProjectLocationInstanceWatchlistEntitiesName(projectLocationInstanceWatchlistEntitiesName)
matchProjectFromProjectLocationInstanceWatchlistEntitiesName(projectLocationInstanceWatchlistEntitiesName: string): string | number;Parse the project from ProjectLocationInstanceWatchlistEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceWatchlistEntitiesName |
string
A fully-qualified path representing project_location_instance_watchlist_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromReferenceListName(referenceListName)
matchProjectFromReferenceListName(referenceListName: string): string | number;Parse the project from ReferenceList resource.
| Parameter | |
|---|---|
| Name | Description |
referenceListName |
string
A fully-qualified path representing ReferenceList resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromRetrohuntName(retrohuntName)
matchProjectFromRetrohuntName(retrohuntName: string): string | number;Parse the project from Retrohunt resource.
| Parameter | |
|---|---|
| Name | Description |
retrohuntName |
string
A fully-qualified path representing Retrohunt resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromRuleDeploymentName(ruleDeploymentName)
matchProjectFromRuleDeploymentName(ruleDeploymentName: string): string | number;Parse the project from RuleDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
ruleDeploymentName |
string
A fully-qualified path representing RuleDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromRuleExecutionErrorName(ruleExecutionErrorName)
matchProjectFromRuleExecutionErrorName(ruleExecutionErrorName: string): string | number;Parse the project from RuleExecutionError resource.
| Parameter | |
|---|---|
| Name | Description |
ruleExecutionErrorName |
string
A fully-qualified path representing RuleExecutionError resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromRuleName(ruleName)
matchProjectFromRuleName(ruleName: string): string | number;Parse the project from Rule resource.
| Parameter | |
|---|---|
| Name | Description |
ruleName |
string
A fully-qualified path representing Rule resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromSearchedResultName(searchedResultName)
matchProjectFromSearchedResultName(searchedResultName: string): string | number;Parse the project from SearchedResult resource.
| Parameter | |
|---|---|
| Name | Description |
searchedResultName |
string
A fully-qualified path representing SearchedResult resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromSearchSessionName(searchSessionName)
matchProjectFromSearchSessionName(searchSessionName: string): string | number;Parse the project from SearchSession resource.
| Parameter | |
|---|---|
| Name | Description |
searchSessionName |
string
A fully-qualified path representing SearchSession resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromWatchlistName(watchlistName)
matchProjectFromWatchlistName(watchlistName: string): string | number;Parse the project from Watchlist resource.
| Parameter | |
|---|---|
| Name | Description |
watchlistName |
string
A fully-qualified path representing Watchlist resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the project. |
matchQueryFromDashboardQueryName(dashboardQueryName)
matchQueryFromDashboardQueryName(dashboardQueryName: string): string | number;Parse the query from DashboardQuery resource.
| Parameter | |
|---|---|
| Name | Description |
dashboardQueryName |
string
A fully-qualified path representing DashboardQuery resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the query. |
matchReferenceListFromReferenceListName(referenceListName)
matchReferenceListFromReferenceListName(referenceListName: string): string | number;Parse the reference_list from ReferenceList resource.
| Parameter | |
|---|---|
| Name | Description |
referenceListName |
string
A fully-qualified path representing ReferenceList resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the reference_list. |
matchRetrohuntFromRetrohuntName(retrohuntName)
matchRetrohuntFromRetrohuntName(retrohuntName: string): string | number;Parse the retrohunt from Retrohunt resource.
| Parameter | |
|---|---|
| Name | Description |
retrohuntName |
string
A fully-qualified path representing Retrohunt resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the retrohunt. |
matchRuleExecutionErrorFromRuleExecutionErrorName(ruleExecutionErrorName)
matchRuleExecutionErrorFromRuleExecutionErrorName(ruleExecutionErrorName: string): string | number;Parse the rule_execution_error from RuleExecutionError resource.
| Parameter | |
|---|---|
| Name | Description |
ruleExecutionErrorName |
string
A fully-qualified path representing RuleExecutionError resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the rule_execution_error. |
matchRuleFromRetrohuntName(retrohuntName)
matchRuleFromRetrohuntName(retrohuntName: string): string | number;Parse the rule from Retrohunt resource.
| Parameter | |
|---|---|
| Name | Description |
retrohuntName |
string
A fully-qualified path representing Retrohunt resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the rule. |
matchRuleFromRuleDeploymentName(ruleDeploymentName)
matchRuleFromRuleDeploymentName(ruleDeploymentName: string): string | number;Parse the rule from RuleDeployment resource.
| Parameter | |
|---|---|
| Name | Description |
ruleDeploymentName |
string
A fully-qualified path representing RuleDeployment resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the rule. |
matchRuleFromRuleName(ruleName)
matchRuleFromRuleName(ruleName: string): string | number;Parse the rule from Rule resource.
| Parameter | |
|---|---|
| Name | Description |
ruleName |
string
A fully-qualified path representing Rule resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the rule. |
matchSearchedResultFromSearchedResultName(searchedResultName)
matchSearchedResultFromSearchedResultName(searchedResultName: string): string | number;Parse the searched_result from SearchedResult resource.
| Parameter | |
|---|---|
| Name | Description |
searchedResultName |
string
A fully-qualified path representing SearchedResult resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the searched_result. |
matchSearchSessionFromSearchedResultName(searchedResultName)
matchSearchSessionFromSearchedResultName(searchedResultName: string): string | number;Parse the search_session from SearchedResult resource.
| Parameter | |
|---|---|
| Name | Description |
searchedResultName |
string
A fully-qualified path representing SearchedResult resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the search_session. |
matchSearchSessionFromSearchSessionName(searchSessionName)
matchSearchSessionFromSearchSessionName(searchSessionName: string): string | number;Parse the search_session from SearchSession resource.
| Parameter | |
|---|---|
| Name | Description |
searchSessionName |
string
A fully-qualified path representing SearchSession resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the search_session. |
matchWatchlistFromProjectLocationInstanceWatchlistEntitiesName(projectLocationInstanceWatchlistEntitiesName)
matchWatchlistFromProjectLocationInstanceWatchlistEntitiesName(projectLocationInstanceWatchlistEntitiesName: string): string | number;Parse the watchlist from ProjectLocationInstanceWatchlistEntities resource.
| Parameter | |
|---|---|
| Name | Description |
projectLocationInstanceWatchlistEntitiesName |
string
A fully-qualified path representing project_location_instance_watchlist_entities resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the watchlist. |
matchWatchlistFromWatchlistName(watchlistName)
matchWatchlistFromWatchlistName(watchlistName: string): string | number;Parse the watchlist from Watchlist resource.
| Parameter | |
|---|---|
| Name | Description |
watchlistName |
string
A fully-qualified path representing Watchlist resource. |
| Returns | |
|---|---|
| Type | Description |
string | number |
{string} A string representing the watchlist. |
nativeDashboardPath(project, location, instance, dashboard)
nativeDashboardPath(project: string, location: string, instance: string, dashboard: string): string;Return a fully-qualified nativeDashboard resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
dashboard |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
projectLocationInstanceAnalyticEntitiesPath(project, location, instance, analytic, entity)
projectLocationInstanceAnalyticEntitiesPath(project: string, location: string, instance: string, analytic: string, entity: string): string;Return a fully-qualified projectLocationInstanceAnalyticEntities resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
analytic |
string
|
entity |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
projectLocationInstanceEntitiesPath(project, location, instance, entity)
projectLocationInstanceEntitiesPath(project: string, location: string, instance: string, entity: string): string;Return a fully-qualified projectLocationInstanceEntities resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
entity |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
projectLocationInstanceWatchlistEntitiesPath(project, location, instance, watchlist, entity)
projectLocationInstanceWatchlistEntitiesPath(project: string, location: string, instance: string, watchlist: string, entity: string): string;Return a fully-qualified projectLocationInstanceWatchlistEntities resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
watchlist |
string
|
entity |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
referenceListPath(project, location, instance, referenceList)
referenceListPath(project: string, location: string, instance: string, referenceList: string): string;Return a fully-qualified referenceList resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
referenceList |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
retrohuntPath(project, location, instance, rule, retrohunt)
retrohuntPath(project: string, location: string, instance: string, rule: string, retrohunt: string): string;Return a fully-qualified retrohunt resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
rule |
string
|
retrohunt |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
ruleDeploymentPath(project, location, instance, rule)
ruleDeploymentPath(project: string, location: string, instance: string, rule: string): string;Return a fully-qualified ruleDeployment resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
rule |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
ruleExecutionErrorPath(project, location, instance, ruleExecutionError)
ruleExecutionErrorPath(project: string, location: string, instance: string, ruleExecutionError: string): string;Return a fully-qualified ruleExecutionError resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
ruleExecutionError |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
rulePath(project, location, instance, rule)
rulePath(project: string, location: string, instance: string, rule: string): string;Return a fully-qualified rule resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
rule |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
search(request, options)
search(request?: protos.google.cloud.chronicle.v1.ISearchRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.chronicle.v1.ISearchSession, protos.google.cloud.chronicle.v1.ISearchOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;Initiates a long-running search operation.
| Parameters | |
|---|---|
| Name | Description |
request |
ISearchRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
| Returns | |
|---|---|
| Type | Description |
Promise<[
LROperation<protos.google.cloud.chronicle.v1.ISearchSession, protos.google.cloud.chronicle.v1.ISearchOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing a long running operation. Its |
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The resource name of the instance on which to perform the search.
* Format: projects/{project}/locations/{location}/instances/{instance}
*/
// const parent = 'abc123'
/**
* Required. The search query, in the dialect set in `dialect`.
* Example: 'ip=/172.* / AND metadata.event_type!="NETWORK_CONNECTION" AND (
* target.ip = "3.225.179.73" OR target.ip = "23.47.48.70")'
*/
// const query = 'abc123'
/**
* Required. Time range to search for Inclusive start time, exclusive end
* time).
*/
// const timeRange = {}
/**
* Optional. Specifies the dialect the Search Query is written in. If not
* specified, the query will be parsed as YL2.
*/
// const dialect = {}
/**
* Optional. Data access scope used to filter events. This is intended to be
* used by admins to preview in-development scopes. Should only be called by
* users with global access. If the caller does not have global access, the
* request will fail.
*/
// const draftDataAccessScope = {}
/**
* Optional. Requested maximum number of rows to materialize. The service may
* return fewer. If unspecified, a server-side default of 10,000 is used. The
* maximum value is 1,000,000. Some dialects have a lower maximum; see
* `QueryDialect`.
*/
// const resultLimit = 1234
/**
* Optional. Specifies visibility of simulated data to include in search
* results.
*/
// const simulatedDataVisibility = {}
// Imports the Chronicle library
const {SearchServiceClient} = require('@google-cloud/chronicle').v1;
// Instantiates a client
const chronicleClient = new SearchServiceClient();
async function callSearch() {
// Construct request
const request = {
parent,
query,
timeRange,
};
// Run request
const [operation] = await chronicleClient.search(request);
const [response] = await operation.promise();
console.log(response);
}
callSearch();
search(request, options, callback)
search(request: protos.google.cloud.chronicle.v1.ISearchRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.chronicle.v1.ISearchSession, protos.google.cloud.chronicle.v1.ISearchOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
ISearchRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.chronicle.v1.ISearchSession, protos.google.cloud.chronicle.v1.ISearchOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
search(request, callback)
search(request: protos.google.cloud.chronicle.v1.ISearchRequest, callback: Callback<LROperation<protos.google.cloud.chronicle.v1.ISearchSession, protos.google.cloud.chronicle.v1.ISearchOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;| Parameters | |
|---|---|
| Name | Description |
request |
ISearchRequest
|
callback |
Callback<LROperation<protos.google.cloud.chronicle.v1.ISearchSession, protos.google.cloud.chronicle.v1.ISearchOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
| Returns | |
|---|---|
| Type | Description |
void |
|
searchedResultPath(project, location, instance, searchSession, searchedResult)
searchedResultPath(project: string, location: string, instance: string, searchSession: string, searchedResult: string): string;Return a fully-qualified searchedResult resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
searchSession |
string
|
searchedResult |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
searchSessionPath(project, location, instance, searchSession)
searchSessionPath(project: string, location: string, instance: string, searchSession: string): string;Return a fully-qualified searchSession resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
searchSession |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |
watchlistPath(project, location, instance, watchlist)
watchlistPath(project: string, location: string, instance: string, watchlist: string): string;Return a fully-qualified watchlist resource name string.
| Parameters | |
|---|---|
| Name | Description |
project |
string
|
location |
string
|
instance |
string
|
watchlist |
string
|
| Returns | |
|---|---|
| Type | Description |
string |
{string} Resource name string. |