@maxim_mazurok/gapi.client.logging-v2 0.1.20260507 → 0.1.20260610

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 (2) hide show
  1. package/index.d.ts +9 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://logging.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20260507
12
+ // Revision: 20260610
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -863,6 +863,8 @@ declare namespace gapi.client {
863
863
  sqlAggregationFunction?: FunctionApplication;
864
864
  /** The truncation granularity when grouping by a time/date field. This will be used to truncate the field to the granularity specified. This can be either a date or a time granularity found at https://cloud.google.com/bigquery/docs/reference/standard-sql/timestamp_functions#timestamp_trunc_granularity_date and https://cloud.google.com/bigquery/docs/reference/standard-sql/timestamp_functions#timestamp_trunc_granularity_time respectively. */
865
865
  truncationGranularity?: string;
866
+ /** Optional. A virtual field definition, used in place of field to define a field that is computed from other fields rather than being directly present in the data schema.For example, a virtual field can be defined using COALESCE to select the first non-null value from a list of fields.If virtual_field is set, field must not be set. */
867
+ virtualField?: VirtualField;
866
868
  }
867
869
  interface QueryBuilderConfig {
868
870
  /** Defines the items to include in the query result, analogous to a SQL SELECT clause. */
@@ -1071,6 +1073,12 @@ declare namespace gapi.client {
1071
1073
  /** Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=retention_days */
1072
1074
  updateMask?: string;
1073
1075
  }
1076
+ interface VirtualField {
1077
+ /** The field sources that will be used to create the virtual field, based on the semantics of the virtual field type.The field sources must follow these rules, based on the virtual field type: - For VIRTUAL_FIELD_TYPE_UNSPECIFIED, this field must be empty. - For COALESCE, this field must be non-empty and include a minimum of two field sources. The underlying field sources must be actual projected fields that represent actual schema fields and that must not be transformed and aggregated in any way, except for casting. The type of all the underlying field sources must be equivalent so that picking one of them would result in the same value type. */
1078
+ underlyingFieldSources?: FieldSource[];
1079
+ /** Required. The type of the virtual field. */
1080
+ virtualFieldType?: 'VIRTUAL_FIELD_TYPE_UNSPECIFIED' | 'COALESCE';
1081
+ }
1074
1082
  interface WriteLogEntriesRequest {
1075
1083
  /** Optional. If true, the request should expect normal response, but the entries won't be persisted nor exported. Useful for checking whether the logging API endpoints are working properly before sending valuable data. */
1076
1084
  dryRun?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.logging-v2",
3
- "version": "0.1.20260507",
3
+ "version": "0.1.20260610",
4
4
  "description": "TypeScript typings for Cloud Logging API v2",
5
5
  "repository": {
6
6
  "type": "git",