google-apis-logging_v2 0.59.0 → 0.61.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1def1b43a67a73d815c132797d4af9836a493a0afc2856b7e2ded9c5426188ac
4
- data.tar.gz: 4572eee26037e4c4c10f5a9b91dacce9324fd9acdc9fe57c19c05cf53ba418af
3
+ metadata.gz: bd85ffc0b50ecbe07aaec05594ec5dc34477ca7534b97a816b4ddffc7a6bb403
4
+ data.tar.gz: fae2f200ed4261c827c174dde227e63af8e60be05bba5564cbaedec965fa3b6f
5
5
  SHA512:
6
- metadata.gz: 4ec75371f8d9f755bf2ae46fa1a297e5589f7a469fd31e56567fd43d93ce07316e0d75d8462ae99f36e4fb5948aa97af0023e66bdeda974497015c430fc2a321
7
- data.tar.gz: 99a71832fb672a5b89b429bc490d0750fab30680f9936d74b649b2608b31f4a751e30809f9c67c76c4fe7da66ac1952d2109a260508a1b7ef6654fea6f04f0f2
6
+ metadata.gz: 4a9b0b1f770e421f4ffcc05452e55fe91f66ff32527e7ee26fed1bfd985125632f020a8326aa583bf9e55ed90527f3b157446c4f4ab61e6465fd706669c6acfb
7
+ data.tar.gz: d9779f03a9013353a68791810c29e08a351c7ecab674a4dbabe02215ebcd9979c2dd69efe55e4e7108ce1abf483ce6b9cc80ea73806f01a5143c51de731c671e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.61.0 (2024-01-22)
4
+
5
+ * Regenerated from discovery document revision 20240112
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.60.0 (2023-12-17)
9
+
10
+ * Regenerated from discovery document revision 20231210
11
+
3
12
  ### v0.59.0 (2023-12-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20231130
@@ -101,7 +101,7 @@ module Google
101
101
  # @return [String]
102
102
  attr_accessor :start_time
103
103
 
104
- # State of an operation.
104
+ # Output only. State of an operation.
105
105
  # Corresponds to the JSON property `state`
106
106
  # @return [String]
107
107
  attr_accessor :state
@@ -204,32 +204,32 @@ module Google
204
204
  class CmekSettings
205
205
  include Google::Apis::Core::Hashable
206
206
 
207
- # The resource name for the configured Cloud KMS key.KMS key name format: "
208
- # projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
209
- # For example:"projects/my-project/locations/us-central1/keyRings/my-ring/
210
- # cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid
211
- # kms_key_name for which the associated service account has the needed cloudkms.
212
- # cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used
213
- # by the Log Router can be updated by changing the kms_key_name to a new valid
214
- # key name or disabled by setting the key name to an empty string. Encryption
215
- # operations that are in progress will be completed with the key that was in use
216
- # when they started. Decryption operations will be completed using the key that
217
- # was used at the time of encryption unless access to that key has been revoked.
218
- # To disable CMEK for the Log Router, set this field to an empty string.See
219
- # Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/
220
- # managed-encryption) for more information.
207
+ # Optional. The resource name for the configured Cloud KMS key.KMS key name
208
+ # format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
209
+ # cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/
210
+ # keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this
211
+ # field to a valid kms_key_name for which the associated service account has the
212
+ # needed cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The
213
+ # Cloud KMS key used by the Log Router can be updated by changing the
214
+ # kms_key_name to a new valid key name or disabled by setting the key name to an
215
+ # empty string. Encryption operations that are in progress will be completed
216
+ # with the key that was in use when they started. Decryption operations will be
217
+ # completed using the key that was used at the time of encryption unless access
218
+ # to that key has been revoked.To disable CMEK for the Log Router, set this
219
+ # field to an empty string.See Enabling CMEK for Log Router (https://cloud.
220
+ # google.com/logging/docs/routing/managed-encryption) for more information.
221
221
  # Corresponds to the JSON property `kmsKeyName`
222
222
  # @return [String]
223
223
  attr_accessor :kms_key_name
224
224
 
225
- # The CryptoKeyVersion resource name for the configured Cloud KMS key.KMS key
226
- # name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
227
- # cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/my-project/
228
- # locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"
229
- # This is a read-only field used to convey the specific configured
230
- # CryptoKeyVersion of kms_key that has been configured. It will be populated in
231
- # cases where the CMEK settings are bound to a single key version.If this field
232
- # is populated, the kms_key is tied to a specific CryptoKeyVersion.
225
+ # Output only. The CryptoKeyVersion resource name for the configured Cloud KMS
226
+ # key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[
227
+ # KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" For example:"projects/
228
+ # my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/
229
+ # cryptoKeyVersions/1"This is a read-only field used to convey the specific
230
+ # configured CryptoKeyVersion of kms_key that has been configured. It will be
231
+ # populated in cases where the CMEK settings are bound to a single key version.
232
+ # If this field is populated, the kms_key is tied to a specific CryptoKeyVersion.
233
233
  # Corresponds to the JSON property `kmsKeyVersionName`
234
234
  # @return [String]
235
235
  attr_accessor :kms_key_version_name
@@ -272,6 +272,12 @@ module Google
272
272
  attr_accessor :cancellation_requested
273
273
  alias_method :cancellation_requested?, :cancellation_requested
274
274
 
275
+ # Destination to which to copy log entries.For example, a Cloud Storage bucket:"
276
+ # storage.googleapis.com/my-cloud-storage-bucket"
277
+ # Corresponds to the JSON property `destination`
278
+ # @return [String]
279
+ attr_accessor :destination
280
+
275
281
  # The end time of an operation.
