google-apis-logging_v2 0.75.0 → 0.76.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: a829269b36511b58e865b662848cab162d9b51a4386b6fe523cc715227725fd0
|
4
|
+
data.tar.gz: fc112ea1f9569549ebb876bb8478ee0cef65fba2b61860a3b2b4e0a78424c86e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0247a48e3a1eae9ce74ce7825f056ca2b21093c36d9cd1cf22f383678877ed703037f9dbbb69c0deac6b5c85f5819b5a5b2667d95784e0046ac17dc9e3fe4812
|
7
|
+
data.tar.gz: b4b96050b7e3810158f33f6ef16a3813b7458aea422b6fa090f958248ccb13218319266c211dbcd2282edd588816e6bec19a983a88c84e57d26dfd3751c4ff83
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-logging_v2
|
2
2
|
|
3
|
+
### v0.76.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250207
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.75.0 (2024-10-27)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20241018
|
@@ -22,77 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module LoggingV2
|
24
24
|
|
25
|
-
# Specifies the audit configuration for a service. The configuration determines
|
26
|
-
# which permission types are logged, and what identities, if any, are exempted
|
27
|
-
# from logging. An AuditConfig must have one or more AuditLogConfigs.If there
|
28
|
-
# are AuditConfigs for both allServices and a specific service, the union of the
|
29
|
-
# two AuditConfigs is used for that service: the log_types specified in each
|
30
|
-
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
31
|
-
# exempted.Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
32
|
-
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
33
|
-
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
34
|
-
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
35
|
-
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
36
|
-
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
37
|
-
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
38
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
39
|
-
# DATA_WRITE logging.
|
40
|
-
class AuditConfig
|
41
|
-
include Google::Apis::Core::Hashable
|
42
|
-
|
43
|
-
# The configuration for logging of each type of permission.
|
44
|
-
# Corresponds to the JSON property `auditLogConfigs`
|
45
|
-
# @return [Array<Google::Apis::LoggingV2::AuditLogConfig>]
|
46
|
-
attr_accessor :audit_log_configs
|
47
|
-
|
48
|
-
# Specifies a service that will be enabled for audit logging. For example,
|
49
|
-
# storage.googleapis.com, cloudsql.googleapis.com. allServices is a special
|
50
|
-
# value that covers all services.
|
51
|
-
# Corresponds to the JSON property `service`
|
52
|
-
# @return [String]
|
53
|
-
attr_accessor :service
|
54
|
-
|
55
|
-
def initialize(**args)
|
56
|
-
update!(**args)
|
57
|
-
end
|
58
|
-
|
59
|
-
# Update properties of this object
|
60
|
-
def update!(**args)
|
61
|
-
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
62
|
-
@service = args[:service] if args.key?(:service)
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
# Provides the configuration for logging a type of permissions. Example: ` "
|
67
|
-
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
68
|
-
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
69
|
-
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
70
|
-
# DATA_READ logging.
|
71
|
-
class AuditLogConfig
|
72
|
-
include Google::Apis::Core::Hashable
|
73
|
-
|
74
|
-
# Specifies the identities that do not cause logging for this type of permission.
|
75
|
-
# Follows the same format of Binding.members.
|
76
|
-
# Corresponds to the JSON property `exemptedMembers`
|
77
|
-
# @return [Array<String>]
|
78
|
-
attr_accessor :exempted_members
|
79
|
-
|
80
|
-
# The log type that this config enables.
|
81
|
-
# Corresponds to the JSON property `logType`
|
82
|
-
# @return [String]
|
83
|
-
attr_accessor :log_type
|
84
|
-
|
85
|
-
def initialize(**args)
|
86
|
-
update!(**args)
|
87
|
-
end
|
88
|
-
|
89
|
-
# Update properties of this object
|
90
|
-
def update!(**args)
|
91
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
92
|
-
@log_type = args[:log_type] if args.key?(:log_type)
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
25
|
# Describes a BigQuery dataset that was created by a link.
|
97
26
|
class BigQueryDataset
|
98
27
|
include Google::Apis::Core::Hashable
|
@@ -516,7 +445,8 @@ module Google
|
|
516
445
|
class CopyLogEntriesRequest
|
517
446
|
include Google::Apis::Core::Hashable
|
518
447
|
|
519
|
-
# Required. Destination to which to copy log entries.
|
448
|
+
# Required. Destination to which to copy log entries. For example: "storage.
|
449
|
+
# googleapis.com/GCS_BUCKET"
|
520
450
|
# Corresponds to the JSON property `destination`
|
521
451
|
# @return [String]
|
522
452
|
attr_accessor :destination
|
@@ -3213,11 +3143,6 @@ module Google
|
|
3213
3143
|
class Policy
|
3214
3144
|
include Google::Apis::Core::Hashable
|
3215
3145
|
|
3216
|
-
# Specifies cloud audit logging configuration for this policy.
|
3217
|
-
# Corresponds to the JSON property `auditConfigs`
|
3218
|
-
# @return [Array<Google::Apis::LoggingV2::AuditConfig>]
|
3219
|
-
attr_accessor :audit_configs
|
3220
|
-
|
3221
3146
|
# Associates a list of members, or principals, with a role. Optionally, may
|
3222
3147
|
# specify a condition that determines how and when the bindings are applied.
|
3223
3148
|
# Each of the bindings must contain at least one principal.The bindings in a
|
@@ -3269,7 +3194,6 @@ module Google
|
|
3269
3194
|
|
3270
3195
|
# Update properties of this object
|
3271
3196
|
def update!(**args)
|
3272
|
-
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
3273
3197
|
@bindings = args[:bindings] if args.key?(:bindings)
|
3274
3198
|
@etag = args[:etag] if args.key?(:etag)
|
3275
3199
|
@version = args[:version] if args.key?(:version)
|
@@ -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.76.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250207"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,18 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module LoggingV2
|
24
24
|
|
25
|
-
class AuditConfig
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
|
-
class AuditLogConfig
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
25
|
class BigQueryDataset
|
38
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
27
|
|
@@ -526,23 +514,6 @@ module Google
|
|
526
514
|
include Google::Apis::Core::JsonObjectSupport
|
527
515
|
end
|
528
516
|
|
529
|
-
class AuditConfig
|
530
|
-
# @private
|
531
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
532
|
-
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::LoggingV2::AuditLogConfig, decorator: Google::Apis::LoggingV2::AuditLogConfig::Representation
|
533
|
-
|
534
|
-
property :service, as: 'service'
|
535
|
-
end
|
536
|
-
end
|
537
|
-
|
538
|
-
class AuditLogConfig
|
539
|
-
# @private
|
540
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
541
|
-
collection :exempted_members, as: 'exemptedMembers'
|
542
|
-
property :log_type, as: 'logType'
|
543
|
-
end
|
544
|
-
end
|
545
|
-
|
546
517
|
class BigQueryDataset
|
547
518
|
# @private
|
548
519
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1221,8 +1192,6 @@ module Google
|
|
1221
1192
|
class Policy
|
1222
1193
|
# @private
|
1223
1194
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1224
|
-
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::LoggingV2::AuditConfig, decorator: Google::Apis::LoggingV2::AuditConfig::Representation
|
1225
|
-
|
1226
1195
|
collection :bindings, as: 'bindings', class: Google::Apis::LoggingV2::Binding, decorator: Google::Apis::LoggingV2::Binding::Representation
|
1227
1196
|
|
1228
1197
|
property :etag, :base64 => true, as: 'etag'
|
@@ -900,7 +900,7 @@ module Google
|
|
900
900
|
# @param [String] view_id
|
901
901
|
# Required. A client-assigned identifier such as "my-view". Identifiers are
|
902
902
|
# limited to 100 characters and can include only letters, digits, underscores,
|
903
|
-
#
|
903
|
+
# and hyphens.
|
904
904
|
# @param [String] fields
|
905
905
|
# Selector specifying which fields to include in a partial response.
|
906
906
|
# @param [String] quota_user
|
@@ -3158,7 +3158,7 @@ module Google
|
|
3158
3158
|
# @param [String] view_id
|
3159
3159
|
# Required. A client-assigned identifier such as "my-view". Identifiers are
|
3160
3160
|
# limited to 100 characters and can include only letters, digits, underscores,
|
3161
|
-
#
|
3161
|
+
# and hyphens.
|
3162
3162
|
# @param [String] fields
|
3163
3163
|
# Selector specifying which fields to include in a partial response.
|
3164
3164
|
# @param [String] quota_user
|
@@ -5072,7 +5072,7 @@ module Google
|
|
5072
5072
|
# @param [String] view_id
|
5073
5073
|
# Required. A client-assigned identifier such as "my-view". Identifiers are
|
5074
5074
|
# limited to 100 characters and can include only letters, digits, underscores,
|
5075
|
-
#
|
5075
|
+
# and hyphens.
|
5076
5076
|
# @param [String] fields
|
5077
5077
|
# Selector specifying which fields to include in a partial response.
|
5078
5078
|
# @param [String] quota_user
|
@@ -6562,7 +6562,7 @@ module Google
|
|
6562
6562
|
# @param [String] view_id
|
6563
6563
|
# Required. A client-assigned identifier such as "my-view". Identifiers are
|
6564
6564
|
# limited to 100 characters and can include only letters, digits, underscores,
|
6565
|
-
#
|
6565
|
+
# and hyphens.
|
6566
6566
|
# @param [String] fields
|
6567
6567
|
# Selector specifying which fields to include in a partial response.
|
6568
6568
|
# @param [String] quota_user
|
@@ -8748,7 +8748,7 @@ module Google
|
|
8748
8748
|
# @param [String] view_id
|
8749
8749
|
# Required. A client-assigned identifier such as "my-view". Identifiers are
|
8750
8750
|
# limited to 100 characters and can include only letters, digits, underscores,
|
8751
|
-
#
|
8751
|
+
# and hyphens.
|
8752
8752
|
# @param [String] fields
|
8753
8753
|
# Selector specifying which fields to include in a partial response.
|
8754
8754
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.76.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.76.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Cloud Logging API V2
|
82
79
|
test_files: []
|