google-apis-servicecontrol_v1 0.35.0 → 0.36.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4c931283ef1498bd5a83faa4160ac2555aa7101cde207d87393678aa3a63a37
|
4
|
+
data.tar.gz: d7fa6fdde0c5c37050b8c2dc6effde096f95e7599afcfd8f8b31cd291ba87ae7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73a99e87888c3d8c9843e6ab77fba3475b4454cb2e5e03a0572786c7c46cb3af3ed8d584f00189159ab2e537404c13bccc430869fcc2e7573365cfbdc262749b
|
7
|
+
data.tar.gz: f41c64a294facb474eaacb602110ea0ca59b941fe1902c6ae57198e979a11f7ceda9f8728e2c2be45fe2c6b82ed0d910c331f16a4bc35e093d40e93d054cf359
|
data/CHANGELOG.md
CHANGED
@@ -2916,6 +2916,68 @@ module Google
|
|
2916
2916
|
end
|
2917
2917
|
end
|
2918
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
|
+
|
2919
2981
|
# Provides information about the Policy violation info for this request.
|
2920
2982
|
class ViolationInfo
|
2921
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.
|
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 = "
|
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
|
|
@@ -1020,6 +1026,20 @@ module Google
|
|
1020
1026
|
end
|
1021
1027
|
end
|
1022
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
|
+
|
1023
1043
|
class ViolationInfo
|
1024
1044
|
# @private
|
1025
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.
|
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-
|
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.
|
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: []
|