276
282
  # Corresponds to the JSON property `endTime`
277
283
  # @return [String]
@@ -287,16 +293,27 @@ module Google
287
293
  # @return [Google::Apis::LoggingV2::CopyLogEntriesRequest]
288
294
  attr_accessor :request
289
295
 
296
+ # Source from which to copy log entries.For example, a log bucket:"projects/my-
297
+ # project/locations/global/buckets/my-source-bucket"
298
+ # Corresponds to the JSON property `source`
299
+ # @return [String]
300
+ attr_accessor :source
301
+
290
302
  # The create time of an operation.
291
303
  # Corresponds to the JSON property `startTime`
292
304
  # @return [String]
293
305
  attr_accessor :start_time
294
306
 
295
- # State of an operation.
307
+ # Output only. State of an operation.
296
308
  # Corresponds to the JSON property `state`
297
309
  # @return [String]
298
310
  attr_accessor :state
299
311
 
312
+ # Name of the verb executed by the operation.For example,"copy"
313
+ # Corresponds to the JSON property `verb`
314
+ # @return [String]
315
+ attr_accessor :verb
316
+
300
317
  # The IAM identity of a service account that must be granted access to the
301
318
  # destination.If the service account is not granted permission to the
302
319
  # destination within an hour, the operation will be cancelled.For example: "
@@ -312,11 +329,14 @@ module Google
312
329
  # Update properties of this object
313
330
  def update!(**args)
314
331
  @cancellation_requested = args[:cancellation_requested] if args.key?(:cancellation_requested)
332
+ @destination = args[:destination] if args.key?(:destination)
315
333
  @end_time = args[:end_time] if args.key?(:end_time)
316
334
  @progress = args[:progress] if args.key?(:progress)
317
335
  @request = args[:request] if args.key?(:request)
336
+ @source = args[:source] if args.key?(:source)
318
337
  @start_time = args[:start_time] if args.key?(:start_time)
319
338
  @state = args[:state] if args.key?(:state)
339
+ @verb = args[:verb] if args.key?(:verb)
320
340
  @writer_identity = args[:writer_identity] if args.key?(:writer_identity)
321
341
  end
322
342
  end
@@ -460,9 +480,9 @@ module Google
460
480
  # Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/
461
481
  # advanced-queries). The only exported log entries are those that are in the
462
482
  # resource owning the sink and that match the filter.For example:logName="
463
- # projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERRORCannot be empty or
464
- # unset if mode == OVERWRITE. In order to match all logs, use the following line
465
- # as the value of filter and do not use exclusions:logName:*
483
+ # projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERRORTo match all logs, don'
484
+ # t add exclusions and use the following line as the value of filter:logName:*
485
+ # Cannot be empty or unset when the value of mode is OVERWRITE.
466
486
  # Corresponds to the JSON property `filter`
467
487
  # @return [String]
468
488
  attr_accessor :filter
@@ -821,7 +841,8 @@ module Google
821
841
  # @return [String]
822
842
  attr_accessor :create_time
823
843
 
824
- # Describes this link.The maximum length of the description is 8000 characters.
844
+ # Optional. Describes this link.The maximum length of the description is 8000
845
+ # characters.
825
846
  # Corresponds to the JSON property `description`
826
847
  # @return [String]
827
848
  attr_accessor :description
@@ -831,15 +852,15 @@ module Google
831
852
  # @return [String]
832
853
  attr_accessor :lifecycle_state
833
854
 
834
- # The resource name of the link. The name can have up to 100 characters. A valid
835
- # link id (at the end of the link name) must only have alphanumeric characters
836
- # and underscores within it. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/
837
- # buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/
838
- # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[
839
- # BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
840
- # " "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[
841
- # LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/
842
- # links/my_link
855
+ # Output only. The resource name of the link. The name can have up to 100
856
+ # characters. A valid link id (at the end of the link name) must only have
857
+ # alphanumeric characters and underscores within it. "projects/[PROJECT_ID]/
858
+ # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[
859
+ # ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "
860
+ # billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
861
+ # BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/
862
+ # buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/
863
+ # locations/global/buckets/my-bucket/links/my_link
843
864
  # Corresponds to the JSON property `name`
844
865
  # @return [String]
845
866
  attr_accessor :name
@@ -882,7 +903,7 @@ module Google
882
903
  # @return [String]
883
904
  attr_accessor :start_time
884
905
 
885
- # State of an operation.
906
+ # Output only. State of an operation.
886
907
  # Corresponds to the JSON property `state`
887
908
  # @return [String]
888
909
  attr_accessor :state
@@ -1431,8 +1452,8 @@ module Google
1431
1452
  class LogBucket
1432
1453
  include Google::Apis::Core::Hashable
1433
1454
 
1434
- # Whether log analytics is enabled for this bucket.Once enabled, log analytics
1435
- # features cannot be disabled.
1455
+ # Optional. Whether log analytics is enabled for this bucket.Once enabled, log
1456
+ # analytics features cannot be disabled.
1436
1457
  # Corresponds to the JSON property `analyticsEnabled`
1437
1458
  # @return [Boolean]
1438
1459
  attr_accessor :analytics_enabled
@@ -1454,12 +1475,12 @@ module Google
1454
1475
  # @return [String]
1455
1476
  attr_accessor :create_time
1456
1477
 
1457
- # Describes this bucket.
1478
+ # Optional. Describes this bucket.
1458
1479
  # Corresponds to the JSON property `description`
1459
1480
  # @return [String]
