google-apis-logging_v2 0.57.0 → 0.58.0
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2d44fb9844856ed0dc17ef6257e6e394b1f42136846d34d29b710283b47dff8
|
4
|
+
data.tar.gz: 57f8bd0453171a7f9859d7de22b163021dc5eb29b6ecd7b5cc3c87a1fd315854
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd12a4ff37bd22f88efae4f8201b406892e2487f82e7700d93f6b68660799bd193fcc4cbe6a7f3c97d95aea626e78e60000afd001653752f0764adcc61b3f478
|
7
|
+
data.tar.gz: 875ae3069cba6dcc6a1810714d2cd2e1951b295643d2ae022b00640c7e4d8731076113cf483b8961fb4e21f30d14dccd6b02548011b36256a0591d7df3ed0b8d
|
data/CHANGELOG.md
CHANGED
@@ -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
|
|
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
|
+
|
2816
3112
|
# Describes the settings associated with a project, folder, organization,
|
2817
3113
|
# billing account, or flexible resource.
|
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
|
@@ -2855,9 +3158,10 @@ module Google
|
|
2855
3158
|
# @return [String]
|
2856
3159
|
attr_accessor :kms_service_account_id
|
2857
3160
|
|
2858
|
-
# Output only. The service account for the given container
|
2859
|
-
#
|
2860
|
-
# provided
|
3161
|
+
# Output only. The service account for the given resource container, such as
|
3162
|
+
# project or folder. Log sinks use this service account as their writer_identity
|
3163
|
+
# if no custom service account is provided in the request when calling the
|
3164
|
+
# create sink method.
|
2861
3165
|
# Corresponds to the JSON property `loggingServiceAccountId`
|
2862
3166
|
# @return [String]
|
2863
3167
|
attr_accessor :logging_service_account_id
|
@@ -2883,6 +3187,7 @@ module Google
|
|
2883
3187
|
|
2884
3188
|
# Update properties of this object
|
2885
3189
|
def update!(**args)
|
3190
|
+
@default_sink_config = args[:default_sink_config] if args.key?(:default_sink_config)
|
2886
3191
|
@disable_default_sink = args[:disable_default_sink] if args.key?(:disable_default_sink)
|
2887
3192
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
2888
3193
|
@kms_service_account_id = args[:kms_service_account_id] if args.key?(:kms_service_account_id)
|
@@ -2995,6 +3300,28 @@ module Google
|
|
2995
3300
|
end
|
2996
3301
|
end
|
2997
3302
|
|
3303
|
+
# A field from the LogEntry that is added to the summary line (https://cloud.
|
3304
|
+
# google.com/logging/docs/view/logs-explorer-interface#add-summary-fields) for a
|
3305
|
+
# query in the Logs Explorer.
|
3306
|
+
class SummaryField
|
3307
|
+
include Google::Apis::Core::Hashable
|
3308
|
+
|
3309
|
+
# The field from the LogEntry to include in the summary line, for example
|
3310
|
+
# resource.type or jsonPayload.name.
|
3311
|
+
# Corresponds to the JSON property `field`
|
3312
|
+
# @return [String]
|
3313
|
+
attr_accessor :field
|
3314
|
+
|
3315
|
+
def initialize(**args)
|
3316
|
+
update!(**args)
|
3317
|
+
end
|
3318
|
+
|
3319
|
+
# Update properties of this object
|
3320
|
+
def update!(**args)
|
3321
|
+
@field = args[:field] if args.key?(:field)
|
3322
|
+
end
|
3323
|
+
end
|
3324
|
+
|
2998
3325
|
# Information about entries that were omitted from the session.
|
2999
3326
|
class SuppressionInfo
|
3000
3327
|
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.58.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 = "20231110"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,6 +88,12 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class DefaultSinkConfig
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
91
97
|
class DeleteLinkRequest
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -208,6 +214,18 @@ module Google
|
|
208
214
|
include Google::Apis::Core::JsonObjectSupport
|
209
215
|
end
|
210
216
|
|
217
|
+
class ListRecentQueriesResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class ListSavedQueriesResponse
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
211
229
|
class ListSinksResponse
|
212
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
231
|
|
@@ -298,6 +316,12 @@ module Google
|
|
298
316
|
include Google::Apis::Core::JsonObjectSupport
|
299
317
|
end
|
300
318
|
|
319
|
+
class LoggingQuery
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
301
325
|
class MetricDescriptor
|
302
326
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
327
|
|
@@ -334,12 +358,30 @@ module Google
|
|
334
358
|
include Google::Apis::Core::JsonObjectSupport
|
335
359
|
end
|
336
360
|
|
361
|
+
class OpsAnalyticsQuery
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
367
|
+
class RecentQuery
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
337
373
|
class RequestLog
|
338
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
375
|
|
340
376
|
include Google::Apis::Core::JsonObjectSupport
|
341
377
|
end
|
342
378
|
|
379
|
+
class SavedQuery
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
343
385
|
class Settings
|
344
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
387
|
|
@@ -364,6 +406,12 @@ module Google
|
|
364
406
|
include Google::Apis::Core::JsonObjectSupport
|
365
407
|
end
|
366
408
|
|
409
|
+
class SummaryField
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
367
415
|
class SuppressionInfo
|
368
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
417
|
|
@@ -512,6 +560,16 @@ module Google
|
|
512
560
|
end
|
513
561
|
end
|
514
562
|
|
563
|
+
class DefaultSinkConfig
|
564
|
+
# @private
|
565
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
566
|
+
collection :exclusions, as: 'exclusions', class: Google::Apis::LoggingV2::LogExclusion, decorator: Google::Apis::LoggingV2::LogExclusion::Representation
|
567
|
+
|
568
|
+
property :filter, as: 'filter'
|
569
|
+
property :mode, as: 'mode'
|
570
|
+
end
|
571
|
+
end
|
572
|
+
|
515
573
|
class DeleteLinkRequest
|
516
574
|
# @private
|
517
575
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -706,6 +764,26 @@ module Google
|
|
706
764
|
end
|
707
765
|
end
|
708
766
|
|
767
|
+
class ListRecentQueriesResponse
|
768
|
+
# @private
|
769
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
770
|
+
property :next_page_token, as: 'nextPageToken'
|
771
|
+
collection :recent_queries, as: 'recentQueries', class: Google::Apis::LoggingV2::RecentQuery, decorator: Google::Apis::LoggingV2::RecentQuery::Representation
|
772
|
+
|
773
|
+
collection :unreachable, as: 'unreachable'
|
774
|
+
end
|
775
|
+
end
|
776
|
+
|
777
|
+
class ListSavedQueriesResponse
|
778
|
+
# @private
|
779
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
780
|
+
property :next_page_token, as: 'nextPageToken'
|
781
|
+
collection :saved_queries, as: 'savedQueries', class: Google::Apis::LoggingV2::SavedQuery, decorator: Google::Apis::LoggingV2::SavedQuery::Representation
|
782
|
+
|
783
|
+
collection :unreachable, as: 'unreachable'
|
784
|
+
end
|
785
|
+
end
|
786
|
+
|
709
787
|
class ListSinksResponse
|
710
788
|
# @private
|
711
789
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -902,6 +980,17 @@ module Google
|
|
902
980
|
end
|
903
981
|
end
|
904
982
|
|
983
|
+
class LoggingQuery
|
984
|
+
# @private
|
985
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
986
|
+
property :filter, as: 'filter'
|
987
|
+
property :summary_field_end, as: 'summaryFieldEnd'
|
988
|
+
property :summary_field_start, as: 'summaryFieldStart'
|
989
|
+
collection :summary_fields, as: 'summaryFields', class: Google::Apis::LoggingV2::SummaryField, decorator: Google::Apis::LoggingV2::SummaryField::Representation
|
990
|
+
|
991
|
+
end
|
992
|
+
end
|
993
|
+
|
905
994
|
class MetricDescriptor
|
906
995
|
# @private
|
907
996
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -971,6 +1060,25 @@ module Google
|
|
971
1060
|
end
|
972
1061
|
end
|
973
1062
|
|
1063
|
+
class OpsAnalyticsQuery
|
1064
|
+
# @private
|
1065
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1066
|
+
property :sql_query_text, as: 'sqlQueryText'
|
1067
|
+
end
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
class RecentQuery
|
1071
|
+
# @private
|
1072
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1073
|
+
property :last_run_time, as: 'lastRunTime'
|
1074
|
+
property :logging_query, as: 'loggingQuery', class: Google::Apis::LoggingV2::LoggingQuery, decorator: Google::Apis::LoggingV2::LoggingQuery::Representation
|
1075
|
+
|
1076
|
+
property :name, as: 'name'
|
1077
|
+
property :ops_analytics_query, as: 'opsAnalyticsQuery', class: Google::Apis::LoggingV2::OpsAnalyticsQuery, decorator: Google::Apis::LoggingV2::OpsAnalyticsQuery::Representation
|
1078
|
+
|
1079
|
+
end
|
1080
|
+
end
|
1081
|
+
|
974
1082
|
class RequestLog
|
975
1083
|
# @private
|
976
1084
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1013,9 +1121,26 @@ module Google
|
|
1013
1121
|
end
|
1014
1122
|
end
|
1015
1123
|
|
1124
|
+
class SavedQuery
|
1125
|
+
# @private
|
1126
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1127
|
+
property :create_time, as: 'createTime'
|
1128
|
+
property :description, as: 'description'
|
1129
|
+
property :display_name, as: 'displayName'
|
1130
|
+
property :logging_query, as: 'loggingQuery', class: Google::Apis::LoggingV2::LoggingQuery, decorator: Google::Apis::LoggingV2::LoggingQuery::Representation
|
1131
|
+
|
1132
|
+
property :name, as: 'name'
|
1133
|
+
property :ops_analytics_query, as: 'opsAnalyticsQuery', class: Google::Apis::LoggingV2::OpsAnalyticsQuery, decorator: Google::Apis::LoggingV2::OpsAnalyticsQuery::Representation
|
1134
|
+
|
1135
|
+
property :update_time, as: 'updateTime'
|
1136
|
+
end
|
1137
|
+
end
|
1138
|
+
|
1016
1139
|
class Settings
|
1017
1140
|
# @private
|
1018
1141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1142
|
+
property :default_sink_config, as: 'defaultSinkConfig', class: Google::Apis::LoggingV2::DefaultSinkConfig, decorator: Google::Apis::LoggingV2::DefaultSinkConfig::Representation
|
1143
|
+
|
1019
1144
|
property :disable_default_sink, as: 'disableDefaultSink'
|
1020
1145
|
property :kms_key_name, as: 'kmsKeyName'
|
1021
1146
|
property :kms_service_account_id, as: 'kmsServiceAccountId'
|
@@ -1051,6 +1176,13 @@ module Google
|
|
1051
1176
|
end
|
1052
1177
|
end
|
1053
1178
|
|
1179
|
+
class SummaryField
|
1180
|
+
# @private
|
1181
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1182
|
+
property :field, as: 'field'
|
1183
|
+
end
|
1184
|
+
end
|
1185
|
+
|
1054
1186
|
class SuppressionInfo
|
1055
1187
|
# @private
|
1056
1188
|
class Representation < Google::Apis::Core::JsonRepresentation
|