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
@@ -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
|