1460
1481
  attr_accessor :description
1461
1482
 
1462
- # A list of indexed fields and related configuration data.
1483
+ # Optional. A list of indexed fields and related configuration data.
1463
1484
  # Corresponds to the JSON property `indexConfigs`
1464
1485
  # @return [Array<Google::Apis::LoggingV2::IndexConfig>]
1465
1486
  attr_accessor :index_configs
@@ -1469,8 +1490,8 @@ module Google
1469
1490
  # @return [String]
1470
1491
  attr_accessor :lifecycle_state
1471
1492
 
1472
- # Whether the bucket is locked.The retention period on a locked bucket cannot be
1473
- # changed. Locked buckets may only be deleted if they are empty.
1493
+ # Optional. Whether the bucket is locked.The retention period on a locked bucket
1494
+ # cannot be changed. Locked buckets may only be deleted if they are empty.
1474
1495
  # Corresponds to the JSON property `locked`
1475
1496
  # @return [Boolean]
1476
1497
  attr_accessor :locked
@@ -1485,19 +1506,19 @@ module Google
1485
1506
  # @return [String]
1486
1507
  attr_accessor :name
1487
1508
 
1488
- # Log entry field paths that are denied access in this bucket.The following
1489
- # fields and their children are eligible: textPayload, jsonPayload, protoPayload,
1490
- # httpRequest, labels, sourceLocation.Restricting a repeated field will
1491
- # restrict all values. Adding a parent will block all child fields. (e.g. foo.
1492
- # bar will block foo.bar.baz)
1509
+ # Optional. Log entry field paths that are denied access in this bucket.The
1510
+ # following fields and their children are eligible: textPayload, jsonPayload,
1511
+ # protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field
1512
+ # will restrict all values. Adding a parent will block all child fields. (e.g.
1513
+ # foo.bar will block foo.bar.baz)
1493
1514
  # Corresponds to the JSON property `restrictedFields`
1494
1515
  # @return [Array<String>]
1495
1516
  attr_accessor :restricted_fields
1496
1517
 
1497
- # Logs will be retained by default for this amount of time, after which they
1498
- # will automatically be deleted. The minimum retention period is 1 day. If this
1499
- # value is set to zero at bucket creation time, the default time of 30 days will
1500
- # be used.
1518
+ # Optional. Logs will be retained by default for this amount of time, after
1519
+ # which they will automatically be deleted. The minimum retention period is 1
1520
+ # day. If this value is set to zero at bucket creation time, the default time of
1521
+ # 30 days will be used.
1501
1522
  # Corresponds to the JSON property `retentionDays`
1502
1523
  # @return [Fixnum]
1503
1524
  attr_accessor :retention_days
@@ -1834,11 +1855,11 @@ module Google
1834
1855
  include Google::Apis::Core::Hashable
1835
1856
 
1836
1857
  # The id is a unique identifier for a particular error group; it is the last
1837
- # part of the error group resource name: /projects//errors/. Example:
1838
- # COShysOX0r_51QE The id is derived from key parts of the error-log content and
1839
- # is treated as Service Data. For information about how Service Data is handled,
1840
- # see Google Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-
1841
- # notice).
1858
+ # part of the error group resource name: /project/[PROJECT_ID]/errors/[
1859
+ # ERROR_GROUP_ID]. Example: COShysOX0r_51QE. The id is derived from key parts of
1860
+ # the error-log content and is treated as Service Data. For information about
1861
+ # how Service Data is handled, see Google Cloud Privacy Notice (https://cloud.
1862
+ # google.com/terms/cloud-privacy-notice).
1842
1863
  # Corresponds to the JSON property `id`
1843
1864
  # @return [String]
1844
1865
  attr_accessor :id
@@ -1891,7 +1912,7 @@ module Google
1891
1912
  # @return [String]
1892
1913
  attr_accessor :filter
1893
1914
 
1894
- # Required. A client-assigned identifier, such as "load-balancer-exclusion".
1915
+ # Output only. A client-assigned identifier, such as "load-balancer-exclusion".
1895
1916
  # Identifiers are limited to 100 characters and can include only letters, digits,
1896
1917
  # underscores, hyphens, and periods. First character has to be alphanumeric.
1897
1918
  # Corresponds to the JSON property `name`
@@ -2101,8 +2122,8 @@ module Google
2101
2122
  end
2102
2123
 
2103
2124
  # Describes a sink used to export log entries to one of the following
2104
- # destinations in any project: a Cloud Storage bucket, a BigQuery dataset, a Pub/
2105
- # Sub topic or a Cloud Logging log bucket. A logs filter controls which log
2125
+ # destinations: a Cloud Logging log bucket, a Cloud Storage bucket, a BigQuery
2126
+ # dataset, a Pub/Sub topic, a Cloud project.A logs filter controls which log
2106
2127
  # entries are exported. The sink must be created within a project, organization,
2107
2128
  # billing account, or folder.
2108
2129
  class LogSink
@@ -2176,11 +2197,11 @@ module Google
2176
2197
  attr_accessor :include_children
2177
2198
  alias_method :include_children?, :include_children
2178
2199
 
2179
- # Required. The client-assigned sink identifier, unique within the project.For
2180
- # example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100
2200
+ # Output only. The client-assigned sink identifier, unique within the project.
2201
+ # For example: "my-syslog-errors-to-pubsub".Sink identifiers are limited to 100
2181
2202
  # characters and can include only the following characters: upper and lower-case
