google-apis-servicecontrol_v2 0.35.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: 467b588c1a4cf0890a86f4ed84cf2e798857f92151a75e6c01fa770b61c2c9b3
4
- data.tar.gz: 56318fac2f76bdb9cd4ec205912aa91ea3ae303986271c9d2cb717c312704bf3
3
+ metadata.gz: 5a66cb54d2ce6c8fc5efae13d149ddcb2a8b73b327449f587b6b2af0781daf50
4
+ data.tar.gz: 73510b97a2ca6104ef2af80befc28a402bf70449427e2457c75b30e2b8edbda6
5
5
  SHA512:
6
- metadata.gz: 6375be6ec3625b5558b00040467b0c52d79e0d487126e3aeee278025feb6abf39ecc17af30761bea2f0848aa8b940c0d4d85fe7706659023f073fa5b51ea842b
7
- data.tar.gz: 962095f72585d31581b3eb1effd1e4a3eb07fe023e9cea4dafb8cccb6c6abf2b829ad7bc6031fef98af1349c2b6d934e55410387327c82758d82fe649f7f7853
6
+ metadata.gz: 6cdb4647a279d3e294a3ee955026517b2d798aebfe9995e0ccbbc2fff02771c911203bbb3de560cdcbe82fe6305f7f212987456a2a30c06f0e1c650006e519f9
7
+ data.tar.gz: 22cd1cc72cd650808ee913caa7bb538c2da06803603aa4526621870837a0c46b0469a8b477500d4d4457f7e4e48f718b790f4d03ded3b4dd0ccaef17af3098e1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.36.0 (2024-04-28)
8
+
9
+ * Regenerated from discovery document revision 20240419
10
+
3
11
  ### v0.35.0 (2024-04-21)
4
12
 
5
13
  * Regenerated from discovery document revision 20240412
@@ -326,6 +326,13 @@ module Google
326
326
  # @return [Hash<String,Object>]
327
327
  attr_accessor :claims
328
328
 
329
+ # Identifies the client credential id used for authentication. credential_id is
330
+ # in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:
331
+ # XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
332
+ # Corresponds to the JSON property `credentialId`
333
+ # @return [String]
334
+ attr_accessor :credential_id
335
+
329
336
  # The authorized presenter of the credential. Reflects the optional Authorized
330
337
  # Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a
331
338
  # Google Cloud Platform client id looks as follows: "123456789012.apps.
@@ -351,6 +358,7 @@ module Google
351
358
  @access_levels = args[:access_levels] if args.key?(:access_levels)
352
359
  @audiences = args[:audiences] if args.key?(:audiences)
353
360
  @claims = args[:claims] if args.key?(:claims)
361
+ @credential_id = args[:credential_id] if args.key?(:credential_id)
354
362
  @presenter = args[:presenter] if args.key?(:presenter)
355
363
  @principal = args[:principal] if args.key?(:principal)
356
364
  end
@@ -1652,6 +1660,68 @@ module Google
1652
1660
  end
1653
1661
  end
1654
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
+
1655
1725
  # Provides information about the Policy violation info for this request.
1656
1726
  class ViolationInfo
1657
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.35.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 = "20240412"
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
 
@@ -272,6 +278,7 @@ module Google
272
278
  collection :access_levels, as: 'accessLevels'
273
279
  collection :audiences, as: 'audiences'
274
280
  hash :claims, as: 'claims'
281
+ property :credential_id, as: 'credentialId'
275
282
  property :presenter, as: 'presenter'
276
283
  property :principal, as: 'principal'
277
284
  end
@@ -573,6 +580,20 @@ module Google
573
580
  end
574
581
  end
575
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
+
576
597
  class ViolationInfo
577
598
  # @private
578
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.35.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-21 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.35.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: []