google-apis-assuredworkloads_v1beta1 0.10.0 → 0.11.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: b378be0be77b813c7cfebc5eaa85d2c2cd522a139db50bcc0e1e9349330eb64d
4
- data.tar.gz: a3ebc5804c760dfd3f23c38ebe7bea349c21c59c909234ade672bcd3f15f5eb0
3
+ metadata.gz: 15d38b23249be7efa41ae5c4ac2a2bd3711101a4eb9bc3f9022b078c3e42445a
4
+ data.tar.gz: 21101e1124f4cb7a0071cdba91e8fca99285cd3d407119c9696caddb1f499154
5
5
  SHA512:
6
- metadata.gz: 2bdbf37979027df6595032a06fd2dd132d65f8b740224310821c8db09b4d59cdcd85d6b5eba150bb32335301241d65bc285834cb7c65bd7dc00a667d08bba928
7
- data.tar.gz: 25b03a7fcbc0863ce40e0ccb94b808aed396633d0af4b31bc3d35f7d07ed82016fcf8372b87f058b3054b8805e70d53758721b6cf925fe04ffb7d3c74c1d48d7
6
+ metadata.gz: d8b09c125467191d0484a7f877360a13652346deb647cf0b0346ce793101c13ec1a553165fbb59dbe581549f224e0bd944203641018f2fae741b385b41e93e5c
7
+ data.tar.gz: ad972bc01434c0dce54d906c04e21631386fb1725d9035c6dfa44b57b529d8dd817bdd2fce8fec2de6326f6acdc0a95de091e78295155b7f34a8b3d2b36fe584
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-assuredworkloads_v1beta1
2
2
 
3
+ ### v0.11.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230512
6
+
3
7
  ### v0.10.0 (2023-04-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20230420
@@ -85,6 +85,51 @@ module Google
85
85
  end
86
86
  end
87
87
 
88
+ # Operation metadata to give request details of CreateWorkload.
89
+ class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
90
+ include Google::Apis::Core::Hashable
91
+
92
+ # Optional. Compliance controls that should be applied to the resources managed
93
+ # by the workload.
94
+ # Corresponds to the JSON property `complianceRegime`
95
+ # @return [String]
96
+ attr_accessor :compliance_regime
97
+
98
+ # Optional. Time when the operation was created.
99
+ # Corresponds to the JSON property `createTime`
100
+ # @return [String]
101
+ attr_accessor :create_time
102
+
103
+ # Optional. The display name of the workload.
104
+ # Corresponds to the JSON property `displayName`
105
+ # @return [String]
106
+ attr_accessor :display_name
107
+
108
+ # Optional. The parent of the workload.
109
+ # Corresponds to the JSON property `parent`
110
+ # @return [String]
111
+ attr_accessor :parent
112
+
113
+ # Optional. Resource properties in the input that are used for creating/
114
+ # customizing workload resources.
115
+ # Corresponds to the JSON property `resourceSettings`
116
+ # @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings>]
117
+ attr_accessor :resource_settings
118
+
119
+ def initialize(**args)
120
+ update!(**args)
121
+ end
122
+
123
+ # Update properties of this object
124
+ def update!(**args)
125
+ @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
126
+ @create_time = args[:create_time] if args.key?(:create_time)
127
+ @display_name = args[:display_name] if args.key?(:display_name)
128
+ @parent = args[:parent] if args.key?(:parent)
129
+ @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
130
+ end
131
+ end
132
+
88
133
  # Response of ListViolations endpoint.
89
134
  class GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse
90
135
  include Google::Apis::Core::Hashable
@@ -517,6 +562,11 @@ module Google
517
562
  # @return [String]
518
563
  attr_accessor :partner
519
564
 
565
+ # Permissions granted to the AW Partner SA account for the customer workload
566
+ # Corresponds to the JSON property `partnerPermissions`
567
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions]
568
+ attr_accessor :partner_permissions
569
+
520
570
  # Input only. The parent resource for the resources managed by this Assured
521
571
  # Workload. May be either empty or a folder resource which is a child of the
522
572
  # Workload parent. If not specified all resources are created under the parent
@@ -579,6 +629,7 @@ module Google
579
629
  @labels = args[:labels] if args.key?(:labels)
580
630
  @name = args[:name] if args.key?(:name)
581
631
  @partner = args[:partner] if args.key?(:partner)
632
+ @partner_permissions = args[:partner_permissions] if args.key?(:partner_permissions)
582
633
  @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
583
634
  @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
584
635
  @resources = args[:resources] if args.key?(:resources)
@@ -793,6 +844,33 @@ module Google
793
844
  end
794
845
  end
795
846
 
847
+ # Permissions granted to the AW Partner SA account for the customer workload
848
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions
849
+ include Google::Apis::Core::Hashable
850
+
851
+ # Allow the partner to view inspectability logs and monitoring violations.
852
+ # Corresponds to the JSON property `dataLogsViewer`
853
+ # @return [Boolean]
854
+ attr_accessor :data_logs_viewer
855
+ alias_method :data_logs_viewer?, :data_logs_viewer
856
+
857
+ # Allow partner to monitor folder and remediate violations
858
+ # Corresponds to the JSON property `remediateFolderViolations`
859
+ # @return [Boolean]
860
+ attr_accessor :remediate_folder_violations
861
+ alias_method :remediate_folder_violations?, :remediate_folder_violations
862
+
863
+ def initialize(**args)
864
+ update!(**args)
865
+ end
866
+
867
+ # Update properties of this object
868
+ def update!(**args)
869
+ @data_logs_viewer = args[:data_logs_viewer] if args.key?(:data_logs_viewer)
870
+ @remediate_folder_violations = args[:remediate_folder_violations] if args.key?(:remediate_folder_violations)
871
+ end
872
+ end
873
+
796
874
  # Represent the resources that are children of this Workload.
797
875
  class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo
798
876
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AssuredworkloadsV1beta1
18
18
  # Version of the google-apis-assuredworkloads_v1beta1 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.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
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -154,6 +160,12 @@ module Google
154
160
  include Google::Apis::Core::JsonObjectSupport
155
161
  end
156
162
 
163
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
157
169
  class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo
158
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
171
 
@@ -217,6 +229,18 @@ module Google
217
229
  end
218
230
  end
219
231
 
232
+ class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
233
+ # @private
234
+ class Representation < Google::Apis::Core::JsonRepresentation
235
+ property :compliance_regime, as: 'complianceRegime'
236
+ property :create_time, as: 'createTime'
237
+ property :display_name, as: 'displayName'
238
+ property :parent, as: 'parent'
239
+ collection :resource_settings, as: 'resourceSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings::Representation
240
+
241
+ end
242
+ end
243
+
220
244
  class GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse
221
245
  # @private
222
246
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -337,6 +361,8 @@ module Google
337
361
  hash :labels, as: 'labels'
338
362
  property :name, as: 'name'
339
363
  property :partner, as: 'partner'
364
+ property :partner_permissions, as: 'partnerPermissions', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions::Representation
365
+
340
366
  property :provisioned_resources_parent, as: 'provisionedResourcesParent'
341
367
  collection :resource_settings, as: 'resourceSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings::Representation
342
368
 
@@ -421,6 +447,14 @@ module Google
421
447
  end
422
448
  end
423
449
 
450
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ property :data_logs_viewer, as: 'dataLogsViewer'
454
+ property :remediate_folder_violations, as: 'remediateFolderViolations'
455
+ end
456
+ end
457
+
424
458
  class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo
425
459
  # @private
426
460
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-assuredworkloads_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []