google-apis-logging_v2 0.54.0 → 0.56.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c1d3f64d025aca9830fdb66540f1640473d0a87abb5a88852e93ccedd6fd539
4
- data.tar.gz: 568dde091dd32d054067da121cd379a1a069a254aa6054c9b5c4792eb4db7ab3
3
+ metadata.gz: 6880f2e3e320c37bb260f55235d261fa0d171c2815eb40da8b3692fdbc429801
4
+ data.tar.gz: 47811d5201c9d16d1f6bc5f6c232f27ef7bca979036c5144405a254a6d73fde4
5
5
  SHA512:
6
- metadata.gz: dd13cf23649d6d2ecfdeb1ea871e98f380081590546c4cbf22650300112959aa47f18e24036b1084067238cb67b9e9ee39d517539fd7e0eb1fd5ba4bdb0ca65f
7
- data.tar.gz: 2efd669a925a95aa30c213177d5e27c1ac3886dd860c3b3068c2bdc98f3681a0eba50c8cc058195ddddb34aa7c5314e799d378d833c45a2ec047d85c1c8d92de
6
+ metadata.gz: '0896e2c1a99bcf96f813985fc08f5cddd591f2f9b0e5ad98b8e377a25a8e8047507203ea07f0a390cb906e9b581b394e3c8ffdea3c3d8acd435d579e4c17cdc6'
7
+ data.tar.gz: 9bada47858f9d8bf9492ec3f5da5fe05a6e52bd2827802b3906f5f74c48a19370d4d7aee12721d02fd9cbd04cc1207315307896be1e4d9a47ea97e3d8037602d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.56.0 (2023-10-22)
4
+
5
+ * Regenerated from discovery document revision 20231013
6
+
7
+ ### v0.55.0 (2023-10-15)
8
+
9
+ * Regenerated from discovery document revision 20231006
10
+
3
11
  ### v0.54.0 (2023-09-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20230915
@@ -1410,6 +1410,16 @@ module Google
1410
1410
  class LogEntry
1411
1411
  include Google::Apis::Core::Hashable
1412
1412
 
1413
+ # Output only. The Cloud Error Reporting (https://cloud.google.com/error-
1414
+ # reporting) error groups associated with this LogEntry. Cloud Error Reporting
1415
+ # sets the values for this field during error group creation.For more
1416
+ # information, see View error details( http://cloud/error-reporting/docs/viewing-
1417
+ # errors#view_error_details)This field isn't available during log routing (https:
1418
+ # //cloud.google.com/logging/docs/routing/overview)
1419
+ # Corresponds to the JSON property `errorGroups`
1420
+ # @return [Array<Google::Apis::LoggingV2::LogErrorGroup>]
1421
+ attr_accessor :error_groups
1422
+
1413
1423
  # A common proto for logging HTTP requests. Only contains semantics defined by
1414
1424
  # the HTTP specification. Product-specific logging information MUST be defined
1415
1425
  # in a separate message.
@@ -1595,6 +1605,7 @@ module Google
1595
1605
 
1596
1606
  # Update properties of this object
1597
1607
  def update!(**args)
1608
+ @error_groups = args[:error_groups] if args.key?(:error_groups)
1598
1609
  @http_request = args[:http_request] if args.key?(:http_request)
1599
1610
  @insert_id = args[:insert_id] if args.key?(:insert_id)
1600
1611
  @json_payload = args[:json_payload] if args.key?(:json_payload)
@@ -1697,6 +1708,31 @@ module Google
1697
1708
  end
1698
1709
  end
1699
1710
 
1711
+ # Contains metadata that associates the LogEntry to Cloud Error Reporting error
1712
+ # groups.
1713
+ class LogErrorGroup
1714
+ include Google::Apis::Core::Hashable
1715
+
1716
+ # The id is a unique identifier for a particular error group; it is the last
1717
+ # part of the error group resource name: /projects//errors/. Example:
1718
+ # COShysOX0r_51QE The id is derived from key parts of the error-log content and
1719
+ # is treated as Service Data. For information about how Service Data is handled,
1720
+ # see Google Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-
1721
+ # notice).
1722
+ # Corresponds to the JSON property `id`
1723
+ # @return [String]
1724
+ attr_accessor :id
1725
+
1726
+ def initialize(**args)
1727
+ update!(**args)
1728
+ end
1729
+
1730
+ # Update properties of this object
1731
+ def update!(**args)
1732
+ @id = args[:id] if args.key?(:id)
1733
+ end
1734
+ end
1735
+
1700
1736
  # Specifies a set of log entries that are filtered out by a sink. If your Google
1701
1737
  # Cloud resource receives a large volume of log entries, you can use exclusions
1702
1738
  # to reduce your chargeable logs. Note that exclusions on organization-level and
@@ -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.54.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230915"
25
+ REVISION = "20231013"
26
26
  end