2182
- # alphanumeric characters, underscores, hyphens, and periods. First character
2183
- # has to be alphanumeric.
2203
+ # alphanumeric characters, underscores, hyphens, periods.First character has to
2204
+ # be alphanumeric.
2184
2205
  # Corresponds to the JSON property `name`
2185
2206
  # @return [String]
2186
2207
  attr_accessor :name
@@ -2278,22 +2299,25 @@ module Google
2278
2299
  # @return [String]
2279
2300
  attr_accessor :create_time
2280
2301
 
2281
- # Describes this view.
2302
+ # Optional. Describes this view.
2282
2303
  # Corresponds to the JSON property `description`
2283
2304
  # @return [String]
2284
2305
  attr_accessor :description
2285
2306
 
2286
- # Filter that restricts which log entries in a bucket are visible in this view.
2287
- # Filters are restricted to be a logical AND of ==/!= of any of the following:
2288
- # originating project/folder/organization/billing account. resource type log
2289
- # idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance"
2290
- # AND LOG_ID("stdout")
2307
+ # Optional. Filter that restricts which log entries in a bucket are visible in
2308
+ # this view.Filters must be logical conjunctions that use the AND operator, and
2309
+ # they can use any of the following qualifiers: SOURCE(), which specifies a
2310
+ # project, folder, organization, or billing account of origin. resource.type,
2311
+ # which specifies the resource type. LOG_ID(), which identifies the log.They can
2312
+ # also use the negations of these qualifiers with the NOT operator.For example:
2313
+ # SOURCE("projects/myproject") AND resource.type = "gce_instance" AND NOT LOG_ID(
2314
+ # "stdout")
2291
2315
  # Corresponds to the JSON property `filter`
2292
2316
  # @return [String]
2293
2317
  attr_accessor :filter
2294
2318
 
2295
- # The resource name of the view.For example:projects/my-project/locations/global/
2296
- # buckets/my-bucket/views/my-view
2319
+ # Output only. The resource name of the view.For example:projects/my-project/
2320
+ # locations/global/buckets/my-bucket/views/my-view
2297
2321
  # Corresponds to the JSON property `name`
2298
2322
  # @return [String]
2299
2323
  attr_accessor :name
@@ -2324,9 +2348,9 @@ module Google
2324
2348
  class LoggingQuery
2325
2349
  include Google::Apis::Core::Hashable
2326
2350
 
2327
- # An advanced query using the Logging Query Language (https://cloud.google.com/
2328
- # logging/docs/view/logging-query-language). The maximum length of the filter is
2329
- # 20000 characters.
2351
+ # Required. An advanced query using the Logging Query Language (https://cloud.
2352
+ # google.com/logging/docs/view/logging-query-language). The maximum length of
2353
+ # the filter is 20000 characters.
2330
2354
  # Corresponds to the JSON property `filter`
2331
2355
  # @return [String]
2332
2356
  attr_accessor :filter
@@ -2341,7 +2365,7 @@ module Google
2341
2365
  # @return [Fixnum]
2342
2366
  attr_accessor :summary_field_start
2343
2367
 
2344
- # The set of summary fields to display for this saved query.
2368
+ # Optional. The set of summary fields to display for this saved query.
2345
2369
  # Corresponds to the JSON property `summaryFields`
2346
2370
  # @return [Array<Google::Apis::LoggingV2::SummaryField>]
2347
2371
  attr_accessor :summary_fields
@@ -2622,7 +2646,7 @@ module Google
2622
2646
 
2623
2647
  # Required. The monitored resource type. For example, the type "
2624
2648
  # cloudsql_database" represents databases in Google Cloud SQL. For a list of
2625
- # types, see Monitoring resource types (https://cloud.google.com/monitoring/api/
2649
+ # types, see Monitored resource types (https://cloud.google.com/monitoring/api/
2626
2650
  # resources) and Logging resource types (https://cloud.google.com/logging/docs/
2627
2651
  # api/v2/resource-list).
2628
2652
  # Corresponds to the JSON property `type`
@@ -2766,7 +2790,7 @@ module Google
2766
2790
  class RecentQuery
2767
2791
  include Google::Apis::Core::Hashable
2768
2792
 
2769
- # The timestamp when this query was last run.
2793
+ # Output only. The timestamp when this query was last run.
2770
2794
  # Corresponds to the JSON property `lastRunTime`
2771
2795
  # @return [String]
2772
2796
  attr_accessor :last_run_time
@@ -3053,12 +3077,12 @@ module Google
3053
3077
  # @return [String]
3054
3078
  attr_accessor :create_time
3055
3079
 
3056
- # A human readable description of the saved query.
3080
+ # Optional. A human readable description of the saved query.
3057
3081
  # Corresponds to the JSON property `description`
3058
3082
  # @return [String]
3059
3083
  attr_accessor :description
3060
3084
 
3061
- # The user specified title for the SavedQuery.
3085
+ # Optional. The user specified title for the SavedQuery.
3062
3086
  # Corresponds to the JSON property `displayName`
3063
3087
  # @return [String]
3064
3088
  attr_accessor :display_name
@@ -3167,12 +3191,11 @@ module Google
3167
3191
  # @return [String]
3168
3192
  attr_accessor :name
3169
3193
 
3170
- # Optional. The storage location that Cloud Logging will use to create new
3171
- # resources when a location is needed but not explicitly provided. The use cases
3172
- # includes: The location of _Default and _Required log bucket for newly created
3173
- # projects and folders.Example value: europe-west1.Note: this setting does not
3174
- # affect the location of resources where a location is explicitly provided when
3175
- # created, such as custom log buckets.
3194
+ # Optional. The storage location for the _Default and _Required log buckets of
3195
+ # newly created projects and folders, unless the storage location is explicitly
3196
+ # provided.Example value: europe-west1.Note: this setting does not affect the
3197
+ # location of resources where a location is explicitly provided when created,
3198
+ # such as custom log buckets.
3176
3199
  # Corresponds to the JSON property `storageLocation`
