Class GoogleCloudAssuredworkloadsV1Workload
A Workload object for managing highly regulated workloads of cloud customers.
Implements
Inherited Members
Namespace: Google.Apis.Assuredworkloads.v1.Data
Assembly: Google.Apis.Assuredworkloads.v1.dll
Syntax
public class GoogleCloudAssuredworkloadsV1Workload : IDirectResponseSchema
Properties
BillingAccount
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
.
Declaration
[JsonProperty("billingAccount")]
public virtual string BillingAccount { get; set; }
Property Value
Type | Description |
---|---|
string |
ComplianceRegime
Required. Immutable. Compliance Regime associated with this workload.
Declaration
[JsonProperty("complianceRegime")]
public virtual string ComplianceRegime { get; set; }
Property Value
Type | Description |
---|---|
string |
ComplianceStatus
Output only. Count of active Violations in the Workload.
Declaration
[JsonProperty("complianceStatus")]
public virtual GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus ComplianceStatus { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus |
CompliantButDisallowedServices
Output only. 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.
Declaration
[JsonProperty("compliantButDisallowedServices")]
public virtual IList<string> CompliantButDisallowedServices { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Immutable. The Workload creation timestamp.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Required. 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
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EkmProvisioningResponse
Output only. Represents the Ekm Provisioning State of the given workload.
Declaration
[JsonProperty("ekmProvisioningResponse")]
public virtual GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse EkmProvisioningResponse { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse |
EnableSovereignControls
Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.
Declaration
[JsonProperty("enableSovereignControls")]
public virtual bool? EnableSovereignControls { get; set; }
Property Value
Type | Description |
---|---|
bool? |
KajEnrollmentState
Output only. Represents the KAJ enrollment state of the given workload.
Declaration
[JsonProperty("kajEnrollmentState")]
public virtual string KajEnrollmentState { get; set; }
Property Value
Type | Description |
---|---|
string |
KmsSettings
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.
Declaration
[JsonProperty("kmsSettings")]
public virtual GoogleCloudAssuredworkloadsV1WorkloadKMSSettings KmsSettings { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAssuredworkloadsV1WorkloadKMSSettings |
Labels
Optional. Labels applied to the workload.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Name
Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Partner
Optional. Partner regime associated with this workload.
Declaration
[JsonProperty("partner")]
public virtual string Partner { get; set; }
Property Value
Type | Description |
---|---|
string |
PartnerPermissions
Optional. Permissions granted to the AW Partner SA account for the customer workload
Declaration
[JsonProperty("partnerPermissions")]
public virtual GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions PartnerPermissions { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions |
PartnerServicesBillingAccount
Optional. Billing account necessary for purchasing services from Sovereign Partners. This field is required for creating SIA/PSN/CNTXT partner workloads. The caller should have 'billing.resourceAssociations.create' IAM permission on this billing-account. The format of this string is billingAccounts/AAAAAA-BBBBBB-CCCCCC
Declaration
[JsonProperty("partnerServicesBillingAccount")]
public virtual string PartnerServicesBillingAccount { get; set; }
Property Value
Type | Description |
---|---|
string |
ProvisionedResourcesParent
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}
Declaration
[JsonProperty("provisionedResourcesParent")]
public virtual string ProvisionedResourcesParent { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceMonitoringEnabled
Output only. Indicates whether resource monitoring is enabled for workload or not. It is true when Resource feed is subscribed to AWM topic and AWM Service Agent Role is binded to AW Service Account for resource Assured workload.
Declaration
[JsonProperty("resourceMonitoringEnabled")]
public virtual bool? ResourceMonitoringEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ResourceSettings
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.
Declaration
[JsonProperty("resourceSettings")]
public virtual IList<GoogleCloudAssuredworkloadsV1WorkloadResourceSettings> ResourceSettings { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAssuredworkloadsV1WorkloadResourceSettings> |
Resources
Output only. 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.
Declaration
[JsonProperty("resources")]
public virtual IList<GoogleCloudAssuredworkloadsV1WorkloadResourceInfo> Resources { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAssuredworkloadsV1WorkloadResourceInfo> |
SaaEnrollmentResponse
Output only. 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.
Declaration
[JsonProperty("saaEnrollmentResponse")]
public virtual GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse SaaEnrollmentResponse { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse |
ViolationNotificationsEnabled
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.
Declaration
[JsonProperty("violationNotificationsEnabled")]
public virtual bool? ViolationNotificationsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
WorkloadOptions
Optional. Options to be set for the given created workload.
Declaration
[JsonProperty("workloadOptions")]
public virtual GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions WorkloadOptions { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions |