Struct gapi_grpc::google::cloud::assuredworkloads::v1beta1::CreateWorkloadOperationMetadata[][src]

pub struct CreateWorkloadOperationMetadata {
    pub create_time: Option<Timestamp>,
    pub display_name: String,
    pub parent: String,
    pub compliance_regime: i32,
}

Operation metadata to give request details of CreateWorkload.

Fields

create_time: Option<Timestamp>

Optional. Time when the operation was created.

display_name: String

Optional. The display name of the workload.

parent: String

Optional. The parent of the workload.

compliance_regime: i32

Optional. Compliance controls that should be applied to the resources managed by the workload.

Implementations

impl CreateWorkloadOperationMetadata[src]

pub fn compliance_regime(&self) -> ComplianceRegime[src]

Returns the enum value of compliance_regime, or the default if the field is set to an invalid enum value.

pub fn set_compliance_regime(&mut self, value: ComplianceRegime)[src]

Sets compliance_regime to the provided enum value.

Trait Implementations

impl Clone for CreateWorkloadOperationMetadata[src]

impl Debug for CreateWorkloadOperationMetadata[src]

impl Default for CreateWorkloadOperationMetadata[src]

impl Message for CreateWorkloadOperationMetadata[src]

impl PartialEq<CreateWorkloadOperationMetadata> for CreateWorkloadOperationMetadata[src]

impl StructuralPartialEq for CreateWorkloadOperationMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateWorkloadOperationMetadata

impl Send for CreateWorkloadOperationMetadata

impl Sync for CreateWorkloadOperationMetadata

impl Unpin for CreateWorkloadOperationMetadata

impl UnwindSafe for CreateWorkloadOperationMetadata

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]