google-apis-servicecontrol_v1 0.34.0 → 0.36.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: c8addecdf2d1c826f634227eb5568f97c0696c23f6178963054317cdae3b24a7
4
- data.tar.gz: db5f538e0f89738dbfc2bf37519098c195e1e46913a8ed82fdad70f321ac4959
3
+ metadata.gz: a4c931283ef1498bd5a83faa4160ac2555aa7101cde207d87393678aa3a63a37
4
+ data.tar.gz: d7fa6fdde0c5c37050b8c2dc6effde096f95e7599afcfd8f8b31cd291ba87ae7
5
5
  SHA512:
6
- metadata.gz: 2d5b46fca14fa33a13febd3eef1bde9d9ffcb44c98d03785b78cc6d08a29999d34bd6b0a2be6ecaf3ccf3361034adf22f18ac8b996def570cd00dd9443369250
7
- data.tar.gz: aec761b98907a73ae9a2effbf1676a9a94baf0c4d51b61b9606936157bfe247ba0376b4c1cf0418a7e35f83a14941eb567ac9c2d0ed891fb743fa38f4072bb3f
6
+ metadata.gz: 73a99e87888c3d8c9843e6ab77fba3475b4454cb2e5e03a0572786c7c46cb3af3ed8d584f00189159ab2e537404c13bccc430869fcc2e7573365cfbdc262749b
7
+ data.tar.gz: f41c64a294facb474eaacb602110ea0ca59b941fe1902c6ae57198e979a11f7ceda9f8728e2c2be45fe2c6b82ed0d910c331f16a4bc35e093d40e93d054cf359
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-servicecontrol_v1
2
2
 
3
+ ### v0.36.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240426
6
+
7
+ ### v0.35.0 (2024-04-28)
8
+
9
+ * Regenerated from discovery document revision 20240419
10
+
3
11
  ### v0.34.0 (2024-04-21)
4
12
 
5
13
  * Regenerated from discovery document revision 20240412
@@ -355,6 +355,13 @@ module Google
355
355
  # @return [Hash<String,Object>]
356
356
  attr_accessor :claims
357
357
 
358
+ # Identifies the client credential id used for authentication. credential_id is
359
+ # in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:
360
+ # XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
361
+ # Corresponds to the JSON property `credentialId`
362
+ # @return [String]
363
+ attr_accessor :credential_id
364
+
358
365
  # The authorized presenter of the credential. Reflects the optional Authorized
359
366
  # Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a
360
367
  # Google Cloud Platform client id looks as follows: "123456789012.apps.
@@ -380,6 +387,7 @@ module Google
380
387
  @access_levels = args[:access_levels] if args.key?(:access_levels)
381
388
  @audiences = args[:audiences] if args.key?(:audiences)
382
389
  @claims = args[:claims] if args.key?(:claims)
390
+ @credential_id = args[:credential_id] if args.key?(:credential_id)
383
391
  @presenter = args[:presenter] if args.key?(:presenter)
384
392
  @principal = args[:principal] if args.key?(:principal)
385
393
  end
@@ -2908,6 +2916,68 @@ module Google
2908
2916
  end
2909
2917
  end
2910
2918
 
