google-apis-servicecontrol_v1 0.18.0 → 0.21.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: c93bb3d32848c61668d4ff5d16661e6a9f082ab4ba3809190e244c4f44beb789
|
4
|
+
data.tar.gz: 406d42f9e3163be11b74835dd36a725b2da5f30cfdd10f99fb3679261245d3a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88369a0dc2d868173caa2fdce5abc30411a7dbd51aa937d8e53067d4266768f5f61cd7d831b8b49c7ed13ae683189773dc8589c75e5062046b7cc026134228ab
|
7
|
+
data.tar.gz: a84bd473bffd71b3ab815ddeffa5984aa161f611544764cefff64f4f178e2076b817118f4bcdc3ff10985cc4314c88d85302b9b80ff2dacee96a2c7756d32608
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-servicecontrol_v1
|
2
2
|
|
3
|
+
### v0.21.0 (2022-06-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220506
|
6
|
+
* Regenerated using generator version 0.5.0
|
7
|
+
|
8
|
+
### v0.20.0 (2022-05-03)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220429
|
11
|
+
|
12
|
+
### v0.19.0 (2022-03-16)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220315
|
15
|
+
|
3
16
|
### v0.18.0 (2022-02-19)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220218
|
@@ -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)
|
@@ -1401,11 +1407,6 @@ module Google
|
|
1401
1407
|
# @return [String]
|
1402
1408
|
attr_accessor :end_time
|
1403
1409
|
|
1404
|
-
# Unimplemented.
|
1405
|
-
# Corresponds to the JSON property `extensions`
|
1406
|
-
# @return [Array<Hash<String,Object>>]
|
1407
|
-
attr_accessor :extensions
|
1408
|
-
|
1409
1410
|
# DO NOT USE. This is an experimental field.
|
1410
1411
|
# Corresponds to the JSON property `importance`
|
1411
1412
|
# @return [String]
|
@@ -1493,7 +1494,6 @@ module Google
|
|
1493
1494
|
def update!(**args)
|
1494
1495
|
@consumer_id = args[:consumer_id] if args.key?(:consumer_id)
|
1495
1496
|
@end_time = args[:end_time] if args.key?(:end_time)
|
1496
|
-
@extensions = args[:extensions] if args.key?(:extensions)
|
1497
1497
|
@importance = args[:importance] if args.key?(:importance)
|
1498
1498
|
@labels = args[:labels] if args.key?(:labels)
|
1499
1499
|
@log_entries = args[:log_entries] if args.key?(:log_entries)
|
@@ -1508,6 +1508,50 @@ module Google
|
|
1508
1508
|
end
|
1509
1509
|
end
|
1510
1510
|
|
1511
|
+
# Represents OrgPolicy Violation information.
|
1512
|
+
class OrgPolicyViolationInfo
|
1513
|
+
include Google::Apis::Core::Hashable
|
1514
|
+
|
1515
|
+
# Optional. Resource payload that is currently in scope and is subjected to
|
1516
|
+
# orgpolicy conditions. This payload may be the subset of the actual Resource
|
1517
|
+
# that may come in the request. This payload should not contain any core content.
|
1518
|
+
# Corresponds to the JSON property `payload`
|
1519
|
+
# @return [Hash<String,Object>]
|
1520
|
+
attr_accessor :payload
|
1521
|
+
|
1522
|
+
# Optional. Tags referenced on the resource at the time of evaluation. These
|
1523
|
+
# also include the federated tags, if they are supplied in the CheckOrgPolicy or
|
1524
|
+
# CheckCustomConstraints Requests. Optional field as of now. These tags are the
|
1525
|
+
# Cloud tags that are available on the resource during the policy evaluation and
|
1526
|
+
# will be available as part of the OrgPolicy check response for logging purposes.
|
1527
|
+
# Corresponds to the JSON property `resourceTags`
|
1528
|
+
# @return [Hash<String,String>]
|
1529
|
+
attr_accessor :resource_tags
|
1530
|
+
|
1531
|
+
# Optional. Resource type that the orgpolicy is checked against. Example:
|
1532
|
+
# compute.googleapis.com/Instance, store.googleapis.com/bucket
|
1533
|
+
# Corresponds to the JSON property `resourceType`
|
1534
|
+
# @return [String]
|
1535
|
+
attr_accessor :resource_type
|
1536
|
+
|
1537
|
+
# Optional. Policy violations
|
1538
|
+
# Corresponds to the JSON property `violationInfo`
|
1539
|
+
# @return [Array<Google::Apis::ServicecontrolV1::ViolationInfo>]
|
1540
|
+
attr_accessor :violation_info
|
1541
|
+
|
1542
|
+
def initialize(**args)
|
1543
|
+
update!(**args)
|
1544
|
+
end
|
1545
|
+
|
1546
|
+
# Update properties of this object
|
1547
|
+
def update!(**args)
|
1548
|
+
@payload = args[:payload] if args.key?(:payload)
|
1549
|
+
@resource_tags = args[:resource_tags] if args.key?(:resource_tags)
|
1550
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
1551
|
+
@violation_info = args[:violation_info] if args.key?(:violation_info)
|
1552
|
+
end
|
1553
|
+
end
|
1554
|
+
|
1511
1555
|
# This message defines attributes for a node that handles a network request. The
|
1512
1556
|
# node can be either a service or an application that sends, forwards, or
|
1513
1557
|
# receives the request. Service peers should fill in `principal` and `labels` as
|
@@ -1558,6 +1602,25 @@ module Google
|
|
1558
1602
|
end
|
1559
1603
|
end
|
1560
1604
|
|
1605
|
+
# Information related to policy violations for this request.
|
1606
|
+
class PolicyViolationInfo
|
1607
|
+
include Google::Apis::Core::Hashable
|
1608
|
+
|
1609
|
+
# Represents OrgPolicy Violation information.
|
1610
|
+
# Corresponds to the JSON property `orgPolicyViolationInfo`
|
1611
|
+
# @return [Google::Apis::ServicecontrolV1::OrgPolicyViolationInfo]
|
1612
|
+
attr_accessor :org_policy_violation_info
|
1613
|
+
|
1614
|
+
def initialize(**args)
|
1615
|
+
update!(**args)
|
1616
|
+
end
|
1617
|
+
|
1618
|
+
# Update properties of this object
|
1619
|
+
def update!(**args)
|
1620
|
+
@org_policy_violation_info = args[:org_policy_violation_info] if args.key?(:org_policy_violation_info)
|
1621
|
+
end
|
1622
|
+
end
|
1623
|
+
|
1561
1624
|
# Represents error information for QuotaOperation.
|
1562
1625
|
class QuotaError
|
1563
1626
|
include Google::Apis::Core::Hashable
|
@@ -2740,6 +2803,45 @@ module Google
|
|
2740
2803
|
@line = args[:line] if args.key?(:line)
|
2741
2804
|
end
|
2742
2805
|
end
|
2806
|
+
|
2807
|
+
# Provides information about the Policy violation info for this request.
|
2808
|
+
class ViolationInfo
|
2809
|
+
include Google::Apis::Core::Hashable
|
2810
|
+
|
2811
|
+
# Optional. Value that is being checked for the policy. This could be in
|
2812
|
+
# encrypted form (if pii sensitive). This field will only be emitted in
|
2813
|
+
# LIST_POLICY types
|
2814
|
+
# Corresponds to the JSON property `checkedValue`
|
2815
|
+
# @return [String]
|
2816
|
+
attr_accessor :checked_value
|
2817
|
+
|
2818
|
+
# Optional. Constraint name
|
2819
|
+
# Corresponds to the JSON property `constraint`
|
2820
|
+
# @return [String]
|
2821
|
+
attr_accessor :constraint
|
2822
|
+
|
2823
|
+
# Optional. Error message that policy is indicating.
|
2824
|
+
# Corresponds to the JSON property `errorMessage`
|
2825
|
+
# @return [String]
|
2826
|
+
attr_accessor :error_message
|
2827
|
+
|
2828
|
+
# Optional. Indicates the type of the policy.
|
2829
|
+
# Corresponds to the JSON property `policyType`
|
2830
|
+
# @return [String]
|
2831
|
+
attr_accessor :policy_type
|
2832
|
+
|
2833
|
+
def initialize(**args)
|
2834
|
+
update!(**args)
|
2835
|
+
end
|
2836
|
+
|
2837
|
+
# Update properties of this object
|
2838
|
+
def update!(**args)
|
2839
|
+
@checked_value = args[:checked_value] if args.key?(:checked_value)
|
2840
|
+
@constraint = args[:constraint] if args.key?(:constraint)
|
2841
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
2842
|
+
@policy_type = args[:policy_type] if args.key?(:policy_type)
|
2843
|
+
end
|
2844
|
+
end
|
2743
2845
|
end
|
2744
2846
|
end
|
2745
2847
|
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.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220506"
|
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
|
|
@@ -655,7 +675,6 @@ module Google
|
|
655
675
|
class Representation < Google::Apis::Core::JsonRepresentation
|
656
676
|
property :consumer_id, as: 'consumerId'
|
657
677
|
property :end_time, as: 'endTime'
|
658
|
-
collection :extensions, as: 'extensions'
|
659
678
|
property :importance, as: 'importance'
|
660
679
|
hash :labels, as: 'labels'
|
661
680
|
collection :log_entries, as: 'logEntries', class: Google::Apis::ServicecontrolV1::LogEntry, decorator: Google::Apis::ServicecontrolV1::LogEntry::Representation
|
@@ -675,6 +694,17 @@ module Google
|
|
675
694
|
end
|
676
695
|
end
|
677
696
|
|
697
|
+
class OrgPolicyViolationInfo
|
698
|
+
# @private
|
699
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
700
|
+
hash :payload, as: 'payload'
|
701
|
+
hash :resource_tags, as: 'resourceTags'
|
702
|
+
property :resource_type, as: 'resourceType'
|
703
|
+
collection :violation_info, as: 'violationInfo', class: Google::Apis::ServicecontrolV1::ViolationInfo, decorator: Google::Apis::ServicecontrolV1::ViolationInfo::Representation
|
704
|
+
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
678
708
|
class Peer
|
679
709
|
# @private
|
680
710
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -686,6 +716,14 @@ module Google
|
|
686
716
|
end
|
687
717
|
end
|
688
718
|
|
719
|
+
class PolicyViolationInfo
|
720
|
+
# @private
|
721
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
722
|
+
property :org_policy_violation_info, as: 'orgPolicyViolationInfo', class: Google::Apis::ServicecontrolV1::OrgPolicyViolationInfo, decorator: Google::Apis::ServicecontrolV1::OrgPolicyViolationInfo::Representation
|
723
|
+
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
689
727
|
class QuotaError
|
690
728
|
# @private
|
691
729
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -945,6 +983,16 @@ module Google
|
|
945
983
|
property :line, :numeric_string => true, as: 'line'
|
946
984
|
end
|
947
985
|
end
|
986
|
+
|
987
|
+
class ViolationInfo
|
988
|
+
# @private
|
989
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
990
|
+
property :checked_value, as: 'checkedValue'
|
991
|
+
property :constraint, as: 'constraint'
|
992
|
+
property :error_message, as: 'errorMessage'
|
993
|
+
property :policy_type, as: 'policyType'
|
994
|
+
end
|
995
|
+
end
|
948
996
|
end
|
949
997
|
end
|
950
998
|
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.21.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-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.5'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.21.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Service Control API V1
|