@@ -208,11 +208,18 @@ message Workload {
208208 // Unknown resource type.
209209 RESOURCE_TYPE_UNSPECIFIED = 0 ;
210210
211- // Consumer project.
212- CONSUMER_PROJECT = 1 ;
211+ // Deprecated. Existing workloads will continue to support this, but new
212+ // CreateWorkloadRequests should not specify this as an input value.
213+ CONSUMER_PROJECT = 1 [deprecated = true ];
214+
215+ // Consumer Folder.
216+ CONSUMER_FOLDER = 4 ;
213217
214218 // Consumer project containing encryption keys.
215219 ENCRYPTION_KEYS_PROJECT = 2 ;
220+
221+ // Keyring resource that hosts encryption keys.
222+ KEYRING = 3 ;
216223 }
217224
218225 // Resource identifier.
@@ -302,6 +309,11 @@ message Workload {
302309 // correspond the id to the right project type (CONSUMER_PROJECT or
303310 // ENCRYPTION_KEYS_PROJECT)
304311 ResourceInfo.ResourceType resource_type = 2 ;
312+
313+ // User-assigned resource display name.
314+ // If not empty it will be used to create a resource with the specified
315+ // name.
316+ string display_name = 3 ;
305317 }
306318
307319 // Supported Compliance Regimes.
@@ -332,6 +344,9 @@ message Workload {
332344
333345 // Assured Workloads For EU Regions and Support controls
334346 EU_REGIONS_AND_SUPPORT = 8 ;
347+
348+ // Assured Workloads For Canada Regions and Support controls
349+ CA_REGIONS_AND_SUPPORT = 9 ;
335350 }
336351
337352 // Optional. The resource name of the workload.
@@ -367,18 +382,15 @@ message Workload {
367382 (google.api.field_behavior ) = IMMUTABLE
368383 ];
369384
370- // Required. Input only. The billing account used for the resources which are
385+ // Input only. The billing account used for the resources which are
371386 // direct children of workload. This billing account is initially associated
372387 // with the resources created as part of Workload creation.
373388 // After the initial creation of these resources, the customer can change
374389 // the assigned billing account.
375390 // The resource name has the form
376391 // `billingAccounts/{billing_account_id}`. For example,
377392 // `billingAccounts/012345-567890-ABCDEF`.
378- string billing_account = 6 [
379- (google.api.field_behavior ) = REQUIRED ,
380- (google.api.field_behavior ) = INPUT_ONLY
381- ];
393+ string billing_account = 6 [(google.api.field_behavior ) = INPUT_ONLY ];
382394
383395 // Settings specific to the selected [compliance_regime]
384396 oneof compliance_regime_settings {
@@ -423,12 +435,11 @@ message Workload {
423435 map <string , string > labels = 10 [(google.api.field_behavior ) = OPTIONAL ];
424436
425437 // Input only. The parent resource for the resources managed by this Assured Workload. May
426- // be either an organization or a folder. Must be the same or a child of the
438+ // be either empty or a folder resource which is a child of the
427439 // Workload parent. If not specified all resources are created under the
428- // Workload parent.
429- // Formats :
440+ // parent organization .
441+ // Format :
430442 // folders/{folder_id}
431- // organizations/{organization_id}
432443 string provisioned_resources_parent = 13 [(google.api.field_behavior ) = INPUT_ONLY ];
433444
434445 // Input only. Settings used to create a CMEK crypto key. When set a project with a KMS
@@ -456,4 +467,8 @@ message CreateWorkloadOperationMetadata {
456467 // Optional. Compliance controls that should be applied to the resources managed by
457468 // the workload.
458469 Workload.ComplianceRegime compliance_regime = 4 [(google.api.field_behavior ) = OPTIONAL ];
470+
471+ // Optional. Resource properties in the input that are used for creating/customizing
472+ // workload resources.
473+ repeated Workload.ResourceSettings resource_settings = 5 [(google.api.field_behavior ) = OPTIONAL ];
459474}
0 commit comments