google-apis-assuredworkloads_v1 0.37.0 → 0.39.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: 3403deb9e65bdf8b3da1090db317fd610f435f1f3acf8214c3369ea6e5add939
4
- data.tar.gz: 6b364eb285a0c4f22913b3a93b599a6b5cf3de8ad491360d7b16022503e40e80
3
+ metadata.gz: e2ab1e1dba4ffad8bef11ebbb591cb175d446777e91d694c7b800a790c7a72ca
4
+ data.tar.gz: 6fc59b7bf573599e057e8dc53f46463db91a5dda5e3b8eb5151e8461ad234662
5
5
  SHA512:
6
- metadata.gz: 9f6ca06a9d94420b37056beaf7827403b5dc670eaeb42fa12b2e01ee7f1657d8ebcc7f21847b9447239734f8b988b4d40464634813b6f6c5f2fbb8c1b4c56c17
7
- data.tar.gz: 530ea78149f0f2e7cdcd515d6348bfdf5102a3bd8b905ef91978ea0ff1e8d9fc06fcccd11a564846ab667a6d15e3b58427cccfe0d9ac3f99e5b9caec4e6fb6a8
6
+ metadata.gz: 8d654dec869fef61f9a47e4a622062152d554883a7298d38dbc11b2ea3e12bbb64148581906d3f88e7d22319d20424cd95827192cea4b0f040223b36ad946a61
7
+ data.tar.gz: 11fe5fc804725d4c93798dcf01d09ef4f8b06e3d2a1f6984e257bc351b2e85d0a22359b9ff4061b1c5c72a6d0347dabb7d4d54c74b898fbd865c9ec3d3459c86
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.39.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230512
6
+
7
+ ### v0.38.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230420
10
+
3
11
  ### v0.37.0 (2023-04-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230414
@@ -153,7 +153,7 @@ module Google
153
153
  end
154
154
  end
155
155
 
156
- # Request of updating permission settings for a partner workload.
156
+ # Request for updating permission settings for a partner workload.
157
157
  class GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest
158
158
  include Google::Apis::Core::Hashable
159
159
 
@@ -219,7 +219,7 @@ module Google
219
219
  end
220
220
  end
221
221
 
222
- # Workload monitoring Violation. Next Id: 22
222
+ # Workload monitoring Violation. Next Id: 27
223
223
  class GoogleCloudAssuredworkloadsV1Violation
224
224
  include Google::Apis::Core::Hashable
225
225
 
@@ -269,11 +269,6 @@ 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
-
277
272
  # Output only. Immutable. Name of the Violation. Format: organizations/`
278
273
  # organization`/locations/`location`/workloads/`workload_id`/violations/`
279
274
  # violations_id`
@@ -330,7 +325,6 @@ module Google
330
325
  @category = args[:category] if args.key?(:category)
331
326
  @description = args[:description] if args.key?(:description)
332
327
  @exception_audit_log_link = args[:exception_audit_log_link] if args.key?(:exception_audit_log_link)
333
- @exception_contexts = args[:exception_contexts] if args.key?(:exception_contexts)
334
328
  @name = args[:name] if args.key?(:name)
335
329
  @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
336
330
  @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
@@ -341,37 +335,6 @@ module Google
341
335
  end
342
336
  end
343
337
 
344
- # Violation exception detail. Next Id: 5
345
- class GoogleCloudAssuredworkloadsV1ViolationExceptionContext
346
- include Google::Apis::Core::Hashable
347
-
348
- # Timestamp when the violation was acknowledged.
349
- # Corresponds to the JSON property `acknowledgementTime`
350
- # @return [String]
351
- attr_accessor :acknowledgement_time
352
-
353
- # Business justification provided towards the acknowledgement of the violation.
354
- # Corresponds to the JSON property `comment`
355
- # @return [String]
356
- attr_accessor :comment
357
-
358
- # Email address of the user (or service account) who acknowledged the violation.
359
- # Corresponds to the JSON property `principalEmail`
360
- # @return [String]
361
- attr_accessor :principal_email
362
-
363
- def initialize(**args)
364
- update!(**args)
365
- end
366
-
367
- # Update properties of this object
368
- def update!(**args)
369
- @acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
370
- @comment = args[:comment] if args.key?(:comment)
371
- @principal_email = args[:principal_email] if args.key?(:principal_email)
372
- end
373
- end
374
-
375
338
  # Represents remediation guidance to resolve compliance violation for
