google-apis-assuredworkloads_v1 0.40.0 → 0.42.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: 9af8d51994cd940cb3a083bc89945ca7419f14916ab6372556b5ba83556205ab
|
4
|
+
data.tar.gz: '05203631931a5100d10aa39a52fbd8c910865e57d42af21c9adf95f3f8857a69'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca5782e52acdf347d344f098841e24447e67ed741cb3fb03ce8ec173274c79c8ffd9d446b2980eb58e12e673049c34f058054633e0bcddb29ad401f382096d36
|
7
|
+
data.tar.gz: 39240274ec380aa4176053ecfdc75febc28317484637b185038122f77c2d22f9feec682b8a21e34565c83f7a442e94d6c12767622f1a8dfc06f24e447bd32107
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-assuredworkloads_v1
|
2
2
|
|
3
|
+
### v0.42.0 (2023-07-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230707
|
6
|
+
|
7
|
+
### v0.41.0 (2023-07-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230623
|
10
|
+
|
3
11
|
### v0.40.0 (2023-06-18)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230612
|
@@ -269,6 +269,11 @@ module Google
|
|
269
269
|
# @return [String]
|
270
270
|
attr_accessor :exception_audit_log_link
|
271
271
|
|
272
|
+
# Output only. List of all the exception detail added for the violation.
|
273
|
+
# Corresponds to the JSON property `exceptionContexts`
|
274
|
+
# @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationExceptionContext>]
|
275
|
+
attr_accessor :exception_contexts
|
276
|
+
|
272
277
|
# Output only. Immutable. Name of the Violation. Format: organizations/`
|
273
278
|
# organization`/locations/`location`/workloads/`workload_id`/violations/`
|
274
279
|
# violations_id`
|
@@ -284,12 +289,6 @@ module Google
|
|
284
289
|
# @return [String]
|
285
290
|
attr_accessor :non_compliant_org_policy
|
286
291
|
|
287
|
-
# Output only. Immutable. The org-policy-constraint that was incorrectly changed,
|
288
|
-
# which resulted in this violation.
|
289
|
-
# Corresponds to the JSON property `orgPolicyConstraint`
|
290
|
-
# @return [String]
|
291
|
-
attr_accessor :org_policy_constraint
|
292
|
-
|
293
292
|
# Represents remediation guidance to resolve compliance violation for
|
294
293
|
# AssuredWorkload
|
295
294
|
# Corresponds to the JSON property `remediation`
|
@@ -325,9 +324,9 @@ module Google
|
|
325
324
|
@category = args[:category] if args.key?(:category)
|
326
325
|
@description = args[:description] if args.key?(:description)
|
327
326
|
@exception_audit_log_link = args[:exception_audit_log_link] if args.key?(:exception_audit_log_link)
|
327
|
+
@exception_contexts = args[:exception_contexts] if args.key?(:exception_contexts)
|
328
328
|
@name = args[:name] if args.key?(:name)
|
329
329
|
@non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
|
330
|
-
@org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
|
331
330
|
@remediation = args[:remediation] if args.key?(:remediation)
|
332
331
|
@resolve_time = args[:resolve_time] if args.key?(:resolve_time)
|
333
332
|
@state = args[:state] if args.key?(:state)
|
@@ -335,6 +334,37 @@ module Google
|
|
335
334
|
end
|
336
335
|
end
|
337
336
|
|
337
|
+
# Violation exception detail. Next Id: 6
|
338
|
+
class GoogleCloudAssuredworkloadsV1ViolationExceptionContext
|
339
|
+
include Google::Apis::Core::Hashable
|
340
|
+
|
341
|
+
# Timestamp when the violation was acknowledged.
|
342
|
+
# Corresponds to the JSON property `acknowledgementTime`
|
343
|
+
# @return [String]
|
344
|
+
attr_accessor :acknowledgement_time
|
345
|
+
|
346
|
+
# Business justification provided towards the acknowledgement of the violation.
|
347
|
+
# Corresponds to the JSON property `comment`
|
348
|
+
# @return [String]
|
349
|
+
attr_accessor :comment
|
350
|
+
|
351
|
+
# Name of the user (or service account) who acknowledged the violation.
|
352
|
+
# Corresponds to the JSON property `userName`
|
353
|
+
# @return [String]
|
354
|
+
attr_accessor :user_name
|
355
|
+
|
356
|
+
def initialize(**args)
|
357
|
+
update!(**args)
|
358
|
+
end
|
359
|
+
|
360
|
+
# Update properties of this object
|
361
|
+
def update!(**args)
|
362
|
+
@acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
|
363
|
+
@comment = args[:comment] if args.key?(:comment)
|
364
|
+
@user_name = args[:user_name] if args.key?(:user_name)
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
338
368
|
# Represents remediation guidance to resolve compliance violation for
|
339
369
|
# AssuredWorkload
|
340
370
|
class GoogleCloudAssuredworkloadsV1ViolationRemediation
|
@@ -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.42.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230707"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class GoogleCloudAssuredworkloadsV1ViolationExceptionContext
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class GoogleCloudAssuredworkloadsV1ViolationRemediation
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -247,9 +253,10 @@ module Google
|
|
247
253
|
property :category, as: 'category'
|
248
254
|
property :description, as: 'description'
|
249
255
|
property :exception_audit_log_link, as: 'exceptionAuditLogLink'
|
256
|
+
collection :exception_contexts, as: 'exceptionContexts', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationExceptionContext, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationExceptionContext::Representation
|
257
|
+
|
250
258
|
property :name, as: 'name'
|
251
259
|
property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
|
252
|
-
property :org_policy_constraint, as: 'orgPolicyConstraint'
|
253
260
|
property :remediation, as: 'remediation', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation::Representation
|
254
261
|
|
255
262
|
property :resolve_time, as: 'resolveTime'
|
@@ -258,6 +265,15 @@ module Google
|
|
258
265
|
end
|
259
266
|
end
|
260
267
|
|
268
|
+
class GoogleCloudAssuredworkloadsV1ViolationExceptionContext
|
269
|
+
# @private
|
270
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
271
|
+
property :acknowledgement_time, as: 'acknowledgementTime'
|
272
|
+
property :comment, as: 'comment'
|
273
|
+
property :user_name, as: 'userName'
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
261
277
|
class GoogleCloudAssuredworkloadsV1ViolationRemediation
|
262
278
|
# @private
|
263
279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.42.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: 2023-
|
11
|
+
date: 2023-07-23 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-assuredworkloads_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.42.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|