27
27
  end
28
28
  end
@@ -256,6 +256,12 @@ module Google
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
+ class LogErrorGroup
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
259
265
  class LogExclusion
260
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
267
 
@@ -758,6 +764,8 @@ module Google
758
764
  class LogEntry
759
765
  # @private
760
766
  class Representation < Google::Apis::Core::JsonRepresentation
767
+ collection :error_groups, as: 'errorGroups', class: Google::Apis::LoggingV2::LogErrorGroup, decorator: Google::Apis::LoggingV2::LogErrorGroup::Representation
768
+
761
769
  property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2::HttpRequest, decorator: Google::Apis::LoggingV2::HttpRequest::Representation
762
770
 
763
771
  property :insert_id, as: 'insertId'
@@ -804,6 +812,13 @@ module Google
804
812
  end
805
813
  end
806
814
 
815
+ class LogErrorGroup
816
+ # @private
817
+ class Representation < Google::Apis::Core::JsonRepresentation
818
+ property :id, as: 'id'
819
+ end
820
+ end
821
+
807
822
  class LogExclusion
808
823
  # @private
809
824
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1525,9 +1525,10 @@ module Google
1525
1525
  # @param [Google::Apis::LoggingV2::LogSink] log_sink_object
1526
1526
  # @param [String] custom_writer_identity
1527
1527
  # Optional. A service account provided by the caller that will be used to write
1528
- # the log entries. Must be of format serviceAccount:some@email. This can only be
1529
- # specified if writing to a destination outside the sink's project. If not
1530
- # specified, a p4 service account will automatically be generated.
1528
+ # the log entries. The format must be serviceAccount:some@email. This field can
1529
+ # only be specified if you are routing logs to a destination outside this sink's
1530
+ # project. If not specified, a Logging service account will automatically be
1531
+ # generated.
1531
1532
  # @param [Boolean] unique_writer_identity
1532
1533
  # Optional. See sinks.create for a description of this field. When updating a
1533
1534
  # sink, the effect of this field on the value of writer_identity in the updated
@@ -1592,9 +1593,10 @@ module Google
1592
1593
  # @param [Google::Apis::LoggingV2::LogSink] log_sink_object
1593
1594
  # @param [String] custom_writer_identity
1594
1595
  # Optional. A service account provided by the caller that will be used to write
1595
- # the log entries. Must be of format serviceAccount:some@email. This can only be
1596
- # specified if writing to a destination outside the sink's project. If not
1597
- # specified, a p4 service account will automatically be generated.
1596
+ # the log entries. The format must be serviceAccount:some@email. This field can
1597
+ # only be specified if you are routing logs to a destination outside this sink's
1598
+ # project. If not specified, a Logging service account will automatically be
1599
+ # generated.
1598
1600
  # @param [Boolean] unique_writer_identity
1599
1601
  # Optional. See sinks.create for a description of this field. When updating a
1600
1602
  # sink, the effect of this field on the value of writer_identity in the updated
@@ -3496,9 +3498,10 @@ module Google
3496
3498
  # @param [Google::Apis::LoggingV2::LogSink] log_sink_object
3497
3499
  # @param [String] custom_writer_identity
3498
3500
  # Optional. A service account provided by the caller that will be used to write
3499
- # the log entries. Must be of format serviceAccount:some@email. This can only be
3500
- # specified if writing to a destination outside the sink's project. If not
3501
- # specified, a p4 service account will automatically be generated.
3501
+ # the log entries. The format must be serviceAccount:some@email. This field can
3502
+ # only be specified if you are routing logs to a destination outside this sink's
3503
+ # project. If not specified, a Logging service account will automatically be
3504
+ # generated.
3502
3505
  # @param [Boolean] unique_writer_identity
3503
3506
  # Optional. See sinks.create for a description of this field. When updating a
3504
3507
  # sink, the effect of this field on the value of writer_identity in the updated
@@ -3563,9 +3566,10 @@ module Google
3563
3566
  # @param [Google::Apis::LoggingV2::LogSink] log_sink_object
3564
3567
  # @param [String] custom_writer_identity
3565
3568
  # Optional. A service account provided by the caller that will be used to write
3566
- # the log entries. Must be of format serviceAccount:some@email. This can only be
3567
- # specified if writing to a destination outside the sink's project. If not
3568
- # specified, a p4 service account will automatically be generated.
3569
+ # the log entries. The format must be serviceAccount:some@email. This field can
3570
+ # only be specified if you are routing logs to a destination outside this sink's
3571
+ # project. If not specified, a Logging service account will automatically be
3572
+ # generated.
3569
3573
  # @param [Boolean] unique_writer_identity
3570
3574
  # Optional. See sinks.create for a description of this field. When updating a
3571
3575
  # sink, the effect of this field on the value of writer_identity in the updated