376
339
  # AssuredWorkload
377
340
  class GoogleCloudAssuredworkloadsV1ViolationRemediation
@@ -559,9 +522,7 @@ module Google
559
522
  # @return [String]
560
523
  attr_accessor :kaj_enrollment_state
561
524
 
562
- # Settings specific to the Key Management Service. This message is deprecated.
563
- # In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT
564
- # or KEYRING in ResourceSettings.resource_type field.
525
+ # Settings specific to the Key Management Service.
565
526
  # Corresponds to the JSON property `kmsSettings`
566
527
  # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings]
567
528
  attr_accessor :kms_settings
@@ -582,6 +543,11 @@ module Google
582
543
  # @return [String]
583
544
  attr_accessor :partner
584
545
 
546
+ # Permissions granted to the AW Partner SA account for the customer workload
547
+ # Corresponds to the JSON property `partnerPermissions`
548
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions]
549
+ attr_accessor :partner_permissions
550
+
585
551
  # Input only. The parent resource for the resources managed by this Assured
586
552
  # Workload. May be either empty or a folder resource which is a child of the
587
553
  # Workload parent. If not specified all resources are created under the parent
@@ -612,7 +578,8 @@ module Google
612
578
  # Optional. Indicates whether the e-mail notification for a violation is enabled
613
579
  # for a workload. This value will be by default True, and if not present will be
614
580
  # considered as true. This should only be updated via updateWorkload call. Any
615
- # Changes to this field during the createWorkload call will not be honored.
581
+ # Changes to this field during the createWorkload call will not be honored. This
582
+ # will always be true while creating the workload.
616
583
  # Corresponds to the JSON property `violationNotificationsEnabled`
617
584
  # @return [Boolean]
618
585
  attr_accessor :violation_notifications_enabled
@@ -638,6 +605,7 @@ module Google
638
605
  @labels = args[:labels] if args.key?(:labels)
639
606
  @name = args[:name] if args.key?(:name)
640
607
  @partner = args[:partner] if args.key?(:partner)
608
+ @partner_permissions = args[:partner_permissions] if args.key?(:partner_permissions)
641
609
  @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
642
610
  @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
643
611
  @resources = args[:resources] if args.key?(:resources)
@@ -702,9 +670,7 @@ module Google
702
670
  end
703
671
  end
704
672
 
705
- # Settings specific to the Key Management Service. This message is deprecated.
706
- # In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT
707
- # or KEYRING in ResourceSettings.resource_type field.
673
+ # Settings specific to the Key Management Service.
708
674
  class GoogleCloudAssuredworkloadsV1WorkloadKmsSettings
709
675
  include Google::Apis::Core::Hashable
710
676
 
@@ -749,12 +715,6 @@ module Google
749
715
  attr_accessor :remediate_folder_violations
750
716
  alias_method :remediate_folder_violations?, :remediate_folder_violations
751
717
 
752
- # Allow partner to approve or reject Service Access requests
753
- # Corresponds to the JSON property `serviceAccessApprover`
754
- # @return [Boolean]
755
- attr_accessor :service_access_approver
756
- alias_method :service_access_approver?, :service_access_approver
757
-
758
718
  def initialize(**args)
759
719
  update!(**args)
760
720
  end
@@ -763,7 +723,6 @@ module Google
763
723
  def update!(**args)
764
724
  @data_logs_viewer = args[:data_logs_viewer] if args.key?(:data_logs_viewer)
765
725
  @remediate_folder_violations = args[:remediate_folder_violations] if args.key?(:remediate_folder_violations)
