google-apis-logging_v2 0.74.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: 590e3419dabbff7833bf022f804a3b193c7372fe4bc73a69149a9b1207464bd9
4
- data.tar.gz: c788018b4d3c87d942fa98fc3b08124fa23f955d4f2207582999ab56c79b3f2f
3
+ metadata.gz: a829269b36511b58e865b662848cab162d9b51a4386b6fe523cc715227725fd0
4
+ data.tar.gz: fc112ea1f9569549ebb876bb8478ee0cef65fba2b61860a3b2b4e0a78424c86e
5
5
  SHA512:
6
- metadata.gz: a4368ba17b18754f669468f7f15ec9aa73ec1f2c6a357aa985ae8a4cd05fa5bdf50044fc7da685a8d9be79c2e64373c85a5c25c6bd16ffa39c01092e30d872ca
7
- data.tar.gz: ff18ae8d1ff744d10ab59d039a9b068bbf182e442641fca2d2d9d90a9b3ee83d5b03e53442dc20ca2da894368b12cb65274e88bfb1293ee869690b942fb8718b
6
+ metadata.gz: 0247a48e3a1eae9ce74ce7825f056ca2b21093c36d9cd1cf22f383678877ed703037f9dbbb69c0deac6b5c85f5819b5a5b2667d95784e0046ac17dc9e3fe4812
7
+ data.tar.gz: b4b96050b7e3810158f33f6ef16a3813b7458aea422b6fa090f958248ccb13218319266c211dbcd2282edd588816e6bec19a983a88c84e57d26dfd3751c4ff83
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.75.0 (2024-10-27)
9
+
10
+ * Regenerated from discovery document revision 20241018
11
+
3
12
  ### v0.74.0 (2024-09-22)
4
13
 
5
14
  * Regenerated from discovery document revision 20240913
@@ -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
@@ -2456,8 +2386,9 @@ module Google
2456
2386
  # @return [String]
2457
2387
  attr_accessor :description
2458
2388
 
2459
- # Output only. The resource name of the log scope.For example:projects/my-
2460
- # project/locations/global/logScopes/my-log-scope
2389
+ # Output only. The resource name of the log scope.Log scopes are only available
2390
+ # in the global location. For example:projects/my-project/locations/global/
2391
+ # logScopes/my-log-scope
2461
2392
  # Corresponds to the JSON property `name`
2462
2393
  # @return [String]
2463
2394
  attr_accessor :name
@@ -2465,7 +2396,7 @@ module Google
2465
2396
  # Required. Names of one or more parent resources: projects/[PROJECT_ID]May
2466
2397
  # alternatively be one or more views: projects/[PROJECT_ID]/locations/[
2467
2398
  # LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a
2468
- # maximum of 50 projects and a maximum of 100 resources in total.
2399
+ # maximum of 5 projects and a maximum of 100 resources in total.
2469
2400
  # Corresponds to the JSON property `resourceNames`
2470
2401
  # @return [Array<String>]
2471
2402
  attr_accessor :resource_names
@@ -3212,11 +3143,6 @@ module Google
3212
3143
  class Policy
3213
3144
  include Google::Apis::Core::Hashable
3214
3145
 
3215
- # Specifies cloud audit logging configuration for this policy.
3216
- # Corresponds to the JSON property `auditConfigs`
3217
- # @return [Array<Google::Apis::LoggingV2::AuditConfig>]
3218
- attr_accessor :audit_configs
3219
-
3220
3146
  # Associates a list of members, or principals, with a role. Optionally, may
3221
3147
  # specify a condition that determines how and when the bindings are applied.
3222
3148
  # Each of the bindings must contain at least one principal.The bindings in a
@@ -3268,7 +3194,6 @@ module Google
3268
3194
 
3269
3195
  # Update properties of this object
3270
3196
  def update!(**args)
3271
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
3272
3197
  @bindings = args[:bindings] if args.key?(:bindings)
3273
3198
  @etag = args[:etag] if args.key?(:etag)
3274
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.74.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.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240913"
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
- # hyphens, and periods.
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
- # hyphens, and periods.
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
@@ -3658,8 +3658,9 @@ module Google
3658
3658
 
3659
3659
  # Updates a log scope.
3660
3660
  # @param [String] name
3661
- # Output only. The resource name of the log scope.For example:projects/my-
3662
- # project/locations/global/logScopes/my-log-scope
3661
+ # Output only. The resource name of the log scope.Log scopes are only available
3662
+ # in the global location. For example:projects/my-project/locations/global/
3663
+ # logScopes/my-log-scope
3663
3664
  # @param [Google::Apis::LoggingV2::LogScope] log_scope_object
3664
3665
  # @param [String] update_mask
3665
3666
  # Optional. Field mask that specifies the fields in log_scope that need an
@@ -5071,7 +5072,7 @@ module Google
5071
5072
  # @param [String] view_id
5072
5073
  # Required. A client-assigned identifier such as "my-view". Identifiers are
5073
5074
  # limited to 100 characters and can include only letters, digits, underscores,
5074
- # hyphens, and periods.
5075
+ # and hyphens.
5075
5076
  # @param [String] fields
5076
5077
  # Selector specifying which fields to include in a partial response.
5077
5078
  # @param [String] quota_user
@@ -6561,7 +6562,7 @@ module Google
6561
6562
  # @param [String] view_id
6562
6563
  # Required. A client-assigned identifier such as "my-view". Identifiers are
6563
6564
  # limited to 100 characters and can include only letters, digits, underscores,
6564
- # hyphens, and periods.
6565
+ # and hyphens.
6565
6566
  # @param [String] fields
6566
6567
  # Selector specifying which fields to include in a partial response.
6567
6568
  # @param [String] quota_user
@@ -7061,8 +7062,9 @@ module Google
7061
7062
 
7062
7063
  # Updates a log scope.
7063
7064
  # @param [String] name
7064
- # Output only. The resource name of the log scope.For example:projects/my-
7065
- # project/locations/global/logScopes/my-log-scope
7065
+ # Output only. The resource name of the log scope.Log scopes are only available
7066
+ # in the global location. For example:projects/my-project/locations/global/
7067
+ # logScopes/my-log-scope
7066
7068
  # @param [Google::Apis::LoggingV2::LogScope] log_scope_object
7067
7069
  # @param [String] update_mask
7068
7070
  # Optional. Field mask that specifies the fields in log_scope that need an
@@ -8746,7 +8748,7 @@ module Google
8746
8748
  # @param [String] view_id
8747
8749
  # Required. A client-assigned identifier such as "my-view". Identifiers are
8748
8750
  # limited to 100 characters and can include only letters, digits, underscores,
8749
- # hyphens, and periods.
8751
+ # and hyphens.
8750
8752
  # @param [String] fields
8751
8753
  # Selector specifying which fields to include in a partial response.
8752
8754
  # @param [String] quota_user
@@ -9246,8 +9248,9 @@ module Google
9246
9248
 
9247
9249
  # Updates a log scope.
9248
9250
  # @param [String] name
9249
- # Output only. The resource name of the log scope.For example:projects/my-
9250
- # project/locations/global/logScopes/my-log-scope
9251
+ # Output only. The resource name of the log scope.Log scopes are only available
9252
+ # in the global location. For example:projects/my-project/locations/global/
9253
+ # logScopes/my-log-scope
9251
9254
  # @param [Google::Apis::LoggingV2::LogScope] log_scope_object
9252
9255
  # @param [String] update_mask
9253
9256
  # Optional. Field mask that specifies the fields in log_scope that need an
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.74.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: 2024-09-22 00:00:00.000000000 Z
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.74.0
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.6
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: []