google-cloud-assured_workloads-v1beta1 0.6.1 → 0.8.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: 999f5407dc6ef41d18093d8b61b38dabc7082be89ede87128061d12abb148bee
4
- data.tar.gz: d6f1134e6854e6dbb2d32a20ecee3f2476b8b13fdc3e7569fea6f559e743e954
3
+ metadata.gz: ddd2e2c405653a02a4852a2dda985b370c3a9ad92c97e4c4fde36cd3066b20c3
4
+ data.tar.gz: 763705e05dc28c3b9904593c5f58e91b3270f033c6e382c975a824e975759d20
5
5
  SHA512:
6
- metadata.gz: 8b04c2e081bcb37ef6eff6bedc34decfddce31350d8610a37734f5ce3da6b0faea21554935bf1d832166b71da3c41f43ca03bc6e538864bb0e5dc5d712d1ffe7
7
- data.tar.gz: 3f922c7dbc4f6fdbb2b9b5d39259c0eefafa22ffe43ac16e7e3e009a1b2731ee2a763fa1db5def6e589bcd1b86332669bc7765afad80c7cfc98d3c5d7d11bf41
6
+ metadata.gz: 12f0c94ebfaa8fdc98afda4e5247c3f73c67b3daf754961794663f5ff12e6ae8f73e2aca8654bb5b39c2f12031426f9bdf5b6f23683a9a957e0e34c22b17facd
7
+ data.tar.gz: e2af00469999791739794651a9f3b0a616f4e2f46db74363a27b2d270748667f1b6babd5986ffe86eff7ef45828df1edafbde0ec7f60f8ba0f385399e3f8ce48
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-assured_workloads-v1beta1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Credentials}):
68
68
 
69
- 1. `ASSURED_WORKLOADS_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `ASSURED_WORKLOADS_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `ASSURED_WORKLOADS_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `ASSURED_WORKLOADS_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/assured_workloads/v1beta1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Cl
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/assured_workloads/v1beta1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Cl
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/assured_workloads/v1beta1"
data/README.md CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/assured_workloads/v1beta1"
34
34
 
35
35
  client = ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::AssuredWorkloads::V1beta1::CreateWorkloadRequest.new # (request fields as keyword arguments...)
37
37
  response = client.create_workload request