@@ -6198,9 +6202,10 @@ module Google
6198
6202
  # @param [Google::Apis::LoggingV2::LogSink] log_sink_object
6199
6203
  # @param [String] custom_writer_identity
6200
6204
  # Optional. A service account provided by the caller that will be used to write
6201
- # the log entries. Must be of format serviceAccount:some@email. This can only be
6202
- # specified if writing to a destination outside the sink's project. If not
6203
- # specified, a p4 service account will automatically be generated.
6205
+ # the log entries. The format must be serviceAccount:some@email. This field can
6206
+ # only be specified if you are routing logs to a destination outside this sink's
6207
+ # project. If not specified, a Logging service account will automatically be
6208
+ # generated.
6204
6209
  # @param [Boolean] unique_writer_identity
6205
6210
  # Optional. See sinks.create for a description of this field. When updating a
6206
6211
  # sink, the effect of this field on the value of writer_identity in the updated
@@ -6265,9 +6270,10 @@ module Google
6265
6270
  # @param [Google::Apis::LoggingV2::LogSink] log_sink_object
6266
6271
  # @param [String] custom_writer_identity
6267
6272
  # Optional. A service account provided by the caller that will be used to write
6268
- # the log entries. Must be of format serviceAccount:some@email. This can only be
6269
- # specified if writing to a destination outside the sink's project. If not
6270
- # specified, a p4 service account will automatically be generated.
6273
+ # the log entries. The format must be serviceAccount:some@email. This field can
6274
+ # only be specified if you are routing logs to a destination outside this sink's
6275
+ # project. If not specified, a Logging service account will automatically be
6276
+ # generated.
6271
6277
  # @param [Boolean] unique_writer_identity
6272
6278
  # Optional. See sinks.create for a description of this field. When updating a
6273
6279
  # sink, the effect of this field on the value of writer_identity in the updated
@@ -7970,9 +7976,10 @@ module Google
7970
7976
  # @param [Google::Apis::LoggingV2::LogSink] log_sink_object
7971
7977
  # @param [String] custom_writer_identity
7972
7978
  # Optional. A service account provided by the caller that will be used to write
7973
- # the log entries. Must be of format serviceAccount:some@email. This can only be
7974
- # specified if writing to a destination outside the sink's project. If not
7975
- # specified, a p4 service account will automatically be generated.
7979
+ # the log entries. The format must be serviceAccount:some@email. This field can
7980
+ # only be specified if you are routing logs to a destination outside this sink's
7981
+ # project. If not specified, a Logging service account will automatically be
7982
+ # generated.
7976
7983
  # @param [Boolean] unique_writer_identity
7977
7984
  # Optional. See sinks.create for a description of this field. When updating a
7978
7985
  # sink, the effect of this field on the value of writer_identity in the updated
@@ -8037,9 +8044,10 @@ module Google
8037
8044
  # @param [Google::Apis::LoggingV2::LogSink] log_sink_object
8038
8045
  # @param [String] custom_writer_identity
8039
8046
  # Optional. A service account provided by the caller that will be used to write
8040
- # the log entries. Must be of format serviceAccount:some@email. This can only be
8041
- # specified if writing to a destination outside the sink's project. If not
8042
- # specified, a p4 service account will automatically be generated.
8047
+ # the log entries. The format must be serviceAccount:some@email. This field can
8048
+ # only be specified if you are routing logs to a destination outside this sink's
8049
+ # project. If not specified, a Logging service account will automatically be
8050
+ # generated.
8043
8051
  # @param [Boolean] unique_writer_identity
8044
8052
  # Optional. See sinks.create for a description of this field. When updating a
8045
8053
  # sink, the effect of this field on the value of writer_identity in the updated
@@ -8273,9 +8281,10 @@ module Google
8273
8281
  # @param [Google::Apis::LoggingV2::LogSink] log_sink_object
8274
8282
  # @param [String] custom_writer_identity
8275
8283
  # Optional. A service account provided by the caller that will be used to write
8276
- # the log entries. Must be of format serviceAccount:some@email. This can only be
8277
- # specified if writing to a destination outside the sink's project. If not
8278
- # specified, a p4 service account will automatically be generated.
8284
+ # the log entries. The format must be serviceAccount:some@email. This field can
8285
+ # only be specified if you are routing logs to a destination outside this sink's
8286
+ # project. If not specified, a Logging service account will automatically be
8287
+ # generated.
8279
8288
  # @param [Boolean] unique_writer_identity
8280
8289
  # Optional. See sinks.create for a description of this field. When updating a
8281
8290
  # sink, the effect of this field on the value of writer_identity in the updated
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.54.0
4
+ version: 0.56.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: 2023-09-24 00:00:00.000000000 Z
11
+ date: 2023-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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.54.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.56.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-logging_v2
63
63
  post_install_message:
64
64
  rdoc_options: []