google-apis-logging_v2 0.2.0 → 0.7.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 +21 -0
- data/lib/google/apis/logging_v2.rb +1 -1
- data/lib/google/apis/logging_v2/classes.rb +56 -31
- data/lib/google/apis/logging_v2/gem_version.rb +3 -3
- data/lib/google/apis/logging_v2/representations.rb +2 -0
- data/lib/google/apis/logging_v2/service.rb +115 -90
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8896161aace5be666f320d504abf5f2259cd3ae5bf3caff9e47e0df579cf3f92
|
4
|
+
data.tar.gz: 3ca80f196fe1abd7d91f9db5c2cdbc1171a5b3094c50c3d324ff230dec429bc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76bb08cc5369e6a70f4bb9f778343ef979830ddee6454139e8ff3d410e12766e00285b6300529efcffa5f73b1b7e9ceb87fad189949e424a765a7c8f89a538e8
|
7
|
+
data.tar.gz: 16f0b176d156795ac4b81da99ff868536e7b7516007f5b48beee923903a0ef209ab4f3ddac771d0a9adb245b10ffdc9db1637e9b2bea620f5de5ec7776eee09d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-logging_v2
|
2
2
|
|
3
|
+
### v0.7.0 (2021-05-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210507
|
6
|
+
|
7
|
+
### v0.6.0 (2021-04-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210325
|
10
|
+
|
11
|
+
### v0.5.0 (2021-03-20)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210312
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.4.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.3.0 (2021-02-27)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210217
|
23
|
+
|
3
24
|
### v0.2.0 (2021-01-30)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210122
|
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
# This is NOT the gem version.
|
33
33
|
VERSION = 'V2'
|
34
34
|
|
35
|
-
#
|
35
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
36
36
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
37
37
|
|
38
38
|
# View your data across Google Cloud Platform services
|
@@ -560,14 +560,14 @@ module Google
|
|
560
560
|
attr_accessor :project_ids
|
561
561
|
|
562
562
|
# Required. Names of one or more parent resources from which to retrieve log
|
563
|
-
# entries:
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
567
|
-
#
|
568
|
-
# LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID folders/FOLDER_ID/locations/
|
569
|
-
# LOCATION_ID/buckets/BUCKET_ID/views/
|
570
|
-
# field are added to this list.
|
563
|
+
# entries: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/
|
564
|
+
# [BILLING_ACCOUNT_ID] folders/[FOLDER_ID]May alternatively be one or more views:
|
565
|
+
# projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[
|
566
|
+
# VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[
|
567
|
+
# BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[
|
568
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/
|
569
|
+
# [LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]Projects listed in the
|
570
|
+
# project_ids field are added to this list.
|
571
571
|
# Corresponds to the JSON property `resourceNames`
|
572
572
|
# @return [Array<String>]
|
573
573
|
attr_accessor :resource_names
|
@@ -841,6 +841,15 @@ module Google
|
|
841
841
|
# @return [String]
|
842
842
|
attr_accessor :name
|
843
843
|
|
844
|
+
# Log entry field paths that are denied access in this bucket. The following
|
845
|
+
# fields and their children are eligible: textPayload, jsonPayload, protoPayload,
|
846
|
+
# httpRequest, labels, sourceLocation. Restricting a repeated field will
|
847
|
+
# restrict all values. Adding a parent will block all child fields e.g. foo.bar
|
848
|
+
# will block foo.bar.baz.
|
849
|
+
# Corresponds to the JSON property `restrictedFields`
|
850
|
+
# @return [Array<String>]
|
851
|
+
attr_accessor :restricted_fields
|
852
|
+
|
844
853
|
# Logs will be retained by default for this amount of time, after which they
|
845
854
|
# will automatically be deleted. The minimum retention period is 1 day. If this
|
846
855
|
# value is set to zero at bucket creation time, the default time of 30 days will
|
@@ -865,6 +874,7 @@ module Google
|
|
865
874
|
@lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
|
866
875
|
@locked = args[:locked] if args.key?(:locked)
|
867
876
|
@name = args[:name] if args.key?(:name)
|
877
|
+
@restricted_fields = args[:restricted_fields] if args.key?(:restricted_fields)
|
868
878
|
@retention_days = args[:retention_days] if args.key?(:retention_days)
|
869
879
|
@update_time = args[:update_time] if args.key?(:update_time)
|
870
880
|
end
|
@@ -899,8 +909,15 @@ module Google
|
|
899
909
|
# @return [Hash<String,Object>]
|
900
910
|
attr_accessor :json_payload
|
901
911
|
|
902
|
-
# Optional. A
|
903
|
-
#
|
912
|
+
# Optional. A map of key, value pairs that provides additional information about
|
913
|
+
# the log entry. The labels can be user-defined or system-defined.User-defined
|
914
|
+
# labels are arbitrary key, value pairs that you can use to classify logs.System-
|
915
|
+
# defined labels are defined by GCP services for platform logs. They have two
|
916
|
+
# components - a service namespace component and the attribute name. For example:
|
917
|
+
# compute.googleapis.com/resource_name.Cloud Logging truncates label keys that
|
918
|
+
# exceed 512 B and label values that exceed 64 KB upon their associated log
|
919
|
+
# entry being written. The truncation is indicated by an ellipsis at the end of
|
920
|
+
# the character string.
|
904
921
|
# Corresponds to the JSON property `labels`
|
905
922
|
# @return [Hash<String,String>]
|
906
923
|
attr_accessor :labels
|
@@ -912,12 +929,12 @@ module Google
|
|
912
929
|
# The project number is translated to its corresponding PROJECT_ID internally
|
913
930
|
# and the log_name field will contain PROJECT_ID in queries and exports.[LOG_ID]
|
914
931
|
# must be URL-encoded within log_name. Example: "organizations/1234567890/logs/
|
915
|
-
# cloudresourcemanager.googleapis.com%2Factivity".
|
916
|
-
#
|
917
|
-
#
|
918
|
-
#
|
919
|
-
#
|
920
|
-
#
|
932
|
+
# cloudresourcemanager.googleapis.com%2Factivity".[LOG_ID] must be less than 512
|
933
|
+
# characters long and can only include the following characters: upper and lower
|
934
|
+
# case alphanumeric characters, forward-slash, underscore, hyphen, and period.
|
935
|
+
# For backward compatibility, if log_name begins with a forward-slash, such as /
|
936
|
+
# projects/..., then the log entry is ingested as usual, but the forward-slash
|
937
|
+
# is removed. Listing the log entry will not show the leading slash and
|
921
938
|
# filtering for a log name with a leading slash will never return any results.
|
922
939
|
# Corresponds to the JSON property `logName`
|
923
940
|
# @return [String]
|
@@ -1270,6 +1287,13 @@ module Google
|
|
1270
1287
|
# @return [String]
|
1271
1288
|
attr_accessor :description
|
1272
1289
|
|
1290
|
+
# Optional. If set to True, then this metric is disabled and it does not
|
1291
|
+
# generate any points.
|
1292
|
+
# Corresponds to the JSON property `disabled`
|
1293
|
+
# @return [Boolean]
|
1294
|
+
attr_accessor :disabled
|
1295
|
+
alias_method :disabled?, :disabled
|
1296
|
+
|
1273
1297
|
# Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/
|
1274
1298
|
# advanced_filters) which is used to match log entries. Example: "resource.type=
|
1275
1299
|
# gae_app AND severity>=ERROR" The maximum length of the filter is 20000
|
@@ -1350,6 +1374,7 @@ module Google
|
|
1350
1374
|
@bucket_options = args[:bucket_options] if args.key?(:bucket_options)
|
1351
1375
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1352
1376
|
@description = args[:description] if args.key?(:description)
|
1377
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
1353
1378
|
@filter = args[:filter] if args.key?(:filter)
|
1354
1379
|
@label_extractors = args[:label_extractors] if args.key?(:label_extractors)
|
1355
1380
|
@metric_descriptor = args[:metric_descriptor] if args.key?(:metric_descriptor)
|
@@ -2190,14 +2215,14 @@ module Google
|
|
2190
2215
|
# @return [String]
|
2191
2216
|
attr_accessor :filter
|
2192
2217
|
|
2193
|
-
# Required. Name of a parent resource from which to retrieve log entries:
|
2194
|
-
# projects/[PROJECT_ID]
|
2195
|
-
# BILLING_ACCOUNT_ID]
|
2196
|
-
#
|
2197
|
-
# VIEW_ID
|
2198
|
-
# views/VIEW_ID
|
2199
|
-
# buckets/BUCKET_ID/views/VIEW_ID
|
2200
|
-
# buckets/BUCKET_ID/views/VIEW_ID
|
2218
|
+
# Required. Name of a parent resource from which to retrieve log entries:
|
2219
|
+
# projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
|
2220
|
+
# BILLING_ACCOUNT_ID] folders/[FOLDER_ID]May alternatively be one or more views:
|
2221
|
+
# projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[
|
2222
|
+
# VIEW_ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[
|
2223
|
+
# BUCKET_ID]/views/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[
|
2224
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/
|
2225
|
+
# [LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
|
2201
2226
|
# Corresponds to the JSON property `resourceNames`
|
2202
2227
|
# @return [Array<String>]
|
2203
2228
|
attr_accessor :resource_names
|
@@ -2299,14 +2324,14 @@ module Google
|
|
2299
2324
|
attr_accessor :labels
|
2300
2325
|
|
2301
2326
|
# Optional. A default log resource name that is assigned to all log entries in
|
2302
|
-
# entries that do not specify a value for log_name:
|
2303
|
-
# LOG_ID]
|
2304
|
-
# BILLING_ACCOUNT_ID]/logs/[LOG_ID]
|
2327
|
+
# entries that do not specify a value for log_name: projects/[PROJECT_ID]/logs/[
|
2328
|
+
# LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[
|
2329
|
+
# BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]
|
2305
2330
|
# must be URL-encoded. For example: "projects/my-project-id/logs/syslog" "
|
2306
|
-
# organizations/
|
2307
|
-
#
|
2308
|
-
#
|
2309
|
-
#
|
2331
|
+
# organizations/123/logs/cloudaudit.googleapis.com%2Factivity" The permission
|
2332
|
+
# logging.logEntries.create is needed on each project, organization, billing
|
2333
|
+
# account, or folder that is receiving new log entries, whether the resource is
|
2334
|
+
# specified in logName or in an individual log entry.
|
2310
2335
|
# Corresponds to the JSON property `logName`
|
2311
2336
|
# @return [String]
|
2312
2337
|
attr_accessor :log_name
|
@@ -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.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210507"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -481,6 +481,7 @@ module Google
|
|
481
481
|
property :lifecycle_state, as: 'lifecycleState'
|
482
482
|
property :locked, as: 'locked'
|
483
483
|
property :name, as: 'name'
|
484
|
+
collection :restricted_fields, as: 'restrictedFields'
|
484
485
|
property :retention_days, as: 'retentionDays'
|
485
486
|
property :update_time, as: 'updateTime'
|
486
487
|
end
|
@@ -563,6 +564,7 @@ module Google
|
|
563
564
|
|
564
565
|
property :create_time, as: 'createTime'
|
565
566
|
property :description, as: 'description'
|
567
|
+
property :disabled, as: 'disabled'
|
566
568
|
property :filter, as: 'filter'
|
567
569
|
hash :label_extractors, as: 'labelExtractors'
|
568
570
|
property :metric_descriptor, as: 'metricDescriptor', class: Google::Apis::LoggingV2::MetricDescriptor, decorator: Google::Apis::LoggingV2::MetricDescriptor::Representation
|
@@ -347,11 +347,15 @@ module Google
|
|
347
347
|
# @param [String] name
|
348
348
|
# The resource that owns the locations collection, if applicable.
|
349
349
|
# @param [String] filter
|
350
|
-
#
|
350
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
351
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in
|
352
|
+
# AIP-160 (https://google.aip.dev/160).
|
351
353
|
# @param [Fixnum] page_size
|
352
|
-
# The
|
354
|
+
# The maximum number of results to return. If not set, the service selects a
|
355
|
+
# default.
|
353
356
|
# @param [String] page_token
|
354
|
-
#
|
357
|
+
# A page token received from the next_page_token field in the response. Send
|
358
|
+
# that page token to receive the subsequent page.
|
355
359
|
# @param [String] fields
|
356
360
|
# Selector specifying which fields to include in a partial response.
|
357
361
|
# @param [String] quota_user
|
@@ -759,12 +763,12 @@ module Google
|
|
759
763
|
# delete operation might not be deleted. Entries received after the delete
|
760
764
|
# operation with a timestamp before the operation will be deleted.
|
761
765
|
# @param [String] log_name
|
762
|
-
# Required. The resource name of the log to delete:
|
763
|
-
# LOG_ID]
|
764
|
-
# BILLING_ACCOUNT_ID]/logs/[LOG_ID]
|
766
|
+
# Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[
|
767
|
+
# LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[
|
768
|
+
# BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]
|
765
769
|
# must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
|
766
|
-
# organizations/
|
767
|
-
#
|
770
|
+
# organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more
|
771
|
+
# information about log names, see LogEntry.
|
768
772
|
# @param [String] fields
|
769
773
|
# Selector specifying which fields to include in a partial response.
|
770
774
|
# @param [String] quota_user
|
@@ -795,9 +799,9 @@ module Google
|
|
795
799
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
796
800
|
# logs that have entries are listed.
|
797
801
|
# @param [String] parent
|
798
|
-
# Required. The resource name that owns the logs:
|
799
|
-
# organizations/[ORGANIZATION_ID]
|
800
|
-
#
|
802
|
+
# Required. The resource name that owns the logs: projects/[PROJECT_ID]
|
803
|
+
# organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
|
804
|
+
# FOLDER_ID]
|
801
805
|
# @param [Fixnum] page_size
|
802
806
|
# Optional. The maximum number of results to return from this request. Non-
|
803
807
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -808,13 +812,14 @@ module Google
|
|
808
812
|
# from the previous response. The values of other method parameters should be
|
809
813
|
# identical to those in the previous call.
|
810
814
|
# @param [Array<String>, String] resource_names
|
811
|
-
# Optional. The resource name that owns the logs: projects/PROJECT_ID/
|
812
|
-
# LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
|
813
|
-
# locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
|
814
|
-
# BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/
|
815
|
-
# folders/FOLDER_ID/locations/LOCATION_ID/buckets/
|
816
|
-
# support legacy queries, it could also be:
|
817
|
-
# ORGANIZATION_ID
|
815
|
+
# Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
|
816
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
|
817
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
|
818
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
|
819
|
+
# BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
|
820
|
+
# [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
|
821
|
+
# projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
|
822
|
+
# BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
|
818
823
|
# @param [String] fields
|
819
824
|
# Selector specifying which fields to include in a partial response.
|
820
825
|
# @param [String] quota_user
|
@@ -1643,11 +1648,15 @@ module Google
|
|
1643
1648
|
# @param [String] name
|
1644
1649
|
# The resource that owns the locations collection, if applicable.
|
1645
1650
|
# @param [String] filter
|
1646
|
-
#
|
1651
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
1652
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in
|
1653
|
+
# AIP-160 (https://google.aip.dev/160).
|
1647
1654
|
# @param [Fixnum] page_size
|
1648
|
-
# The
|
1655
|
+
# The maximum number of results to return. If not set, the service selects a
|
1656
|
+
# default.
|
1649
1657
|
# @param [String] page_token
|
1650
|
-
#
|
1658
|
+
# A page token received from the next_page_token field in the response. Send
|
1659
|
+
# that page token to receive the subsequent page.
|
1651
1660
|
# @param [String] fields
|
1652
1661
|
# Selector specifying which fields to include in a partial response.
|
1653
1662
|
# @param [String] quota_user
|
@@ -2122,12 +2131,12 @@ module Google
|
|
2122
2131
|
# delete operation might not be deleted. Entries received after the delete
|
2123
2132
|
# operation with a timestamp before the operation will be deleted.
|
2124
2133
|
# @param [String] log_name
|
2125
|
-
# Required. The resource name of the log to delete:
|
2126
|
-
# LOG_ID]
|
2127
|
-
# BILLING_ACCOUNT_ID]/logs/[LOG_ID]
|
2134
|
+
# Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[
|
2135
|
+
# LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[
|
2136
|
+
# BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]
|
2128
2137
|
# must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
|
2129
|
-
# organizations/
|
2130
|
-
#
|
2138
|
+
# organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more
|
2139
|
+
# information about log names, see LogEntry.
|
2131
2140
|
# @param [String] fields
|
2132
2141
|
# Selector specifying which fields to include in a partial response.
|
2133
2142
|
# @param [String] quota_user
|
@@ -2158,9 +2167,9 @@ module Google
|
|
2158
2167
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
2159
2168
|
# logs that have entries are listed.
|
2160
2169
|
# @param [String] parent
|
2161
|
-
# Required. The resource name that owns the logs:
|
2162
|
-
# organizations/[ORGANIZATION_ID]
|
2163
|
-
#
|
2170
|
+
# Required. The resource name that owns the logs: projects/[PROJECT_ID]
|
2171
|
+
# organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
|
2172
|
+
# FOLDER_ID]
|
2164
2173
|
# @param [Fixnum] page_size
|
2165
2174
|
# Optional. The maximum number of results to return from this request. Non-
|
2166
2175
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -2171,13 +2180,14 @@ module Google
|
|
2171
2180
|
# from the previous response. The values of other method parameters should be
|
2172
2181
|
# identical to those in the previous call.
|
2173
2182
|
# @param [Array<String>, String] resource_names
|
2174
|
-
# Optional. The resource name that owns the logs: projects/PROJECT_ID/
|
2175
|
-
# LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
|
2176
|
-
# locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
|
2177
|
-
# BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/
|
2178
|
-
# folders/FOLDER_ID/locations/LOCATION_ID/buckets/
|
2179
|
-
# support legacy queries, it could also be:
|
2180
|
-
# ORGANIZATION_ID
|
2183
|
+
# Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
|
2184
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
|
2185
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
|
2186
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
|
2187
|
+
# BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
|
2188
|
+
# [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
|
2189
|
+
# projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
|
2190
|
+
# BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
|
2181
2191
|
# @param [String] fields
|
2182
2192
|
# Selector specifying which fields to include in a partial response.
|
2183
2193
|
# @param [String] quota_user
|
@@ -2521,11 +2531,15 @@ module Google
|
|
2521
2531
|
# @param [String] name
|
2522
2532
|
# The resource that owns the locations collection, if applicable.
|
2523
2533
|
# @param [String] filter
|
2524
|
-
#
|
2534
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
2535
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in
|
2536
|
+
# AIP-160 (https://google.aip.dev/160).
|
2525
2537
|
# @param [Fixnum] page_size
|
2526
|
-
# The
|
2538
|
+
# The maximum number of results to return. If not set, the service selects a
|
2539
|
+
# default.
|
2527
2540
|
# @param [String] page_token
|
2528
|
-
#
|
2541
|
+
# A page token received from the next_page_token field in the response. Send
|
2542
|
+
# that page token to receive the subsequent page.
|
2529
2543
|
# @param [String] fields
|
2530
2544
|
# Selector specifying which fields to include in a partial response.
|
2531
2545
|
# @param [String] quota_user
|
@@ -3000,12 +3014,12 @@ module Google
|
|
3000
3014
|
# delete operation might not be deleted. Entries received after the delete
|
3001
3015
|
# operation with a timestamp before the operation will be deleted.
|
3002
3016
|
# @param [String] log_name
|
3003
|
-
# Required. The resource name of the log to delete:
|
3004
|
-
# LOG_ID]
|
3005
|
-
# BILLING_ACCOUNT_ID]/logs/[LOG_ID]
|
3017
|
+
# Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[
|
3018
|
+
# LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[
|
3019
|
+
# BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]
|
3006
3020
|
# must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
|
3007
|
-
# organizations/
|
3008
|
-
#
|
3021
|
+
# organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more
|
3022
|
+
# information about log names, see LogEntry.
|
3009
3023
|
# @param [String] fields
|
3010
3024
|
# Selector specifying which fields to include in a partial response.
|
3011
3025
|
# @param [String] quota_user
|
@@ -3036,9 +3050,9 @@ module Google
|
|
3036
3050
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
3037
3051
|
# logs that have entries are listed.
|
3038
3052
|
# @param [String] parent
|
3039
|
-
# Required. The resource name that owns the logs:
|
3040
|
-
# organizations/[ORGANIZATION_ID]
|
3041
|
-
#
|
3053
|
+
# Required. The resource name that owns the logs: projects/[PROJECT_ID]
|
3054
|
+
# organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
|
3055
|
+
# FOLDER_ID]
|
3042
3056
|
# @param [Fixnum] page_size
|
3043
3057
|
# Optional. The maximum number of results to return from this request. Non-
|
3044
3058
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -3049,13 +3063,14 @@ module Google
|
|
3049
3063
|
# from the previous response. The values of other method parameters should be
|
3050
3064
|
# identical to those in the previous call.
|
3051
3065
|
# @param [Array<String>, String] resource_names
|
3052
|
-
# Optional. The resource name that owns the logs: projects/PROJECT_ID/
|
3053
|
-
# LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
|
3054
|
-
# locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
|
3055
|
-
# BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/
|
3056
|
-
# folders/FOLDER_ID/locations/LOCATION_ID/buckets/
|
3057
|
-
# support legacy queries, it could also be:
|
3058
|
-
# ORGANIZATION_ID
|
3066
|
+
# Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
|
3067
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
|
3068
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
|
3069
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
|
3070
|
+
# BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
|
3071
|
+
# [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
|
3072
|
+
# projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
|
3073
|
+
# BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
|
3059
3074
|
# @param [String] fields
|
3060
3075
|
# Selector specifying which fields to include in a partial response.
|
3061
3076
|
# @param [String] quota_user
|
@@ -3442,11 +3457,15 @@ module Google
|
|
3442
3457
|
# @param [String] name
|
3443
3458
|
# The resource that owns the locations collection, if applicable.
|
3444
3459
|
# @param [String] filter
|
3445
|
-
#
|
3460
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
3461
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in
|
3462
|
+
# AIP-160 (https://google.aip.dev/160).
|
3446
3463
|
# @param [Fixnum] page_size
|
3447
|
-
# The
|
3464
|
+
# The maximum number of results to return. If not set, the service selects a
|
3465
|
+
# default.
|
3448
3466
|
# @param [String] page_token
|
3449
|
-
#
|
3467
|
+
# A page token received from the next_page_token field in the response. Send
|
3468
|
+
# that page token to receive the subsequent page.
|
3450
3469
|
# @param [String] fields
|
3451
3470
|
# Selector specifying which fields to include in a partial response.
|
3452
3471
|
# @param [String] quota_user
|
@@ -3921,12 +3940,12 @@ module Google
|
|
3921
3940
|
# delete operation might not be deleted. Entries received after the delete
|
3922
3941
|
# operation with a timestamp before the operation will be deleted.
|
3923
3942
|
# @param [String] log_name
|
3924
|
-
# Required. The resource name of the log to delete:
|
3925
|
-
# LOG_ID]
|
3926
|
-
# BILLING_ACCOUNT_ID]/logs/[LOG_ID]
|
3943
|
+
# Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[
|
3944
|
+
# LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[
|
3945
|
+
# BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]
|
3927
3946
|
# must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
|
3928
|
-
# organizations/
|
3929
|
-
#
|
3947
|
+
# organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more
|
3948
|
+
# information about log names, see LogEntry.
|
3930
3949
|
# @param [String] fields
|
3931
3950
|
# Selector specifying which fields to include in a partial response.
|
3932
3951
|
# @param [String] quota_user
|
@@ -3957,9 +3976,9 @@ module Google
|
|
3957
3976
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
3958
3977
|
# logs that have entries are listed.
|
3959
3978
|
# @param [String] parent
|
3960
|
-
# Required. The resource name that owns the logs:
|
3961
|
-
# organizations/[ORGANIZATION_ID]
|
3962
|
-
#
|
3979
|
+
# Required. The resource name that owns the logs: projects/[PROJECT_ID]
|
3980
|
+
# organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
|
3981
|
+
# FOLDER_ID]
|
3963
3982
|
# @param [Fixnum] page_size
|
3964
3983
|
# Optional. The maximum number of results to return from this request. Non-
|
3965
3984
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -3970,13 +3989,14 @@ module Google
|
|
3970
3989
|
# from the previous response. The values of other method parameters should be
|
3971
3990
|
# identical to those in the previous call.
|
3972
3991
|
# @param [Array<String>, String] resource_names
|
3973
|
-
# Optional. The resource name that owns the logs: projects/PROJECT_ID/
|
3974
|
-
# LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
|
3975
|
-
# locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
|
3976
|
-
# BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/
|
3977
|
-
# folders/FOLDER_ID/locations/LOCATION_ID/buckets/
|
3978
|
-
# support legacy queries, it could also be:
|
3979
|
-
# ORGANIZATION_ID
|
3992
|
+
# Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
|
3993
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
|
3994
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
|
3995
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
|
3996
|
+
# BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
|
3997
|
+
# [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
|
3998
|
+
# projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
|
3999
|
+
# BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
|
3980
4000
|
# @param [String] fields
|
3981
4001
|
# Selector specifying which fields to include in a partial response.
|
3982
4002
|
# @param [String] quota_user
|
@@ -4514,11 +4534,15 @@ module Google
|
|
4514
4534
|
# @param [String] name
|
4515
4535
|
# The resource that owns the locations collection, if applicable.
|
4516
4536
|
# @param [String] filter
|
4517
|
-
#
|
4537
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
4538
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in
|
4539
|
+
# AIP-160 (https://google.aip.dev/160).
|
4518
4540
|
# @param [Fixnum] page_size
|
4519
|
-
# The
|
4541
|
+
# The maximum number of results to return. If not set, the service selects a
|
4542
|
+
# default.
|
4520
4543
|
# @param [String] page_token
|
4521
|
-
#
|
4544
|
+
# A page token received from the next_page_token field in the response. Send
|
4545
|
+
# that page token to receive the subsequent page.
|
4522
4546
|
# @param [String] fields
|
4523
4547
|
# Selector specifying which fields to include in a partial response.
|
4524
4548
|
# @param [String] quota_user
|
@@ -4993,12 +5017,12 @@ module Google
|
|
4993
5017
|
# delete operation might not be deleted. Entries received after the delete
|
4994
5018
|
# operation with a timestamp before the operation will be deleted.
|
4995
5019
|
# @param [String] log_name
|
4996
|
-
# Required. The resource name of the log to delete:
|
4997
|
-
# LOG_ID]
|
4998
|
-
# BILLING_ACCOUNT_ID]/logs/[LOG_ID]
|
5020
|
+
# Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[
|
5021
|
+
# LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[
|
5022
|
+
# BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID]
|
4999
5023
|
# must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
|
5000
|
-
# organizations/
|
5001
|
-
#
|
5024
|
+
# organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more
|
5025
|
+
# information about log names, see LogEntry.
|
5002
5026
|
# @param [String] fields
|
5003
5027
|
# Selector specifying which fields to include in a partial response.
|
5004
5028
|
# @param [String] quota_user
|
@@ -5029,9 +5053,9 @@ module Google
|
|
5029
5053
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
5030
5054
|
# logs that have entries are listed.
|
5031
5055
|
# @param [String] parent
|
5032
|
-
# Required. The resource name that owns the logs:
|
5033
|
-
# organizations/[ORGANIZATION_ID]
|
5034
|
-
#
|
5056
|
+
# Required. The resource name that owns the logs: projects/[PROJECT_ID]
|
5057
|
+
# organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[
|
5058
|
+
# FOLDER_ID]
|
5035
5059
|
# @param [Fixnum] page_size
|
5036
5060
|
# Optional. The maximum number of results to return from this request. Non-
|
5037
5061
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -5042,13 +5066,14 @@ module Google
|
|
5042
5066
|
# from the previous response. The values of other method parameters should be
|
5043
5067
|
# identical to those in the previous call.
|
5044
5068
|
# @param [Array<String>, String] resource_names
|
5045
|
-
# Optional. The resource name that owns the logs: projects/PROJECT_ID/
|
5046
|
-
# LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
|
5047
|
-
# locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID
|
5048
|
-
# BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/
|
5049
|
-
# folders/FOLDER_ID/locations/LOCATION_ID/buckets/
|
5050
|
-
# support legacy queries, it could also be:
|
5051
|
-
# ORGANIZATION_ID
|
5069
|
+
# Optional. The resource name that owns the logs: projects/[PROJECT_ID]/
|
5070
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID] organizations/[
|
5071
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
|
5072
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
|
5073
|
+
# BUCKET_ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/
|
5074
|
+
# [BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be:
|
5075
|
+
# projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[
|
5076
|
+
# BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
|
5052
5077
|
# @param [String] fields
|
5053
5078
|
# Selector specifying which fields to include in a partial response.
|
5054
5079
|
# @param [String] quota_user
|
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.
|
4
|
+
version: 0.7.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: 2021-
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-logging_v2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.7.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-logging_v2
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Logging API V2
|