Socket
Socket
Sign inDemoInstall

@google-cloud/logging

Package Overview
Dependencies
Maintainers
1
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/logging - npm Package Compare versions

Comparing version 8.1.1 to 8.2.0

32

build/src/v2/config_service_v2_client_config.json

@@ -36,2 +36,6 @@ {

},
"CreateBucket": {
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"UpdateBucket": {

@@ -41,2 +45,30 @@ "retry_codes_name": "non_idempotent",

},
"DeleteBucket": {
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"UndeleteBucket": {
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"ListViews": {
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"GetView": {
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"CreateView": {
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"UpdateView": {
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"DeleteView": {
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"ListSinks": {

@@ -43,0 +75,0 @@ "timeout_millis": 60000,

@@ -58,2 +58,7 @@ {

"retry_params_name": "default"
},
"TailLogEntries": {
"timeout_millis": 3600000,
"retry_codes_name": "deadline_exceeded_internal_unavailable",
"retry_params_name": "default"
}

@@ -60,0 +65,0 @@ }

263

build/src/v2/logging_service_v2_client.d.ts
/// <reference types="node" />
import * as gax from 'google-gax';
import { Callback, Descriptors, ClientOptions, PaginationCallback } from 'google-gax';
import { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback } from 'google-gax';
import { Transform } from 'stream';

@@ -55,5 +55,5 @@ import * as protos from '../../protos/protos';

* API remote host.
* @param {gax.ClientConfig} [options.clientConfig] - client configuration override.
* TODO(@alexander-fenster): link to gax documentation.
* @param {boolean} fallback - Use HTTP fallback mode.
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
* Follows the structure of {@link gapicConfig}.
* @param {boolean} [options.fallback] - Use HTTP fallback mode.
* In fallback mode, a special browser-compatible transport implementation is used

@@ -103,10 +103,31 @@ * instead of gRPC transport. In browser context (if the `window` object is defined)

getProjectId(callback: Callback<string, undefined, undefined>): void;
deleteLog(request: protos.google.logging.v2.IDeleteLogRequest, options?: gax.CallOptions): Promise<[protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteLogRequest | undefined, {} | undefined]>;
deleteLog(request: protos.google.logging.v2.IDeleteLogRequest, options: gax.CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteLogRequest | null | undefined, {} | null | undefined>): void;
deleteLog(request: protos.google.logging.v2.IDeleteLogRequest, options?: CallOptions): Promise<[protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteLogRequest | undefined, {} | undefined]>;
deleteLog(request: protos.google.logging.v2.IDeleteLogRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteLogRequest | null | undefined, {} | null | undefined>): void;
deleteLog(request: protos.google.logging.v2.IDeleteLogRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteLogRequest | null | undefined, {} | null | undefined>): void;
writeLogEntries(request: protos.google.logging.v2.IWriteLogEntriesRequest, options?: gax.CallOptions): Promise<[protos.google.logging.v2.IWriteLogEntriesResponse, protos.google.logging.v2.IWriteLogEntriesRequest | undefined, {} | undefined]>;
writeLogEntries(request: protos.google.logging.v2.IWriteLogEntriesRequest, options: gax.CallOptions, callback: Callback<protos.google.logging.v2.IWriteLogEntriesResponse, protos.google.logging.v2.IWriteLogEntriesRequest | null | undefined, {} | null | undefined>): void;
writeLogEntries(request: protos.google.logging.v2.IWriteLogEntriesRequest, options?: CallOptions): Promise<[protos.google.logging.v2.IWriteLogEntriesResponse, protos.google.logging.v2.IWriteLogEntriesRequest | undefined, {} | undefined]>;
writeLogEntries(request: protos.google.logging.v2.IWriteLogEntriesRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.IWriteLogEntriesResponse, protos.google.logging.v2.IWriteLogEntriesRequest | null | undefined, {} | null | undefined>): void;
writeLogEntries(request: protos.google.logging.v2.IWriteLogEntriesRequest, callback: Callback<protos.google.logging.v2.IWriteLogEntriesResponse, protos.google.logging.v2.IWriteLogEntriesRequest | null | undefined, {} | null | undefined>): void;
listLogEntries(request: protos.google.logging.v2.IListLogEntriesRequest, options?: gax.CallOptions): Promise<[protos.google.logging.v2.ILogEntry[], protos.google.logging.v2.IListLogEntriesRequest | null, protos.google.logging.v2.IListLogEntriesResponse]>;
listLogEntries(request: protos.google.logging.v2.IListLogEntriesRequest, options: gax.CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListLogEntriesRequest, protos.google.logging.v2.IListLogEntriesResponse | null | undefined, protos.google.logging.v2.ILogEntry>): void;
/**
* Streaming read of log entries as they are ingested. Until the stream is
* terminated, it will continue reading logs.
*
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Stream}
* An object stream which is both readable and writable. It accepts objects
* representing [TailLogEntriesRequest]{@link google.logging.v2.TailLogEntriesRequest} for write() method, and
* will emit objects representing [TailLogEntriesResponse]{@link google.logging.v2.TailLogEntriesResponse} on 'data' event asynchronously.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#bi-directional-streaming)
* for more details and examples.
* @example
* const stream = client.tailLogEntries();
* stream.on('data', (response) => { ... });
* stream.on('end', () => { ... });
* stream.write(request);
* stream.end();
*/
tailLogEntries(options?: CallOptions): gax.CancellableStream;
listLogEntries(request: protos.google.logging.v2.IListLogEntriesRequest, options?: CallOptions): Promise<[protos.google.logging.v2.ILogEntry[], protos.google.logging.v2.IListLogEntriesRequest | null, protos.google.logging.v2.IListLogEntriesResponse]>;
listLogEntries(request: protos.google.logging.v2.IListLogEntriesRequest, options: CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListLogEntriesRequest, protos.google.logging.v2.IListLogEntriesResponse | null | undefined, protos.google.logging.v2.ILogEntry>): void;
listLogEntries(request: protos.google.logging.v2.IListLogEntriesRequest, callback: PaginationCallback<protos.google.logging.v2.IListLogEntriesRequest, protos.google.logging.v2.IListLogEntriesResponse | null | undefined, protos.google.logging.v2.ILogEntry>): void;

@@ -126,2 +147,7 @@ /**

*
* May alternatively be one or more views
* projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
* organization/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
* billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
* folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
*

@@ -166,3 +192,3 @@ * Projects listed in the `project_ids` field are added to this list.

*/
listLogEntriesStream(request?: protos.google.logging.v2.IListLogEntriesRequest, options?: gax.CallOptions): Transform;
listLogEntriesStream(request?: protos.google.logging.v2.IListLogEntriesRequest, options?: CallOptions): Transform;
/**

@@ -183,2 +209,7 @@ * Equivalent to `listLogEntries`, but returns an iterable object.

*
* May alternatively be one or more views
* projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
* organization/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
* billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
* folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
*

@@ -227,5 +258,5 @@ * Projects listed in the `project_ids` field are added to this list.

*/
listLogEntriesAsync(request?: protos.google.logging.v2.IListLogEntriesRequest, options?: gax.CallOptions): AsyncIterable<protos.google.logging.v2.ILogEntry>;
listMonitoredResourceDescriptors(request: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, options?: gax.CallOptions): Promise<[protos.google.api.IMonitoredResourceDescriptor[], protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest | null, protos.google.logging.v2.IListMonitoredResourceDescriptorsResponse]>;
listMonitoredResourceDescriptors(request: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, options: gax.CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, protos.google.logging.v2.IListMonitoredResourceDescriptorsResponse | null | undefined, protos.google.api.IMonitoredResourceDescriptor>): void;
listLogEntriesAsync(request?: protos.google.logging.v2.IListLogEntriesRequest, options?: CallOptions): AsyncIterable<protos.google.logging.v2.ILogEntry>;
listMonitoredResourceDescriptors(request: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, options?: CallOptions): Promise<[protos.google.api.IMonitoredResourceDescriptor[], protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest | null, protos.google.logging.v2.IListMonitoredResourceDescriptorsResponse]>;
listMonitoredResourceDescriptors(request: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, options: CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, protos.google.logging.v2.IListMonitoredResourceDescriptorsResponse | null | undefined, protos.google.api.IMonitoredResourceDescriptor>): void;
listMonitoredResourceDescriptors(request: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, callback: PaginationCallback<protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, protos.google.logging.v2.IListMonitoredResourceDescriptorsResponse | null | undefined, protos.google.api.IMonitoredResourceDescriptor>): void;

@@ -257,3 +288,3 @@ /**

*/
listMonitoredResourceDescriptorsStream(request?: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, options?: gax.CallOptions): Transform;
listMonitoredResourceDescriptorsStream(request?: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, options?: CallOptions): Transform;
/**

@@ -290,5 +321,5 @@ * Equivalent to `listMonitoredResourceDescriptors`, but returns an iterable object.

*/
listMonitoredResourceDescriptorsAsync(request?: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.api.IMonitoredResourceDescriptor>;
listLogs(request: protos.google.logging.v2.IListLogsRequest, options?: gax.CallOptions): Promise<[string[], protos.google.logging.v2.IListLogsRequest | null, protos.google.logging.v2.IListLogsResponse]>;
listLogs(request: protos.google.logging.v2.IListLogsRequest, options: gax.CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListLogsRequest, protos.google.logging.v2.IListLogsResponse | null | undefined, string>): void;
listMonitoredResourceDescriptorsAsync(request?: protos.google.logging.v2.IListMonitoredResourceDescriptorsRequest, options?: CallOptions): AsyncIterable<protos.google.api.IMonitoredResourceDescriptor>;
listLogs(request: protos.google.logging.v2.IListLogsRequest, options?: CallOptions): Promise<[string[], protos.google.logging.v2.IListLogsRequest | null, protos.google.logging.v2.IListLogsResponse]>;
listLogs(request: protos.google.logging.v2.IListLogsRequest, options: CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListLogsRequest, protos.google.logging.v2.IListLogsResponse | null | undefined, string>): void;
listLogs(request: protos.google.logging.v2.IListLogsRequest, callback: PaginationCallback<protos.google.logging.v2.IListLogsRequest, protos.google.logging.v2.IListLogsResponse | null | undefined, string>): void;

@@ -315,2 +346,14 @@ /**

* parameters should be identical to those in the previous call.
* @param {string[]} [request.resourceNames]
* Optional. The resource name that owns the logs:
* projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
* organization/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
* billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
* folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
*
* To support legacy queries, it could also be:
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
* @param {object} [options]

@@ -328,3 +371,3 @@ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.

*/
listLogsStream(request?: protos.google.logging.v2.IListLogsRequest, options?: gax.CallOptions): Transform;
listLogsStream(request?: protos.google.logging.v2.IListLogsRequest, options?: CallOptions): Transform;
/**

@@ -352,2 +395,14 @@ * Equivalent to `listLogs`, but returns an iterable object.

* parameters should be identical to those in the previous call.
* @param {string[]} [request.resourceNames]
* Optional. The resource name that owns the logs:
* projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
* organization/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
* billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
* folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
*
* To support legacy queries, it could also be:
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
* @param {object} [options]

@@ -369,3 +424,3 @@ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.

*/
listLogsAsync(request?: protos.google.logging.v2.IListLogsRequest, options?: gax.CallOptions): AsyncIterable<string>;
listLogsAsync(request?: protos.google.logging.v2.IListLogsRequest, options?: CallOptions): AsyncIterable<string>;
/**

@@ -444,2 +499,44 @@ * Return a fully-qualified billingAccountCmekSettings resource name string.

/**
* Return a fully-qualified billingAccountLocationBucketView resource name string.
*
* @param {string} billing_account
* @param {string} location
* @param {string} bucket
* @param {string} view
* @returns {string} Resource name string.
*/
billingAccountLocationBucketViewPath(billingAccount: string, location: string, bucket: string, view: string): string;
/**
* Parse the billing_account from BillingAccountLocationBucketView resource.
*
* @param {string} billingAccountLocationBucketViewName
* A fully-qualified path representing billing_account_location_bucket_view resource.
* @returns {string} A string representing the billing_account.
*/
matchBillingAccountFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
/**
* Parse the location from BillingAccountLocationBucketView resource.
*
* @param {string} billingAccountLocationBucketViewName
* A fully-qualified path representing billing_account_location_bucket_view resource.
* @returns {string} A string representing the location.
*/
matchLocationFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
/**
* Parse the bucket from BillingAccountLocationBucketView resource.
*
* @param {string} billingAccountLocationBucketViewName
* A fully-qualified path representing billing_account_location_bucket_view resource.
* @returns {string} A string representing the bucket.
*/
matchBucketFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
/**
* Parse the view from BillingAccountLocationBucketView resource.
*
* @param {string} billingAccountLocationBucketViewName
* A fully-qualified path representing billing_account_location_bucket_view resource.
* @returns {string} A string representing the view.
*/
matchViewFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
/**
* Return a fully-qualified billingAccountLog resource name string.

@@ -565,2 +662,44 @@ *

/**
* Return a fully-qualified folderLocationBucketView resource name string.
*
* @param {string} folder
* @param {string} location
* @param {string} bucket
* @param {string} view
* @returns {string} Resource name string.
*/
folderLocationBucketViewPath(folder: string, location: string, bucket: string, view: string): string;
/**
* Parse the folder from FolderLocationBucketView resource.
*
* @param {string} folderLocationBucketViewName
* A fully-qualified path representing folder_location_bucket_view resource.
* @returns {string} A string representing the folder.
*/
matchFolderFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
/**
* Parse the location from FolderLocationBucketView resource.
*
* @param {string} folderLocationBucketViewName
* A fully-qualified path representing folder_location_bucket_view resource.
* @returns {string} A string representing the location.
*/
matchLocationFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
/**
* Parse the bucket from FolderLocationBucketView resource.
*
* @param {string} folderLocationBucketViewName
* A fully-qualified path representing folder_location_bucket_view resource.
* @returns {string} A string representing the bucket.
*/
matchBucketFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
/**
* Parse the view from FolderLocationBucketView resource.
*
* @param {string} folderLocationBucketViewName
* A fully-qualified path representing folder_location_bucket_view resource.
* @returns {string} A string representing the view.
*/
matchViewFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
/**
* Return a fully-qualified folderLog resource name string.

@@ -710,2 +849,44 @@ *

/**
* Return a fully-qualified organizationLocationBucketView resource name string.
*
* @param {string} organization
* @param {string} location
* @param {string} bucket
* @param {string} view
* @returns {string} Resource name string.
*/
organizationLocationBucketViewPath(organization: string, location: string, bucket: string, view: string): string;
/**
* Parse the organization from OrganizationLocationBucketView resource.
*
* @param {string} organizationLocationBucketViewName
* A fully-qualified path representing organization_location_bucket_view resource.
* @returns {string} A string representing the organization.
*/
matchOrganizationFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
/**
* Parse the location from OrganizationLocationBucketView resource.
*
* @param {string} organizationLocationBucketViewName
* A fully-qualified path representing organization_location_bucket_view resource.
* @returns {string} A string representing the location.
*/
matchLocationFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
/**
* Parse the bucket from OrganizationLocationBucketView resource.
*
* @param {string} organizationLocationBucketViewName
* A fully-qualified path representing organization_location_bucket_view resource.
* @returns {string} A string representing the bucket.
*/
matchBucketFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
/**
* Parse the view from OrganizationLocationBucketView resource.
*
* @param {string} organizationLocationBucketViewName
* A fully-qualified path representing organization_location_bucket_view resource.
* @returns {string} A string representing the view.
*/
matchViewFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
/**
* Return a fully-qualified organizationLog resource name string.

@@ -846,2 +1027,44 @@ *

/**
* Return a fully-qualified projectLocationBucketView resource name string.
*
* @param {string} project
* @param {string} location
* @param {string} bucket
* @param {string} view
* @returns {string} Resource name string.
*/
projectLocationBucketViewPath(project: string, location: string, bucket: string, view: string): string;
/**
* Parse the project from ProjectLocationBucketView resource.
*
* @param {string} projectLocationBucketViewName
* A fully-qualified path representing project_location_bucket_view resource.
* @returns {string} A string representing the project.
*/
matchProjectFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
/**
* Parse the location from ProjectLocationBucketView resource.
*
* @param {string} projectLocationBucketViewName
* A fully-qualified path representing project_location_bucket_view resource.
* @returns {string} A string representing the location.
*/
matchLocationFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
/**
* Parse the bucket from ProjectLocationBucketView resource.
*
* @param {string} projectLocationBucketViewName
* A fully-qualified path representing project_location_bucket_view resource.
* @returns {string} A string representing the bucket.
*/
matchBucketFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
/**
* Parse the view from ProjectLocationBucketView resource.
*
* @param {string} projectLocationBucketViewName
* A fully-qualified path representing project_location_bucket_view resource.
* @returns {string} A string representing the view.
*/
matchViewFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
/**
* Return a fully-qualified projectLog resource name string.

@@ -848,0 +1071,0 @@ *

/// <reference types="node" />
import * as gax from 'google-gax';
import { Callback, Descriptors, ClientOptions, PaginationCallback } from 'google-gax';
import { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback } from 'google-gax';
import { Transform } from 'stream';

@@ -55,5 +55,5 @@ import * as protos from '../../protos/protos';

* API remote host.
* @param {gax.ClientConfig} [options.clientConfig] - client configuration override.
* TODO(@alexander-fenster): link to gax documentation.
* @param {boolean} fallback - Use HTTP fallback mode.
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
* Follows the structure of {@link gapicConfig}.
* @param {boolean} [options.fallback] - Use HTTP fallback mode.
* In fallback mode, a special browser-compatible transport implementation is used

@@ -103,16 +103,16 @@ * instead of gRPC transport. In browser context (if the `window` object is defined)

getProjectId(callback: Callback<string, undefined, undefined>): void;
getLogMetric(request: protos.google.logging.v2.IGetLogMetricRequest, options?: gax.CallOptions): Promise<[protos.google.logging.v2.ILogMetric, protos.google.logging.v2.IGetLogMetricRequest | undefined, {} | undefined]>;
getLogMetric(request: protos.google.logging.v2.IGetLogMetricRequest, options: gax.CallOptions, callback: Callback<protos.google.logging.v2.ILogMetric, protos.google.logging.v2.IGetLogMetricRequest | null | undefined, {} | null | undefined>): void;
getLogMetric(request: protos.google.logging.v2.IGetLogMetricRequest, options?: CallOptions): Promise<[protos.google.logging.v2.ILogMetric, protos.google.logging.v2.IGetLogMetricRequest | undefined, {} | undefined]>;
getLogMetric(request: protos.google.logging.v2.IGetLogMetricRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogMetric, protos.google.logging.v2.IGetLogMetricRequest | null | undefined, {} | null | undefined>): void;
getLogMetric(request: protos.google.logging.v2.IGetLogMetricRequest, callback: Callback<protos.google.logging.v2.ILogMetric, protos.google.logging.v2.IGetLogMetricRequest | null | undefined, {} | null | undefined>): void;
createLogMetric(request: protos.google.logging.v2.ICreateLogMetricRequest, options?: gax.CallOptions): Promise<[protos.google.logging.v2.ILogMetric, protos.google.logging.v2.ICreateLogMetricRequest | undefined, {} | undefined]>;
createLogMetric(request: protos.google.logging.v2.ICreateLogMetricRequest, options: gax.CallOptions, callback: Callback<protos.google.logging.v2.ILogMetric, protos.google.logging.v2.ICreateLogMetricRequest | null | undefined, {} | null | undefined>): void;
createLogMetric(request: protos.google.logging.v2.ICreateLogMetricRequest, options?: CallOptions): Promise<[protos.google.logging.v2.ILogMetric, protos.google.logging.v2.ICreateLogMetricRequest | undefined, {} | undefined]>;
createLogMetric(request: protos.google.logging.v2.ICreateLogMetricRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogMetric, protos.google.logging.v2.ICreateLogMetricRequest | null | undefined, {} | null | undefined>): void;
createLogMetric(request: protos.google.logging.v2.ICreateLogMetricRequest, callback: Callback<protos.google.logging.v2.ILogMetric, protos.google.logging.v2.ICreateLogMetricRequest | null | undefined, {} | null | undefined>): void;
updateLogMetric(request: protos.google.logging.v2.IUpdateLogMetricRequest, options?: gax.CallOptions): Promise<[protos.google.logging.v2.ILogMetric, protos.google.logging.v2.IUpdateLogMetricRequest | undefined, {} | undefined]>;
updateLogMetric(request: protos.google.logging.v2.IUpdateLogMetricRequest, options: gax.CallOptions, callback: Callback<protos.google.logging.v2.ILogMetric, protos.google.logging.v2.IUpdateLogMetricRequest | null | undefined, {} | null | undefined>): void;
updateLogMetric(request: protos.google.logging.v2.IUpdateLogMetricRequest, options?: CallOptions): Promise<[protos.google.logging.v2.ILogMetric, protos.google.logging.v2.IUpdateLogMetricRequest | undefined, {} | undefined]>;
updateLogMetric(request: protos.google.logging.v2.IUpdateLogMetricRequest, options: CallOptions, callback: Callback<protos.google.logging.v2.ILogMetric, protos.google.logging.v2.IUpdateLogMetricRequest | null | undefined, {} | null | undefined>): void;
updateLogMetric(request: protos.google.logging.v2.IUpdateLogMetricRequest, callback: Callback<protos.google.logging.v2.ILogMetric, protos.google.logging.v2.IUpdateLogMetricRequest | null | undefined, {} | null | undefined>): void;
deleteLogMetric(request: protos.google.logging.v2.IDeleteLogMetricRequest, options?: gax.CallOptions): Promise<[protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteLogMetricRequest | undefined, {} | undefined]>;
deleteLogMetric(request: protos.google.logging.v2.IDeleteLogMetricRequest, options: gax.CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteLogMetricRequest | null | undefined, {} | null | undefined>): void;
deleteLogMetric(request: protos.google.logging.v2.IDeleteLogMetricRequest, options?: CallOptions): Promise<[protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteLogMetricRequest | undefined, {} | undefined]>;
deleteLogMetric(request: protos.google.logging.v2.IDeleteLogMetricRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteLogMetricRequest | null | undefined, {} | null | undefined>): void;
deleteLogMetric(request: protos.google.logging.v2.IDeleteLogMetricRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.logging.v2.IDeleteLogMetricRequest | null | undefined, {} | null | undefined>): void;
listLogMetrics(request: protos.google.logging.v2.IListLogMetricsRequest, options?: gax.CallOptions): Promise<[protos.google.logging.v2.ILogMetric[], protos.google.logging.v2.IListLogMetricsRequest | null, protos.google.logging.v2.IListLogMetricsResponse]>;
listLogMetrics(request: protos.google.logging.v2.IListLogMetricsRequest, options: gax.CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListLogMetricsRequest, protos.google.logging.v2.IListLogMetricsResponse | null | undefined, protos.google.logging.v2.ILogMetric>): void;
listLogMetrics(request: protos.google.logging.v2.IListLogMetricsRequest, options?: CallOptions): Promise<[protos.google.logging.v2.ILogMetric[], protos.google.logging.v2.IListLogMetricsRequest | null, protos.google.logging.v2.IListLogMetricsResponse]>;
listLogMetrics(request: protos.google.logging.v2.IListLogMetricsRequest, options: CallOptions, callback: PaginationCallback<protos.google.logging.v2.IListLogMetricsRequest, protos.google.logging.v2.IListLogMetricsResponse | null | undefined, protos.google.logging.v2.ILogMetric>): void;
listLogMetrics(request: protos.google.logging.v2.IListLogMetricsRequest, callback: PaginationCallback<protos.google.logging.v2.IListLogMetricsRequest, protos.google.logging.v2.IListLogMetricsResponse | null | undefined, protos.google.logging.v2.ILogMetric>): void;

@@ -148,3 +148,3 @@ /**

*/
listLogMetricsStream(request?: protos.google.logging.v2.IListLogMetricsRequest, options?: gax.CallOptions): Transform;
listLogMetricsStream(request?: protos.google.logging.v2.IListLogMetricsRequest, options?: CallOptions): Transform;
/**

@@ -185,3 +185,3 @@ * Equivalent to `listLogMetrics`, but returns an iterable object.

*/
listLogMetricsAsync(request?: protos.google.logging.v2.IListLogMetricsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.logging.v2.ILogMetric>;
listLogMetricsAsync(request?: protos.google.logging.v2.IListLogMetricsRequest, options?: CallOptions): AsyncIterable<protos.google.logging.v2.ILogMetric>;
/**

@@ -260,2 +260,44 @@ * Return a fully-qualified billingAccountCmekSettings resource name string.

/**
* Return a fully-qualified billingAccountLocationBucketView resource name string.
*
* @param {string} billing_account
* @param {string} location
* @param {string} bucket
* @param {string} view
* @returns {string} Resource name string.
*/
billingAccountLocationBucketViewPath(billingAccount: string, location: string, bucket: string, view: string): string;
/**
* Parse the billing_account from BillingAccountLocationBucketView resource.
*
* @param {string} billingAccountLocationBucketViewName
* A fully-qualified path representing billing_account_location_bucket_view resource.
* @returns {string} A string representing the billing_account.
*/
matchBillingAccountFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
/**
* Parse the location from BillingAccountLocationBucketView resource.
*
* @param {string} billingAccountLocationBucketViewName
* A fully-qualified path representing billing_account_location_bucket_view resource.
* @returns {string} A string representing the location.
*/
matchLocationFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
/**
* Parse the bucket from BillingAccountLocationBucketView resource.
*
* @param {string} billingAccountLocationBucketViewName
* A fully-qualified path representing billing_account_location_bucket_view resource.
* @returns {string} A string representing the bucket.
*/
matchBucketFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
/**
* Parse the view from BillingAccountLocationBucketView resource.
*
* @param {string} billingAccountLocationBucketViewName
* A fully-qualified path representing billing_account_location_bucket_view resource.
* @returns {string} A string representing the view.
*/
matchViewFromBillingAccountLocationBucketViewName(billingAccountLocationBucketViewName: string): string | number;
/**
* Return a fully-qualified billingAccountLog resource name string.

@@ -381,2 +423,44 @@ *

/**
* Return a fully-qualified folderLocationBucketView resource name string.
*
* @param {string} folder
* @param {string} location
* @param {string} bucket
* @param {string} view
* @returns {string} Resource name string.
*/
folderLocationBucketViewPath(folder: string, location: string, bucket: string, view: string): string;
/**
* Parse the folder from FolderLocationBucketView resource.
*
* @param {string} folderLocationBucketViewName
* A fully-qualified path representing folder_location_bucket_view resource.
* @returns {string} A string representing the folder.
*/
matchFolderFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
/**
* Parse the location from FolderLocationBucketView resource.
*
* @param {string} folderLocationBucketViewName
* A fully-qualified path representing folder_location_bucket_view resource.
* @returns {string} A string representing the location.
*/
matchLocationFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
/**
* Parse the bucket from FolderLocationBucketView resource.
*
* @param {string} folderLocationBucketViewName
* A fully-qualified path representing folder_location_bucket_view resource.
* @returns {string} A string representing the bucket.
*/
matchBucketFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
/**
* Parse the view from FolderLocationBucketView resource.
*
* @param {string} folderLocationBucketViewName
* A fully-qualified path representing folder_location_bucket_view resource.
* @returns {string} A string representing the view.
*/
matchViewFromFolderLocationBucketViewName(folderLocationBucketViewName: string): string | number;
/**
* Return a fully-qualified folderLog resource name string.

@@ -526,2 +610,44 @@ *

/**
* Return a fully-qualified organizationLocationBucketView resource name string.
*
* @param {string} organization
* @param {string} location
* @param {string} bucket
* @param {string} view
* @returns {string} Resource name string.
*/
organizationLocationBucketViewPath(organization: string, location: string, bucket: string, view: string): string;
/**
* Parse the organization from OrganizationLocationBucketView resource.
*
* @param {string} organizationLocationBucketViewName
* A fully-qualified path representing organization_location_bucket_view resource.
* @returns {string} A string representing the organization.
*/
matchOrganizationFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
/**
* Parse the location from OrganizationLocationBucketView resource.
*
* @param {string} organizationLocationBucketViewName
* A fully-qualified path representing organization_location_bucket_view resource.
* @returns {string} A string representing the location.
*/
matchLocationFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
/**
* Parse the bucket from OrganizationLocationBucketView resource.
*
* @param {string} organizationLocationBucketViewName
* A fully-qualified path representing organization_location_bucket_view resource.
* @returns {string} A string representing the bucket.
*/
matchBucketFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
/**
* Parse the view from OrganizationLocationBucketView resource.
*
* @param {string} organizationLocationBucketViewName
* A fully-qualified path representing organization_location_bucket_view resource.
* @returns {string} A string representing the view.
*/
matchViewFromOrganizationLocationBucketViewName(organizationLocationBucketViewName: string): string | number;
/**
* Return a fully-qualified organizationLog resource name string.

@@ -662,2 +788,44 @@ *

/**
* Return a fully-qualified projectLocationBucketView resource name string.
*
* @param {string} project
* @param {string} location
* @param {string} bucket
* @param {string} view
* @returns {string} Resource name string.
*/
projectLocationBucketViewPath(project: string, location: string, bucket: string, view: string): string;
/**
* Parse the project from ProjectLocationBucketView resource.
*
* @param {string} projectLocationBucketViewName
* A fully-qualified path representing project_location_bucket_view resource.
* @returns {string} A string representing the project.
*/
matchProjectFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
/**
* Parse the location from ProjectLocationBucketView resource.
*
* @param {string} projectLocationBucketViewName
* A fully-qualified path representing project_location_bucket_view resource.
* @returns {string} A string representing the location.
*/
matchLocationFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
/**
* Parse the bucket from ProjectLocationBucketView resource.
*
* @param {string} projectLocationBucketViewName
* A fully-qualified path representing project_location_bucket_view resource.
* @returns {string} A string representing the bucket.
*/
matchBucketFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
/**
* Parse the view from ProjectLocationBucketView resource.
*
* @param {string} projectLocationBucketViewName
* A fully-qualified path representing project_location_bucket_view resource.
* @returns {string} A string representing the view.
*/
matchViewFromProjectLocationBucketViewName(projectLocationBucketViewName: string): string | number;
/**
* Return a fully-qualified projectLog resource name string.

@@ -664,0 +832,0 @@ *

@@ -7,2 +7,15 @@ # Changelog

## [8.2.0](https://www.github.com/googleapis/nodejs-logging/compare/v8.1.1...v8.2.0) (2020-11-30)
### Features
* add the Tailing API to get a live stream of the tail end of filtered logs ([#958](https://www.github.com/googleapis/nodejs-logging/issues/958)) ([c7b2801](https://www.github.com/googleapis/nodejs-logging/commit/c7b280105d79c69ea01a3e490a712c940a851a32))
* Makes remaining LogBucket and LogViews methods public ([c9a69da](https://www.github.com/googleapis/nodejs-logging/commit/c9a69da3cf4ec3e87f30afc22344191a3e43e26a))
### Bug Fixes
* **deps:** update dependency type-fest to ^0.20.0 ([#956](https://www.github.com/googleapis/nodejs-logging/issues/956)) ([ed9dcf8](https://www.github.com/googleapis/nodejs-logging/commit/ed9dcf8785a5abe72cbe407c38dbb900ffa80bc1))
### [8.1.1](https://www.github.com/googleapis/nodejs-logging/compare/v8.1.0...v8.1.1) (2020-11-16)

@@ -9,0 +22,0 @@

6

package.json
{
"name": "@google-cloud/logging",
"version": "8.1.1",
"version": "8.2.0",
"description": "Stackdriver Logging Client Library for Node.js",

@@ -38,3 +38,3 @@ "keywords": [

"lint": "gts check",
"prepare": "npm run compile",
"prepare": "npm run compile-protos && npm run compile",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",

@@ -68,3 +68,3 @@ "presystem-test": "npm run compile",

"through2": "^4.0.0",
"type-fest": "^0.19.0"
"type-fest": "^0.20.0"
},

@@ -71,0 +71,0 @@ "devDependencies": {

@@ -140,3 +140,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

Client libraries targetting some end-of-life versions of Node.js are available, and
Client libraries targeting some end-of-life versions of Node.js are available, and
can be installed via npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).

@@ -143,0 +143,0 @@ The dist-tags follow the naming convention `legacy-(version)`.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc