Struct google_assuredworkloads1::api::GoogleCloudAssuredworkloadsV1Workload[][src]

pub struct GoogleCloudAssuredworkloadsV1Workload {
    pub billing_account: Option<String>,
    pub compliance_regime: Option<String>,
    pub create_time: Option<String>,
    pub display_name: Option<String>,
    pub etag: Option<String>,
    pub kms_settings: Option<GoogleCloudAssuredworkloadsV1WorkloadKMSSettings>,
    pub labels: Option<HashMap<String, String>>,
    pub name: Option<String>,
    pub provisioned_resources_parent: Option<String>,
    pub resources: Option<Vec<GoogleCloudAssuredworkloadsV1WorkloadResourceInfo>>,
}

An Workload object for managing highly regulated workloads of cloud customers.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

billing_account: Option<String>

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.

compliance_regime: Option<String>

Required. Immutable. Compliance Regime associated with this workload.

create_time: Option<String>

Output only. Immutable. The Workload creation timestamp.

display_name: Option<String>

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

etag: Option<String>

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

kms_settings: Option<GoogleCloudAssuredworkloadsV1WorkloadKMSSettings>

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.

labels: Option<HashMap<String, String>>

Optional. Labels applied to the workload.

name: Option<String>

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

provisioned_resources_parent: Option<String>

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 Workload parent. If not specified all resources are created under the Workload parent. Formats: folders/{folder_id} organizations/{organization_id}

resources: Option<Vec<GoogleCloudAssuredworkloadsV1WorkloadResourceInfo>>

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.

Trait Implementations

impl Clone for GoogleCloudAssuredworkloadsV1Workload[src]

impl Debug for GoogleCloudAssuredworkloadsV1Workload[src]

impl Default for GoogleCloudAssuredworkloadsV1Workload[src]

impl<'de> Deserialize<'de> for GoogleCloudAssuredworkloadsV1Workload[src]

impl RequestValue for GoogleCloudAssuredworkloadsV1Workload[src]

impl ResponseResult for GoogleCloudAssuredworkloadsV1Workload[src]

impl Serialize for GoogleCloudAssuredworkloadsV1Workload[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.