GetWorkloadResult

data class GetWorkloadResult(val billingAccount: String, val complianceRegime: String, val complianceStatus: GoogleCloudAssuredworkloadsV1WorkloadComplianceStatusResponse, val compliantButDisallowedServices: List<String>, val createTime: String, val displayName: String, val ekmProvisioningResponse: GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseResponse, val enableSovereignControls: Boolean, val etag: String, val kajEnrollmentState: String, val kmsSettings: GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsResponse, val labels: Map<String, String>, val name: String, val partner: String, val partnerPermissions: GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsResponse, val provisionedResourcesParent: String, val resourceSettings: List<GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponse>, val resources: List<GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponse>, val saaEnrollmentResponse: GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponseResponse, val violationNotificationsEnabled: Boolean)

Constructors

Link copied to clipboard
fun GetWorkloadResult(billingAccount: String, complianceRegime: String, complianceStatus: GoogleCloudAssuredworkloadsV1WorkloadComplianceStatusResponse, compliantButDisallowedServices: List<String>, createTime: String, displayName: String, ekmProvisioningResponse: GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseResponse, enableSovereignControls: Boolean, etag: String, kajEnrollmentState: String, kmsSettings: GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsResponse, labels: Map<String, String>, name: String, partner: String, partnerPermissions: GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsResponse, provisionedResourcesParent: String, resourceSettings: List<GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponse>, resources: List<GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponse>, saaEnrollmentResponse: GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponseResponse, violationNotificationsEnabled: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form billingAccounts/{billing_account_id}. For example, billingAccounts/012345-567890-ABCDEF.

Link copied to clipboard

Immutable. Compliance Regime associated with this workload.

Link copied to clipboard
Link copied to clipboard

Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment."

Link copied to clipboard

Immutable. The Workload creation timestamp.

Link copied to clipboard

The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload

Link copied to clipboard

Optional. Represents the Ekm Provisioning State of the given workload.

Link copied to clipboard

Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.

Link copied to clipboard

Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations.

Link copied to clipboard

Represents the KAJ enrollment state of the given workload.

Link copied to clipboard

Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.

Link copied to clipboard

Optional. Labels applied to the workload.

Link copied to clipboard

Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.

Link copied to clipboard

Optional. Partner regime associated with this workload.

Link copied to clipboard

Optional. Permissions granted to the AW Partner SA account for the customer workload

Link copied to clipboard

Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}

Link copied to clipboard

The resources associated with this workload. These resources will be created when creating the workload. If any of the projects already exist, the workload creation will fail. Always read only.

Link copied to clipboard

Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.

Link copied to clipboard

Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.

Link copied to clipboard

Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.