public sealed class Workload : IMessage<Workload>, IEquatable<Workload>, IDeepCloneable<Workload>, IBufferMessage, IMessage
An Workload object for managing highly regulated workloads of cloud customers.
Implements
IMessage<Workload>, IEquatable<Workload>, IDeepCloneable<Workload>, IBufferMessage, IMessageNamespace
Google.Cloud.AssuredWorkloads.V1Assembly
Google.Cloud.AssuredWorkloads.V1.dll
Constructors
Workload()
public Workload()
Workload(Workload)
public Workload(Workload other)
Parameter | |
---|---|
Name | Description |
other | Workload |
Properties
BillingAccount
public string BillingAccount { get; set; }
Required. Input only. 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
.
Property Value | |
---|---|
Type | Description |
String |
ComplianceRegime
public Workload.Types.ComplianceRegime ComplianceRegime { get; set; }
Required. Immutable. Compliance Regime associated with this workload.
Property Value | |
---|---|
Type | Description |
Workload.Types.ComplianceRegime |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Immutable. The Workload creation timestamp.
Property Value | |
---|---|
Type | Description |
Timestamp |
DisplayName
public string DisplayName { get; set; }
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
Property Value | |
---|---|
Type | Description |
String |
Etag
public string Etag { get; set; }
Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations.
Property Value | |
---|---|
Type | Description |
String |
KmsSettings
public Workload.Types.KMSSettings KmsSettings { get; set; }
Input only. Settings used to create a CMEK crypto key. When set a project with a KMS CMEK key is provisioned. This field is mandatory for a subset of Compliance Regimes.
Property Value | |
---|---|
Type | Description |
Workload.Types.KMSSettings |
Labels
public MapField<string, string> Labels { get; }
Optional. Labels applied to the workload.
Property Value | |
---|---|
Type | Description |
MapField<String, String> |
Name
public string Name { get; set; }
Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload}
Read-only.
Property Value | |
---|---|
Type | Description |
String |
ProvisionedResourcesParent
public string ProvisionedResourcesParent { get; set; }
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}
Property Value | |
---|---|
Type | Description |
String |
Resources
public RepeatedField<Workload.Types.ResourceInfo> Resources { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedField<Workload.Types.ResourceInfo> |
ResourceSettings
public RepeatedField<Workload.Types.ResourceSettings> ResourceSettings { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedField<Workload.Types.ResourceSettings> |
WorkloadName
public WorkloadName WorkloadName { get; set; }
WorkloadName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
WorkloadName |