[][src]Struct google_compute1::InstanceGroupManagerVersion

pub struct InstanceGroupManagerVersion {
    pub target_size: Option<FixedOrPercent>,
    pub instance_template: Option<String>,
    pub name: Option<String>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

target_size: Option<FixedOrPercent>

Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to:

  • If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used.
  • if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded up. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
instance_template: Option<String>

The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the targetSize for this version is reached.

name: Option<String>

Name of the version. Unique among all versions in the scope of this managed instance group.

Trait Implementations

impl Part for InstanceGroupManagerVersion[src]

impl Default for InstanceGroupManagerVersion[src]

impl Clone for InstanceGroupManagerVersion[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for InstanceGroupManagerVersion[src]

impl Serialize for InstanceGroupManagerVersion[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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