3177
3200
  # @return [String]
3178
3201
  attr_accessor :storage_location
@@ -3302,8 +3325,8 @@ module Google
3302
3325
  class SummaryField
3303
3326
  include Google::Apis::Core::Hashable
3304
3327
 
3305
- # The field from the LogEntry to include in the summary line, for example
3306
- # resource.type or jsonPayload.name.
3328
+ # Optional. The field from the LogEntry to include in the summary line, for
3329
+ # example resource.type or jsonPayload.name.
3307
3330
  # Corresponds to the JSON property `field`
3308
3331
  # @return [String]
3309
3332
  attr_accessor :field
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module LoggingV2
18
18
  # Version of the google-apis-logging_v2 gem
19
- GEM_VERSION = "0.59.0"
19
+ GEM_VERSION = "0.61.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231130"
25
+ REVISION = "20240112"
26
26
  end
27
27
  end
28
28
  end
@@ -514,12 +514,15 @@ module Google
514
514
  # @private
515
515
  class Representation < Google::Apis::Core::JsonRepresentation
516
516
  property :cancellation_requested, as: 'cancellationRequested'
517
+ property :destination, as: 'destination'
517
518
  property :end_time, as: 'endTime'
518
519
  property :progress, as: 'progress'
519
520
  property :request, as: 'request', class: Google::Apis::LoggingV2::CopyLogEntriesRequest, decorator: Google::Apis::LoggingV2::CopyLogEntriesRequest::Representation
520
521
 
522
+ property :source, as: 'source'
521
523
  property :start_time, as: 'startTime'
522
524
  property :state, as: 'state'
525
+ property :verb, as: 'verb'
523
526
  property :writer_identity, as: 'writerIdentity'
524
527
  end
525
528
  end
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/logging/docs/
34
34
  class LoggingService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://logging.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://logging.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-logging_v2',
48
50
  client_version: Google::Apis::LoggingV2::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -1035,10 +1037,11 @@ module Google
1035
1037
  execute_or_queue_command(command, &block)
1036
1038
  end
1037
1039
 
1038
- # Updates a view on a log bucket. This method replaces the following fields in
1039
- # the existing view with values from the new view: filter. If an UNAVAILABLE
1040
- # error is returned, this indicates that system is not in a state where it can
1041
- # update the view. If this occurs, please try again in a few minutes.
1040
+ # Updates a view on a log bucket. This method replaces the value of the filter
1041
+ # field from the existing view with the corresponding value from the new view.
1042
+ # If an UNAVAILABLE error is returned, this indicates that system is not in a
1043
+ # state where it can update the view. If this occurs, please try again in a few
1044
+ # minutes.
1042
1045
  # @param [String] name
1043
1046
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
1044
1047
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -1307,8 +1310,8 @@ module Google
1307
1310
  # component of the saved query's resource name.If the saved_query_id is not
1308
1311
  # provided, the system will generate an alphanumeric ID.The saved_query_id is
1309
1312
  # limited to 100 characters and can include only the following characters: upper
1310
- # and lower-case alphanumeric characters, underscores, hyphens, and periods.
1311
- # First character has to be alphanumeric.
1313
+ # and lower-case alphanumeric characters, underscores, hyphens, periods.First
1314
+ # character has to be alphanumeric.
1312
1315
  # @param [String] fields
1313
1316
  # Selector specifying which fields to include in a partial response.
1314
1317
  # @param [String] quota_user
@@ -1685,9 +1688,10 @@ module Google
1685
1688
  execute_or_queue_command(command, &block)
1686
1689
  end
1687
1690
 
1688
- # Updates a sink. This method replaces the following fields in the existing sink
1689
- # with values from the new sink: destination, and filter.The updated sink might
1690
- # also have a new writer_identity; see the unique_writer_identity field.
1691
+ # Updates a sink. This method replaces the values of the destination and filter
1692
+ # fields of the existing sink with the corresponding values from the new sink.
1693
+ # The updated sink might also have a new writer_identity; see the
1694
+ # unique_writer_identity field.
1691
1695
  # @param [String] sink_name
1692
1696
  # Required. The full resource name of the sink to update, including the parent
1693
1697
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -1753,9 +1757,10 @@ module Google
1753
1757
  execute_or_queue_command(command, &block)
1754
1758
  end
1755
1759
 
1756
- # Updates a sink. This method replaces the following fields in the existing sink
1757
- # with values from the new sink: destination, and filter.The updated sink might
1758
- # also have a new writer_identity; see the unique_writer_identity field.
1760
+ # Updates a sink. This method replaces the values of the destination and filter
1761
+ # fields of the existing sink with the corresponding values from the new sink.
1762
+ # The updated sink might also have a new writer_identity; see the
1763
+ # unique_writer_identity field.
1759
1764
  # @param [String] sink_name
1760
1765
  # Required. The full resource name of the sink to update, including the parent
1761
1766
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -2222,14 +2227,15 @@ module Google
2222
2227
  end
2223
2228
 
2224
2229
  # Updates the settings for the given resource. This method applies to all
