@ -208,11 +208,18 @@ message Workload {
/ / Unknown resource type.
/ / Unknown resource type.
RESOURCE_TYPE_UNSPECIFIED = 0 ;
RESOURCE_TYPE_UNSPECIFIED = 0 ;
/ / Consumer project.
/ / Deprecated. Existing workloads will continue to support this , but new
CONSUMER_PROJECT = 1 ;
/ / CreateWorkloadRequests should not specify this as an input value.
CONSUMER_PROJECT = 1 [ deprecated = true ] ;
/ / Consumer Folder.
CONSUMER_FOLDER = 4 ;
/ / Consumer project containing encryption keys.
/ / Consumer project containing encryption keys.
ENCRYPTION_KEYS_PROJECT = 2 ;
ENCRYPTION_KEYS_PROJECT = 2 ;
/ / Keyring resource that hosts encryption keys.
KEYRING = 3 ;
}
}
/ / Resource identifier.
/ / Resource identifier.
@ -302,6 +309,11 @@ message Workload {
/ / correspond the id to the right project type ( CONSUMER_PROJECT or
/ / correspond the id to the right project type ( CONSUMER_PROJECT or
/ / ENCRYPTION_KEYS_PROJECT )
/ / ENCRYPTION_KEYS_PROJECT )
ResourceInfo.ResourceType resource_type = 2 ;
ResourceInfo.ResourceType resource_type = 2 ;
/ / User - assigned resource display name.
/ / If not empty it will be used to create a resource with the specified
/ / name.
string display_name = 3 ;
}
}
/ / Supported Compliance Regimes.
/ / Supported Compliance Regimes.
@ -332,6 +344,9 @@ message Workload {
/ / Assured Workloads For EU Regions and Support controls
/ / Assured Workloads For EU Regions and Support controls
EU_REGIONS_AND_SUPPORT = 8 ;
EU_REGIONS_AND_SUPPORT = 8 ;
/ / Assured Workloads For Canada Regions and Support controls
CA_REGIONS_AND_SUPPORT = 9 ;
}
}
/ / Optional. The resource name of the workload.
/ / Optional. The resource name of the workload.
@ -367,7 +382,7 @@ message Workload {
( google.api.field_behavior ) = IMMUTABLE
( google.api.field_behavior ) = IMMUTABLE
] ;
] ;
/ / Required. Input only. The billing account used for the resources which are
/ / Input only. The billing account used for the resources which are
/ / direct children of workload. This billing account is initially associated
/ / direct children of workload. This billing account is initially associated
/ / with the resources created as part of Workload creation.
/ / with the resources created as part of Workload creation.
/ / After the initial creation of these resources , the customer can change
/ / After the initial creation of these resources , the customer can change
@ -375,10 +390,7 @@ message Workload {
/ / The resource name has the form
/ / The resource name has the form
/ / ` billingAccounts / { billing_account_id } ` . For example ,
/ / ` billingAccounts / { billing_account_id } ` . For example ,
/ / ` billingAccounts / 012345 - 567890 - ABCDEF ` .
/ / ` billingAccounts / 012345 - 567890 - ABCDEF ` .
string billing_account = 6 [
string billing_account = 6 [ ( google.api.field_behavior ) = INPUT_ONLY ] ;
( google.api.field_behavior ) = REQUIRED ,
( google.api.field_behavior ) = INPUT_ONLY
] ;
/ / Settings specific to the selected [ compliance_regime ]
/ / Settings specific to the selected [ compliance_regime ]
oneof compliance_regime_settings {
oneof compliance_regime_settings {
@ -423,12 +435,11 @@ message Workload {
map < string , string > labels = 10 [ ( google.api.field_behavior ) = OPTIONAL ] ;
map < string , string > labels = 10 [ ( google.api.field_behavior ) = OPTIONAL ] ;
/ / Input only. The parent resource for the resources managed by this Assured Workload. May
/ / Input only. The parent resource for the resources managed by this Assured Workload. May
/ / be either an organization or a folder. Must be the same or a child of the
/ / be either empty or a folder resource which is a child of the
/ / Workload parent. If not specified all resources are created under the
/ / Workload parent. If not specified all resources are created under the
/ / Workload parent .
/ / parent organization .
/ / Formats :
/ / Format :
/ / folders / { folder_id }
/ / folders / { folder_id }
/ / organizations / { organization_id }
string provisioned_resources_parent = 13 [ ( google.api.field_behavior ) = INPUT_ONLY ] ;
string provisioned_resources_parent = 13 [ ( google.api.field_behavior ) = INPUT_ONLY ] ;
/ / Input only. Settings used to create a CMEK crypto key. When set a project with a KMS
/ / Input only. Settings used to create a CMEK crypto key. When set a project with a KMS
@ -456,4 +467,8 @@ message CreateWorkloadOperationMetadata {
/ / Optional. Compliance controls that should be applied to the resources managed by
/ / Optional. Compliance controls that should be applied to the resources managed by
/ / the workload.
/ / the workload.
Workload.ComplianceRegime compliance_regime = 4 [ ( google.api.field_behavior ) = OPTIONAL ] ;
Workload.ComplianceRegime compliance_regime = 4 [ ( google.api.field_behavior ) = OPTIONAL ] ;
/ / Optional. Resource properties in the input that are used for creating / customizing
/ / workload resources.
repeated Workload.ResourceSettings resource_settings = 5 [ ( google.api.field_behavior ) = OPTIONAL ] ;
}
}