2919
+ # Report v2 extension proto for passing the resource metadata associated with a
2920
+ # resource create/update/delete/undelete event from ESF to Chemist.
2921
+ # ResourceEvent proto should be serialized into the ReportRequest.operations.
2922
+ # extensions.
2923
+ class V1ResourceEvent
2924
+ include Google::Apis::Core::Hashable
2925
+
2926
+ # The destinations field determines which backend services should handle the
2927
+ # event. This should be specified as a comma-delimited string.
2928
+ # Corresponds to the JSON property `destinations`
2929
+ # @return [String]
2930
+ attr_accessor :destinations
2931
+
2932
+ # This message defines core attributes for a resource. A resource is an
2933
+ # addressable (named) entity provided by the destination service. For example, a
2934
+ # file stored on a network storage service.
2935
+ # Corresponds to the JSON property `parent`
2936
+ # @return [Google::Apis::ServicecontrolV1::Resource]
2937
+ attr_accessor :parent
2938
+
2939
+ # The api path the resource event was created in. This should match the source
2940
+ # of the `payload` field. For direct integrations with Chemist, this should
2941
+ # generally be the RESPONSE. go/resource-event-pipeline-type
2942
+ # Corresponds to the JSON property `path`
2943
+ # @return [String]
2944
+ attr_accessor :path
2945
+
2946
+ # The payload contains metadata associated with the resource event. A
2947
+ # ResourceEventPayloadStatus is provided instead if the original payload cannot
2948
+ # be returned due to a limitation (e.g. size limit).
2949
+ # Corresponds to the JSON property `payload`
2950
+ # @return [Hash<String,Object>]
2951
+ attr_accessor :payload
2952
+
2953
+ # This message defines core attributes for a resource. A resource is an
2954
+ # addressable (named) entity provided by the destination service. For example, a
2955
+ # file stored on a network storage service.
2956
+ # Corresponds to the JSON property `resource`
2957
+ # @return [Google::Apis::ServicecontrolV1::Resource]
2958
+ attr_accessor :resource
2959
+
2960
+ # The resource event type determines how the backend service should process the
2961
+ # event.
2962
+ # Corresponds to the JSON property `type`
2963
+ # @return [String]
2964
+ attr_accessor :type
2965
+
2966
+ def initialize(**args)
2967
+ update!(**args)
2968
+ end
2969
+
2970
+ # Update properties of this object
2971
+ def update!(**args)
2972
+ @destinations = args[:destinations] if args.key?(:destinations)
2973
+ @parent = args[:parent] if args.key?(:parent)
2974
+ @path = args[:path] if args.key?(:path)
2975
+ @payload = args[:payload] if args.key?(:payload)
2976
+ @resource = args[:resource] if args.key?(:resource)
2977
+ @type = args[:type] if args.key?(:type)
2978
+ end
2979
+ end
2980
+
2911
2981
  # Provides information about the Policy violation info for this request.
2912
2982
  class ViolationInfo
2913
2983
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicecontrolV1
18
18
  # Version of the google-apis-servicecontrol_v1 gem
19
- GEM_VERSION = "0.34.0"
19
+ GEM_VERSION = "0.36.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
@@ -352,6 +352,12 @@ module Google
352
352
  include Google::Apis::Core::JsonObjectSupport
353
353
  end
354
354
 
355
+ class V1ResourceEvent
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
355
361
  class ViolationInfo
356
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
363
 
@@ -440,6 +446,7 @@ module Google
440
446
  collection :access_levels, as: 'accessLevels'
441
447
  collection :audiences, as: 'audiences'
442
448
  hash :claims, as: 'claims'
449
+ property :credential_id, as: 'credentialId'
443
450
  property :presenter, as: 'presenter'
444
451
  property :principal, as: 'principal'
445
452
  end
@@ -1019,6 +1026,20 @@ module Google
1019
1026
  end
1020
1027
  end
1021
1028
 
1029
+ class V1ResourceEvent
1030
+ # @private
1031
+ class Representation < Google::Apis::Core::JsonRepresentation
1032
+ property :destinations, as: 'destinations'
1033
+ property :parent, as: 'parent', class: Google::Apis::ServicecontrolV1::Resource, decorator: Google::Apis::ServicecontrolV1::Resource::Representation
1034
+
1035
+ property :path, as: 'path'
1036
+ hash :payload, as: 'payload'
1037
+ property :resource, as: 'resource', class: Google::Apis::ServicecontrolV1::Resource, decorator: Google::Apis::ServicecontrolV1::Resource::Representation
1038
+
1039
+ property :type, as: 'type'
1040
+ end
1041
+ end
1042
+
1022
1043
  class ViolationInfo
1023
1044
  # @private
1024
1045
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicecontrol_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.36.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v1/v0.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v1/v0.36.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicecontrol_v1
63
63
  post_install_message:
64
64
  rdoc_options: []