google-apis-servicecontrol_v1 0.18.0 → 0.19.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9299d4bc2df0126d14bd655ffbb279f500093671203534a2928a8d941f9cbe3
|
4
|
+
data.tar.gz: f6d0ae3a6478acd08014a05cdb20444af9fca1430e6097675fb1af2a7022d566
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f13bdb6ef28668c771ff5918fcb07f66c920e0ec50442f18bd3c983ac95c721ef72f3b7ca30c68e893862e4a7ea721051495b551d918815e2a86a942f2bf09bf
|
7
|
+
data.tar.gz: ab5ed357f564d687b35978c1ad664fc3f50409121ef94768bb1df524edbeb64b6c993f8cb9baebe9746d6bfa683b9c02b8036009aec1f0fd6bb0169ae1d1ee0d
|
data/CHANGELOG.md
CHANGED
@@ -217,6 +217,11 @@ module Google
|
|
217
217
|
# @return [Fixnum]
|
218
218
|
attr_accessor :num_response_items
|
219
219
|
|
220
|
+
# Information related to policy violations for this request.
|
221
|
+
# Corresponds to the JSON property `policyViolationInfo`
|
222
|
+
# @return [Google::Apis::ServicecontrolV1::PolicyViolationInfo]
|
223
|
+
attr_accessor :policy_violation_info
|
224
|
+
|
220
225
|
# The operation request. This may not include all request parameters, such as
|
221
226
|
# those that are too large, privacy-sensitive, or duplicated elsewhere in the
|
222
227
|
# log record. It should never include user-generated data, such as file contents.
|
@@ -296,6 +301,7 @@ module Google
|
|
296
301
|
@metadata = args[:metadata] if args.key?(:metadata)
|
297
302
|
@method_name = args[:method_name] if args.key?(:method_name)
|
298
303
|
@num_response_items = args[:num_response_items] if args.key?(:num_response_items)
|
304
|
+
@policy_violation_info = args[:policy_violation_info] if args.key?(:policy_violation_info)
|
299
305
|
@request = args[:request] if args.key?(:request)
|
300
306
|
@request_metadata = args[:request_metadata] if args.key?(:request_metadata)
|
301
307
|
@resource_location = args[:resource_location] if args.key?(:resource_location)
|
@@ -1508,6 +1514,50 @@ module Google
|
|
1508
1514
|
end
|
1509
1515
|
end
|
1510
1516
|
|
1517
|
+
# Represents OrgPolicy Violation information.
|
1518
|
+
class OrgPolicyViolationInfo
|
1519
|
+
include Google::Apis::Core::Hashable
|
1520
|
+
|
1521
|
+
# Optional. Resource payload that is currently in scope and is subjected to
|
1522
|
+
# orgpolicy conditions. This payload may be the subset of the actual Resource
|
1523
|
+
# that may come in the request. This payload should not contain any core content.
|
1524
|
+
# Corresponds to the JSON property `payload`
|
1525
|
+
# @return [Hash<String,Object>]
|
1526
|
+
attr_accessor :payload
|
1527
|
+
|
1528
|
+
# Optional. Tags referenced on the resource at the time of evaluation. These
|
1529
|
+
# also include the federated tags, if they are supplied in the CheckOrgPolicy or
|
1530
|
+
# CheckCustomConstraints Requests. Optional field as of now. These tags are the
|
1531
|
+
# Cloud tags that are available on the resource during the policy evaluation and
|
1532
|
+
# will be available as part of the OrgPolicy check response for logging purposes.
|
1533
|
+
# Corresponds to the JSON property `resourceTags`
|
1534
|
+
# @return [Hash<String,String>]
|
1535
|
+
attr_accessor :resource_tags
|
1536
|
+
|
1537
|
+
# Optional. Resource type that the orgpolicy is checked against. Example:
|
1538
|
+
# compute.googleapis.com/Instance, store.googleapis.com/bucket
|
1539
|
+
# Corresponds to the JSON property `resourceType`
|
1540
|
+
# @return [String]
|
1541
|
+
attr_accessor :resource_type
|
1542
|
+
|
1543
|
+
# Optional. Policy violations
|
1544
|
+
# Corresponds to the JSON property `violationInfo`
|
1545
|
+
# @return [Array<Google::Apis::ServicecontrolV1::ViolationInfo>]
|
1546
|
+
attr_accessor :violation_info
|
1547
|
+
|
1548
|
+
def initialize(**args)
|
1549
|
+
update!(**args)
|
1550
|
+
end
|
1551
|
+
|
1552
|
+
# Update properties of this object
|
1553
|
+
def update!(**args)
|
1554
|
+
@payload = args[:payload] if args.key?(:payload)
|
1555
|
+
@resource_tags = args[:resource_tags] if args.key?(:resource_tags)
|
1556
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
1557
|
+
@violation_info = args[:violation_info] if args.key?(:violation_info)
|
1558
|
+
end
|
1559
|
+
end
|
1560
|
+
|
1511
1561
|
# This message defines attributes for a node that handles a network request. The
|
1512
1562
|
# node can be either a service or an application that sends, forwards, or
|
1513
1563
|
# receives the request. Service peers should fill in `principal` and `labels` as
|
@@ -1558,6 +1608,25 @@ module Google
|
|
1558
1608
|
end
|
1559
1609
|
end
|
1560
1610
|
|
1611
|
+
# Information related to policy violations for this request.
|
1612
|
+
class PolicyViolationInfo
|
1613
|
+
include Google::Apis::Core::Hashable
|
1614
|
+
|
1615
|
+
# Represents OrgPolicy Violation information.
|
1616
|
+
# Corresponds to the JSON property `orgPolicyViolationInfo`
|
1617
|
+
# @return [Google::Apis::ServicecontrolV1::OrgPolicyViolationInfo]
|
1618
|
+
attr_accessor :org_policy_violation_info
|
1619
|
+
|
1620
|
+
def initialize(**args)
|
1621
|
+
update!(**args)
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
# Update properties of this object
|
1625
|
+
def update!(**args)
|
1626
|
+
@org_policy_violation_info = args[:org_policy_violation_info] if args.key?(:org_policy_violation_info)
|
1627
|
+
end
|
1628
|
+
end
|
1629
|
+
|
1561
1630
|
# Represents error information for QuotaOperation.
|
1562
1631
|
class QuotaError
|
1563
1632
|
include Google::Apis::Core::Hashable
|
@@ -2740,6 +2809,45 @@ module Google
|
|
2740
2809
|
@line = args[:line] if args.key?(:line)
|
2741
2810
|
end
|
2742
2811
|
end
|
2812
|
+
|
2813
|
+
# Provides information about the Policy violation info for this request.
|
2814
|
+
class ViolationInfo
|
2815
|
+
include Google::Apis::Core::Hashable
|
2816
|
+
|
2817
|
+
# Optional. Value that is being checked for the policy. This could be in
|
2818
|
+
# encrypted form (if pii sensitive). This field will only be emitted in
|
2819
|
+
# LIST_POLICY types
|
2820
|
+
# Corresponds to the JSON property `checkedValue`
|
2821
|
+
# @return [String]
|
2822
|
+
attr_accessor :checked_value
|
2823
|
+
|
2824
|
+
# Optional. Constraint name
|
2825
|
+
# Corresponds to the JSON property `constraint`
|
2826
|
+
# @return [String]
|
2827
|
+
attr_accessor :constraint
|
2828
|
+
|
2829
|
+
# Optional. Error message that policy is indicating.
|
2830
|
+
# Corresponds to the JSON property `errorMessage`
|
2831
|
+
# @return [String]
|
2832
|
+
attr_accessor :error_message
|
2833
|
+
|
2834
|
+
# Optional. Indicates the type of the policy.
|
2835
|
+
# Corresponds to the JSON property `policyType`
|
2836
|
+
# @return [String]
|
2837
|
+
attr_accessor :policy_type
|
2838
|
+
|
2839
|
+
def initialize(**args)
|
2840
|
+
update!(**args)
|
2841
|
+
end
|
2842
|
+
|
2843
|
+
# Update properties of this object
|
2844
|
+
def update!(**args)
|
2845
|
+
@checked_value = args[:checked_value] if args.key?(:checked_value)
|
2846
|
+
@constraint = args[:constraint] if args.key?(:constraint)
|
2847
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
2848
|
+
@policy_type = args[:policy_type] if args.key?(:policy_type)
|
2849
|
+
end
|
2850
|
+
end
|
2743
2851
|
end
|
2744
2852
|
end
|
2745
2853
|
end
|
@@ -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.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220315"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -190,12 +190,24 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
+
class OrgPolicyViolationInfo
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
193
199
|
class Peer
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
201
|
|
196
202
|
include Google::Apis::Core::JsonObjectSupport
|
197
203
|
end
|
198
204
|
|
205
|
+
class PolicyViolationInfo
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
199
211
|
class QuotaError
|
200
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
213
|
|
@@ -328,6 +340,12 @@ module Google
|
|
328
340
|
include Google::Apis::Core::JsonObjectSupport
|
329
341
|
end
|
330
342
|
|
343
|
+
class ViolationInfo
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
331
349
|
class AllocateInfo
|
332
350
|
# @private
|
333
351
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -387,6 +405,8 @@ module Google
|
|
387
405
|
hash :metadata, as: 'metadata'
|
388
406
|
property :method_name, as: 'methodName'
|
389
407
|
property :num_response_items, :numeric_string => true, as: 'numResponseItems'
|
408
|
+
property :policy_violation_info, as: 'policyViolationInfo', class: Google::Apis::ServicecontrolV1::PolicyViolationInfo, decorator: Google::Apis::ServicecontrolV1::PolicyViolationInfo::Representation
|
409
|
+
|
390
410
|
hash :request, as: 'request'
|
391
411
|
property :request_metadata, as: 'requestMetadata', class: Google::Apis::ServicecontrolV1::RequestMetadata, decorator: Google::Apis::ServicecontrolV1::RequestMetadata::Representation
|
392
412
|
|
@@ -675,6 +695,17 @@ module Google
|
|
675
695
|
end
|
676
696
|
end
|
677
697
|
|
698
|
+
class OrgPolicyViolationInfo
|
699
|
+
# @private
|
700
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
701
|
+
hash :payload, as: 'payload'
|
702
|
+
hash :resource_tags, as: 'resourceTags'
|
703
|
+
property :resource_type, as: 'resourceType'
|
704
|
+
collection :violation_info, as: 'violationInfo', class: Google::Apis::ServicecontrolV1::ViolationInfo, decorator: Google::Apis::ServicecontrolV1::ViolationInfo::Representation
|
705
|
+
|
706
|
+
end
|
707
|
+
end
|
708
|
+
|
678
709
|
class Peer
|
679
710
|
# @private
|
680
711
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -686,6 +717,14 @@ module Google
|
|
686
717
|
end
|
687
718
|
end
|
688
719
|
|
720
|
+
class PolicyViolationInfo
|
721
|
+
# @private
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
723
|
+
property :org_policy_violation_info, as: 'orgPolicyViolationInfo', class: Google::Apis::ServicecontrolV1::OrgPolicyViolationInfo, decorator: Google::Apis::ServicecontrolV1::OrgPolicyViolationInfo::Representation
|
724
|
+
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
689
728
|
class QuotaError
|
690
729
|
# @private
|
691
730
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -945,6 +984,16 @@ module Google
|
|
945
984
|
property :line, :numeric_string => true, as: 'line'
|
946
985
|
end
|
947
986
|
end
|
987
|
+
|
988
|
+
class ViolationInfo
|
989
|
+
# @private
|
990
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
991
|
+
property :checked_value, as: 'checkedValue'
|
992
|
+
property :constraint, as: 'constraint'
|
993
|
+
property :error_message, as: 'errorMessage'
|
994
|
+
property :policy_type, as: 'policyType'
|
995
|
+
end
|
996
|
+
end
|
948
997
|
end
|
949
998
|
end
|
950
999
|
end
|
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.19.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: 2022-
|
11
|
+
date: 2022-03-21 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.19.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: []
|