google-apis-assuredworkloads_v1 0.38.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: 3e8993edac26ee1aab782a7607b6fe63ceae7c85f0afaf9e28082c181598ce42
4
- data.tar.gz: 94417ef6d21dff572889892e992adc66cdfd00b1a6516304f278d6c50f9dbcf1
3
+ metadata.gz: e2ab1e1dba4ffad8bef11ebbb591cb175d446777e91d694c7b800a790c7a72ca
4
+ data.tar.gz: 6fc59b7bf573599e057e8dc53f46463db91a5dda5e3b8eb5151e8461ad234662
5
5
  SHA512:
6
- metadata.gz: 16ebd0990ead4c5ff6ba4c806833461f7d713ec7ae21549af759ccf6a4066474db3c9ab3118447951b64b9ded05253a227c94ba19df65b0af0d037428697ffab
7
- data.tar.gz: 3313e239d8a909a55b7032d51d2354f788a7959c9165aed217c1c1263b4df4d36d15d1ae9af4edaa37ef6fd9b9959b54c89e16fd17cbbbb30006b0e400412caa
6
+ metadata.gz: 8d654dec869fef61f9a47e4a622062152d554883a7298d38dbc11b2ea3e12bbb64148581906d3f88e7d22319d20424cd95827192cea4b0f040223b36ad946a61
7
+ data.tar.gz: 11fe5fc804725d4c93798dcf01d09ef4f8b06e3d2a1f6984e257bc351b2e85d0a22359b9ff4061b1c5c72a6d0347dabb7d4d54c74b898fbd865c9ec3d3459c86
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.38.0 (2023-04-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20230420
@@ -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
 
@@ -522,9 +522,7 @@ module Google
522
522
  # @return [String]
523
523
  attr_accessor :kaj_enrollment_state
524
524
 
525
- # Settings specific to the Key Management Service. This message is deprecated.
526
- # In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT
527
- # or KEYRING in ResourceSettings.resource_type field.
525
+ # Settings specific to the Key Management Service.
528
526
  # Corresponds to the JSON property `kmsSettings`
529
527
  # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadKmsSettings]
530
528
  attr_accessor :kms_settings
@@ -545,6 +543,11 @@ module Google
545
543
  # @return [String]
546
544
  attr_accessor :partner
547
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
+
548
551
  # Input only. The parent resource for the resources managed by this Assured
549
552
  # Workload. May be either empty or a folder resource which is a child of the
550
553
  # Workload parent. If not specified all resources are created under the parent
@@ -575,7 +578,8 @@ module Google
575
578
  # Optional. Indicates whether the e-mail notification for a violation is enabled
576
579
  # for a workload. This value will be by default True, and if not present will be
577
580
  # considered as true. This should only be updated via updateWorkload call. Any
578
- # 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.
579
583
  # Corresponds to the JSON property `violationNotificationsEnabled`
580
584
  # @return [Boolean]
581
585
  attr_accessor :violation_notifications_enabled
@@ -601,6 +605,7 @@ module Google
601
605
  @labels = args[:labels] if args.key?(:labels)
602
606
  @name = args[:name] if args.key?(:name)
603
607
  @partner = args[:partner] if args.key?(:partner)
608
+ @partner_permissions = args[:partner_permissions] if args.key?(:partner_permissions)
604
609
  @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
605
610
  @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
606
611
  @resources = args[:resources] if args.key?(:resources)
@@ -665,9 +670,7 @@ module Google
665
670
  end
666
671
  end
667
672
 
668
- # Settings specific to the Key Management Service. This message is deprecated.
669
- # In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT
670
- # or KEYRING in ResourceSettings.resource_type field.
673
+ # Settings specific to the Key Management Service.
671
674
  class GoogleCloudAssuredworkloadsV1WorkloadKmsSettings
672
675
  include Google::Apis::Core::Hashable
673
676
 
@@ -712,12 +715,6 @@ module Google
712
715
  attr_accessor :remediate_folder_violations
713
716
  alias_method :remediate_folder_violations?, :remediate_folder_violations
714
717
 
715
- # Allow partner to approve or reject Service Access requests
716
- # Corresponds to the JSON property `serviceAccessApprover`
717
- # @return [Boolean]
718
- attr_accessor :service_access_approver
719
- alias_method :service_access_approver?, :service_access_approver
720
-
721
718
  def initialize(**args)
722
719
  update!(**args)
723
720
  end
@@ -726,7 +723,6 @@ module Google
726
723
  def update!(**args)
727
724
  @data_logs_viewer = args[:data_logs_viewer] if args.key?(:data_logs_viewer)
728
725
  @remediate_folder_violations = args[:remediate_folder_violations] if args.key?(:remediate_folder_violations)
729
- @service_access_approver = args[:service_access_approver] if args.key?(:service_access_approver)
730
726
  end
731
727
  end
732
728
 
@@ -774,7 +770,7 @@ module Google
774
770
  attr_accessor :resource_id
775
771
 
776
772
  # Indicates the type of resource. This field should be specified to correspond
777
- # 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)
778
774
  # Corresponds to the JSON property `resourceType`
779
775
  # @return [String]
780
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.38.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 = "20230420"
25
+ REVISION = "20230512"
26
26
  end
27
27
  end
28
28
  end
@@ -316,6 +316,8 @@ module Google
316
316
  hash :labels, as: 'labels'
317
317
  property :name, as: 'name'
318
318
  property :partner, as: 'partner'
319
+ property :partner_permissions, as: 'partnerPermissions', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions::Representation
320
+
319
321
  property :provisioned_resources_parent, as: 'provisionedResourcesParent'
320
322
  collection :resource_settings, as: 'resourceSettings', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceSettings, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceSettings::Representation
321
323
 
@@ -357,7 +359,6 @@ module Google
357
359
  class Representation < Google::Apis::Core::JsonRepresentation
358
360
  property :data_logs_viewer, as: 'dataLogsViewer'
359
361
  property :remediate_folder_violations, as: 'remediateFolderViolations'
360
- property :service_access_approver, as: 'serviceAccessApprover'
361
362
  end
362
363
  end
363
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.38.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-30 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.38.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: []