2225
- # feature configurations for organization and folders.UpdateSettings will fail
2226
- # if 1) kms_key_name is invalid, 2) the associated service account does not have
2227
- # the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the
2228
- # key, 3) access to the key is disabled, 4) storage_location is not supported by
2229
- # Logging, 5) storage_location violates the location OrgPolicy, or 6)
2230
- # default_sink_config is set but has an unspecified filter write mode.See
2231
- # Configure default settings for organizations and folders (https://cloud.google.
2232
- # com/logging/docs/default-settings) for more information.
2230
+ # feature configurations for organization and folders.UpdateSettings fails when
2231
+ # any of the following are true: The value of storage_location either isn't
2232
+ # supported by Logging or violates the location OrgPolicy. The
2233
+ # default_sink_config field is set, but it has an unspecified filter write mode.
2234
+ # The value of kms_key_name is invalid. The associated service account doesn't
2235
+ # have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for
2236
+ # the key. Access to the key is disabled.See Configure default settings for
2237
+ # organizations and folders (https://cloud.google.com/logging/docs/default-
2238
+ # settings) for more information.
2233
2239
  # @param [String] name
2234
2240
  # Required. The resource name for the settings to update. "organizations/[
2235
2241
  # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
@@ -3177,10 +3183,11 @@ module Google
3177
3183
  execute_or_queue_command(command, &block)
3178
3184
  end
3179
3185
 
3180
- # Updates a view on a log bucket. This method replaces the following fields in
3181
- # the existing view with values from the new view: filter. If an UNAVAILABLE
3182
- # error is returned, this indicates that system is not in a state where it can
3183
- # update the view. If this occurs, please try again in a few minutes.
3186
+ # Updates a view on a log bucket. This method replaces the value of the filter
3187
+ # field from the existing view with the corresponding value from the new view.
3188
+ # If an UNAVAILABLE error is returned, this indicates that system is not in a
3189
+ # state where it can update the view. If this occurs, please try again in a few
3190
+ # minutes.
3184
3191
  # @param [String] name
3185
3192
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
3186
3193
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -3449,8 +3456,8 @@ module Google
3449
3456
  # component of the saved query's resource name.If the saved_query_id is not
3450
3457
  # provided, the system will generate an alphanumeric ID.The saved_query_id is
3451
3458
  # limited to 100 characters and can include only the following characters: upper
3452
- # and lower-case alphanumeric characters, underscores, hyphens, and periods.
3453
- # First character has to be alphanumeric.
3459
+ # and lower-case alphanumeric characters, underscores, hyphens, periods.First
3460
+ # character has to be alphanumeric.
3454
3461
  # @param [String] fields
3455
3462
  # Selector specifying which fields to include in a partial response.
3456
3463
  # @param [String] quota_user
@@ -3827,9 +3834,10 @@ module Google
3827
3834
  execute_or_queue_command(command, &block)
3828
3835
  end
3829
3836
 
3830
- # Updates a sink. This method replaces the following fields in the existing sink
3831
- # with values from the new sink: destination, and filter.The updated sink might
3832
- # also have a new writer_identity; see the unique_writer_identity field.
3837
+ # Updates a sink. This method replaces the values of the destination and filter
3838
+ # fields of the existing sink with the corresponding values from the new sink.
3839
+ # The updated sink might also have a new writer_identity; see the
3840
+ # unique_writer_identity field.
3833
3841
  # @param [String] sink_name
3834
3842
  # Required. The full resource name of the sink to update, including the parent
3835
3843
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -3895,9 +3903,10 @@ module Google
3895
3903
  execute_or_queue_command(command, &block)
3896
3904
  end
3897
3905
 
3898
- # Updates a sink. This method replaces the following fields in the existing sink
3899
- # with values from the new sink: destination, and filter.The updated sink might
3900
- # also have a new writer_identity; see the unique_writer_identity field.
3906
+ # Updates a sink. This method replaces the values of the destination and filter
3907
+ # fields of the existing sink with the corresponding values from the new sink.
3908
+ # The updated sink might also have a new writer_identity; see the
3909
+ # unique_writer_identity field.
3901
3910
  # @param [String] sink_name
3902
3911
  # Required. The full resource name of the sink to update, including the parent
3903
3912
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -4677,10 +4686,11 @@ module Google
4677
4686
  execute_or_queue_command(command, &block)
4678
4687
  end
4679
4688
 
4680
- # Updates a view on a log bucket. This method replaces the following fields in
4681
- # the existing view with values from the new view: filter. If an UNAVAILABLE
4682
- # error is returned, this indicates that system is not in a state where it can
4683
- # update the view. If this occurs, please try again in a few minutes.
4689
+ # Updates a view on a log bucket. This method replaces the value of the filter
4690
+ # field from the existing view with the corresponding value from the new view.
4691
+ # If an UNAVAILABLE error is returned, this indicates that system is not in a
4692
+ # state where it can update the view. If this occurs, please try again in a few
4693
+ # minutes.
4684
4694
  # @param [String] name
4685
4695
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
4686
4696
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -5045,11 +5055,11 @@ module Google
5045
5055
  # Updates the Log Router CMEK settings for the given resource.Note: CMEK for the
5046
5056
  # Log Router can currently only be configured for Google Cloud organizations.
5047
5057
  # Once configured, it applies to all projects and folders in the Google Cloud
5048
- # organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or 2)
5049
- # the associated service account does not have the required roles/cloudkms.
5050
- # cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key
5051
- # is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/
5052
- # docs/routing/managed-encryption) for more information.
5058
+ # organization.UpdateCmekSettings fails when any of the following are true: The
5059
+ # value of kms_key_name is invalid. The associated service account doesn't have
5060
+ # the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the
5061
+ # key. Access to the key is disabled.See Enabling CMEK for Log Router (https://
5062
+ # cloud.google.com/logging/docs/routing/managed-encryption) for more information.
5053
5063
  # @param [String] name
