@maxim_mazurok/gapi.client.logging-v2 0.0.20240301 → 0.0.20240312
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +15 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://logging.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240312
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -495,10 +495,14 @@ declare namespace gapi.client {
|
|
|
495
495
|
filter?: string;
|
|
496
496
|
/** Optional. This field applies only to sinks owned by organizations and folders. If the field is false, the default, only the logs owned by the sink's parent resource are available for export. If the field is true, then log entries from all the projects, folders, and billing accounts contained in the sink's parent resource are also available for export. Whether a particular log entry from the children is exported depends on the sink's filter expression.For example, if this field is true, then the filter resource.type=gce_instance would export all Compute Engine VM instance log entries from all projects in the sink's parent.To only export entries from certain child projects, filter on the project part of the log name:logName:("projects/test-project1/" OR "projects/test-project2/") AND resource.type=gce_instance */
|
|
497
497
|
includeChildren?: boolean;
|
|
498
|
+
/** Optional. This field applies only to sinks owned by organizations and folders.When the value of 'intercept_children' is true, the following restrictions apply: The sink must have the include_children flag set to true. The sink destination must be a Cloud project.Also, the following behaviors apply: Any logs matched by the sink won't be included by non-_Required sinks owned by child resources. The sink appears in the results of a ListSinks call from a child resource if the value of the filter field in its request is either 'in_scope("ALL")' or 'in_scope("ANCESTOR")'. */
|
|
499
|
+
interceptChildren?: boolean;
|
|
498
500
|
/** Output only. The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub".Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric. */
|
|
499
501
|
name?: string;
|
|
500
502
|
/** Deprecated. This field is unused. */
|
|
501
503
|
outputVersionFormat?: string;
|
|
504
|
+
/** Output only. The resource name of the sink. "projects/[PROJECT_ID]/sinks/[SINK_NAME] "organizations/[ORGANIZATION_ID]/sinks/[SINK_NAME] "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_NAME] "folders/[FOLDER_ID]/sinks/[SINK_NAME] For example: projects/my_project/sinks/SINK_NAME */
|
|
505
|
+
resourceName?: string;
|
|
502
506
|
/** Output only. The last update timestamp of the sink.This field may not be present for older sinks. */
|
|
503
507
|
updateTime?: string;
|
|
504
508
|
/** Output only. An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Granting Access for a Resource (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required. */
|
|
@@ -2316,6 +2320,8 @@ declare namespace gapi.client {
|
|
|
2316
2320
|
callback?: string;
|
|
2317
2321
|
/** Selector specifying which fields to include in a partial response. */
|
|
2318
2322
|
fields?: string;
|
|
2323
|
+
/** Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope("ALL")', 'in_scope("ANCESTOR")', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope("DEFAULT")' is applied. */
|
|
2324
|
+
filter?: string;
|
|
2319
2325
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2320
2326
|
key?: string;
|
|
2321
2327
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4495,6 +4501,8 @@ declare namespace gapi.client {
|
|
|
4495
4501
|
callback?: string;
|
|
4496
4502
|
/** Selector specifying which fields to include in a partial response. */
|
|
4497
4503
|
fields?: string;
|
|
4504
|
+
/** Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope("ALL")', 'in_scope("ANCESTOR")', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope("DEFAULT")' is applied. */
|
|
4505
|
+
filter?: string;
|
|
4498
4506
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4499
4507
|
key?: string;
|
|
4500
4508
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7343,6 +7351,8 @@ declare namespace gapi.client {
|
|
|
7343
7351
|
callback?: string;
|
|
7344
7352
|
/** Selector specifying which fields to include in a partial response. */
|
|
7345
7353
|
fields?: string;
|
|
7354
|
+
/** Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope("ALL")', 'in_scope("ANCESTOR")', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope("DEFAULT")' is applied. */
|
|
7355
|
+
filter?: string;
|
|
7346
7356
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7347
7357
|
key?: string;
|
|
7348
7358
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -9424,6 +9434,8 @@ declare namespace gapi.client {
|
|
|
9424
9434
|
callback?: string;
|
|
9425
9435
|
/** Selector specifying which fields to include in a partial response. */
|
|
9426
9436
|
fields?: string;
|
|
9437
|
+
/** Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope("ALL")', 'in_scope("ANCESTOR")', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope("DEFAULT")' is applied. */
|
|
9438
|
+
filter?: string;
|
|
9427
9439
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9428
9440
|
key?: string;
|
|
9429
9441
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -9778,6 +9790,8 @@ declare namespace gapi.client {
|
|
|
9778
9790
|
callback?: string;
|
|
9779
9791
|
/** Selector specifying which fields to include in a partial response. */
|
|
9780
9792
|
fields?: string;
|
|
9793
|
+
/** Optional. A filter expression to constrain the sinks returned. Today, this only supports the following strings: '' 'in_scope("ALL")', 'in_scope("ANCESTOR")', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope("DEFAULT")' is applied. */
|
|
9794
|
+
filter?: string;
|
|
9781
9795
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9782
9796
|
key?: string;
|
|
9783
9797
|
/** OAuth 2.0 token for the current user. */
|