38
38
  ```
39
39
 
@@ -41,13 +41,12 @@ module Google
41
41
  # See {::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client::Configuration}
42
42
  # for a description of the configuration fields.
43
43
  #
44
- # ## Example
44
+ # @example
45
45
  #
46
- # To modify the configuration for all AssuredWorkloadsService clients:
47
- #
48
- # ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client.configure do |config|
49
- # config.timeout = 10.0
50
- # end
46
+ # # Modify the configuration for all AssuredWorkloadsService clients
47
+ # ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client.configure do |config|
48
+ # config.timeout = 10.0
49
+ # end
51
50
  #
52
51
  # @yield [config] Configure the Client client.
53
52
  # @yieldparam config [Client::Configuration]
@@ -71,26 +70,17 @@ module Google
71
70
 
72
71
  default_config.rpcs.delete_workload.timeout = 60.0
73
72
  default_config.rpcs.delete_workload.retry_policy = {
74
- initial_delay: 0.2,
75
- max_delay: 30.0,
76
- multiplier: 1.3,
77
- retry_codes: [14]
73
+ initial_delay: 0.2, max_delay: 30.0, multiplier: 1.3, retry_codes: [14]
78
74
  }
79
75
 
80
76
  default_config.rpcs.get_workload.timeout = 60.0
81
77
  default_config.rpcs.get_workload.retry_policy = {
82
- initial_delay: 0.2,
83
- max_delay: 30.0,
84
- multiplier: 1.3,
85
- retry_codes: [14]
78
+ initial_delay: 0.2, max_delay: 30.0, multiplier: 1.3, retry_codes: [14]
86
79
  }
87
80
 
88
81
  default_config.rpcs.list_workloads.timeout = 60.0
89
82
  default_config.rpcs.list_workloads.retry_policy = {
90
- initial_delay: 0.2,
91
- max_delay: 30.0,
92
- multiplier: 1.3,
93
- retry_codes: [14]
83
+ initial_delay: 0.2, max_delay: 30.0, multiplier: 1.3, retry_codes: [14]
94
84
  }
95
85
 
96
86
  default_config
@@ -122,19 +112,15 @@ module Google
122
112
  ##
123
113
  # Create a new AssuredWorkloadsService client object.
124
114
  #
125
- # ## Examples
126
- #
127
- # To create a new AssuredWorkloadsService client with the default
128
- # configuration:
129
- #
130
- # client = ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client.new
115
+ # @example
131
116
  #
132
- # To create a new AssuredWorkloadsService client with a custom
133
- # configuration:
117
+ # # Create a client using the default configuration
118
+ # client = ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client.new
134
119
  #
135
- # client = ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client.new do |config|
136
- # config.timeout = 10.0
137
- # end
120
+ # # Create a client using a custom configuration
121
+ # client = ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client.new do |config|
122
+ # config.timeout = 10.0
123
+ # end
138
124
  #
139
125
  # @yield [config] Configure the AssuredWorkloadsService client.
140
126
  # @yieldparam config [Client::Configuration]
@@ -154,14 +140,13 @@ module Google
154
140
 
155
141
  # Create credentials
156
142
  credentials = @config.credentials
157
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
143
+ # Use self-signed JWT if the endpoint is unchanged from default,
158
144
  # but only if the default endpoint does not have a region prefix.
159
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
160
- @config.endpoint == Client.configure.endpoint &&
145
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
161
146
  !@config.endpoint.split(".").first.include?("-")
162
147
  credentials ||= Credentials.default scope: @config.scope,
163
148
  enable_self_signed_jwt: enable_self_signed_jwt
164
- if credentials.is_a?(String) || credentials.is_a?(Hash)
149
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
165
150
  credentials = Credentials.new credentials, scope: @config.scope
166
151
  end
167
152
  @quota_project_id = @config.quota_project
@@ -253,7 +238,9 @@ module Google
253
238
  options.apply_defaults timeout: @config.rpcs.create_workload.timeout,
254
239
  metadata: metadata,
255
240
  retry_policy: @config.rpcs.create_workload.retry_policy
256
- options.apply_defaults metadata: @config.metadata,
241
+
242
+ options.apply_defaults timeout: @config.timeout,
243
+ metadata: @config.metadata,
257
244
  retry_policy: @config.retry_policy
258
245
 
259
246
  @assured_workloads_service_stub.call_rpc :create_workload, request, options: options do |response, operation|
@@ -328,7 +315,9 @@ module Google
328
315
  options.apply_defaults timeout: @config.rpcs.update_workload.timeout,
329
316
  metadata: metadata,
330
317
  retry_policy: @config.rpcs.update_workload.retry_policy
331
- options.apply_defaults metadata: @config.metadata,
318
+
319
+ options.apply_defaults timeout: @config.timeout,
320
+ metadata: @config.metadata,
332
321
  retry_policy: @config.retry_policy
333
322
 
334
323
  @assured_workloads_service_stub.call_rpc :update_workload, request, options: options do |response, operation|
@@ -401,7 +390,9 @@ module Google
401
390
  options.apply_defaults timeout: @config.rpcs.delete_workload.timeout,
402
391
  metadata: metadata,
403
392
  retry_policy: @config.rpcs.delete_workload.retry_policy
404
- options.apply_defaults metadata: @config.metadata,
393
+
394
+ options.apply_defaults timeout: @config.timeout,
395
+ metadata: @config.metadata,
405
396
  retry_policy: @config.retry_policy
406
397
 
407
398
  @assured_workloads_service_stub.call_rpc :delete_workload, request, options: options do |response, operation|
@@ -471,7 +462,9 @@ module Google
471
462
  options.apply_defaults timeout: @config.rpcs.get_workload.timeout,
472
463
  metadata: metadata,
473
464
  retry_policy: @config.rpcs.get_workload.retry_policy
474
- options.apply_defaults metadata: @config.metadata,
465
+
466
+ options.apply_defaults timeout: @config.timeout,
467
+ metadata: @config.metadata,
475
468
  retry_policy: @config.retry_policy
476
469
 
477
470
  @assured_workloads_service_stub.call_rpc :get_workload, request, options: options do |response, operation|
@@ -547,7 +540,9 @@ module Google
547
540
  options.apply_defaults timeout: @config.rpcs.list_workloads.timeout,
548
541
  metadata: metadata,
549
542
  retry_policy: @config.rpcs.list_workloads.retry_policy
550
- options.apply_defaults metadata: @config.metadata,
543
+
544
+ options.apply_defaults timeout: @config.timeout,
545
+ metadata: @config.metadata,
551
546
  retry_policy: @config.retry_policy
552
547
 
553
548
  @assured_workloads_service_stub.call_rpc :list_workloads, request, options: options do |response, operation|
@@ -572,22 +567,21 @@ module Google
572
567
  # Configuration can be applied globally to all clients, or to a single client
573
568
  # on construction.
574
569
  #
575
- # # Examples
576
- #
577
- # To modify the global config, setting the timeout for create_workload
578
- # to 20 seconds, and all remaining timeouts to 10 seconds:
579
- #
580
- # ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client.configure do |config|
581
- # config.timeout = 10.0
582
- # config.rpcs.create_workload.timeout = 20.0
583
- # end
584
- #
585
- # To apply the above configuration only to a new client:
586
- #
587
- # client = ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client.new do |config|
588
- # config.timeout = 10.0
589
- # config.rpcs.create_workload.timeout = 20.0
590
- # end
570
+ # @example
571
+ #
572
+ # # Modify the global config, setting the timeout for
573
+ # # create_workload to 20 seconds,
574
+ # # and all remaining timeouts to 10 seconds.
575
+ # ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client.configure do |config|
576
+ # config.timeout = 10.0
577
+ # config.rpcs.create_workload.timeout = 20.0
578
+ # end
579
+ #
580
+ # # Apply the above configuration only to a new client.
581
+ # client = ::Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client.new do |config|
582
+ # config.timeout = 10.0
583
+ # config.rpcs.create_workload.timeout = 20.0
584
+ # end
591
585
  #
592
586
  # @!attribute [rw] endpoint
593
587
  # The hostname or hostname:port of the service endpoint.
@@ -82,7 +82,7 @@ module Google
82
82
  # Create credentials
83
83
  credentials = @config.credentials
84
84
  credentials ||= Credentials.default scope: @config.scope
85
- if credentials.is_a?(String) || credentials.is_a?(Hash)
85
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
86
86
  credentials = Credentials.new credentials, scope: @config.scope
87
87
  end
88
88
  @quota_project_id = @config.quota_project
@@ -169,7 +169,9 @@ module Google
169
169
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
170
170
  metadata: metadata,
171
171
  retry_policy: @config.rpcs.list_operations.retry_policy
172
- options.apply_defaults metadata: @config.metadata,
172
+
173
+ options.apply_defaults timeout: @config.timeout,
174
+ metadata: @config.metadata,
173
175
  retry_policy: @config.retry_policy
174
176
 
175
177
  @operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
@@ -239,7 +241,9 @@ module Google
239
241
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
240
242
  metadata: metadata,
241
243
  retry_policy: @config.rpcs.get_operation.retry_policy
242
- options.apply_defaults metadata: @config.metadata,
244
+
245
+ options.apply_defaults timeout: @config.timeout,
246
+ metadata: @config.metadata,
243
247
  retry_policy: @config.retry_policy
244
248
 
245
249
  @operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
@@ -309,7 +313,9 @@ module Google
309
313
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
310
314
  metadata: metadata,
311
315
  retry_policy: @config.rpcs.delete_operation.retry_policy
312
- options.apply_defaults metadata: @config.metadata,
316
+
317
+ options.apply_defaults timeout: @config.timeout,
318
+ metadata: @config.metadata,
313
319
  retry_policy: @config.retry_policy
314
320
 
315
321
  @operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
@@ -384,7 +390,9 @@ module Google
384
390
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
385
391
  metadata: metadata,
386
392
  retry_policy: @config.rpcs.cancel_operation.retry_policy
387
- options.apply_defaults metadata: @config.metadata,
393
+
394
+ options.apply_defaults timeout: @config.timeout,
395
+ metadata: @config.metadata,
388
396
  retry_policy: @config.retry_policy
389
397
 
390
398
  @operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
@@ -396,9 +404,9 @@ module Google
396
404
  end
397
405
 
398
406
  ##
399
- # Waits for the specified long-running operation until it is done or reaches
400
- # at most a specified timeout, returning the latest state. If the operation
401
- # is already done, the latest state is immediately returned. If the timeout
407
+ # Waits until the specified long-running operation is done or reaches at most
408
+ # a specified timeout, returning the latest state. If the operation is
409
+ # already done, the latest state is immediately returned. If the timeout
402
410
  # specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
403
411
  # timeout is used. If the server does not support this method, it returns
404
412
  # `google.rpc.Code.UNIMPLEMENTED`.
@@ -456,7 +464,9 @@ module Google
456
464
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
457
465
  metadata: metadata,
458
466
  retry_policy: @config.rpcs.wait_operation.retry_policy
459
- options.apply_defaults metadata: @config.metadata,
467
+
468
+ options.apply_defaults timeout: @config.timeout,
469
+ metadata: @config.metadata,
460
470
  retry_policy: @config.retry_policy
461
471
 
462
472
  @operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
@@ -481,22 +491,21 @@ module Google
481
491
  # Configuration can be applied globally to all clients, or to a single client
482
492
  # on construction.
483
493
  #
484
- # # Examples
485
- #
486
- # To modify the global config, setting the timeout for list_operations
487
- # to 20 seconds, and all remaining timeouts to 10 seconds:
488
- #
489
- # ::Google::Longrunning::Operations::Client.configure do |config|
490
- # config.timeout = 10.0
491
- # config.rpcs.list_operations.timeout = 20.0
492
- # end
493
- #
494
- # To apply the above configuration only to a new client:
495
- #
496
- # client = ::Google::Longrunning::Operations::Client.new do |config|
497
- # config.timeout = 10.0
498
- # config.rpcs.list_operations.timeout = 20.0
499
- # end
494
+ # @example
495
+ #
496
+ # # Modify the global config, setting the timeout for
497
+ # # list_operations to 20 seconds,
498
+ # # and all remaining timeouts to 10 seconds.
499
+ # ::Google::Longrunning::Operations::Client.configure do |config|
500
+ # config.timeout = 10.0
501
+ # config.rpcs.list_operations.timeout = 20.0
502
+ # end
503
+ #
504
+ # # Apply the above configuration only to a new client.
505
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
506
+ # config.timeout = 10.0
507
+ # config.rpcs.list_operations.timeout = 20.0
508
+ # end
500
509
  #
501
510
  # @!attribute [rw] endpoint
502
511
  # The hostname or hostname:port of the service endpoint.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AssuredWorkloads
23
23
  module V1beta1
24
- VERSION = "0.6.1"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,7 +66,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
66
66
  add_enum "google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType" do
67
67
  value :RESOURCE_TYPE_UNSPECIFIED, 0
68
68
  value :CONSUMER_PROJECT, 1
69
+ value :CONSUMER_FOLDER, 4
69
70
  value :ENCRYPTION_KEYS_PROJECT, 2
71
+ value :KEYRING, 3
70
72
  end
71
73
  add_message "google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings" do
72
74
  optional :next_rotation_time, :message, 1, "google.protobuf.Timestamp"
@@ -87,6 +89,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
87
89
  add_message "google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings" do
88
90
  optional :resource_id, :string, 1
89
91
  optional :resource_type, :enum, 2, "google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType"
92
+ optional :display_name, :string, 3
90
93
  end
91
94
  add_enum "google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime" do
92
95
  value :COMPLIANCE_REGIME_UNSPECIFIED, 0
@@ -97,12 +100,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
97
100
  value :US_REGIONAL_ACCESS, 5
98
101
  value :HIPAA, 6
99
102
  value :HITRUST, 7
103
+ value :EU_REGIONS_AND_SUPPORT, 8
104
+ value :CA_REGIONS_AND_SUPPORT, 9
100
105
  end
101
106
  add_message "google.cloud.assuredworkloads.v1beta1.CreateWorkloadOperationMetadata" do
102
107
  optional :create_time, :message, 1, "google.protobuf.Timestamp"
103
108
  optional :display_name, :string, 2
104
109
  optional :parent, :string, 3
105
110
  optional :compliance_regime, :enum, 4, "google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime"
111
+ repeated :resource_settings, :message, 5, "google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings"
106
112
  end
107
113
  end
108
114
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # Service to manage AssuredWorkloads.
28
28
  class Service
29
29
 
30
- include ::GRPC::GenericService
30
+ include GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -57,9 +57,15 @@ module Google
57
57
 
58
58
  # Denotes that a (repeated) field is an unordered list.
59
59
  # This indicates that the service may provide the elements of the list
60
- # in any arbitrary order, rather than the order the user originally
60
+ # in any arbitrary order, rather than the order the user originally
61
61
  # provided. Additionally, the list's order may or may not be stable.
62
62
  UNORDERED_LIST = 6
63
+
64
+ # Denotes that this field returns a non-empty default value if not set.
65
+ # This indicates that if the user provides the empty value in a request,
66
+ # a non-empty value will be returned. The user will not be aware of what
67
+ # non-empty value to expect.
68
+ NON_EMPTY_DEFAULT = 7
63
69
  end
64
70
  end
65
71
  end
@@ -148,7 +148,7 @@ module Google
148
148
  # Output only. Immutable. The Workload creation timestamp.
149
149
  # @!attribute [rw] billing_account
150
150
  # @return [::String]
151
- # Required. Input only. The billing account used for the resources which are
151
+ # Input only. The billing account used for the resources which are
152
152
  # direct children of workload. This billing account is initially associated
153
153
  # with the resources created as part of Workload creation.
154
154
  # After the initial creation of these resources, the customer can change
@@ -178,12 +178,11 @@ module Google
178
178
  # @!attribute [rw] provisioned_resources_parent
179
179
  # @return [::String]
180
180
  # Input only. The parent resource for the resources managed by this Assured Workload. May
181
- # be either an organization or a folder. Must be the same or a child of the
181
+ # be either empty or a folder resource which is a child of the
182
182
  # Workload parent. If not specified all resources are created under the
183
- # Workload parent.
184
- # Formats:
183
+ # parent organization.
184
+ # Format:
185
185
  # folders/\\{folder_id}
186
- # organizations/\\{organization_id}
187
186
  # @!attribute [rw] kms_settings
188
187
  # @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::KMSSettings]
189
188
  # Input only. Settings used to create a CMEK crypto key. When set a project with a KMS
@@ -215,11 +214,18 @@ module Google
215
214
  # Unknown resource type.
216
215
  RESOURCE_TYPE_UNSPECIFIED = 0
217
216
 
218
- # Consumer project.
217
+ # Deprecated. Existing workloads will continue to support this, but new
218
+ # CreateWorkloadRequests should not specify this as an input value.
219
219
  CONSUMER_PROJECT = 1
220
220
 
221
+ # Consumer Folder.
222
+ CONSUMER_FOLDER = 4
223
+
221
224
  # Consumer project containing encryption keys.
222
225
  ENCRYPTION_KEYS_PROJECT = 2
226
+
227
+ # Keyring resource that hosts encryption keys.
228
+ KEYRING = 3
223
229
  end
224
230
  end
225
231
 
@@ -285,6 +291,11 @@ module Google
285
291
  # Indicates the type of resource. This field should be specified to
286
292
  # correspond the id to the right project type (CONSUMER_PROJECT or
287
293
  # ENCRYPTION_KEYS_PROJECT)
294
+ # @!attribute [rw] display_name
295
+ # @return [::String]
296
+ # User-assigned resource display name.
297
+ # If not empty it will be used to create a resource with the specified
298
+ # name.
288
299
  class ResourceSettings
289
300
  include ::Google::Protobuf::MessageExts
290
301
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -324,6 +335,12 @@ module Google
324
335
 
325
336
  # Health Information Trust Alliance controls
326
337
  HITRUST = 7
338
+
339
+ # Assured Workloads For EU Regions and Support controls
340
+ EU_REGIONS_AND_SUPPORT = 8
341
+
342
+ # Assured Workloads For Canada Regions and Support controls
343
+ CA_REGIONS_AND_SUPPORT = 9
327
344
  end
328
345
  end
329
346
 
@@ -341,6 +358,10 @@ module Google
341
358
  # @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ComplianceRegime]
342
359
  # Optional. Compliance controls that should be applied to the resources managed by
343
360
  # the workload.
361
+ # @!attribute [rw] resource_settings
362
+ # @return [::Array<::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceSettings>]
363
+ # Optional. Resource properties in the input that are used for creating/customizing
364
+ # workload resources.
344
365
  class CreateWorkloadOperationMetadata
345
366
  include ::Google::Protobuf::MessageExts
346
367
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-assured_workloads-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.8.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: 2021-06-17 00:00:00.000000000 Z
11
+ date: 2021-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a