google-apis-assuredworkloads_v1 0.69.0 → 0.70.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/assuredworkloads_v1/classes.rb +12 -53
- data/lib/google/apis/assuredworkloads_v1/gem_version.rb +2 -2
- data/lib/google/apis/assuredworkloads_v1/representations.rb +2 -28
- data/lib/google/apis/assuredworkloads_v1/service.rb +0 -38
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9f4fd7d67582ec2eb983e8e469aa01ce12ab4ae0b1d9f4a525831bc12e80c37
|
|
4
|
+
data.tar.gz: 6271d233ed4b28527b9f72f1e984ba148eaedb67250d0b2e9a024b4266bbb526
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa9fd863014e004286b1744228dc59fbe86612f8f6f3bd18a7ef9e0ad69613b0422d5d91d9746607c20ea47e1eb9ad653233898302bee642c83f6e92fc5d8da8
|
|
7
|
+
data.tar.gz: 21f70ba4eeda92d05e446264502c47f917224e3845b7903925de8c2a1ca7dd64f83102e12a261eddd4df9e259e655345610f564eecb4cbee5c117bbe2ac4ddbe
|
data/CHANGELOG.md
CHANGED
|
@@ -313,59 +313,6 @@ module Google
|
|
|
313
313
|
end
|
|
314
314
|
end
|
|
315
315
|
|
|
316
|
-
# Request for acknowledging the violations in a batch
|
|
317
|
-
class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest
|
|
318
|
-
include Google::Apis::Core::Hashable
|
|
319
|
-
|
|
320
|
-
# Optional. Acknowledge type of specified violations.
|
|
321
|
-
# Corresponds to the JSON property `acknowledgeType`
|
|
322
|
-
# @return [String]
|
|
323
|
-
attr_accessor :acknowledge_type
|
|
324
|
-
|
|
325
|
-
# Required. Business justification explaining the need for violations
|
|
326
|
-
# acknowledgement
|
|
327
|
-
# Corresponds to the JSON property `comment`
|
|
328
|
-
# @return [String]
|
|
329
|
-
attr_accessor :comment
|
|
330
|
-
|
|
331
|
-
# Required. The resource names of the Violations to acknowledge. Format for each
|
|
332
|
-
# name: organizations/`organization`/locations/`location`/workloads/`workload`/
|
|
333
|
-
# violations/`violation`
|
|
334
|
-
# Corresponds to the JSON property `names`
|
|
335
|
-
# @return [Array<String>]
|
|
336
|
-
attr_accessor :names
|
|
337
|
-
|
|
338
|
-
def initialize(**args)
|
|
339
|
-
update!(**args)
|
|
340
|
-
end
|
|
341
|
-
|
|
342
|
-
# Update properties of this object
|
|
343
|
-
def update!(**args)
|
|
344
|
-
@acknowledge_type = args[:acknowledge_type] if args.key?(:acknowledge_type)
|
|
345
|
-
@comment = args[:comment] if args.key?(:comment)
|
|
346
|
-
@names = args[:names] if args.key?(:names)
|
|
347
|
-
end
|
|
348
|
-
end
|
|
349
|
-
|
|
350
|
-
# Response for batch violation acknowledgement
|
|
351
|
-
class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
|
|
352
|
-
include Google::Apis::Core::Hashable
|
|
353
|
-
|
|
354
|
-
# Count of acknowledged violations.
|
|
355
|
-
# Corresponds to the JSON property `acknowledgedViolationsCount`
|
|
356
|
-
# @return [Fixnum]
|
|
357
|
-
attr_accessor :acknowledged_violations_count
|
|
358
|
-
|
|
359
|
-
def initialize(**args)
|
|
360
|
-
update!(**args)
|
|
361
|
-
end
|
|
362
|
-
|
|
363
|
-
# Update properties of this object
|
|
364
|
-
def update!(**args)
|
|
365
|
-
@acknowledged_violations_count = args[:acknowledged_violations_count] if args.key?(:acknowledged_violations_count)
|
|
366
|
-
end
|
|
367
|
-
end
|
|
368
|
-
|
|
369
316
|
# A Common Expression Language (CEL) expression that's used to create a rule.
|
|
370
317
|
class GoogleCloudAssuredworkloadsV1CelExpression
|
|
371
318
|
include Google::Apis::Core::Hashable
|
|
@@ -732,11 +679,21 @@ module Google
|
|
|
732
679
|
# @return [String]
|
|
733
680
|
attr_accessor :name
|
|
734
681
|
|
|
682
|
+
# Output only. Number of active organization policy findings for this category.
|
|
683
|
+
# Corresponds to the JSON property `organizationPolicyFindingCount`
|
|
684
|
+
# @return [Fixnum]
|
|
685
|
+
attr_accessor :organization_policy_finding_count
|
|
686
|
+
|
|
735
687
|
# Optional. The list of compliance frameworks that the finding belongs to.
|
|
736
688
|
# Corresponds to the JSON property `relatedFrameworks`
|
|
737
689
|
# @return [Array<String>]
|
|
738
690
|
attr_accessor :related_frameworks
|
|
739
691
|
|
|
692
|
+
# Output only. Number of active resource findings for this category.
|
|
693
|
+
# Corresponds to the JSON property `resourceFindingCount`
|
|
694
|
+
# @return [Fixnum]
|
|
695
|
+
attr_accessor :resource_finding_count
|
|
696
|
+
|
|
740
697
|
# Output only. The severity of the finding.
|
|
741
698
|
# Corresponds to the JSON property `severity`
|
|
742
699
|
# @return [String]
|
|
@@ -757,7 +714,9 @@ module Google
|
|
|
757
714
|
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
|
758
715
|
@finding_count = args[:finding_count] if args.key?(:finding_count)
|
|
759
716
|
@name = args[:name] if args.key?(:name)
|
|
717
|
+
@organization_policy_finding_count = args[:organization_policy_finding_count] if args.key?(:organization_policy_finding_count)
|
|
760
718
|
@related_frameworks = args[:related_frameworks] if args.key?(:related_frameworks)
|
|
719
|
+
@resource_finding_count = args[:resource_finding_count] if args.key?(:resource_finding_count)
|
|
761
720
|
@severity = args[:severity] if args.key?(:severity)
|
|
762
721
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
763
722
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module AssuredworkloadsV1
|
|
18
18
|
# Version of the google-apis-assuredworkloads_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.70.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260810"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -88,18 +88,6 @@ module Google
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest
|
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
-
|
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
|
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
-
|
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
-
end
|
|
102
|
-
|
|
103
91
|
class GoogleCloudAssuredworkloadsV1CelExpression
|
|
104
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
93
|
|
|
@@ -530,22 +518,6 @@ module Google
|
|
|
530
518
|
end
|
|
531
519
|
end
|
|
532
520
|
|
|
533
|
-
class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest
|
|
534
|
-
# @private
|
|
535
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
536
|
-
property :acknowledge_type, as: 'acknowledgeType'
|
|
537
|
-
property :comment, as: 'comment'
|
|
538
|
-
collection :names, as: 'names'
|
|
539
|
-
end
|
|
540
|
-
end
|
|
541
|
-
|
|
542
|
-
class GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
|
|
543
|
-
# @private
|
|
544
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
545
|
-
property :acknowledged_violations_count, as: 'acknowledgedViolationsCount'
|
|
546
|
-
end
|
|
547
|
-
end
|
|
548
|
-
|
|
549
521
|
class GoogleCloudAssuredworkloadsV1CelExpression
|
|
550
522
|
# @private
|
|
551
523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -639,7 +611,9 @@ module Google
|
|
|
639
611
|
property :finding_class, as: 'findingClass'
|
|
640
612
|
property :finding_count, :numeric_string => true, as: 'findingCount'
|
|
641
613
|
property :name, as: 'name'
|
|
614
|
+
property :organization_policy_finding_count, :numeric_string => true, as: 'organizationPolicyFindingCount'
|
|
642
615
|
collection :related_frameworks, as: 'relatedFrameworks'
|
|
616
|
+
property :resource_finding_count, :numeric_string => true, as: 'resourceFindingCount'
|
|
643
617
|
property :severity, as: 'severity'
|
|
644
618
|
property :update_time, as: 'updateTime'
|
|
645
619
|
end
|
|
@@ -1128,44 +1128,6 @@ module Google
|
|
|
1128
1128
|
execute_or_queue_command(command, &block)
|
|
1129
1129
|
end
|
|
1130
1130
|
|
|
1131
|
-
# Acknowledges multiple existing violations. By acknowledging violations, users
|
|
1132
|
-
# acknowledge the existence of compliance violations in their workload and
|
|
1133
|
-
# decide to ignore them due to a valid business justification. Acknowledgement
|
|
1134
|
-
# is a permanent operation and it cannot be reverted. This is a batch version of
|
|
1135
|
-
# AcknowledgeViolation.
|
|
1136
|
-
# @param [String] parent
|
|
1137
|
-
# Optional. The parent resource shared by all violations being acknowledged.
|
|
1138
|
-
# Format: organizations/`organization`/locations/`location`/workloads/`workload`
|
|
1139
|
-
# @param [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest] google_cloud_assuredworkloads_v1_batch_acknowledge_violations_request_object
|
|
1140
|
-
# @param [String] fields
|
|
1141
|
-
# Selector specifying which fields to include in a partial response.
|
|
1142
|
-
# @param [String] quota_user
|
|
1143
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1144
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1145
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1146
|
-
# Request-specific options
|
|
1147
|
-
#
|
|
1148
|
-
# @yield [result, err] Result & error if block supplied
|
|
1149
|
-
# @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse] parsed result object
|
|
1150
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1151
|
-
#
|
|
1152
|
-
# @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse]
|
|
1153
|
-
#
|
|
1154
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1155
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1156
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1157
|
-
def batch_organization_location_workload_violation_acknowledge_violations(parent, google_cloud_assuredworkloads_v1_batch_acknowledge_violations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1158
|
-
command = make_simple_command(:post, 'v1/{+parent}/violations:batchAcknowledgeViolations', options)
|
|
1159
|
-
command.request_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest::Representation
|
|
1160
|
-
command.request_object = google_cloud_assuredworkloads_v1_batch_acknowledge_violations_request_object
|
|
1161
|
-
command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse::Representation
|
|
1162
|
-
command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse
|
|
1163
|
-
command.params['parent'] = parent unless parent.nil?
|
|
1164
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1165
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1166
|
-
execute_or_queue_command(command, &block)
|
|
1167
|
-
end
|
|
1168
|
-
|
|
1169
1131
|
# Retrieves Assured Workload Violation based on ID.
|
|
1170
1132
|
# @param [String] name
|
|
1171
1133
|
# Required. The resource name of the Violation to fetch (ie. Violation.name).
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-assuredworkloads_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.70.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.70.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|