google-apis-logging_v2 0.55.0 → 0.57.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: fa48f6c61f1b4887f278cc7ce3f94f6e5c35d772f4ba1ad74f205089b81f9fd3
4
- data.tar.gz: 4bccb982d17af5f8f62bf51ea7de3a7194a0b3f2585fec8a946dc1490ce790f7
3
+ metadata.gz: f98e1265b872ebc938765e9d2611347c23156d6ee566bd75d7b82469b4520d4d
4
+ data.tar.gz: 7fa95faf33fa21f746f330158c21c5fb26b4e2e5fdda493f6d7471670f296290
5
5
  SHA512:
6
- metadata.gz: 973ee681a5ae3679c8cf8e9b8e11795a4b708b9e6fb19d4737511cc60e47eef9cf585bd39cf147c5e0685148b5066966660fe7a7e5930d7ea2a76628617da858
7
- data.tar.gz: 718550a24d237a3c6d072a7f081796f0a647e5b3f74e7d2342c17da6a1b33f48ec7486dc495c63157207081b03aa519e92ce17492b7f3cf23bfca065b791d35c
6
+ metadata.gz: 317486dbeb674c815e31606bf1d79913e5e4b47a49c572169ac4e53a7e2d93f18b886cabf128680c421b5f6412c8d790549374277daad95c49ef150c571f02da
7
+ data.tar.gz: 85bea5b792ae64badb4a11e1717e30d5b620cd0109519eaab336fa65ed5e5b5d9c28bb8e784363de9f676d911fb0298b1722110ee6c86158273c92c7772401cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-logging_v2
2
2
 
3
+ ### v0.57.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231026
6
+
7
+ ### v0.56.0 (2023-10-22)
8
+
9
+ * Regenerated from discovery document revision 20231013
10
+
3
11
  ### v0.55.0 (2023-10-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20231006
@@ -1410,6 +1410,16 @@ module Google
1410
1410
  class LogEntry
1411
1411
  include Google::Apis::Core::Hashable
1412
1412
 
1413
+ # Output only. The Error Reporting (https://cloud.google.com/error-reporting)
1414
+ # error groups associated with this LogEntry. Error Reporting sets the values
1415
+ # for this field during error group creation.For more information, see View
1416
+ # error details( https://cloud.google.com/error-reporting/docs/viewing-errors#
1417
+ # 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,30 @@ module Google
1697
1708
  end
1698
1709
  end
1699
1710
 
1711
+ # Contains metadata that associates the LogEntry to Error Reporting error groups.
1712
+ class LogErrorGroup
1713
+ include Google::Apis::Core::Hashable
1714
+
1715
+ # The id is a unique identifier for a particular error group; it is the last
1716
+ # part of the error group resource name: /projects//errors/. Example:
1717
+ # COShysOX0r_51QE The id is derived from key parts of the error-log content and
1718
+ # is treated as Service Data. For information about how Service Data is handled,
1719
+ # see Google Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-
1720
+ # notice).
1721
+ # Corresponds to the JSON property `id`
1722
+ # @return [String]
1723
+ attr_accessor :id
1724
+
1725
+ def initialize(**args)
1726
+ update!(**args)
1727
+ end
1728
+
1729
+ # Update properties of this object
1730
+ def update!(**args)
1731
+ @id = args[:id] if args.key?(:id)
1732
+ end
1733
+ end
1734
+
1700
1735
  # Specifies a set of log entries that are filtered out by a sink. If your Google
1701
1736
  # Cloud resource receives a large volume of log entries, you can use exclusions
1702
1737
  # 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.55.0"
19
+ GEM_VERSION = "0.57.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 = "20231006"
25
+ REVISION = "20231026"
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
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.55.0
4
+ version: 0.57.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-10-15 00:00:00.000000000 Z
11
+ date: 2023-11-05 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.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-logging_v2/v0.57.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: []