Struct gapi_grpc::google::api::servicemanagement::v1::Rollout[][src]

pub struct Rollout {
    pub rollout_id: String,
    pub create_time: Option<Timestamp>,
    pub created_by: String,
    pub status: i32,
    pub service_name: String,
    pub strategy: Option<Strategy>,
}

A rollout resource that defines how service configuration versions are pushed to control plane systems. Typically, you create a new version of the service config, and then create a Rollout to push the service config.

Fields

rollout_id: String

Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, ‘.’, ‘_’ and ‘-’ are allowed.

If not specified by client, the server will generate one. The generated id will have the form of , where “date” is the create date in ISO 8601 format. “revision number” is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is ‘2016-02-16r1’

create_time: Option<Timestamp>

Creation time of the rollout. Readonly.

created_by: String

The user who created the Rollout. Readonly.

status: i32

The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.

service_name: String

The name of the service associated with this Rollout.

strategy: Option<Strategy>

Strategy that defines which versions of service configurations should be pushed and how they should be used at runtime.

Implementations

impl Rollout[src]

pub fn status(&self) -> RolloutStatus[src]

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

pub fn set_status(&mut self, value: RolloutStatus)[src]

Sets status to the provided enum value.

Trait Implementations

impl Clone for Rollout[src]

impl Debug for Rollout[src]

impl Default for Rollout[src]

impl Message for Rollout[src]

impl PartialEq<Rollout> for Rollout[src]

impl StructuralPartialEq for Rollout[src]

Auto Trait Implementations

impl RefUnwindSafe for Rollout

impl Send for Rollout

impl Sync for Rollout

impl Unpin for Rollout

impl UnwindSafe for Rollout

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]