google-apis-logging_v2 0.4.0 → 0.9.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 +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 -34
- 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 +123 -98
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42c5a140e00cca9734f233eb8bbeb580945cca0e99ba880ddf532ff2b827fad8
|
4
|
+
data.tar.gz: 78509e5fb89d8279253f41b1478b7c0df7398c029a6a02c2d5ac8a709cdd0c90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b829fc79f07f47a9df145bab99de1b69dc24a9d525d9ae7b765b2c22a2d7a5f385b05a1a3cdace2ed80fcd886bf1298ba06b2bfe3a29c83c1a30166b593f4e92
|
7
|
+
data.tar.gz: 2ae28c7661ad6678b50d7a3c71018bcc76e0c3250f3dae1b30290768ade4b690b6946969d23ebe7539f9d6886edf2c1c39fee4f6f5966b621ac82850870266fb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-logging_v2
|
2
2
|
|
3
|
+
### v0.9.0 (2021-05-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210521
|
6
|
+
|
7
|
+
### v0.8.0 (2021-05-19)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.7.0 (2021-05-15)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210507
|
14
|
+
|
15
|
+
### v0.6.0 (2021-04-03)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210325
|
18
|
+
|
19
|
+
### v0.5.0 (2021-03-20)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210312
|
22
|
+
* Regenerated using generator version 0.2.0
|
23
|
+
|
3
24
|
### v0.4.0 (2021-03-04)
|
4
25
|
|
5
26
|
* Unspecified changes
|
@@ -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,11 +909,15 @@ module Google
|
|
899
909
|
# @return [Hash<String,Object>]
|
900
910
|
attr_accessor :json_payload
|
901
911
|
|
902
|
-
# Optional. A
|
903
|
-
#
|
904
|
-
#
|
905
|
-
#
|
906
|
-
#
|
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.
|
907
921
|
# Corresponds to the JSON property `labels`
|
908
922
|
# @return [Hash<String,String>]
|
909
923
|
attr_accessor :labels
|
@@ -915,12 +929,12 @@ module Google
|
|
915
929
|
# The project number is translated to its corresponding PROJECT_ID internally
|
916
930
|
# and the log_name field will contain PROJECT_ID in queries and exports.[LOG_ID]
|
917
931
|
# must be URL-encoded within log_name. Example: "organizations/1234567890/logs/
|
918
|
-
# cloudresourcemanager.googleapis.com%2Factivity".
|
919
|
-
#
|
920
|
-
#
|
921
|
-
#
|
922
|
-
#
|
923
|
-
#
|
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
|
924
938
|
# filtering for a log name with a leading slash will never return any results.
|
925
939
|
# Corresponds to the JSON property `logName`
|
926
940
|
# @return [String]
|
@@ -1273,6 +1287,13 @@ module Google
|
|
1273
1287
|
# @return [String]
|
1274
1288
|
attr_accessor :description
|
1275
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
|
+
|
1276
1297
|
# Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/
|
1277
1298
|
# advanced_filters) which is used to match log entries. Example: "resource.type=
|
1278
1299
|
# gae_app AND severity>=ERROR" The maximum length of the filter is 20000
|
@@ -1353,6 +1374,7 @@ module Google
|
|
1353
1374
|
@bucket_options = args[:bucket_options] if args.key?(:bucket_options)
|
1354
1375
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1355
1376
|
@description = args[:description] if args.key?(:description)
|
1377
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
1356
1378
|
@filter = args[:filter] if args.key?(:filter)
|
1357
1379
|
@label_extractors = args[:label_extractors] if args.key?(:label_extractors)
|
1358
1380
|
@metric_descriptor = args[:metric_descriptor] if args.key?(:metric_descriptor)
|
@@ -2193,14 +2215,14 @@ module Google
|
|
2193
2215
|
# @return [String]
|
2194
2216
|
attr_accessor :filter
|
2195
2217
|
|
2196
|
-
# Required. Name of a parent resource from which to retrieve log entries:
|
2197
|
-
# projects/[PROJECT_ID]
|
2198
|
-
# BILLING_ACCOUNT_ID]
|
2199
|
-
#
|
2200
|
-
# VIEW_ID
|
2201
|
-
# views/VIEW_ID
|
2202
|
-
# buckets/BUCKET_ID/views/VIEW_ID
|
2203
|
-
# 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]
|
2204
2226
|
# Corresponds to the JSON property `resourceNames`
|
2205
2227
|
# @return [Array<String>]
|
2206
2228
|
attr_accessor :resource_names
|
@@ -2302,14 +2324,14 @@ module Google
|
|
2302
2324
|
attr_accessor :labels
|
2303
2325
|
|
2304
2326
|
# Optional. A default log resource name that is assigned to all log entries in
|
2305
|
-
# entries that do not specify a value for log_name:
|
2306
|
-
# LOG_ID]
|
2307
|
-
# 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]
|
2308
2330
|
# must be URL-encoded. For example: "projects/my-project-id/logs/syslog" "
|
2309
|
-
# organizations/
|
2310
|
-
#
|
2311
|
-
#
|
2312
|
-
#
|
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.
|
2313
2335
|
# Corresponds to the JSON property `logName`
|
2314
2336
|
# @return [String]
|
2315
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.9.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 = "20210521"
|
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
|
@@ -3172,10 +3187,10 @@ module Google
|
|
3172
3187
|
# is disabled.See Enabling CMEK for Logs Router (https://cloud.google.com/
|
3173
3188
|
# logging/docs/routing/managed-encryption) for more information.
|
3174
3189
|
# @param [String] name
|
3175
|
-
# Required. The resource name for the CMEK settings to update. "projects/
|
3176
|
-
# PROJECT_ID
|
3177
|
-
# billingAccounts/
|
3178
|
-
# cmekSettings"
|
3190
|
+
# Required. The resource name for the CMEK settings to update. < "projects/
|
3191
|
+
# PROJECT_ID/cmekSettings" "organizations/ORGANIZATION_ID/cmekSettings" "
|
3192
|
+
# billingAccounts/BILLING_ACCOUNT_ID/cmekSettings" "folders/FOLDER_ID/
|
3193
|
+
# cmekSettings"Example: "organizations/12345/cmekSettings".Note: CMEK for the
|
3179
3194
|
# Logs Router can currently only be configured for GCP organizations. Once
|
3180
3195
|
# configured, it applies to all projects and folders in the GCP organization.
|
3181
3196
|
# @param [Google::Apis::LoggingV2::CmekSettings] cmek_settings_object
|
@@ -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
|
@@ -5800,10 +5825,10 @@ module Google
|
|
5800
5825
|
# is disabled.See Enabling CMEK for Logs Router (https://cloud.google.com/
|
5801
5826
|
# logging/docs/routing/managed-encryption) for more information.
|
5802
5827
|
# @param [String] name
|
5803
|
-
# Required. The resource name for the CMEK settings to update. "projects/
|
5804
|
-
# PROJECT_ID
|
5805
|
-
# billingAccounts/
|
5806
|
-
# cmekSettings"
|
5828
|
+
# Required. The resource name for the CMEK settings to update. < "projects/
|
5829
|
+
# PROJECT_ID/cmekSettings" "organizations/ORGANIZATION_ID/cmekSettings" "
|
5830
|
+
# billingAccounts/BILLING_ACCOUNT_ID/cmekSettings" "folders/FOLDER_ID/
|
5831
|
+
# cmekSettings"Example: "organizations/12345/cmekSettings".Note: CMEK for the
|
5807
5832
|
# Logs Router can currently only be configured for GCP organizations. Once
|
5808
5833
|
# configured, it applies to all projects and folders in the GCP organization.
|
5809
5834
|
# @param [Google::Apis::LoggingV2::CmekSettings] cmek_settings_object
|
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.9.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-31 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.9.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: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
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
|