5054
5064
  # Required. The resource name for the CMEK settings to update. "projects/[
5055
5065
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
@@ -5095,14 +5105,15 @@ module Google
5095
5105
  end
5096
5106
 
5097
5107
  # Updates the settings for the given resource. This method applies to all
5098
- # feature configurations for organization and folders.UpdateSettings will fail
5099
- # if 1) kms_key_name is invalid, 2) the associated service account does not have
5100
- # the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the
5101
- # key, 3) access to the key is disabled, 4) storage_location is not supported by
5102
- # Logging, 5) storage_location violates the location OrgPolicy, or 6)
5103
- # default_sink_config is set but has an unspecified filter write mode.See
5104
- # Configure default settings for organizations and folders (https://cloud.google.
5105
- # com/logging/docs/default-settings) for more information.
5108
+ # feature configurations for organization and folders.UpdateSettings fails when
5109
+ # any of the following are true: The value of storage_location either isn't
5110
+ # supported by Logging or violates the location OrgPolicy. The
5111
+ # default_sink_config field is set, but it has an unspecified filter write mode.
5112
+ # The value of kms_key_name is invalid. The associated service account doesn't
5113
+ # have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for
5114
+ # the key. Access to the key is disabled.See Configure default settings for
5115
+ # organizations and folders (https://cloud.google.com/logging/docs/default-
5116
+ # settings) for more information.
5106
5117
  # @param [String] name
5107
5118
  # Required. The resource name for the settings to update. "organizations/[
5108
5119
  # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
@@ -6050,10 +6061,11 @@ module Google
6050
6061
  execute_or_queue_command(command, &block)
6051
6062
  end
6052
6063
 
6053
- # Updates a view on a log bucket. This method replaces the following fields in
6054
- # the existing view with values from the new view: filter. If an UNAVAILABLE
6055
- # error is returned, this indicates that system is not in a state where it can
6056
- # update the view. If this occurs, please try again in a few minutes.
6064
+ # Updates a view on a log bucket. This method replaces the value of the filter
6065
+ # field from the existing view with the corresponding value from the new view.
6066
+ # If an UNAVAILABLE error is returned, this indicates that system is not in a
6067
+ # state where it can update the view. If this occurs, please try again in a few
6068
+ # minutes.
6057
6069
  # @param [String] name
6058
6070
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
6059
6071
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -6322,8 +6334,8 @@ module Google
6322
6334
  # component of the saved query's resource name.If the saved_query_id is not
6323
6335
  # provided, the system will generate an alphanumeric ID.The saved_query_id is
6324
6336
  # limited to 100 characters and can include only the following characters: upper
6325
- # and lower-case alphanumeric characters, underscores, hyphens, and periods.
6326
- # First character has to be alphanumeric.
6337
+ # and lower-case alphanumeric characters, underscores, hyphens, periods.First
6338
+ # character has to be alphanumeric.
6327
6339
  # @param [String] fields
6328
6340
  # Selector specifying which fields to include in a partial response.
6329
6341
  # @param [String] quota_user
@@ -6700,9 +6712,10 @@ module Google
6700
6712
  execute_or_queue_command(command, &block)
6701
6713
  end
6702
6714
 
6703
- # Updates a sink. This method replaces the following fields in the existing sink
6704
- # with values from the new sink: destination, and filter.The updated sink might
6705
- # also have a new writer_identity; see the unique_writer_identity field.
6715
+ # Updates a sink. This method replaces the values of the destination and filter
6716
+ # fields of the existing sink with the corresponding values from the new sink.
6717
+ # The updated sink might also have a new writer_identity; see the
6718
+ # unique_writer_identity field.
6706
6719
  # @param [String] sink_name
6707
6720
  # Required. The full resource name of the sink to update, including the parent
6708
6721
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -6768,9 +6781,10 @@ module Google
6768
6781
  execute_or_queue_command(command, &block)
6769
6782
  end
6770
6783
 
6771
- # Updates a sink. This method replaces the following fields in the existing sink
6772
- # with values from the new sink: destination, and filter.The updated sink might
6773
- # also have a new writer_identity; see the unique_writer_identity field.
6784
+ # Updates a sink. This method replaces the values of the destination and filter
6785
+ # fields of the existing sink with the corresponding values from the new sink.
6786
+ # The updated sink might also have a new writer_identity; see the
6787
+ # unique_writer_identity field.
6774
6788
  # @param [String] sink_name
6775
6789
  # Required. The full resource name of the sink to update, including the parent
6776
6790
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -7822,10 +7836,11 @@ module Google
7822
7836
  execute_or_queue_command(command, &block)
7823
7837
  end
7824
7838
 
7825
- # Updates a view on a log bucket. This method replaces the following fields in
7826
- # the existing view with values from the new view: filter. If an UNAVAILABLE
7827
- # error is returned, this indicates that system is not in a state where it can
7828
- # update the view. If this occurs, please try again in a few minutes.
7839
+ # Updates a view on a log bucket. This method replaces the value of the filter
7840
+ # field from the existing view with the corresponding value from the new view.
7841
+ # If an UNAVAILABLE error is returned, this indicates that system is not in a
7842
+ # state where it can update the view. If this occurs, please try again in a few
7843
+ # minutes.
7829
7844
  # @param [String] name
7830
7845
  # Required. The full resource name of the view to update "projects/[PROJECT_ID]/
7831
7846
  # locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"
