google-apis-servicecontrol_v2 0.36.0 → 0.37.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: 756c20886332eef77457a94937fb8add249b066332041eb08b72af475aee3403
4
- data.tar.gz: 962637c4b61fe0c2e612336c1d40102434dd1df55eedeecf51e6538e69b0511e
3
+ metadata.gz: 5a66cb54d2ce6c8fc5efae13d149ddcb2a8b73b327449f587b6b2af0781daf50
4
+ data.tar.gz: 73510b97a2ca6104ef2af80befc28a402bf70449427e2457c75b30e2b8edbda6
5
5
  SHA512:
6
- metadata.gz: 1d7fc6080fd92198b23e16f480150adbc066dba624701094650bea7fb969771172bf850d3ac0dce8dbec4ea983b7f45753a03025126495ab2ff4f20b36ad3e24
7
- data.tar.gz: acd7a78c44083712389b11f85f8396daca8c045ce5fd119c6cf9638d355091d87ef508568f6454bca4faf66832cf076226599536638de3c1cef7758810fbc9bd
6
+ metadata.gz: 6cdb4647a279d3e294a3ee955026517b2d798aebfe9995e0ccbbc2fff02771c911203bbb3de560cdcbe82fe6305f7f212987456a2a30c06f0e1c650006e519f9
7
+ data.tar.gz: 22cd1cc72cd650808ee913caa7bb538c2da06803603aa4526621870837a0c46b0469a8b477500d4d4457f7e4e48f718b790f4d03ded3b4dd0ccaef17af3098e1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-servicecontrol_v2
2
2
 
3
+ ### v0.37.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240426
6
+
3
7
  ### v0.36.0 (2024-04-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20240419
@@ -1660,6 +1660,68 @@ module Google
1660
1660
  end
1661
1661
  end
1662
1662
 
1663
+ # Report v2 extension proto for passing the resource metadata associated with a
1664
+ # resource create/update/delete/undelete event from ESF to Chemist.
1665
+ # ResourceEvent proto should be serialized into the ReportRequest.operations.
1666
+ # extensions.
1667
+ class V2ResourceEvent
1668
+ include Google::Apis::Core::Hashable
1669
+
1670
+ # The destinations field determines which backend services should handle the
1671
+ # event. This should be specified as a comma-delimited string.
1672
+ # Corresponds to the JSON property `destinations`
1673
+ # @return [String]
1674
+ attr_accessor :destinations
1675
+
1676
+ # This message defines core attributes for a resource. A resource is an
1677
+ # addressable (named) entity provided by the destination service. For example, a
1678
+ # file stored on a network storage service.
1679
+ # Corresponds to the JSON property `parent`
1680
+ # @return [Google::Apis::ServicecontrolV2::Resource]
1681
+ attr_accessor :parent
1682
+
1683
+ # The api path the resource event was created in. This should match the source
1684
+ # of the `payload` field. For direct integrations with Chemist, this should
1685
+ # generally be the RESPONSE. go/resource-event-pipeline-type
1686
+ # Corresponds to the JSON property `path`
1687
+ # @return [String]
1688
+ attr_accessor :path
1689
+
1690
+ # The payload contains metadata associated with the resource event. A
1691
+ # ResourceEventPayloadStatus is provided instead if the original payload cannot
1692
+ # be returned due to a limitation (e.g. size limit).
1693
+ # Corresponds to the JSON property `payload`
1694
+ # @return [Hash<String,Object>]
1695
+ attr_accessor :payload
1696
+
1697
+ # This message defines core attributes for a resource. A resource is an
1698
+ # addressable (named) entity provided by the destination service. For example, a
1699
+ # file stored on a network storage service.
1700
+ # Corresponds to the JSON property `resource`
1701
+ # @return [Google::Apis::ServicecontrolV2::Resource]
1702
+ attr_accessor :resource
1703
+
1704
+ # The resource event type determines how the backend service should process the
1705
+ # event.
1706
+ # Corresponds to the JSON property `type`
1707
+ # @return [String]
1708
+ attr_accessor :type
1709
+
1710
+ def initialize(**args)
1711
+ update!(**args)
1712
+ end
1713
+
1714
+ # Update properties of this object
1715
+ def update!(**args)
1716
+ @destinations = args[:destinations] if args.key?(:destinations)
1717
+ @parent = args[:parent] if args.key?(:parent)
1718
+ @path = args[:path] if args.key?(:path)
1719
+ @payload = args[:payload] if args.key?(:payload)
1720
+ @resource = args[:resource] if args.key?(:resource)
1721
+ @type = args[:type] if args.key?(:type)
1722
+ end
1723
+ end
1724
+
1663
1725
  # Provides information about the Policy violation info for this request.
1664
1726
  class ViolationInfo
1665
1727
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicecontrolV2
18
18
  # Version of the google-apis-servicecontrol_v2 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240419"
25
+ REVISION = "20240426"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class V2ResourceEvent
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class ViolationInfo
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -574,6 +580,20 @@ module Google
574
580
  end
575
581
  end
576
582
 
583
+ class V2ResourceEvent
584
+ # @private
585
+ class Representation < Google::Apis::Core::JsonRepresentation
586
+ property :destinations, as: 'destinations'
587
+ property :parent, as: 'parent', class: Google::Apis::ServicecontrolV2::Resource, decorator: Google::Apis::ServicecontrolV2::Resource::Representation
588
+
589
+ property :path, as: 'path'
590
+ hash :payload, as: 'payload'
591
+ property :resource, as: 'resource', class: Google::Apis::ServicecontrolV2::Resource, decorator: Google::Apis::ServicecontrolV2::Resource::Representation
592
+
593
+ property :type, as: 'type'
594
+ end
595
+ end
596
+
577
597
  class ViolationInfo
578
598
  # @private
579
599
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicecontrol_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.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: 2024-04-28 00:00:00.000000000 Z
11
+ date: 2024-05-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-servicecontrol_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicecontrol_v2
63
63
  post_install_message:
64
64
  rdoc_options: []