google-apis-logging_v2 0.55.0 → 0.56.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: fa48f6c61f1b4887f278cc7ce3f94f6e5c35d772f4ba1ad74f205089b81f9fd3
4
- data.tar.gz: 4bccb982d17af5f8f62bf51ea7de3a7194a0b3f2585fec8a946dc1490ce790f7
3
+ metadata.gz: 6880f2e3e320c37bb260f55235d261fa0d171c2815eb40da8b3692fdbc429801
4
+ data.tar.gz: 47811d5201c9d16d1f6bc5f6c232f27ef7bca979036c5144405a254a6d73fde4
5
5
  SHA512:
6
- metadata.gz: 973ee681a5ae3679c8cf8e9b8e11795a4b708b9e6fb19d4737511cc60e47eef9cf585bd39cf147c5e0685148b5066966660fe7a7e5930d7ea2a76628617da858
7
- data.tar.gz: 718550a24d237a3c6d072a7f081796f0a647e5b3f74e7d2342c17da6a1b33f48ec7486dc495c63157207081b03aa519e92ce17492b7f3cf23bfca065b791d35c
6
+ metadata.gz: '0896e2c1a99bcf96f813985fc08f5cddd591f2f9b0e5ad98b8e377a25a8e8047507203ea07f0a390cb906e9b581b394e3c8ffdea3c3d8acd435d579e4c17cdc6'
7
+ data.tar.gz: 9bada47858f9d8bf9492ec3f5da5fe05a6e52bd2827802b3906f5f74c48a19370d4d7aee12721d02fd9cbd04cc1207315307896be1e4d9a47ea97e3d8037602d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.55.0 (2023-10-15)
4
8
 
5
9
  * 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 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.55.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 = "20231006"
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
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.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-10-15 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.55.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: []