766
- @service_access_approver = args[:service_access_approver] if args.key?(:service_access_approver)
767
726
  end
768
727
  end
769
728
 
@@ -811,7 +770,7 @@ module Google
811
770
  attr_accessor :resource_id
812
771
 
813
772
  # Indicates the type of resource. This field should be specified to correspond
814
- # the id to the right resource type (CONSUMER_FOLDER or ENCRYPTION_KEYS_PROJECT)
773
+ # the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
815
774
  # Corresponds to the JSON property `resourceType`
816
775
  # @return [String]
817
776
  attr_accessor :resource_type
@@ -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.37.0"
19
+ GEM_VERSION = "0.39.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 = "20230414"
25
+ REVISION = "20230512"
26
26
  end
27
27
  end
28
28
  end
@@ -76,12 +76,6 @@ 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
-
85
79
  class GoogleCloudAssuredworkloadsV1ViolationRemediation
86
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
81
 
@@ -253,8 +247,6 @@ module Google
253
247
  property :category, as: 'category'
254
248
  property :description, as: 'description'
255
249
  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
-
258
250
  property :name, as: 'name'
259
251
  property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
260
252
  property :org_policy_constraint, as: 'orgPolicyConstraint'
@@ -266,15 +258,6 @@ module Google
266
258
  end
267
259
  end
268
260
 
269
- class GoogleCloudAssuredworkloadsV1ViolationExceptionContext
270
- # @private
271
- class Representation < Google::Apis::Core::JsonRepresentation
272
- property :acknowledgement_time, as: 'acknowledgementTime'
273
- property :comment, as: 'comment'
274
- property :principal_email, as: 'principalEmail'
275
- end
276
- end
277
-
278
261
  class GoogleCloudAssuredworkloadsV1ViolationRemediation
279
262
  # @private
280
263
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -333,6 +316,8 @@ module Google
333
316
  hash :labels, as: 'labels'
334
317
  property :name, as: 'name'
335
318
  property :partner, as: 'partner'
319
+ property :partner_permissions, as: 'partnerPermissions', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions::Representation
320
+
336
321
  property :provisioned_resources_parent, as: 'provisionedResourcesParent'
337
322
  collection :resource_settings, as: 'resourceSettings', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceSettings, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceSettings::Representation
338
323
 
@@ -374,7 +359,6 @@ module Google
374
359
  class Representation < Google::Apis::Core::JsonRepresentation
375
360
  property :data_logs_viewer, as: 'dataLogsViewer'
376
361
  property :remediate_folder_violations, as: 'remediateFolderViolations'
377
- property :service_access_approver, as: 'serviceAccessApprover'
378
362
  end
379
363
  end
380
364
 
@@ -162,7 +162,9 @@ module Google
162
162
 
163
163
  # Deletes the workload. Make sure that workload's direct children are already in
164
164
  # a deleted state, otherwise the request will fail with a FAILED_PRECONDITION
165
- # error.
165
+ # error. In addition to assuredworkloads.workload.delete permission, the user
166
+ # should also have orgpolicy.policy.set permission on the deleted folder to
167
+ # remove Assured Workloads OrgPolicies.
166
168
  # @param [String] name
167
169
  # Required. The `name` field is used to identify the workload. Format:
168
170
  # organizations/`org_id`/locations/`location_id`/workloads/`workload_id`
@@ -199,7 +201,7 @@ module Google
199
201
 
200
202
  # Gets Assured Workload associated with a CRM Node
201
203
  # @param [String] name
202
- # Required. The resource name of the Workload to fetch. This is the workload's
204
+ # Required. The resource name of the Workload to fetch. This is the workloads's
203
205
  # relative path in the API, formatted as "organizations/`organization_id`/
204
206
  # locations/`location_id`/workloads/`workload_id`". For example, "organizations/
205
207
  # 123/locations/us-east1/workloads/assured-workload-1".
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.37.0
4
+ version: 0.39.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-04-23 00:00:00.000000000 Z
11
+ date: 2023-05-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-assuredworkloads_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.39.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: []