google-apis-logging_v2 0.57.0 → 0.59.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/logging_v2/classes.rb +344 -21
- data/lib/google/apis/logging_v2/gem_version.rb +2 -2
- data/lib/google/apis/logging_v2/representations.rb +132 -0
- data/lib/google/apis/logging_v2/service.rb +783 -109
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1def1b43a67a73d815c132797d4af9836a493a0afc2856b7e2ded9c5426188ac
|
4
|
+
data.tar.gz: 4572eee26037e4c4c10f5a9b91dacce9324fd9acdc9fe57c19c05cf53ba418af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ec75371f8d9f755bf2ae46fa1a297e5589f7a469fd31e56567fd43d93ce07316e0d75d8462ae99f36e4fb5948aa97af0023e66bdeda974497015c430fc2a321
|
7
|
+
data.tar.gz: 99a71832fb672a5b89b429bc490d0750fab30680f9936d74b649b2608b31f4a751e30809f9c67c76c4fe7da66ac1952d2109a260508a1b7ef6654fea6f04f0f2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-logging_v2
|
2
2
|
|
3
|
+
### v0.59.0 (2023-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231130
|
6
|
+
|
7
|
+
### v0.58.0 (2023-11-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231110
|
10
|
+
|
3
11
|
### v0.57.0 (2023-11-05)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231026
|
@@ -445,6 +445,47 @@ module Google
|
|
445
445
|
end
|
446
446
|
end
|
447
447
|
|
448
|
+
# Describes the custom _Default sink configuration that is used to override the
|
449
|
+
# built-in _Default sink configuration in newly created resource containers,
|
450
|
+
# such as projects or folders.
|
451
|
+
class DefaultSinkConfig
|
452
|
+
include Google::Apis::Core::Hashable
|
453
|
+
|
454
|
+
# Optional. Specifies the set of exclusions to be added to the _Default sink in
|
455
|
+
# newly created resource containers.
|
456
|
+
# Corresponds to the JSON property `exclusions`
|
457
|
+
# @return [Array<Google::Apis::LoggingV2::LogExclusion>]
|
458
|
+
attr_accessor :exclusions
|
459
|
+
|
460
|
+
# Optional. An advanced logs filter (https://cloud.google.com/logging/docs/view/
|
461
|
+
# advanced-queries). The only exported log entries are those that are in the
|
462
|
+
# 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:*
|
466
|
+
# Corresponds to the JSON property `filter`
|
467
|
+
# @return [String]
|
468
|
+
attr_accessor :filter
|
469
|
+
|
470
|
+
# Required. Determines the behavior to apply to the built-in _Default sink
|
471
|
+
# inclusion filter.Exclusions are always appended, as built-in _Default sinks
|
472
|
+
# have no exclusions.
|
473
|
+
# Corresponds to the JSON property `mode`
|
474
|
+
# @return [String]
|
475
|
+
attr_accessor :mode
|
476
|
+
|
477
|
+
def initialize(**args)
|
478
|
+
update!(**args)
|
479
|
+
end
|
480
|
+
|
481
|
+
# Update properties of this object
|
482
|
+
def update!(**args)
|
483
|
+
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
484
|
+
@filter = args[:filter] if args.key?(:filter)
|
485
|
+
@mode = args[:mode] if args.key?(:mode)
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
448
489
|
# The parameters to DeleteLink.
|
449
490
|
class DeleteLinkRequest
|
450
491
|
include Google::Apis::Core::Hashable
|
@@ -1184,6 +1225,86 @@ module Google
|
|
1184
1225
|
end
|
1185
1226
|
end
|
1186
1227
|
|
1228
|
+
# The response from ListRecentQueries.
|
1229
|
+
class ListRecentQueriesResponse
|
1230
|
+
include Google::Apis::Core::Hashable
|
1231
|
+
|
1232
|
+
# If there might be more results than appear in this response, then
|
1233
|
+
# nextPageToken is included. To get the next set of results, call the same
|
1234
|
+
# method again using the value of nextPageToken as pageToken.
|
1235
|
+
# Corresponds to the JSON property `nextPageToken`
|
1236
|
+
# @return [String]
|
1237
|
+
attr_accessor :next_page_token
|
1238
|
+
|
1239
|
+
# A list of recent queries.
|
1240
|
+
# Corresponds to the JSON property `recentQueries`
|
1241
|
+
# @return [Array<Google::Apis::LoggingV2::RecentQuery>]
|
1242
|
+
attr_accessor :recent_queries
|
1243
|
+
|
1244
|
+
# The unreachable resources. Each resource can be either 1) a saved query if a
|
1245
|
+
# specific query is unreachable or 2) a location if a specific location is
|
1246
|
+
# unreachable. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[
|
1247
|
+
# QUERY_ID]" "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"
|
1248
|
+
# projects/my-project/locations/global/recentQueries/12345678" "projects/my-
|
1249
|
+
# project/locations/global"If there are unreachable resources, the response will
|
1250
|
+
# first return pages that contain recent queries, and then return pages that
|
1251
|
+
# contain the unreachable resources.
|
1252
|
+
# Corresponds to the JSON property `unreachable`
|
1253
|
+
# @return [Array<String>]
|
1254
|
+
attr_accessor :unreachable
|
1255
|
+
|
1256
|
+
def initialize(**args)
|
1257
|
+
update!(**args)
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
# Update properties of this object
|
1261
|
+
def update!(**args)
|
1262
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1263
|
+
@recent_queries = args[:recent_queries] if args.key?(:recent_queries)
|
1264
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1265
|
+
end
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
# The response from ListSavedQueries.
|
1269
|
+
class ListSavedQueriesResponse
|
1270
|
+
include Google::Apis::Core::Hashable
|
1271
|
+
|
1272
|
+
# If there might be more results than appear in this response, then
|
1273
|
+
# nextPageToken is included. To get the next set of results, call the same
|
1274
|
+
# method again using the value of nextPageToken as pageToken.
|
1275
|
+
# Corresponds to the JSON property `nextPageToken`
|
1276
|
+
# @return [String]
|
1277
|
+
attr_accessor :next_page_token
|
1278
|
+
|
1279
|
+
# A list of saved queries.
|
1280
|
+
# Corresponds to the JSON property `savedQueries`
|
1281
|
+
# @return [Array<Google::Apis::LoggingV2::SavedQuery>]
|
1282
|
+
attr_accessor :saved_queries
|
1283
|
+
|
1284
|
+
# The unreachable resources. It can be either 1) a saved query if a specific
|
1285
|
+
# query is unreachable or 2) a location if a specific location is unreachabe. "
|
1286
|
+
# projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "
|
1287
|
+
# projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example: "projects/my-
|
1288
|
+
# project/locations/global/savedQueries/12345678" "projects/my-project/locations/
|
1289
|
+
# global" If there are unreachable resources, the response will first return
|
1290
|
+
# pages that contain saved queries, and then return pages that contain the
|
1291
|
+
# unreachable resources.
|
1292
|
+
# Corresponds to the JSON property `unreachable`
|
1293
|
+
# @return [Array<String>]
|
1294
|
+
attr_accessor :unreachable
|
1295
|
+
|
1296
|
+
def initialize(**args)
|
1297
|
+
update!(**args)
|
1298
|
+
end
|
1299
|
+
|
1300
|
+
# Update properties of this object
|
1301
|
+
def update!(**args)
|
1302
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1303
|
+
@saved_queries = args[:saved_queries] if args.key?(:saved_queries)
|
1304
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1305
|
+
end
|
1306
|
+
end
|
1307
|
+
|
1187
1308
|
# Result returned from ListSinks.
|
1188
1309
|
class ListSinksResponse
|
1189
1310
|
include Google::Apis::Core::Hashable
|
@@ -2196,6 +2317,48 @@ module Google
|
|
2196
2317
|
end
|
2197
2318
|
end
|
2198
2319
|
|
2320
|
+
# Describes a Cloud Logging query that can be run in Logs Explorer UI or via the
|
2321
|
+
# logging API.In addition to the query itself, additional information may be
|
2322
|
+
# stored to capture the display configuration and other UI state used in
|
2323
|
+
# association with analysis of query results.
|
2324
|
+
class LoggingQuery
|
2325
|
+
include Google::Apis::Core::Hashable
|
2326
|
+
|
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.
|
2330
|
+
# Corresponds to the JSON property `filter`
|
2331
|
+
# @return [String]
|
2332
|
+
attr_accessor :filter
|
2333
|
+
|
2334
|
+
# Characters will be counted from the end of the string.
|
2335
|
+
# Corresponds to the JSON property `summaryFieldEnd`
|
2336
|
+
# @return [Fixnum]
|
2337
|
+
attr_accessor :summary_field_end
|
2338
|
+
|
2339
|
+
# Characters will be counted from the start of the string.
|
2340
|
+
# Corresponds to the JSON property `summaryFieldStart`
|
2341
|
+
# @return [Fixnum]
|
2342
|
+
attr_accessor :summary_field_start
|
2343
|
+
|
2344
|
+
# The set of summary fields to display for this saved query.
|
2345
|
+
# Corresponds to the JSON property `summaryFields`
|
2346
|
+
# @return [Array<Google::Apis::LoggingV2::SummaryField>]
|
2347
|
+
attr_accessor :summary_fields
|
2348
|
+
|
2349
|
+
def initialize(**args)
|
2350
|
+
update!(**args)
|
2351
|
+
end
|
2352
|
+
|
2353
|
+
# Update properties of this object
|
2354
|
+
def update!(**args)
|
2355
|
+
@filter = args[:filter] if args.key?(:filter)
|
2356
|
+
@summary_field_end = args[:summary_field_end] if args.key?(:summary_field_end)
|
2357
|
+
@summary_field_start = args[:summary_field_start] if args.key?(:summary_field_start)
|
2358
|
+
@summary_fields = args[:summary_fields] if args.key?(:summary_fields)
|
2359
|
+
end
|
2360
|
+
end
|
2361
|
+
|
2199
2362
|
# Defines a metric type and its schema. Once a metric descriptor is created,
|
2200
2363
|
# deleting or altering it stops data collection and makes the metric type's
|
2201
2364
|
# existing data unusable.
|
@@ -2576,6 +2739,74 @@ module Google
|
|
2576
2739
|
end
|
2577
2740
|
end
|
2578
2741
|
|
2742
|
+
# Describes an analytics query that can be run in the Log Analytics page of
|
2743
|
+
# Google Cloud console.Preview: This is a preview feature and may be subject to
|
2744
|
+
# change before final release.
|
2745
|
+
class OpsAnalyticsQuery
|
2746
|
+
include Google::Apis::Core::Hashable
|
2747
|
+
|
2748
|
+
# Required. A logs analytics SQL query, which generally follows BigQuery format.
|
2749
|
+
# This is the SQL query that appears in the Log Analytics UI's query editor.
|
2750
|
+
# Corresponds to the JSON property `sqlQueryText`
|
2751
|
+
# @return [String]
|
2752
|
+
attr_accessor :sql_query_text
|
2753
|
+
|
2754
|
+
def initialize(**args)
|
2755
|
+
update!(**args)
|
2756
|
+
end
|
2757
|
+
|
2758
|
+
# Update properties of this object
|
2759
|
+
def update!(**args)
|
2760
|
+
@sql_query_text = args[:sql_query_text] if args.key?(:sql_query_text)
|
2761
|
+
end
|
2762
|
+
end
|
2763
|
+
|
2764
|
+
# Describes a recent query executed on the Logs Explorer or Log Analytics page
|
2765
|
+
# within the last ~ 30 days.
|
2766
|
+
class RecentQuery
|
2767
|
+
include Google::Apis::Core::Hashable
|
2768
|
+
|
2769
|
+
# The timestamp when this query was last run.
|
2770
|
+
# Corresponds to the JSON property `lastRunTime`
|
2771
|
+
# @return [String]
|
2772
|
+
attr_accessor :last_run_time
|
2773
|
+
|
2774
|
+
# Describes a Cloud Logging query that can be run in Logs Explorer UI or via the
|
2775
|
+
# logging API.In addition to the query itself, additional information may be
|
2776
|
+
# stored to capture the display configuration and other UI state used in
|
2777
|
+
# association with analysis of query results.
|
2778
|
+
# Corresponds to the JSON property `loggingQuery`
|
2779
|
+
# @return [Google::Apis::LoggingV2::LoggingQuery]
|
2780
|
+
attr_accessor :logging_query
|
2781
|
+
|
2782
|
+
# Output only. Resource name of the recent query.In the format: "projects/[
|
2783
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]" For a list of
|
2784
|
+
# supported locations, see Supported Regions (https://cloud.google.com/logging/
|
2785
|
+
# docs/region-support)The QUERY_ID is a system generated alphanumeric ID.
|
2786
|
+
# Corresponds to the JSON property `name`
|
2787
|
+
# @return [String]
|
2788
|
+
attr_accessor :name
|
2789
|
+
|
2790
|
+
# Describes an analytics query that can be run in the Log Analytics page of
|
2791
|
+
# Google Cloud console.Preview: This is a preview feature and may be subject to
|
2792
|
+
# change before final release.
|
2793
|
+
# Corresponds to the JSON property `opsAnalyticsQuery`
|
2794
|
+
# @return [Google::Apis::LoggingV2::OpsAnalyticsQuery]
|
2795
|
+
attr_accessor :ops_analytics_query
|
2796
|
+
|
2797
|
+
def initialize(**args)
|
2798
|
+
update!(**args)
|
2799
|
+
end
|
2800
|
+
|
2801
|
+
# Update properties of this object
|
2802
|
+
def update!(**args)
|
2803
|
+
@last_run_time = args[:last_run_time] if args.key?(:last_run_time)
|
2804
|
+
@logging_query = args[:logging_query] if args.key?(:logging_query)
|
2805
|
+
@name = args[:name] if args.key?(:name)
|
2806
|
+
@ops_analytics_query = args[:ops_analytics_query] if args.key?(:ops_analytics_query)
|
2807
|
+
end
|
2808
|
+
end
|
2809
|
+
|
2579
2810
|
# Complete log information about a single HTTP request to an App Engine
|
2580
2811
|
# application.
|
2581
2812
|
class RequestLog
|
@@ -2813,11 +3044,83 @@ module Google
|
|
2813
3044
|
end
|
2814
3045
|
end
|
2815
3046
|
|
2816
|
-
# Describes
|
2817
|
-
|
3047
|
+
# Describes a query that has been saved by a user.
|
3048
|
+
class SavedQuery
|
3049
|
+
include Google::Apis::Core::Hashable
|
3050
|
+
|
3051
|
+
# Output only. The timestamp when the saved query was created.
|
3052
|
+
# Corresponds to the JSON property `createTime`
|
3053
|
+
# @return [String]
|
3054
|
+
attr_accessor :create_time
|
3055
|
+
|
3056
|
+
# A human readable description of the saved query.
|
3057
|
+
# Corresponds to the JSON property `description`
|
3058
|
+
# @return [String]
|
3059
|
+
attr_accessor :description
|
3060
|
+
|
3061
|
+
# The user specified title for the SavedQuery.
|
3062
|
+
# Corresponds to the JSON property `displayName`
|
3063
|
+
# @return [String]
|
3064
|
+
attr_accessor :display_name
|
3065
|
+
|
3066
|
+
# Describes a Cloud Logging query that can be run in Logs Explorer UI or via the
|
3067
|
+
# logging API.In addition to the query itself, additional information may be
|
3068
|
+
# stored to capture the display configuration and other UI state used in
|
3069
|
+
# association with analysis of query results.
|
3070
|
+
# Corresponds to the JSON property `loggingQuery`
|
3071
|
+
# @return [Google::Apis::LoggingV2::LoggingQuery]
|
3072
|
+
attr_accessor :logging_query
|
3073
|
+
|
3074
|
+
# Output only. Resource name of the saved query.In the format: "projects/[
|
3075
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of
|
3076
|
+
# supported locations, see Supported Regions (https://cloud.google.com/logging/
|
3077
|
+
# docs/region-support#bucket-regions)After the saved query is created, the
|
3078
|
+
# location cannot be changed.If the user doesn't provide a QUERY_ID, the system
|
3079
|
+
# will generate an alphanumeric ID.
|
3080
|
+
# Corresponds to the JSON property `name`
|
3081
|
+
# @return [String]
|
3082
|
+
attr_accessor :name
|
3083
|
+
|
3084
|
+
# Describes an analytics query that can be run in the Log Analytics page of
|
3085
|
+
# Google Cloud console.Preview: This is a preview feature and may be subject to
|
3086
|
+
# change before final release.
|
3087
|
+
# Corresponds to the JSON property `opsAnalyticsQuery`
|
3088
|
+
# @return [Google::Apis::LoggingV2::OpsAnalyticsQuery]
|
3089
|
+
attr_accessor :ops_analytics_query
|
3090
|
+
|
3091
|
+
# Output only. The timestamp when the saved query was last updated.
|
3092
|
+
# Corresponds to the JSON property `updateTime`
|
3093
|
+
# @return [String]
|
3094
|
+
attr_accessor :update_time
|
3095
|
+
|
3096
|
+
def initialize(**args)
|
3097
|
+
update!(**args)
|
3098
|
+
end
|
3099
|
+
|
3100
|
+
# Update properties of this object
|
3101
|
+
def update!(**args)
|
3102
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3103
|
+
@description = args[:description] if args.key?(:description)
|
3104
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
3105
|
+
@logging_query = args[:logging_query] if args.key?(:logging_query)
|
3106
|
+
@name = args[:name] if args.key?(:name)
|
3107
|
+
@ops_analytics_query = args[:ops_analytics_query] if args.key?(:ops_analytics_query)
|
3108
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3109
|
+
end
|
3110
|
+
end
|
3111
|
+
|
3112
|
+
# Describes the settings associated with a project, folder, organization, or
|
3113
|
+
# billing account.
|
2818
3114
|
class Settings
|
2819
3115
|
include Google::Apis::Core::Hashable
|
2820
3116
|
|
3117
|
+
# Describes the custom _Default sink configuration that is used to override the
|
3118
|
+
# built-in _Default sink configuration in newly created resource containers,
|
3119
|
+
# such as projects or folders.
|
3120
|
+
# Corresponds to the JSON property `defaultSinkConfig`
|
3121
|
+
# @return [Google::Apis::LoggingV2::DefaultSinkConfig]
|
3122
|
+
attr_accessor :default_sink_config
|
3123
|
+
|
2821
3124
|
# Optional. If set to true, the _Default sink in newly created projects and
|
2822
3125
|
# folders will created in a disabled state. This can be used to automatically
|
2823
3126
|
# disable log storage if there is already an aggregated sink configured in the
|
@@ -2830,34 +3133,31 @@ module Google
|
|
2830
3133
|
# Optional. The resource name for the configured Cloud KMS key.KMS key name
|
2831
3134
|
# format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/
|
2832
3135
|
# cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/
|
2833
|
-
# keyRings/my-ring/cryptoKeys/my-key"To enable CMEK
|
2834
|
-
#
|
2835
|
-
#
|
2836
|
-
#
|
2837
|
-
#
|
2838
|
-
#
|
2839
|
-
#
|
2840
|
-
# time of encryption unless access to that key has been revoked.To disable CMEK
|
2841
|
-
# for the Log Router, set this field to an empty string.See Enabling CMEK for
|
2842
|
-
# Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption)
|
2843
|
-
# for more information.
|
3136
|
+
# keyRings/my-ring/cryptoKeys/my-key"To enable CMEK, set this field to a valid
|
3137
|
+
# kms_key_name for which the associated service account has the required roles/
|
3138
|
+
# cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key.The Cloud KMS
|
3139
|
+
# key used by the Log Router can be updated by changing the kms_key_name to a
|
3140
|
+
# new valid key name.To disable CMEK for the Log Router, set this field to an
|
3141
|
+
# empty string.See Enabling CMEK for Log Router (https://cloud.google.com/
|
3142
|
+
# logging/docs/routing/managed-encryption) for more information.
|
2844
3143
|
# Corresponds to the JSON property `kmsKeyName`
|
2845
3144
|
# @return [String]
|
2846
3145
|
attr_accessor :kms_key_name
|
2847
3146
|
|
2848
3147
|
# Output only. The service account that will be used by the Log Router to access
|
2849
|
-
# your Cloud KMS key.Before enabling CMEK
|
2850
|
-
#
|
2851
|
-
#
|
2852
|
-
#
|
2853
|
-
#
|
3148
|
+
# your Cloud KMS key.Before enabling CMEK, you must first assign the role roles/
|
3149
|
+
# cloudkms.cryptoKeyEncrypterDecrypter to the service account that will be used
|
3150
|
+
# to access your Cloud KMS key. Use GetSettings to obtain the service account ID.
|
3151
|
+
# See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/
|
3152
|
+
# routing/managed-encryption) for more information.
|
2854
3153
|
# Corresponds to the JSON property `kmsServiceAccountId`
|
2855
3154
|
# @return [String]
|
2856
3155
|
attr_accessor :kms_service_account_id
|
2857
3156
|
|
2858
|
-
# Output only. The service account for the given container
|
2859
|
-
#
|
2860
|
-
# provided
|
3157
|
+
# Output only. The service account for the given resource container, such as
|
3158
|
+
# project or folder. Log sinks use this service account as their writer_identity
|
3159
|
+
# if no custom service account is provided in the request when calling the
|
3160
|
+
# create sink method.
|
2861
3161
|
# Corresponds to the JSON property `loggingServiceAccountId`
|
2862
3162
|
# @return [String]
|
2863
3163
|
attr_accessor :logging_service_account_id
|
@@ -2883,6 +3183,7 @@ module Google
|
|
2883
3183
|
|
2884
3184
|
# Update properties of this object
|
2885
3185
|
def update!(**args)
|
3186
|
+
@default_sink_config = args[:default_sink_config] if args.key?(:default_sink_config)
|
2886
3187
|
@disable_default_sink = args[:disable_default_sink] if args.key?(:disable_default_sink)
|
2887
3188
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
2888
3189
|
@kms_service_account_id = args[:kms_service_account_id] if args.key?(:kms_service_account_id)
|
@@ -2995,6 +3296,28 @@ module Google
|
|
2995
3296
|
end
|
2996
3297
|
end
|
2997
3298
|
|
3299
|
+
# A field from the LogEntry that is added to the summary line (https://cloud.
|
3300
|
+
# google.com/logging/docs/view/logs-explorer-interface#add-summary-fields) for a
|
3301
|
+
# query in the Logs Explorer.
|
3302
|
+
class SummaryField
|
3303
|
+
include Google::Apis::Core::Hashable
|
3304
|
+
|
3305
|
+
# The field from the LogEntry to include in the summary line, for example
|
3306
|
+
# resource.type or jsonPayload.name.
|
3307
|
+
# Corresponds to the JSON property `field`
|
3308
|
+
# @return [String]
|
3309
|
+
attr_accessor :field
|
3310
|
+
|
3311
|
+
def initialize(**args)
|
3312
|
+
update!(**args)
|
3313
|
+
end
|
3314
|
+
|
3315
|
+
# Update properties of this object
|
3316
|
+
def update!(**args)
|
3317
|
+
@field = args[:field] if args.key?(:field)
|
3318
|
+
end
|
3319
|
+
end
|
3320
|
+
|
2998
3321
|
# Information about entries that were omitted from the session.
|
2999
3322
|
class SuppressionInfo
|
3000
3323
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.59.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231130"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|