@maxim_mazurok/gapi.client.logging-v2 0.0.20231130 → 0.0.20231210
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 +33 -33
- package/package.json +1 -1
- package/readme.md +6 -6
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: 20231210
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -112,7 +112,7 @@ declare namespace gapi.client {
|
|
|
112
112
|
interface DefaultSinkConfig {
|
|
113
113
|
/** Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. */
|
|
114
114
|
exclusions?: LogExclusion[];
|
|
115
|
-
/** Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=
|
|
115
|
+
/** Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries). The only exported log entries are those that are in the resource owning the sink and that match the filter.For example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERRORTo match all logs, don't add exclusions and use the following line as the value of filter:logName:*Cannot be empty or unset when the value of mode is OVERWRITE. */
|
|
116
116
|
filter?: string;
|
|
117
117
|
/** Required. Determines the behavior to apply to the built-in _Default sink inclusion filter.Exclusions are always appended, as built-in _Default sinks have no exclusions. */
|
|
118
118
|
mode?: string;
|
|
@@ -409,7 +409,7 @@ declare namespace gapi.client {
|
|
|
409
409
|
line?: string;
|
|
410
410
|
}
|
|
411
411
|
interface LogErrorGroup {
|
|
412
|
-
/** The id is a unique identifier for a particular error group; it is the last part of the error group resource name: /
|
|
412
|
+
/** The id is a unique identifier for a particular error group; it is the last part of the error group resource name: /project/[PROJECT_ID]/errors/[ERROR_GROUP_ID]. Example: COShysOX0r_51QE. The id is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-notice). */
|
|
413
413
|
id?: string;
|
|
414
414
|
}
|
|
415
415
|
interface LogExclusion {
|
|
@@ -489,7 +489,7 @@ declare namespace gapi.client {
|
|
|
489
489
|
filter?: string;
|
|
490
490
|
/** 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 */
|
|
491
491
|
includeChildren?: boolean;
|
|
492
|
-
/** Required. The client-assigned sink identifier, unique within the project.For example: "my-syslog-errors-to-pubsub".
|
|
492
|
+
/** Required. 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. */
|
|
493
493
|
name?: string;
|
|
494
494
|
/** Deprecated. This field is unused. */
|
|
495
495
|
outputVersionFormat?: string;
|
|
@@ -511,7 +511,7 @@ declare namespace gapi.client {
|
|
|
511
511
|
createTime?: string;
|
|
512
512
|
/** Describes this view. */
|
|
513
513
|
description?: string;
|
|
514
|
-
/** Filter that restricts which log entries in a bucket are visible in this view.Filters
|
|
514
|
+
/** Filter that restricts which log entries in a bucket are visible in this view.Filters must be logical conjunctions that use the AND operator, and they can use any of the following qualifiers: SOURCE(), which specifies a project, folder, organization, or billing account of origin. resource.type, which specifies the resource type. LOG_ID(), which identifies the log.They can also use the negations of these qualifiers with the NOT operator.For example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND NOT LOG_ID("stdout") */
|
|
515
515
|
filter?: string;
|
|
516
516
|
/** The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view */
|
|
517
517
|
name?: string;
|
|
@@ -701,7 +701,7 @@ declare namespace gapi.client {
|
|
|
701
701
|
loggingServiceAccountId?: string;
|
|
702
702
|
/** Output only. The resource name of the settings. */
|
|
703
703
|
name?: string;
|
|
704
|
-
/** Optional. The storage location
|
|
704
|
+
/** Optional. The storage location for the _Default and _Required log buckets of newly created projects and folders, unless the storage location is explicitly provided.Example value: europe-west1.Note: this setting does not affect the location of resources where a location is explicitly provided when created, such as custom log buckets. */
|
|
705
705
|
storageLocation?: string;
|
|
706
706
|
}
|
|
707
707
|
interface SourceLocation {
|
|
@@ -1313,7 +1313,7 @@ declare namespace gapi.client {
|
|
|
1313
1313
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1314
1314
|
uploadType?: string;
|
|
1315
1315
|
}): Request<ListViewsResponse>;
|
|
1316
|
-
/** Updates a view on a log bucket. This method replaces the
|
|
1316
|
+
/** Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes. */
|
|
1317
1317
|
patch(request: {
|
|
1318
1318
|
/** V1 error format. */
|
|
1319
1319
|
'$.xgafv'?: string;
|
|
@@ -1948,7 +1948,7 @@ declare namespace gapi.client {
|
|
|
1948
1948
|
prettyPrint?: boolean;
|
|
1949
1949
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1950
1950
|
quotaUser?: string;
|
|
1951
|
-
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens,
|
|
1951
|
+
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is 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. */
|
|
1952
1952
|
savedQueryId?: string;
|
|
1953
1953
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1954
1954
|
upload_protocol?: string;
|
|
@@ -1979,7 +1979,7 @@ declare namespace gapi.client {
|
|
|
1979
1979
|
prettyPrint?: boolean;
|
|
1980
1980
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1981
1981
|
quotaUser?: string;
|
|
1982
|
-
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens,
|
|
1982
|
+
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is 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. */
|
|
1983
1983
|
savedQueryId?: string;
|
|
1984
1984
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1985
1985
|
upload_protocol?: string;
|
|
@@ -2327,7 +2327,7 @@ declare namespace gapi.client {
|
|
|
2327
2327
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2328
2328
|
uploadType?: string;
|
|
2329
2329
|
}): Request<ListSinksResponse>;
|
|
2330
|
-
/** Updates a sink. This method replaces the
|
|
2330
|
+
/** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
|
|
2331
2331
|
patch(request: {
|
|
2332
2332
|
/** V1 error format. */
|
|
2333
2333
|
'$.xgafv'?: string;
|
|
@@ -2397,7 +2397,7 @@ declare namespace gapi.client {
|
|
|
2397
2397
|
},
|
|
2398
2398
|
body: LogSink
|
|
2399
2399
|
): Request<LogSink>;
|
|
2400
|
-
/** Updates a sink. This method replaces the
|
|
2400
|
+
/** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
|
|
2401
2401
|
update(request: {
|
|
2402
2402
|
/** V1 error format. */
|
|
2403
2403
|
'$.xgafv'?: string;
|
|
@@ -3492,7 +3492,7 @@ declare namespace gapi.client {
|
|
|
3492
3492
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3493
3493
|
uploadType?: string;
|
|
3494
3494
|
}): Request<ListViewsResponse>;
|
|
3495
|
-
/** Updates a view on a log bucket. This method replaces the
|
|
3495
|
+
/** Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes. */
|
|
3496
3496
|
patch(request: {
|
|
3497
3497
|
/** V1 error format. */
|
|
3498
3498
|
'$.xgafv'?: string;
|
|
@@ -4127,7 +4127,7 @@ declare namespace gapi.client {
|
|
|
4127
4127
|
prettyPrint?: boolean;
|
|
4128
4128
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4129
4129
|
quotaUser?: string;
|
|
4130
|
-
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens,
|
|
4130
|
+
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is 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. */
|
|
4131
4131
|
savedQueryId?: string;
|
|
4132
4132
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4133
4133
|
upload_protocol?: string;
|
|
@@ -4158,7 +4158,7 @@ declare namespace gapi.client {
|
|
|
4158
4158
|
prettyPrint?: boolean;
|
|
4159
4159
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4160
4160
|
quotaUser?: string;
|
|
4161
|
-
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens,
|
|
4161
|
+
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is 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. */
|
|
4162
4162
|
savedQueryId?: string;
|
|
4163
4163
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4164
4164
|
upload_protocol?: string;
|
|
@@ -4506,7 +4506,7 @@ declare namespace gapi.client {
|
|
|
4506
4506
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4507
4507
|
uploadType?: string;
|
|
4508
4508
|
}): Request<ListSinksResponse>;
|
|
4509
|
-
/** Updates a sink. This method replaces the
|
|
4509
|
+
/** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
|
|
4510
4510
|
patch(request: {
|
|
4511
4511
|
/** V1 error format. */
|
|
4512
4512
|
'$.xgafv'?: string;
|
|
@@ -4576,7 +4576,7 @@ declare namespace gapi.client {
|
|
|
4576
4576
|
},
|
|
4577
4577
|
body: LogSink
|
|
4578
4578
|
): Request<LogSink>;
|
|
4579
|
-
/** Updates a sink. This method replaces the
|
|
4579
|
+
/** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
|
|
4580
4580
|
update(request: {
|
|
4581
4581
|
/** V1 error format. */
|
|
4582
4582
|
'$.xgafv'?: string;
|
|
@@ -4702,7 +4702,7 @@ declare namespace gapi.client {
|
|
|
4702
4702
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4703
4703
|
uploadType?: string;
|
|
4704
4704
|
}): Request<Settings>;
|
|
4705
|
-
/** Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings
|
|
4705
|
+
/** Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information. */
|
|
4706
4706
|
updateSettings(request: {
|
|
4707
4707
|
/** V1 error format. */
|
|
4708
4708
|
'$.xgafv'?: string;
|
|
@@ -5066,7 +5066,7 @@ declare namespace gapi.client {
|
|
|
5066
5066
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5067
5067
|
uploadType?: string;
|
|
5068
5068
|
}): Request<ListViewsResponse>;
|
|
5069
|
-
/** Updates a view on a log bucket. This method replaces the
|
|
5069
|
+
/** Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes. */
|
|
5070
5070
|
patch(request: {
|
|
5071
5071
|
/** V1 error format. */
|
|
5072
5072
|
'$.xgafv'?: string;
|
|
@@ -6340,7 +6340,7 @@ declare namespace gapi.client {
|
|
|
6340
6340
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6341
6341
|
uploadType?: string;
|
|
6342
6342
|
}): Request<ListViewsResponse>;
|
|
6343
|
-
/** Updates a view on a log bucket. This method replaces the
|
|
6343
|
+
/** Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes. */
|
|
6344
6344
|
patch(request: {
|
|
6345
6345
|
/** V1 error format. */
|
|
6346
6346
|
'$.xgafv'?: string;
|
|
@@ -6975,7 +6975,7 @@ declare namespace gapi.client {
|
|
|
6975
6975
|
prettyPrint?: boolean;
|
|
6976
6976
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
6977
6977
|
quotaUser?: string;
|
|
6978
|
-
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens,
|
|
6978
|
+
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is 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. */
|
|
6979
6979
|
savedQueryId?: string;
|
|
6980
6980
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6981
6981
|
upload_protocol?: string;
|
|
@@ -7006,7 +7006,7 @@ declare namespace gapi.client {
|
|
|
7006
7006
|
prettyPrint?: boolean;
|
|
7007
7007
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7008
7008
|
quotaUser?: string;
|
|
7009
|
-
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens,
|
|
7009
|
+
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is 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. */
|
|
7010
7010
|
savedQueryId?: string;
|
|
7011
7011
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7012
7012
|
upload_protocol?: string;
|
|
@@ -7354,7 +7354,7 @@ declare namespace gapi.client {
|
|
|
7354
7354
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7355
7355
|
uploadType?: string;
|
|
7356
7356
|
}): Request<ListSinksResponse>;
|
|
7357
|
-
/** Updates a sink. This method replaces the
|
|
7357
|
+
/** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
|
|
7358
7358
|
patch(request: {
|
|
7359
7359
|
/** V1 error format. */
|
|
7360
7360
|
'$.xgafv'?: string;
|
|
@@ -7424,7 +7424,7 @@ declare namespace gapi.client {
|
|
|
7424
7424
|
},
|
|
7425
7425
|
body: LogSink
|
|
7426
7426
|
): Request<LogSink>;
|
|
7427
|
-
/** Updates a sink. This method replaces the
|
|
7427
|
+
/** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
|
|
7428
7428
|
update(request: {
|
|
7429
7429
|
/** V1 error format. */
|
|
7430
7430
|
'$.xgafv'?: string;
|
|
@@ -7550,7 +7550,7 @@ declare namespace gapi.client {
|
|
|
7550
7550
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7551
7551
|
uploadType?: string;
|
|
7552
7552
|
}): Request<Settings>;
|
|
7553
|
-
/** Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings
|
|
7553
|
+
/** Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
7554
7554
|
updateCmekSettings(request: {
|
|
7555
7555
|
/** V1 error format. */
|
|
7556
7556
|
'$.xgafv'?: string;
|
|
@@ -7612,7 +7612,7 @@ declare namespace gapi.client {
|
|
|
7612
7612
|
},
|
|
7613
7613
|
body: CmekSettings
|
|
7614
7614
|
): Request<CmekSettings>;
|
|
7615
|
-
/** Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings
|
|
7615
|
+
/** Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information. */
|
|
7616
7616
|
updateSettings(request: {
|
|
7617
7617
|
/** V1 error format. */
|
|
7618
7618
|
'$.xgafv'?: string;
|
|
@@ -8218,7 +8218,7 @@ declare namespace gapi.client {
|
|
|
8218
8218
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8219
8219
|
uploadType?: string;
|
|
8220
8220
|
}): Request<ListViewsResponse>;
|
|
8221
|
-
/** Updates a view on a log bucket. This method replaces the
|
|
8221
|
+
/** Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes. */
|
|
8222
8222
|
patch(request: {
|
|
8223
8223
|
/** V1 error format. */
|
|
8224
8224
|
'$.xgafv'?: string;
|
|
@@ -8853,7 +8853,7 @@ declare namespace gapi.client {
|
|
|
8853
8853
|
prettyPrint?: boolean;
|
|
8854
8854
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
8855
8855
|
quotaUser?: string;
|
|
8856
|
-
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens,
|
|
8856
|
+
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is 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. */
|
|
8857
8857
|
savedQueryId?: string;
|
|
8858
8858
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8859
8859
|
upload_protocol?: string;
|
|
@@ -8884,7 +8884,7 @@ declare namespace gapi.client {
|
|
|
8884
8884
|
prettyPrint?: boolean;
|
|
8885
8885
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
8886
8886
|
quotaUser?: string;
|
|
8887
|
-
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens,
|
|
8887
|
+
/** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is 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. */
|
|
8888
8888
|
savedQueryId?: string;
|
|
8889
8889
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8890
8890
|
upload_protocol?: string;
|
|
@@ -9435,7 +9435,7 @@ declare namespace gapi.client {
|
|
|
9435
9435
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9436
9436
|
uploadType?: string;
|
|
9437
9437
|
}): Request<ListSinksResponse>;
|
|
9438
|
-
/** Updates a sink. This method replaces the
|
|
9438
|
+
/** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
|
|
9439
9439
|
patch(request: {
|
|
9440
9440
|
/** V1 error format. */
|
|
9441
9441
|
'$.xgafv'?: string;
|
|
@@ -9505,7 +9505,7 @@ declare namespace gapi.client {
|
|
|
9505
9505
|
},
|
|
9506
9506
|
body: LogSink
|
|
9507
9507
|
): Request<LogSink>;
|
|
9508
|
-
/** Updates a sink. This method replaces the
|
|
9508
|
+
/** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
|
|
9509
9509
|
update(request: {
|
|
9510
9510
|
/** V1 error format. */
|
|
9511
9511
|
'$.xgafv'?: string;
|
|
@@ -9789,7 +9789,7 @@ declare namespace gapi.client {
|
|
|
9789
9789
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9790
9790
|
uploadType?: string;
|
|
9791
9791
|
}): Request<ListSinksResponse>;
|
|
9792
|
-
/** Updates a sink. This method replaces the
|
|
9792
|
+
/** Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
|
|
9793
9793
|
update(request: {
|
|
9794
9794
|
/** V1 error format. */
|
|
9795
9795
|
'$.xgafv'?: string;
|
|
@@ -9915,7 +9915,7 @@ declare namespace gapi.client {
|
|
|
9915
9915
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9916
9916
|
uploadType?: string;
|
|
9917
9917
|
}): Request<Settings>;
|
|
9918
|
-
/** Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings
|
|
9918
|
+
/** Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
9919
9919
|
updateCmekSettings(request: {
|
|
9920
9920
|
/** V1 error format. */
|
|
9921
9921
|
'$.xgafv'?: string;
|
|
@@ -9977,7 +9977,7 @@ declare namespace gapi.client {
|
|
|
9977
9977
|
},
|
|
9978
9978
|
body: CmekSettings
|
|
9979
9979
|
): Request<CmekSettings>;
|
|
9980
|
-
/** Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings
|
|
9980
|
+
/** Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information. */
|
|
9981
9981
|
updateSettings(request: {
|
|
9982
9982
|
/** V1 error format. */
|
|
9983
9983
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -147,7 +147,7 @@ Gets the settings for the given resource.Note: Settings can be retrieved for Goo
|
|
|
147
147
|
await gapi.client.logging.folders.getSettings({name: 'name'});
|
|
148
148
|
|
|
149
149
|
/*
|
|
150
|
-
Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings
|
|
150
|
+
Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
|
|
151
151
|
*/
|
|
152
152
|
await gapi.client.logging.folders.updateSettings({name: 'name'});
|
|
153
153
|
|
|
@@ -187,12 +187,12 @@ Gets the settings for the given resource.Note: Settings can be retrieved for Goo
|
|
|
187
187
|
await gapi.client.logging.organizations.getSettings({name: 'name'});
|
|
188
188
|
|
|
189
189
|
/*
|
|
190
|
-
Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings
|
|
190
|
+
Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
|
|
191
191
|
*/
|
|
192
192
|
await gapi.client.logging.organizations.updateCmekSettings({name: 'name'});
|
|
193
193
|
|
|
194
194
|
/*
|
|
195
|
-
Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings
|
|
195
|
+
Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
|
|
196
196
|
*/
|
|
197
197
|
await gapi.client.logging.organizations.updateSettings({name: 'name'});
|
|
198
198
|
|
|
@@ -227,7 +227,7 @@ Lists sinks.
|
|
|
227
227
|
await gapi.client.logging.sinks.list({parent: 'parent'});
|
|
228
228
|
|
|
229
229
|
/*
|
|
230
|
-
Updates a sink. This method replaces the
|
|
230
|
+
Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
|
|
231
231
|
*/
|
|
232
232
|
await gapi.client.logging.sinks.update({sinkName: 'sinkName'});
|
|
233
233
|
|
|
@@ -242,12 +242,12 @@ Gets the settings for the given resource.Note: Settings can be retrieved for Goo
|
|
|
242
242
|
await gapi.client.logging.getSettings({name: 'name'});
|
|
243
243
|
|
|
244
244
|
/*
|
|
245
|
-
Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings
|
|
245
|
+
Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
|
|
246
246
|
*/
|
|
247
247
|
await gapi.client.logging.updateCmekSettings({name: 'name'});
|
|
248
248
|
|
|
249
249
|
/*
|
|
250
|
-
Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings
|
|
250
|
+
Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
|
|
251
251
|
*/
|
|
252
252
|
await gapi.client.logging.updateSettings({name: 'name'});
|
|
253
253
|
```
|