@maxim_mazurok/gapi.client.logging-v2 0.1.20260116 → 0.1.20260130
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 +153 -75
- package/package.json +1 -1
- package/readme.md +16 -16
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: 20260130
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -61,7 +61,7 @@ declare namespace gapi.client {
|
|
|
61
61
|
datasetId?: string;
|
|
62
62
|
}
|
|
63
63
|
interface BigQueryOptions {
|
|
64
|
-
/** Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone. */
|
|
64
|
+
/** Optional. Whether to use BigQuery's partition tables (https://docs.cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://docs.cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone. */
|
|
65
65
|
usePartitionedTables?: boolean;
|
|
66
66
|
/** Output only. True if new timestamp column based partitioning is in use, false if legacy ingress-time partitioning is in use.All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false. */
|
|
67
67
|
usesTimestampColumnPartitioning?: boolean;
|
|
@@ -96,13 +96,13 @@ declare namespace gapi.client {
|
|
|
96
96
|
}
|
|
97
97
|
interface CancelOperationRequest {}
|
|
98
98
|
interface CmekSettings {
|
|
99
|
-
/** 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
|
|
99
|
+
/** 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 Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
100
100
|
kmsKeyName?: string;
|
|
101
101
|
/** 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. */
|
|
102
102
|
kmsKeyVersionName?: string;
|
|
103
103
|
/** Output only. The resource name of the CMEK settings. */
|
|
104
104
|
name?: string;
|
|
105
|
-
/** Output only. The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See
|
|
105
|
+
/** Output only. The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the service account that the Log Router will use to access your Cloud KMS key. Use GetCmekSettings to obtain the service account ID.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
106
106
|
serviceAccountId?: string;
|
|
107
107
|
}
|
|
108
108
|
interface CopyLogEntriesMetadata {
|
|
@@ -158,7 +158,7 @@ declare namespace gapi.client {
|
|
|
158
158
|
interface DefaultSinkConfig {
|
|
159
159
|
/** Optional. Specifies the set of exclusions to be added to the _Default sink in newly created resource containers. */
|
|
160
160
|
exclusions?: LogExclusion[];
|
|
161
|
-
/** Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/
|
|
161
|
+
/** Optional. An advanced logs filter (https://docs.cloud.google.com/logging/docs/view/building-queries#queries-by-expression). 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. */
|
|
162
162
|
filter?: string;
|
|
163
163
|
/** 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. */
|
|
164
164
|
mode?: string;
|
|
@@ -190,6 +190,46 @@ declare namespace gapi.client {
|
|
|
190
190
|
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
191
191
|
title?: string;
|
|
192
192
|
}
|
|
193
|
+
interface FieldSource {
|
|
194
|
+
/** The alias name for a field that has already been aliased within a different ProjectedField type elsewhere in the query model. The alias must be defined in the QueryBuilderConfig's field_sources list, otherwise the model is invalid. */
|
|
195
|
+
aliasRef?: string;
|
|
196
|
+
/** The type of the selected field. This comes from the schema. Can be one of the BigQuery data types: - STRING - INT64 - FLOAT64 - BOOL - TIMESTAMP - DATE - RECORD - JSON */
|
|
197
|
+
columnType?: string;
|
|
198
|
+
/** The fully qualified, dot-delimited path to the selected atomic field (the leaf value). This path is used for primary selection and actions like drill-down or projection.The path components should match the exact field names or keys as they appear in the underlying data schema. For JSON fields, this means respecting the original casing (e.g., camelCase or snake_case as present in the JSON).To reference field names containing special characters (e.g., hyphens, spaces), enclose the individual path segment in backticks (`).Examples: * json_payload.labels.message * json_payload.request_id * httpRequest.status * json_payload.\my-custom-field`.value *jsonPayload.`my key with spaces`.data` */
|
|
199
|
+
field?: string;
|
|
200
|
+
/** Whether the field is a JSON field, or has a parent that is a JSON field. This value is used to determine JSON extractions in generated SQL queries. Note that this is_json flag may be true when the column_type is not JSON if the parent is a JSON field. Ex: - A json_payload.message field might have is_json=true, since the 'json_payload' parent is of type JSON, and columnType='STRING' if the 'message' field is of type STRING. */
|
|
201
|
+
isJson?: boolean;
|
|
202
|
+
/** The dot-delimited path of the parent container that holds the target field.This path defines the structural hierarchy and is essential for correctly generating SQL when field keys contain special characters (e.g., dots or brackets).Example: json_payload.labels (This points to the 'labels' object). This is an empty string if the target field is at the root level. */
|
|
203
|
+
parentPath?: string;
|
|
204
|
+
/** A projected field option for when a user wants to use a field with some additional transformations such as casting or extractions. */
|
|
205
|
+
projectedField?: ProjectedField;
|
|
206
|
+
}
|
|
207
|
+
interface FilterExpression {
|
|
208
|
+
/** The comparison type to use for the filter. */
|
|
209
|
+
comparator?: string;
|
|
210
|
+
/** Can be one of the FieldSource types: field name, alias ref, variable ref, or a literal value. */
|
|
211
|
+
fieldSource?: FieldSource;
|
|
212
|
+
/** The field. This will be the field that is set as the Right Hand Side of the filter. */
|
|
213
|
+
fieldSourceValue?: FieldSource;
|
|
214
|
+
/** Determines if the NOT flag should be added to the comparator. */
|
|
215
|
+
isNegation?: boolean;
|
|
216
|
+
/** The Value will be used to hold user defined constants set as the Right Hand Side of the filter. */
|
|
217
|
+
literalValue?: any;
|
|
218
|
+
}
|
|
219
|
+
interface FilterPredicate {
|
|
220
|
+
/** The children of the filter predicate. This equates to the branches of the filter predicate that could contain further nested leaves. */
|
|
221
|
+
childPredicates?: FilterPredicate[];
|
|
222
|
+
/** The leaves of the filter predicate. This equates to the last leaves of the filter predicate associated with an operator. */
|
|
223
|
+
leafPredicate?: FilterExpression;
|
|
224
|
+
/** The operator type for the filter. Currently there is no support for multiple levels of nesting, so this will be a single value with no joining of different operator types */
|
|
225
|
+
operatorType?: string;
|
|
226
|
+
}
|
|
227
|
+
interface FunctionApplication {
|
|
228
|
+
/** Optional. Parameters to be applied to the aggregation. Aggregations that support or require parameters are listed above. */
|
|
229
|
+
parameters?: any[];
|
|
230
|
+
/** Required. Specifies the aggregation function. Use one of the following string identifiers: "average": Computes the average (AVG). Applies only to numeric values. "count": Counts the number of values (COUNT). "count-distinct": Counts the number of distinct values (COUNT DISTINCT). "count-distinct-approx": Approximates the count of distinct values (APPROX_COUNT_DISTINCT). "max": Finds the maximum value (MAX). Applies only to numeric values. "min": Finds the minimum value (MIN). Applies only to numeric values. "sum": Computes the sum (SUM). Applies only to numeric values. */
|
|
231
|
+
type?: string;
|
|
232
|
+
}
|
|
193
233
|
interface GetIamPolicyRequest {
|
|
194
234
|
/** OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy. */
|
|
195
235
|
options?: GetPolicyOptions;
|
|
@@ -233,7 +273,7 @@ declare namespace gapi.client {
|
|
|
233
273
|
interface IndexConfig {
|
|
234
274
|
/** Output only. The timestamp when the index was last modified.This is used to return the timestamp, and will be ignored if supplied during update. */
|
|
235
275
|
createTime?: string;
|
|
236
|
-
/** Required. The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/analyze/custom-index) for details.For example: jsonPayload.request.status */
|
|
276
|
+
/** Required. The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://docs.cloud.google.com/logging/docs/analyze/custom-index) for details.For example: jsonPayload.request.status */
|
|
237
277
|
fieldPath?: string;
|
|
238
278
|
/** Required. The type of data in this index. */
|
|
239
279
|
type?: string;
|
|
@@ -413,7 +453,7 @@ declare namespace gapi.client {
|
|
|
413
453
|
lifecycleState?: string;
|
|
414
454
|
/** 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. */
|
|
415
455
|
locked?: boolean;
|
|
416
|
-
/** 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. */
|
|
456
|
+
/** 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://docs.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. */
|
|
417
457
|
name?: string;
|
|
418
458
|
/** 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) */
|
|
419
459
|
restrictedFields?: string[];
|
|
@@ -455,7 +495,7 @@ declare namespace gapi.client {
|
|
|
455
495
|
severity?: string;
|
|
456
496
|
/** Optional. Source code location information associated with the log entry, if any. */
|
|
457
497
|
sourceLocation?: LogEntrySourceLocation;
|
|
458
|
-
/** Optional. The ID of the Cloud Trace (https://cloud.google.com/trace) span associated with the current operation in which the log is being written.
|
|
498
|
+
/** Optional. The ID of the Cloud Trace (https://docs.cloud.google.com/trace/docs) span associated with the current operation in which the log is being written.A Span (https://docs.cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) represents a single operation within a trace. Whereas a trace may involve multiple different microservices running on multiple different machines, a span generally corresponds to a single logical operation being performed in a single instance of a microservice on one specific machine. Spans are the nodes within the tree that is a trace.Applications that are instrumented for tracing (https://docs.cloud.google.com/trace/docs/setup) will generally assign a new, unique span ID on each incoming request. It is also common to create and record additional spans corresponding to internal processing elements as well as issuing requests to dependencies.The span ID is expected to be a 16-character, hexadecimal encoding of an 8-byte array and should not be zero. It should be unique within the trace and should, ideally, be generated in a manner that is uniformly random.Example values: 000000000000004a 7a2190356c3fc94b 0000f00300090021 d39223e101960076 */
|
|
459
499
|
spanId?: string;
|
|
460
500
|
/** Optional. Information indicating this LogEntry is part of a sequence of multiple log entries split from a single LogEntry. */
|
|
461
501
|
split?: LogSplit;
|
|
@@ -463,7 +503,7 @@ declare namespace gapi.client {
|
|
|
463
503
|
textPayload?: string;
|
|
464
504
|
/** Optional. The time the event described by the log entry occurred. This time is used to compute the log entry's age and to enforce the logs retention period. If this field is omitted in a new log entry, then Logging assigns it the current time. Timestamps have nanosecond accuracy, but trailing zeros in the fractional seconds might be omitted when the timestamp is displayed.Incoming log entries must have timestamps that don't exceed the logs retention period (https://cloud.google.com/logging/quotas#logs_retention_periods) in the past, and that don't exceed 24 hours in the future. Log entries outside those time boundaries are rejected by Logging. */
|
|
465
505
|
timestamp?: string;
|
|
466
|
-
/** Optional. The
|
|
506
|
+
/** Optional. The trace ID being written to Cloud Trace (https://docs.cloud.google.com/trace/docs) in association with this log entry. For example, if your trace data is stored in the Cloud project "my-trace-project" and if the service that is creating the log entry receives a trace header that includes the trace ID "12345", then the service should use "12345".The REST resource name of the trace is also supported, but using this format is not recommended. An example trace REST resource name is similar to "projects/my-trace-project/traces/12345".The trace field provides the link between logs and traces. By using this field, you can navigate from a log entry to a trace. */
|
|
467
507
|
trace?: string;
|
|
468
508
|
/** Optional. The sampling decision of the span associated with the log entry at the time the log entry was created. This field corresponds to the sampled flag in the W3C trace-context specification (https://www.w3.org/TR/trace-context/#sampled-flag). A non-sampled trace value is still useful as a request correlation identifier. The default is False. */
|
|
469
509
|
traceSampled?: boolean;
|
|
@@ -497,7 +537,7 @@ declare namespace gapi.client {
|
|
|
497
537
|
description?: string;
|
|
498
538
|
/** Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field. */
|
|
499
539
|
disabled?: boolean;
|
|
500
|
-
/** Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/
|
|
540
|
+
/** Required. An advanced logs filter (https://docs.cloud.google.com/logging/docs/view/building-queries#queries-by-expression) that matches the log entries to be excluded. By using the sample function (https://docs.cloud.google.com/logging/docs/view/logging-query-language#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) */
|
|
501
541
|
filter?: string;
|
|
502
542
|
/** Optional. 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. */
|
|
503
543
|
name?: string;
|
|
@@ -505,7 +545,7 @@ declare namespace gapi.client {
|
|
|
505
545
|
updateTime?: string;
|
|
506
546
|
}
|
|
507
547
|
interface LoggingQuery {
|
|
508
|
-
/** 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. */
|
|
548
|
+
/** Required. An advanced query using the Logging Query Language (https://docs.cloud.google.com/logging/docs/view/logging-query-language). The maximum length of the filter is 20000 characters. */
|
|
509
549
|
filter?: string;
|
|
510
550
|
/** Characters will be counted from the end of the string. */
|
|
511
551
|
summaryFieldEnd?: number;
|
|
@@ -571,13 +611,13 @@ declare namespace gapi.client {
|
|
|
571
611
|
createTime?: string;
|
|
572
612
|
/** Optional. A description of this sink.The maximum length of the description is 8000 characters. */
|
|
573
613
|
description?: string;
|
|
574
|
-
/** Required. The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see
|
|
614
|
+
/** Required. The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else the log entries are not exported. For more information, see Route logs to supported destinations (https://docs.cloud.google.com/logging/docs/export/configure_export_v2). */
|
|
575
615
|
destination?: string;
|
|
576
616
|
/** Optional. If set to true, then this sink is disabled and it does not export any log entries. */
|
|
577
617
|
disabled?: boolean;
|
|
578
618
|
/** Optional. Log entries that match any of these exclusion filters will not be exported.If a log entry is matched by both filter and one of exclusions it will not be exported. */
|
|
579
619
|
exclusions?: LogExclusion[];
|
|
580
|
-
/** Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/
|
|
620
|
+
/** Optional. An advanced logs filter (https://docs.cloud.google.com/logging/docs/view/building-queries#queries-by-expression). 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>=ERROR */
|
|
581
621
|
filter?: string;
|
|
582
622
|
/** 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 */
|
|
583
623
|
includeChildren?: boolean;
|
|
@@ -591,7 +631,7 @@ declare namespace gapi.client {
|
|
|
591
631
|
resourceName?: string;
|
|
592
632
|
/** Output only. The last update timestamp of the sink.This field may not be present for older sinks. */
|
|
593
633
|
updateTime?: string;
|
|
594
|
-
/** Output only. An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see
|
|
634
|
+
/** Output only. An IAM identity—a service account or group—under which Cloud Logging writes the exported log entries to the sink's destination. This field is either set by specifying custom_writer_identity or set automatically by sinks.create and sinks.update based on the value of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from this sink will fail. For more information, see Manage access to projects, folders, and organizations (https://docs.cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). Consult the destination service's documentation to determine the appropriate IAM roles to assign to the identity.Sinks that have a destination that is a log bucket in the same project as the sink cannot have a writer_identity and no additional permissions are required. */
|
|
595
635
|
writerIdentity?: string;
|
|
596
636
|
}
|
|
597
637
|
interface LogSplit {
|
|
@@ -687,7 +727,9 @@ declare namespace gapi.client {
|
|
|
687
727
|
response?: {[P in string]: any};
|
|
688
728
|
}
|
|
689
729
|
interface OpsAnalyticsQuery {
|
|
690
|
-
/**
|
|
730
|
+
/** Optional. A query builder configuration used in Log Analytics.If both query_builder and sql_query_text fields are set, then the sql_query_text will be used, if its non-empty. At least one of the two fields must be set. */
|
|
731
|
+
queryBuilder?: QueryBuilderConfig;
|
|
732
|
+
/** Optional. A Log Analytics SQL query in text format.If both sql_query_text and query_builder fields are set, then the sql_query_text will be used, if its non-empty. At least one of the two fields must be set. */
|
|
691
733
|
sqlQueryText?: string;
|
|
692
734
|
}
|
|
693
735
|
interface Policy {
|
|
@@ -698,12 +740,42 @@ declare namespace gapi.client {
|
|
|
698
740
|
/** Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: Getting a policy that includes a conditional role binding Adding a conditional role binding to a policy Changing a conditional role binding in a policy Removing any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
699
741
|
version?: number;
|
|
700
742
|
}
|
|
743
|
+
interface ProjectedField {
|
|
744
|
+
/** The alias name for the field. Valid alias examples are: - single word alias: TestAlias - numbers in an alias: Alias123 - multi word alias should be enclosed in quotes: "Test Alias" Invalid alias examples are: - alias containing keywords: WHERE, SELECT, FROM, etc. - alias starting with a number: 1stAlias */
|
|
745
|
+
alias?: string;
|
|
746
|
+
/** The cast for the field. This can any SQL cast type. Examples: - STRING - CHAR - DATE - TIMESTAMP - DATETIME - INT - FLOAT */
|
|
747
|
+
cast?: string;
|
|
748
|
+
/** The field name. This will be the field that is selected using the dot notation to display the drill down value. */
|
|
749
|
+
field?: string;
|
|
750
|
+
/** Specifies the role of this field (direct selection, grouping, or aggregation). */
|
|
751
|
+
operation?: string;
|
|
752
|
+
/** The re2 extraction for the field. This will be used to extract the value from the field using REGEXP_EXTRACT. More information on re2 can be found here: https://github.com/google/re2/wiki/Syntax. Meta characters like +?()| will need to be escaped. Examples: - ".(autoscaler.*)$" will be converted to REGEXP_EXTRACT(JSON_VALUE(field),"request(.*(autoscaler.*)$)")in SQL. - "\(test_value\)$" will be converted to REGEXP_EXTRACT(JSON_VALUE(field),"request(\(test_value\)$)") in SQL. */
|
|
753
|
+
regexExtraction?: string;
|
|
754
|
+
/** The function to apply to the field. */
|
|
755
|
+
sqlAggregationFunction?: FunctionApplication;
|
|
756
|
+
/** 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. */
|
|
757
|
+
truncationGranularity?: string;
|
|
758
|
+
}
|
|
759
|
+
interface QueryBuilderConfig {
|
|
760
|
+
/** Defines the items to include in the query result, analogous to a SQL SELECT clause. */
|
|
761
|
+
fieldSources?: FieldSource[];
|
|
762
|
+
/** The filter to use for the query. This equates to the WHERE clause in SQL. */
|
|
763
|
+
filter?: FilterPredicate;
|
|
764
|
+
/** The limit to use for the query. This equates to the LIMIT clause in SQL. A limit of 0 will be treated as not enabled. */
|
|
765
|
+
limit?: string;
|
|
766
|
+
/** The sort orders to use for the query. This equates to the ORDER BY clause in SQL. */
|
|
767
|
+
orderBys?: SortOrderParameter[];
|
|
768
|
+
/** Required. The view/resource to query. For now only a single view/resource will be sent, but there are plans to allow multiple views in the future. Marking as repeated for that purpose. Example: - "projects/123/locations/global/buckets/456/views/_Default" - "projects/123/locations/global/metricBuckets/456/views/_Default" */
|
|
769
|
+
resourceNames?: string[];
|
|
770
|
+
/** The plain text search to use for the query. There is no support for multiple search terms. This uses the SEARCH functionality in BigQuery. For example, a search_term = 'ERROR' would result in the following SQL:SELECT * FROM resource WHERE SEARCH(resource, 'ERROR') LIMIT 100 */
|
|
771
|
+
searchTerm?: string;
|
|
772
|
+
}
|
|
701
773
|
interface RecentQuery {
|
|
702
774
|
/** Output only. The timestamp when this query was last run. */
|
|
703
775
|
lastRunTime?: string;
|
|
704
776
|
/** Logging query that can be executed in Logs Explorer or via Logging API. */
|
|
705
777
|
loggingQuery?: LoggingQuery;
|
|
706
|
-
/** Output only. Resource name of the recent query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)The QUERY_ID is a system generated alphanumeric ID. */
|
|
778
|
+
/** Output only. Resource name of the recent query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support)The QUERY_ID is a system generated alphanumeric ID. */
|
|
707
779
|
name?: string;
|
|
708
780
|
/** Analytics query that can be executed in Log Analytics. */
|
|
709
781
|
opsAnalyticsQuery?: OpsAnalyticsQuery;
|
|
@@ -787,7 +859,7 @@ declare namespace gapi.client {
|
|
|
787
859
|
displayName?: string;
|
|
788
860
|
/** Logging query that can be executed in Logs Explorer or via Logging API. */
|
|
789
861
|
loggingQuery?: LoggingQuery;
|
|
790
|
-
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
862
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
791
863
|
name?: string;
|
|
792
864
|
/** Analytics query that can be executed in Log Analytics. */
|
|
793
865
|
opsAnalyticsQuery?: OpsAnalyticsQuery;
|
|
@@ -807,9 +879,9 @@ declare namespace gapi.client {
|
|
|
807
879
|
defaultSinkConfig?: DefaultSinkConfig;
|
|
808
880
|
/** Optional. If set to true, the _Default sink in newly created projects and folders will created in a disabled state. This can be used to automatically disable log storage if there is already an aggregated sink configured in the hierarchy. The _Default sink can be re-enabled manually if needed. */
|
|
809
881
|
disableDefaultSink?: boolean;
|
|
810
|
-
/** 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, set this field to a valid kms_key_name for which the associated service account has the required roles/cloudkms.cryptoKeyEncrypterDecrypter role 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.To disable CMEK for the Log Router, set this field to an empty string.See
|
|
882
|
+
/** 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, set this field to a valid kms_key_name for which the associated service account has the required roles/cloudkms.cryptoKeyEncrypterDecrypter role 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.To disable CMEK for the Log Router, set this field to an empty string.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
811
883
|
kmsKeyName?: string;
|
|
812
|
-
/** Output only. The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK, you must first assign the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account that will be used to access your Cloud KMS key. Use GetSettings to obtain the service account ID.See
|
|
884
|
+
/** Output only. The service account that will be used by the Log Router to access your Cloud KMS key.Before enabling CMEK, you must first assign the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account that will be used to access your Cloud KMS key. Use GetSettings to obtain the service account ID.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
813
885
|
kmsServiceAccountId?: string;
|
|
814
886
|
/** Output only. The service account for the given resource container, such as project or folder. Log sinks use this service account as their writer_identity if no custom service account is provided in the request when calling the create sink method. */
|
|
815
887
|
loggingServiceAccountId?: string;
|
|
@@ -818,6 +890,12 @@ declare namespace gapi.client {
|
|
|
818
890
|
/** 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. */
|
|
819
891
|
storageLocation?: string;
|
|
820
892
|
}
|
|
893
|
+
interface SortOrderParameter {
|
|
894
|
+
/** The field to sort on. Can be one of the FieldSource types: field name, alias ref, variable ref, or a literal value. */
|
|
895
|
+
fieldSource?: FieldSource;
|
|
896
|
+
/** The sort order to use for the query. */
|
|
897
|
+
sortOrderDirection?: string;
|
|
898
|
+
}
|
|
821
899
|
interface SourceLocation {
|
|
822
900
|
/** Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name. */
|
|
823
901
|
file?: string;
|
|
@@ -2215,7 +2293,7 @@ declare namespace gapi.client {
|
|
|
2215
2293
|
fields?: string;
|
|
2216
2294
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2217
2295
|
key?: string;
|
|
2218
|
-
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
2296
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
2219
2297
|
name: string;
|
|
2220
2298
|
/** OAuth 2.0 token for the current user. */
|
|
2221
2299
|
oauth_token?: string;
|
|
@@ -2246,7 +2324,7 @@ declare namespace gapi.client {
|
|
|
2246
2324
|
fields?: string;
|
|
2247
2325
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2248
2326
|
key?: string;
|
|
2249
|
-
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
2327
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
2250
2328
|
name: string;
|
|
2251
2329
|
/** OAuth 2.0 token for the current user. */
|
|
2252
2330
|
oauth_token?: string;
|
|
@@ -2292,7 +2370,7 @@ declare namespace gapi.client {
|
|
|
2292
2370
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2293
2371
|
uploadType?: string;
|
|
2294
2372
|
}): Request<Location>;
|
|
2295
|
-
/** Lists information about the supported locations for this service. */
|
|
2373
|
+
/** Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project. */
|
|
2296
2374
|
list(request?: {
|
|
2297
2375
|
/** V1 error format. */
|
|
2298
2376
|
'$.xgafv'?: string;
|
|
@@ -2419,7 +2497,7 @@ declare namespace gapi.client {
|
|
|
2419
2497
|
prettyPrint?: boolean;
|
|
2420
2498
|
/** 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. */
|
|
2421
2499
|
quotaUser?: string;
|
|
2422
|
-
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
2500
|
+
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
2423
2501
|
uniqueWriterIdentity?: boolean;
|
|
2424
2502
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2425
2503
|
upload_protocol?: string;
|
|
@@ -2452,7 +2530,7 @@ declare namespace gapi.client {
|
|
|
2452
2530
|
prettyPrint?: boolean;
|
|
2453
2531
|
/** 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. */
|
|
2454
2532
|
quotaUser?: string;
|
|
2455
|
-
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
2533
|
+
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
2456
2534
|
uniqueWriterIdentity?: boolean;
|
|
2457
2535
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2458
2536
|
upload_protocol?: string;
|
|
@@ -2572,7 +2650,7 @@ declare namespace gapi.client {
|
|
|
2572
2650
|
quotaUser?: string;
|
|
2573
2651
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
2574
2652
|
sinkName: string;
|
|
2575
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
2653
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
2576
2654
|
uniqueWriterIdentity?: boolean;
|
|
2577
2655
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
2578
2656
|
updateMask?: string;
|
|
@@ -2607,7 +2685,7 @@ declare namespace gapi.client {
|
|
|
2607
2685
|
quotaUser?: string;
|
|
2608
2686
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
2609
2687
|
sinkName: string;
|
|
2610
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
2688
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
2611
2689
|
uniqueWriterIdentity?: boolean;
|
|
2612
2690
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
2613
2691
|
updateMask?: string;
|
|
@@ -2642,7 +2720,7 @@ declare namespace gapi.client {
|
|
|
2642
2720
|
quotaUser?: string;
|
|
2643
2721
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
2644
2722
|
sinkName: string;
|
|
2645
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
2723
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
2646
2724
|
uniqueWriterIdentity?: boolean;
|
|
2647
2725
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
2648
2726
|
updateMask?: string;
|
|
@@ -2677,7 +2755,7 @@ declare namespace gapi.client {
|
|
|
2677
2755
|
quotaUser?: string;
|
|
2678
2756
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
2679
2757
|
sinkName: string;
|
|
2680
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
2758
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
2681
2759
|
uniqueWriterIdentity?: boolean;
|
|
2682
2760
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
2683
2761
|
updateMask?: string;
|
|
@@ -2690,7 +2768,7 @@ declare namespace gapi.client {
|
|
|
2690
2768
|
): Request<LogSink>;
|
|
2691
2769
|
}
|
|
2692
2770
|
interface BillingAccountsResource {
|
|
2693
|
-
/** Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See
|
|
2771
|
+
/** Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
2694
2772
|
getCmekSettings(request?: {
|
|
2695
2773
|
/** V1 error format. */
|
|
2696
2774
|
'$.xgafv'?: string;
|
|
@@ -2717,7 +2795,7 @@ declare namespace gapi.client {
|
|
|
2717
2795
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2718
2796
|
uploadType?: string;
|
|
2719
2797
|
}): Request<CmekSettings>;
|
|
2720
|
-
/** Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information. */
|
|
2798
|
+
/** Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information. */
|
|
2721
2799
|
getSettings(request?: {
|
|
2722
2800
|
/** V1 error format. */
|
|
2723
2801
|
'$.xgafv'?: string;
|
|
@@ -4794,7 +4872,7 @@ declare namespace gapi.client {
|
|
|
4794
4872
|
fields?: string;
|
|
4795
4873
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4796
4874
|
key?: string;
|
|
4797
|
-
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
4875
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
4798
4876
|
name: string;
|
|
4799
4877
|
/** OAuth 2.0 token for the current user. */
|
|
4800
4878
|
oauth_token?: string;
|
|
@@ -4825,7 +4903,7 @@ declare namespace gapi.client {
|
|
|
4825
4903
|
fields?: string;
|
|
4826
4904
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4827
4905
|
key?: string;
|
|
4828
|
-
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
4906
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
4829
4907
|
name: string;
|
|
4830
4908
|
/** OAuth 2.0 token for the current user. */
|
|
4831
4909
|
oauth_token?: string;
|
|
@@ -4871,7 +4949,7 @@ declare namespace gapi.client {
|
|
|
4871
4949
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4872
4950
|
uploadType?: string;
|
|
4873
4951
|
}): Request<Location>;
|
|
4874
|
-
/** Lists information about the supported locations for this service. */
|
|
4952
|
+
/** Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project. */
|
|
4875
4953
|
list(request?: {
|
|
4876
4954
|
/** V1 error format. */
|
|
4877
4955
|
'$.xgafv'?: string;
|
|
@@ -4999,7 +5077,7 @@ declare namespace gapi.client {
|
|
|
4999
5077
|
prettyPrint?: boolean;
|
|
5000
5078
|
/** 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. */
|
|
5001
5079
|
quotaUser?: string;
|
|
5002
|
-
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
5080
|
+
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
5003
5081
|
uniqueWriterIdentity?: boolean;
|
|
5004
5082
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5005
5083
|
upload_protocol?: string;
|
|
@@ -5032,7 +5110,7 @@ declare namespace gapi.client {
|
|
|
5032
5110
|
prettyPrint?: boolean;
|
|
5033
5111
|
/** 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. */
|
|
5034
5112
|
quotaUser?: string;
|
|
5035
|
-
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
5113
|
+
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
5036
5114
|
uniqueWriterIdentity?: boolean;
|
|
5037
5115
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5038
5116
|
upload_protocol?: string;
|
|
@@ -5152,7 +5230,7 @@ declare namespace gapi.client {
|
|
|
5152
5230
|
quotaUser?: string;
|
|
5153
5231
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
5154
5232
|
sinkName: string;
|
|
5155
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
5233
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
5156
5234
|
uniqueWriterIdentity?: boolean;
|
|
5157
5235
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
5158
5236
|
updateMask?: string;
|
|
@@ -5187,7 +5265,7 @@ declare namespace gapi.client {
|
|
|
5187
5265
|
quotaUser?: string;
|
|
5188
5266
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
5189
5267
|
sinkName: string;
|
|
5190
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
5268
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
5191
5269
|
uniqueWriterIdentity?: boolean;
|
|
5192
5270
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
5193
5271
|
updateMask?: string;
|
|
@@ -5222,7 +5300,7 @@ declare namespace gapi.client {
|
|
|
5222
5300
|
quotaUser?: string;
|
|
5223
5301
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
5224
5302
|
sinkName: string;
|
|
5225
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
5303
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
5226
5304
|
uniqueWriterIdentity?: boolean;
|
|
5227
5305
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
5228
5306
|
updateMask?: string;
|
|
@@ -5257,7 +5335,7 @@ declare namespace gapi.client {
|
|
|
5257
5335
|
quotaUser?: string;
|
|
5258
5336
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
5259
5337
|
sinkName: string;
|
|
5260
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
5338
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
5261
5339
|
uniqueWriterIdentity?: boolean;
|
|
5262
5340
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
5263
5341
|
updateMask?: string;
|
|
@@ -5270,7 +5348,7 @@ declare namespace gapi.client {
|
|
|
5270
5348
|
): Request<LogSink>;
|
|
5271
5349
|
}
|
|
5272
5350
|
interface FoldersResource {
|
|
5273
|
-
/** Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See
|
|
5351
|
+
/** Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
5274
5352
|
getCmekSettings(request?: {
|
|
5275
5353
|
/** V1 error format. */
|
|
5276
5354
|
'$.xgafv'?: string;
|
|
@@ -5297,7 +5375,7 @@ declare namespace gapi.client {
|
|
|
5297
5375
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5298
5376
|
uploadType?: string;
|
|
5299
5377
|
}): Request<CmekSettings>;
|
|
5300
|
-
/** Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information. */
|
|
5378
|
+
/** Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information. */
|
|
5301
5379
|
getSettings(request?: {
|
|
5302
5380
|
/** V1 error format. */
|
|
5303
5381
|
'$.xgafv'?: string;
|
|
@@ -5324,7 +5402,7 @@ declare namespace gapi.client {
|
|
|
5324
5402
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5325
5403
|
uploadType?: string;
|
|
5326
5404
|
}): Request<Settings>;
|
|
5327
|
-
/** 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. */
|
|
5405
|
+
/** 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://docs.cloud.google.com/logging/docs/default-settings) for more information. */
|
|
5328
5406
|
updateSettings(request: {
|
|
5329
5407
|
/** V1 error format. */
|
|
5330
5408
|
'$.xgafv'?: string;
|
|
@@ -6386,7 +6464,7 @@ declare namespace gapi.client {
|
|
|
6386
6464
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6387
6465
|
uploadType?: string;
|
|
6388
6466
|
}): Request<Location>;
|
|
6389
|
-
/** Lists information about the supported locations for this service. */
|
|
6467
|
+
/** Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project. */
|
|
6390
6468
|
list(request?: {
|
|
6391
6469
|
/** V1 error format. */
|
|
6392
6470
|
'$.xgafv'?: string;
|
|
@@ -8137,7 +8215,7 @@ declare namespace gapi.client {
|
|
|
8137
8215
|
fields?: string;
|
|
8138
8216
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
8139
8217
|
key?: string;
|
|
8140
|
-
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
8218
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
8141
8219
|
name: string;
|
|
8142
8220
|
/** OAuth 2.0 token for the current user. */
|
|
8143
8221
|
oauth_token?: string;
|
|
@@ -8168,7 +8246,7 @@ declare namespace gapi.client {
|
|
|
8168
8246
|
fields?: string;
|
|
8169
8247
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
8170
8248
|
key?: string;
|
|
8171
|
-
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
8249
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
8172
8250
|
name: string;
|
|
8173
8251
|
/** OAuth 2.0 token for the current user. */
|
|
8174
8252
|
oauth_token?: string;
|
|
@@ -8214,7 +8292,7 @@ declare namespace gapi.client {
|
|
|
8214
8292
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8215
8293
|
uploadType?: string;
|
|
8216
8294
|
}): Request<Location>;
|
|
8217
|
-
/** Lists information about the supported locations for this service. */
|
|
8295
|
+
/** Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project. */
|
|
8218
8296
|
list(request?: {
|
|
8219
8297
|
/** V1 error format. */
|
|
8220
8298
|
'$.xgafv'?: string;
|
|
@@ -8342,7 +8420,7 @@ declare namespace gapi.client {
|
|
|
8342
8420
|
prettyPrint?: boolean;
|
|
8343
8421
|
/** 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. */
|
|
8344
8422
|
quotaUser?: string;
|
|
8345
|
-
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
8423
|
+
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
8346
8424
|
uniqueWriterIdentity?: boolean;
|
|
8347
8425
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8348
8426
|
upload_protocol?: string;
|
|
@@ -8375,7 +8453,7 @@ declare namespace gapi.client {
|
|
|
8375
8453
|
prettyPrint?: boolean;
|
|
8376
8454
|
/** 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. */
|
|
8377
8455
|
quotaUser?: string;
|
|
8378
|
-
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
8456
|
+
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
8379
8457
|
uniqueWriterIdentity?: boolean;
|
|
8380
8458
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8381
8459
|
upload_protocol?: string;
|
|
@@ -8495,7 +8573,7 @@ declare namespace gapi.client {
|
|
|
8495
8573
|
quotaUser?: string;
|
|
8496
8574
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
8497
8575
|
sinkName: string;
|
|
8498
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
8576
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
8499
8577
|
uniqueWriterIdentity?: boolean;
|
|
8500
8578
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
8501
8579
|
updateMask?: string;
|
|
@@ -8530,7 +8608,7 @@ declare namespace gapi.client {
|
|
|
8530
8608
|
quotaUser?: string;
|
|
8531
8609
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
8532
8610
|
sinkName: string;
|
|
8533
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
8611
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
8534
8612
|
uniqueWriterIdentity?: boolean;
|
|
8535
8613
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
8536
8614
|
updateMask?: string;
|
|
@@ -8565,7 +8643,7 @@ declare namespace gapi.client {
|
|
|
8565
8643
|
quotaUser?: string;
|
|
8566
8644
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
8567
8645
|
sinkName: string;
|
|
8568
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
8646
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
8569
8647
|
uniqueWriterIdentity?: boolean;
|
|
8570
8648
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
8571
8649
|
updateMask?: string;
|
|
@@ -8600,7 +8678,7 @@ declare namespace gapi.client {
|
|
|
8600
8678
|
quotaUser?: string;
|
|
8601
8679
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
8602
8680
|
sinkName: string;
|
|
8603
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
8681
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
8604
8682
|
uniqueWriterIdentity?: boolean;
|
|
8605
8683
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
8606
8684
|
updateMask?: string;
|
|
@@ -8613,7 +8691,7 @@ declare namespace gapi.client {
|
|
|
8613
8691
|
): Request<LogSink>;
|
|
8614
8692
|
}
|
|
8615
8693
|
interface OrganizationsResource {
|
|
8616
|
-
/** Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See
|
|
8694
|
+
/** Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
8617
8695
|
getCmekSettings(request?: {
|
|
8618
8696
|
/** V1 error format. */
|
|
8619
8697
|
'$.xgafv'?: string;
|
|
@@ -8640,7 +8718,7 @@ declare namespace gapi.client {
|
|
|
8640
8718
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8641
8719
|
uploadType?: string;
|
|
8642
8720
|
}): Request<CmekSettings>;
|
|
8643
|
-
/** Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information. */
|
|
8721
|
+
/** Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information. */
|
|
8644
8722
|
getSettings(request?: {
|
|
8645
8723
|
/** V1 error format. */
|
|
8646
8724
|
'$.xgafv'?: string;
|
|
@@ -8667,7 +8745,7 @@ declare namespace gapi.client {
|
|
|
8667
8745
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8668
8746
|
uploadType?: string;
|
|
8669
8747
|
}): Request<Settings>;
|
|
8670
|
-
/** 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
|
|
8748
|
+
/** 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 Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
8671
8749
|
updateCmekSettings(request: {
|
|
8672
8750
|
/** V1 error format. */
|
|
8673
8751
|
'$.xgafv'?: string;
|
|
@@ -8729,7 +8807,7 @@ declare namespace gapi.client {
|
|
|
8729
8807
|
},
|
|
8730
8808
|
body: CmekSettings,
|
|
8731
8809
|
): Request<CmekSettings>;
|
|
8732
|
-
/** 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. */
|
|
8810
|
+
/** 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://docs.cloud.google.com/logging/docs/default-settings) for more information. */
|
|
8733
8811
|
updateSettings(request: {
|
|
8734
8812
|
/** V1 error format. */
|
|
8735
8813
|
'$.xgafv'?: string;
|
|
@@ -10416,7 +10494,7 @@ declare namespace gapi.client {
|
|
|
10416
10494
|
fields?: string;
|
|
10417
10495
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
10418
10496
|
key?: string;
|
|
10419
|
-
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
10497
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
10420
10498
|
name: string;
|
|
10421
10499
|
/** OAuth 2.0 token for the current user. */
|
|
10422
10500
|
oauth_token?: string;
|
|
@@ -10447,7 +10525,7 @@ declare namespace gapi.client {
|
|
|
10447
10525
|
fields?: string;
|
|
10448
10526
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
10449
10527
|
key?: string;
|
|
10450
|
-
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
10528
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://docs.cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
10451
10529
|
name: string;
|
|
10452
10530
|
/** OAuth 2.0 token for the current user. */
|
|
10453
10531
|
oauth_token?: string;
|
|
@@ -10493,7 +10571,7 @@ declare namespace gapi.client {
|
|
|
10493
10571
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10494
10572
|
uploadType?: string;
|
|
10495
10573
|
}): Request<Location>;
|
|
10496
|
-
/** Lists information about the supported locations for this service. */
|
|
10574
|
+
/** Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project. */
|
|
10497
10575
|
list(request?: {
|
|
10498
10576
|
/** V1 error format. */
|
|
10499
10577
|
'$.xgafv'?: string;
|
|
@@ -10824,7 +10902,7 @@ declare namespace gapi.client {
|
|
|
10824
10902
|
prettyPrint?: boolean;
|
|
10825
10903
|
/** 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. */
|
|
10826
10904
|
quotaUser?: string;
|
|
10827
|
-
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
10905
|
+
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
10828
10906
|
uniqueWriterIdentity?: boolean;
|
|
10829
10907
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10830
10908
|
upload_protocol?: string;
|
|
@@ -10857,7 +10935,7 @@ declare namespace gapi.client {
|
|
|
10857
10935
|
prettyPrint?: boolean;
|
|
10858
10936
|
/** 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. */
|
|
10859
10937
|
quotaUser?: string;
|
|
10860
|
-
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
10938
|
+
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
10861
10939
|
uniqueWriterIdentity?: boolean;
|
|
10862
10940
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10863
10941
|
upload_protocol?: string;
|
|
@@ -10977,7 +11055,7 @@ declare namespace gapi.client {
|
|
|
10977
11055
|
quotaUser?: string;
|
|
10978
11056
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
10979
11057
|
sinkName: string;
|
|
10980
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
11058
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
10981
11059
|
uniqueWriterIdentity?: boolean;
|
|
10982
11060
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
10983
11061
|
updateMask?: string;
|
|
@@ -11012,7 +11090,7 @@ declare namespace gapi.client {
|
|
|
11012
11090
|
quotaUser?: string;
|
|
11013
11091
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
11014
11092
|
sinkName: string;
|
|
11015
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
11093
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
11016
11094
|
uniqueWriterIdentity?: boolean;
|
|
11017
11095
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
11018
11096
|
updateMask?: string;
|
|
@@ -11047,7 +11125,7 @@ declare namespace gapi.client {
|
|
|
11047
11125
|
quotaUser?: string;
|
|
11048
11126
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
11049
11127
|
sinkName: string;
|
|
11050
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
11128
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
11051
11129
|
uniqueWriterIdentity?: boolean;
|
|
11052
11130
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
11053
11131
|
updateMask?: string;
|
|
@@ -11082,7 +11160,7 @@ declare namespace gapi.client {
|
|
|
11082
11160
|
quotaUser?: string;
|
|
11083
11161
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
11084
11162
|
sinkName: string;
|
|
11085
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
11163
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
11086
11164
|
uniqueWriterIdentity?: boolean;
|
|
11087
11165
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
11088
11166
|
updateMask?: string;
|
|
@@ -11095,7 +11173,7 @@ declare namespace gapi.client {
|
|
|
11095
11173
|
): Request<LogSink>;
|
|
11096
11174
|
}
|
|
11097
11175
|
interface ProjectsResource {
|
|
11098
|
-
/** Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See
|
|
11176
|
+
/** Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
11099
11177
|
getCmekSettings(request?: {
|
|
11100
11178
|
/** V1 error format. */
|
|
11101
11179
|
'$.xgafv'?: string;
|
|
@@ -11122,7 +11200,7 @@ declare namespace gapi.client {
|
|
|
11122
11200
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11123
11201
|
uploadType?: string;
|
|
11124
11202
|
}): Request<CmekSettings>;
|
|
11125
|
-
/** Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information. */
|
|
11203
|
+
/** Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information. */
|
|
11126
11204
|
getSettings(request?: {
|
|
11127
11205
|
/** V1 error format. */
|
|
11128
11206
|
'$.xgafv'?: string;
|
|
@@ -11180,7 +11258,7 @@ declare namespace gapi.client {
|
|
|
11180
11258
|
prettyPrint?: boolean;
|
|
11181
11259
|
/** 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. */
|
|
11182
11260
|
quotaUser?: string;
|
|
11183
|
-
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
11261
|
+
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
11184
11262
|
uniqueWriterIdentity?: boolean;
|
|
11185
11263
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11186
11264
|
upload_protocol?: string;
|
|
@@ -11213,7 +11291,7 @@ declare namespace gapi.client {
|
|
|
11213
11291
|
prettyPrint?: boolean;
|
|
11214
11292
|
/** 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. */
|
|
11215
11293
|
quotaUser?: string;
|
|
11216
|
-
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
11294
|
+
/** Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink. */
|
|
11217
11295
|
uniqueWriterIdentity?: boolean;
|
|
11218
11296
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11219
11297
|
upload_protocol?: string;
|
|
@@ -11333,7 +11411,7 @@ declare namespace gapi.client {
|
|
|
11333
11411
|
quotaUser?: string;
|
|
11334
11412
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
11335
11413
|
sinkName: string;
|
|
11336
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
11414
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
11337
11415
|
uniqueWriterIdentity?: boolean;
|
|
11338
11416
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
11339
11417
|
updateMask?: string;
|
|
@@ -11368,7 +11446,7 @@ declare namespace gapi.client {
|
|
|
11368
11446
|
quotaUser?: string;
|
|
11369
11447
|
/** Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink" */
|
|
11370
11448
|
sinkName: string;
|
|
11371
|
-
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
11449
|
+
/** Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a service agent (https://docs.cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false. */
|
|
11372
11450
|
uniqueWriterIdentity?: boolean;
|
|
11373
11451
|
/** Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes:destination,filter,includeChildrenAt some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter */
|
|
11374
11452
|
updateMask?: string;
|
|
@@ -11381,7 +11459,7 @@ declare namespace gapi.client {
|
|
|
11381
11459
|
): Request<LogSink>;
|
|
11382
11460
|
}
|
|
11383
11461
|
interface V2Resource {
|
|
11384
|
-
/** Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See
|
|
11462
|
+
/** Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
11385
11463
|
getCmekSettings(request?: {
|
|
11386
11464
|
/** V1 error format. */
|
|
11387
11465
|
'$.xgafv'?: string;
|
|
@@ -11408,7 +11486,7 @@ declare namespace gapi.client {
|
|
|
11408
11486
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11409
11487
|
uploadType?: string;
|
|
11410
11488
|
}): Request<CmekSettings>;
|
|
11411
|
-
/** Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information. */
|
|
11489
|
+
/** Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information. */
|
|
11412
11490
|
getSettings(request?: {
|
|
11413
11491
|
/** V1 error format. */
|
|
11414
11492
|
'$.xgafv'?: string;
|
|
@@ -11435,7 +11513,7 @@ declare namespace gapi.client {
|
|
|
11435
11513
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11436
11514
|
uploadType?: string;
|
|
11437
11515
|
}): Request<Settings>;
|
|
11438
|
-
/** 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
|
|
11516
|
+
/** 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 Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information. */
|
|
11439
11517
|
updateCmekSettings(request: {
|
|
11440
11518
|
/** V1 error format. */
|
|
11441
11519
|
'$.xgafv'?: string;
|
|
@@ -11497,7 +11575,7 @@ declare namespace gapi.client {
|
|
|
11497
11575
|
},
|
|
11498
11576
|
body: CmekSettings,
|
|
11499
11577
|
): Request<CmekSettings>;
|
|
11500
|
-
/** 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. */
|
|
11578
|
+
/** 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://docs.cloud.google.com/logging/docs/default-settings) for more information. */
|
|
11501
11579
|
updateSettings(request: {
|
|
11502
11580
|
/** V1 error format. */
|
|
11503
11581
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -82,12 +82,12 @@ After that you can use Cloud Logging API resources: <!-- TODO: make this work fo
|
|
|
82
82
|
|
|
83
83
|
```typescript
|
|
84
84
|
/*
|
|
85
|
-
Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See
|
|
85
|
+
Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.
|
|
86
86
|
*/
|
|
87
87
|
await gapi.client.logging.billingAccounts.getCmekSettings({name: 'name'});
|
|
88
88
|
|
|
89
89
|
/*
|
|
90
|
-
Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
|
|
90
|
+
Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
|
|
91
91
|
*/
|
|
92
92
|
await gapi.client.logging.billingAccounts.getSettings({name: 'name'});
|
|
93
93
|
|
|
@@ -137,17 +137,17 @@ Changes one or more properties of an existing exclusion in the _Default sink.
|
|
|
137
137
|
await gapi.client.logging.exclusions.patch({name: 'name'});
|
|
138
138
|
|
|
139
139
|
/*
|
|
140
|
-
Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See
|
|
140
|
+
Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.
|
|
141
141
|
*/
|
|
142
142
|
await gapi.client.logging.folders.getCmekSettings({name: 'name'});
|
|
143
143
|
|
|
144
144
|
/*
|
|
145
|
-
Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
|
|
145
|
+
Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
|
|
146
146
|
*/
|
|
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 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.
|
|
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://docs.cloud.google.com/logging/docs/default-settings) for more information.
|
|
151
151
|
*/
|
|
152
152
|
await gapi.client.logging.folders.updateSettings({name: 'name'});
|
|
153
153
|
|
|
@@ -157,7 +157,7 @@ Gets information about a location.
|
|
|
157
157
|
await gapi.client.logging.locations.get({name: 'name'});
|
|
158
158
|
|
|
159
159
|
/*
|
|
160
|
-
Lists information about the supported locations for this service.
|
|
160
|
+
Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.
|
|
161
161
|
*/
|
|
162
162
|
await gapi.client.logging.locations.list({name: 'name'});
|
|
163
163
|
|
|
@@ -177,32 +177,32 @@ Lists the descriptors for monitored resource types used by Logging.
|
|
|
177
177
|
await gapi.client.logging.monitoredResourceDescriptors.list({});
|
|
178
178
|
|
|
179
179
|
/*
|
|
180
|
-
Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See
|
|
180
|
+
Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.
|
|
181
181
|
*/
|
|
182
182
|
await gapi.client.logging.organizations.getCmekSettings({name: 'name'});
|
|
183
183
|
|
|
184
184
|
/*
|
|
185
|
-
Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
|
|
185
|
+
Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
|
|
186
186
|
*/
|
|
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 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
|
|
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 Configure CMEK for Cloud Logging (https://docs.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 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.
|
|
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://docs.cloud.google.com/logging/docs/default-settings) for more information.
|
|
196
196
|
*/
|
|
197
197
|
await gapi.client.logging.organizations.updateSettings({name: 'name'});
|
|
198
198
|
|
|
199
199
|
/*
|
|
200
|
-
Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See
|
|
200
|
+
Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.
|
|
201
201
|
*/
|
|
202
202
|
await gapi.client.logging.projects.getCmekSettings({name: 'name'});
|
|
203
203
|
|
|
204
204
|
/*
|
|
205
|
-
Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
|
|
205
|
+
Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
|
|
206
206
|
*/
|
|
207
207
|
await gapi.client.logging.projects.getSettings({name: 'name'});
|
|
208
208
|
|
|
@@ -232,22 +232,22 @@ Updates a sink. This method replaces the values of the destination and filter fi
|
|
|
232
232
|
await gapi.client.logging.sinks.update({sinkName: 'sinkName'});
|
|
233
233
|
|
|
234
234
|
/*
|
|
235
|
-
Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See
|
|
235
|
+
Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Configure CMEK for Cloud Logging (https://docs.cloud.google.com/logging/docs/routing/managed-encryption) for more information.
|
|
236
236
|
*/
|
|
237
237
|
await gapi.client.logging.getCmekSettings({name: 'name'});
|
|
238
238
|
|
|
239
239
|
/*
|
|
240
|
-
Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
|
|
240
|
+
Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://docs.cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
|
|
241
241
|
*/
|
|
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 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
|
|
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 Configure CMEK for Cloud Logging (https://docs.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 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.
|
|
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://docs.cloud.google.com/logging/docs/default-settings) for more information.
|
|
251
251
|
*/
|
|
252
252
|
await gapi.client.logging.updateSettings({name: 'name'});
|
|
253
253
|
```
|