@maxim_mazurok/gapi.client.logging-v2 0.0.20231130 → 0.0.20240108

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.
Files changed (3) hide show
  1. package/index.d.ts +58 -58
  2. package/package.json +1 -1
  3. 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: 20231130
12
+ // Revision: 20240108
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -41,7 +41,7 @@ declare namespace gapi.client {
41
41
  endTime?: string;
42
42
  /** The create time of an operation. */
43
43
  startTime?: string;
44
- /** State of an operation. */
44
+ /** Output only. State of an operation. */
45
45
  state?: string;
46
46
  /** LongRunningUpdateBucket RPC request. */
47
47
  updateBucketRequest?: UpdateBucketRequest;
@@ -56,9 +56,9 @@ declare namespace gapi.client {
56
56
  }
57
57
  interface CancelOperationRequest {}
58
58
  interface CmekSettings {
59
- /** The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
59
+ /** Optional. The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
60
60
  kmsKeyName?: string;
61
- /** The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion. */
61
+ /** Output only. The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the specific configured CryptoKeyVersion of kms_key that has been configured. It will be populated in cases where the CMEK settings are bound to a single key version.If this field is populated, the kms_key is tied to a specific CryptoKeyVersion. */
62
62
  kmsKeyVersionName?: string;
63
63
  /** Output only. The resource name of the CMEK settings. */
64
64
  name?: string;
@@ -76,7 +76,7 @@ declare namespace gapi.client {
76
76
  request?: CopyLogEntriesRequest;
77
77
  /** The create time of an operation. */
78
78
  startTime?: string;
79
- /** State of an operation. */
79
+ /** Output only. State of an operation. */
80
80
  state?: string;
81
81
  /** The IAM identity of a service account that must be granted access to the destination.If the service account is not granted permission to the destination within an hour, the operation will be cancelled.For example: "serviceAccount:foo@bar.com" */
82
82
  writerIdentity?: string;
@@ -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>=ERRORCannot be empty or unset if mode == OVERWRITE. In order to match all logs, use the following line as the value of filter and do not use exclusions:logName:* */
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;
@@ -191,15 +191,15 @@ declare namespace gapi.client {
191
191
  width?: number;
192
192
  }
193
193
  interface Link {
194
- /** The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. */
194
+ /** Optional. The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. */
195
195
  bigqueryDataset?: BigQueryDataset;
196
196
  /** Output only. The creation timestamp of the link. */
197
197
  createTime?: string;
198
- /** Describes this link.The maximum length of the description is 8000 characters. */
198
+ /** Optional. Describes this link.The maximum length of the description is 8000 characters. */
199
199
  description?: string;
200
200
  /** Output only. The resource lifecycle state. */
201
201
  lifecycleState?: string;
202
- /** The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link */
202
+ /** Output only. The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link */
203
203
  name?: string;
204
204
  }
205
205
  interface LinkMetadata {
@@ -211,7 +211,7 @@ declare namespace gapi.client {
211
211
  endTime?: string;
212
212
  /** The start time of an operation. */
213
213
  startTime?: string;
214
- /** State of an operation. */
214
+ /** Output only. State of an operation. */
215
215
  state?: string;
216
216
  }
217
217
  interface ListBucketsResponse {
@@ -327,25 +327,25 @@ declare namespace gapi.client {
327
327
  logAnalyticsEnabled?: boolean;
328
328
  }
329
329
  interface LogBucket {
330
- /** Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled. */
330
+ /** Optional. Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled. */
331
331
  analyticsEnabled?: boolean;
332
- /** The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed. */
332
+ /** Optional. The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed. */
333
333
  cmekSettings?: CmekSettings;
334
334
  /** Output only. The creation timestamp of the bucket. This is not set for any of the default buckets. */
335
335
  createTime?: string;
336
- /** Describes this bucket. */
336
+ /** Optional. Describes this bucket. */
337
337
  description?: string;
338
- /** A list of indexed fields and related configuration data. */
338
+ /** Optional. A list of indexed fields and related configuration data. */
339
339
  indexConfigs?: IndexConfig[];
340
340
  /** Output only. The bucket lifecycle state. */
341
341
  lifecycleState?: string;
342
- /** Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty. */
342
+ /** Optional. Whether the bucket is locked.The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty. */
343
343
  locked?: boolean;
344
344
  /** Output only. The resource name of the bucket.For example:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed. */
345
345
  name?: string;
346
- /** Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz) */
346
+ /** Optional. Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz) */
347
347
  restrictedFields?: string[];
348
- /** Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used. */
348
+ /** Optional. Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used. */
349
349
  retentionDays?: number;
350
350
  /** Output only. The last update timestamp of the bucket. */
351
351
  updateTime?: 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: /projects//errors/. 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). */
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 {
@@ -421,17 +421,17 @@ declare namespace gapi.client {
421
421
  disabled?: boolean;
422
422
  /** Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99) */
423
423
  filter?: string;
424
- /** Required. A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric. */
424
+ /** Output only. A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric. */
425
425
  name?: string;
426
426
  /** Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions. */
427
427
  updateTime?: string;
428
428
  }
429
429
  interface LoggingQuery {
430
- /** An advanced query using the Logging Query Language (https://cloud.google.com/logging/docs/view/logging-query-language). The maximum length of the filter is 20000 characters. */
430
+ /** Required. An advanced query using the Logging Query Language (https://cloud.google.com/logging/docs/view/logging-query-language). The maximum length of the filter is 20000 characters. */
431
431
  filter?: string;
432
432
  /** Characters will be counted from the end of the string. */
433
433
  summaryFieldEnd?: number;
434
- /** The set of summary fields to display for this saved query. */
434
+ /** Optional. The set of summary fields to display for this saved query. */
435
435
  summaryFields?: SummaryField[];
436
436
  /** Characters will be counted from the start of the string. */
437
437
  summaryFieldStart?: number;
@@ -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". Sink identifiers are limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. First character has to be alphanumeric. */
492
+ /** 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. */
493
493
  name?: string;
494
494
  /** Deprecated. This field is unused. */
495
495
  outputVersionFormat?: string;
@@ -509,11 +509,11 @@ declare namespace gapi.client {
509
509
  interface LogView {
510
510
  /** Output only. The creation timestamp of the view. */
511
511
  createTime?: string;
512
- /** Describes this view. */
512
+ /** Optional. Describes this view. */
513
513
  description?: string;
514
- /** Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout") */
514
+ /** Optional. 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
- /** The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view */
516
+ /** Output only. The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view */
517
517
  name?: string;
518
518
  /** Output only. The last update timestamp of the view. */
519
519
  updateTime?: string;
@@ -567,7 +567,7 @@ declare namespace gapi.client {
567
567
  launchStage?: string;
568
568
  /** Optional. The resource name of the monitored resource descriptor: "projects/{project_id}/monitoredResourceDescriptors/{type}" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format "monitoredResourceDescriptors/{type}". */
569
569
  name?: string;
570
- /** Required. The monitored resource type. For example, the type "cloudsql_database" represents databases in Google Cloud SQL. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list). */
570
+ /** Required. The monitored resource type. For example, the type "cloudsql_database" represents databases in Google Cloud SQL. For a list of types, see Monitored resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list). */
571
571
  type?: string;
572
572
  }
573
573
  interface MonitoredResourceMetadata {
@@ -593,7 +593,7 @@ declare namespace gapi.client {
593
593
  sqlQueryText?: string;
594
594
  }
595
595
  interface RecentQuery {
596
- /** The timestamp when this query was last run. */
596
+ /** Output only. The timestamp when this query was last run. */
597
597
  lastRunTime?: string;
598
598
  /** Logging query that can be executed in Logs Explorer or via Logging API. */
599
599
  loggingQuery?: LoggingQuery;
@@ -675,9 +675,9 @@ declare namespace gapi.client {
675
675
  interface SavedQuery {
676
676
  /** Output only. The timestamp when the saved query was created. */
677
677
  createTime?: string;
678
- /** A human readable description of the saved query. */
678
+ /** Optional. A human readable description of the saved query. */
679
679
  description?: string;
680
- /** The user specified title for the SavedQuery. */
680
+ /** Optional. The user specified title for the SavedQuery. */
681
681
  displayName?: string;
682
682
  /** Logging query that can be executed in Logs Explorer or via Logging API. */
683
683
  loggingQuery?: LoggingQuery;
@@ -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 that Cloud Logging will use to create new resources when a location is needed but not explicitly provided. The use cases includes: The location of _Default and _Required log bucket for newly created projects and folders.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. */
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 {
@@ -727,7 +727,7 @@ declare namespace gapi.client {
727
727
  message?: string;
728
728
  }
729
729
  interface SummaryField {
730
- /** The field from the LogEntry to include in the summary line, for example resource.type or jsonPayload.name. */
730
+ /** Optional. The field from the LogEntry to include in the summary line, for example resource.type or jsonPayload.name. */
731
731
  field?: string;
732
732
  }
733
733
  interface SuppressionInfo {
@@ -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 following fields in the existing view with values from the new view: filter. 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. */
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, and periods. First character has to be alphanumeric. */
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, and periods. First character has to be alphanumeric. */
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 following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
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 following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
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 following fields in the existing view with values from the new view: filter. 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. */
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, and periods. First character has to be alphanumeric. */
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, and periods. First character has to be alphanumeric. */
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 following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
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 following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
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 will fail if 1) kms_key_name is invalid, 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, 3) access to the key is disabled, 4) storage_location is not supported by Logging, 5) storage_location violates the location OrgPolicy, or 6) default_sink_config is set but has an unspecified filter write mode.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information. */
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 following fields in the existing view with values from the new view: filter. 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. */
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 following fields in the existing view with values from the new view: filter. 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. */
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, and periods. First character has to be alphanumeric. */
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, and periods. First character has to be alphanumeric. */
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 following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
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 following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
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 will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
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 will fail if 1) kms_key_name is invalid, 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, 3) access to the key is disabled, 4) storage_location is not supported by Logging, 5) storage_location violates the location OrgPolicy, or 6) default_sink_config is set but has an unspecified filter write mode.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information. */
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 following fields in the existing view with values from the new view: filter. 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. */
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, and periods. First character has to be alphanumeric. */
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, and periods. First character has to be alphanumeric. */
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 following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
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 following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
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 following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field. */
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 will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
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 will fail if 1) kms_key_name is invalid, 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, 3) access to the key is disabled, 4) storage_location is not supported by Logging, 5) storage_location violates the location OrgPolicy, or 6) default_sink_config is set but has an unspecified filter write mode.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information. */
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.logging-v2",
3
- "version": "0.0.20231130",
3
+ "version": "0.0.20240108",
4
4
  "description": "TypeScript typings for Cloud Logging API v2",
5
5
  "repository": {
6
6
  "type": "git",
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 will fail if 1) kms_key_name is invalid, 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, 3) access to the key is disabled, 4) storage_location is not supported by Logging, 5) storage_location violates the location OrgPolicy, or 6) default_sink_config is set but has an unspecified filter write mode.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
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 will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
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 will fail if 1) kms_key_name is invalid, 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, 3) access to the key is disabled, 4) storage_location is not supported by Logging, 5) storage_location violates the location OrgPolicy, or 6) default_sink_config is set but has an unspecified filter write mode.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
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 following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
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 will fail if 1) kms_key_name is invalid, or 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
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 will fail if 1) kms_key_name is invalid, 2) the associated service account does not have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, 3) access to the key is disabled, 4) storage_location is not supported by Logging, 5) storage_location violates the location OrgPolicy, or 6) default_sink_config is set but has an unspecified filter write mode.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
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
  ```