@@ -8094,8 +8109,8 @@ module Google
8094
8109
  # component of the saved query's resource name.If the saved_query_id is not
8095
8110
  # provided, the system will generate an alphanumeric ID.The saved_query_id is
8096
8111
  # limited to 100 characters and can include only the following characters: upper
8097
- # and lower-case alphanumeric characters, underscores, hyphens, and periods.
8098
- # First character has to be alphanumeric.
8112
+ # and lower-case alphanumeric characters, underscores, hyphens, periods.First
8113
+ # character has to be alphanumeric.
8099
8114
  # @param [String] fields
8100
8115
  # Selector specifying which fields to include in a partial response.
8101
8116
  # @param [String] quota_user
@@ -8646,9 +8661,10 @@ module Google
8646
8661
  execute_or_queue_command(command, &block)
8647
8662
  end
8648
8663
 
8649
- # Updates a sink. This method replaces the following fields in the existing sink
8650
- # with values from the new sink: destination, and filter.The updated sink might
8651
- # also have a new writer_identity; see the unique_writer_identity field.
8664
+ # Updates a sink. This method replaces the values of the destination and filter
8665
+ # fields of the existing sink with the corresponding values from the new sink.
8666
+ # The updated sink might also have a new writer_identity; see the
8667
+ # unique_writer_identity field.
8652
8668
  # @param [String] sink_name
8653
8669
  # Required. The full resource name of the sink to update, including the parent
8654
8670
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -8714,9 +8730,10 @@ module Google
8714
8730
  execute_or_queue_command(command, &block)
8715
8731
  end
8716
8732
 
8717
- # Updates a sink. This method replaces the following fields in the existing sink
8718
- # with values from the new sink: destination, and filter.The updated sink might
8719
- # also have a new writer_identity; see the unique_writer_identity field.
8733
+ # Updates a sink. This method replaces the values of the destination and filter
8734
+ # fields of the existing sink with the corresponding values from the new sink.
8735
+ # The updated sink might also have a new writer_identity; see the
8736
+ # unique_writer_identity field.
8720
8737
  # @param [String] sink_name
8721
8738
  # Required. The full resource name of the sink to update, including the parent
8722
8739
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -8951,9 +8968,10 @@ module Google
8951
8968
  execute_or_queue_command(command, &block)
8952
8969
  end
8953
8970
 
8954
- # Updates a sink. This method replaces the following fields in the existing sink
8955
- # with values from the new sink: destination, and filter.The updated sink might
8956
- # also have a new writer_identity; see the unique_writer_identity field.
8971
+ # Updates a sink. This method replaces the values of the destination and filter
8972
+ # fields of the existing sink with the corresponding values from the new sink.
8973
+ # The updated sink might also have a new writer_identity; see the
8974
+ # unique_writer_identity field.
8957
8975
  # @param [String] sink_name
8958
8976
  # Required. The full resource name of the sink to update, including the parent
8959
8977
  # resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
@@ -9100,11 +9118,11 @@ module Google
9100
9118
  # Updates the Log Router CMEK settings for the given resource.Note: CMEK for the
9101
9119
  # Log Router can currently only be configured for Google Cloud organizations.
9102
9120
  # Once configured, it applies to all projects and folders in the Google Cloud
9103
- # organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or 2)
9104
- # the associated service account does not have the required roles/cloudkms.
9105
- # cryptoKeyEncrypterDecrypter role assigned for the key, or 3) access to the key
9106
- # is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/
9107
- # docs/routing/managed-encryption) for more information.
9121
+ # organization.UpdateCmekSettings fails when any of the following are true: The
9122
+ # value of kms_key_name is invalid. The associated service account doesn't have
9123
+ # the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the
9124
+ # key. Access to the key is disabled.See Enabling CMEK for Log Router (https://
9125
+ # cloud.google.com/logging/docs/routing/managed-encryption) for more information.
9108
9126
  # @param [String] name
9109
9127
  # Required. The resource name for the CMEK settings to update. "projects/[
9110
9128
  # PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
@@ -9150,14 +9168,15 @@ module Google
9150
9168
  end
9151
9169
 
9152
9170
  # Updates the settings for the given resource. This method applies to all
9153
- # feature configurations for organization and folders.UpdateSettings will fail
9154
- # if 1) kms_key_name is invalid, 2) the associated service account does not have
9155
- # the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the
9156
- # key, 3) access to the key is disabled, 4) storage_location is not supported by
9157
- # Logging, 5) storage_location violates the location OrgPolicy, or 6)
9158
- # default_sink_config is set but has an unspecified filter write mode.See
9159
- # Configure default settings for organizations and folders (https://cloud.google.
9160
- # com/logging/docs/default-settings) for more information.
9171
+ # feature configurations for organization and folders.UpdateSettings fails when
9172
+ # any of the following are true: The value of storage_location either isn't
9173
+ # supported by Logging or violates the location OrgPolicy. The
9174
+ # default_sink_config field is set, but it has an unspecified filter write mode.
9175
+ # The value of kms_key_name is invalid. The associated service account doesn't
9176
+ # have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for
9177
+ # the key. Access to the key is disabled.See Configure default settings for
9178
+ # organizations and folders (https://cloud.google.com/logging/docs/default-
9179
+ # settings) for more information.
9161
9180
  # @param [String] name
9162
9181
  # Required. The resource name for the settings to update. "organizations/[
9163
9182
  # ORGANIZATION_ID]/settings" For example:"organizations/12345/settings"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-logging_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.59.0
4
+ version: 0.61.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-10 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.59.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.61.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Logging API V2