Struct gapi_grpc::google::cloud::osconfig::v1alpha::OsPolicyAssignmentOperationMetadata[][src]

pub struct OsPolicyAssignmentOperationMetadata {
    pub os_policy_assignment: String,
    pub api_method: i32,
    pub rollout_state: i32,
    pub rollout_start_time: Option<Timestamp>,
    pub rollout_update_time: Option<Timestamp>,
}

OS policy assignment operation metadata provided by OS policy assignment API methods that return long running operations.

Fields

os_policy_assignment: String

Reference to the OSPolicyAssignment API resource.

Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}

api_method: i32

The OS policy assignment API method.

rollout_state: i32

State of the rollout

rollout_start_time: Option<Timestamp>

Rollout start time

rollout_update_time: Option<Timestamp>

Rollout update time

Implementations

impl OsPolicyAssignmentOperationMetadata[src]

pub fn api_method(&self) -> ApiMethod[src]

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

pub fn set_api_method(&mut self, value: ApiMethod)[src]

Sets api_method to the provided enum value.

pub fn rollout_state(&self) -> RolloutState[src]

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

pub fn set_rollout_state(&mut self, value: RolloutState)[src]

Sets rollout_state to the provided enum value.

Trait Implementations

impl Clone for OsPolicyAssignmentOperationMetadata[src]

impl Debug for OsPolicyAssignmentOperationMetadata[src]

impl Default for OsPolicyAssignmentOperationMetadata[src]

impl Message for OsPolicyAssignmentOperationMetadata[src]

impl PartialEq<OsPolicyAssignmentOperationMetadata> for OsPolicyAssignmentOperationMetadata[src]

impl StructuralPartialEq for OsPolicyAssignmentOperationMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for OsPolicyAssignmentOperationMetadata

impl Send for OsPolicyAssignmentOperationMetadata

impl Sync for OsPolicyAssignmentOperationMetadata

impl Unpin for OsPolicyAssignmentOperationMetadata

impl UnwindSafe for OsPolicyAssignmentOperationMetadata

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]