[][src]Struct gcp_client::google::cloud::osconfig::v1beta::software_recipe::step::CopyFile

pub struct CopyFile {
    pub artifact_id: String,
    pub destination: String,
    pub overwrite: bool,
    pub permissions: String,
}

Copies the artifact to the specified path on the instance.

Fields

artifact_id: String

Required. The id of the relevant artifact in the recipe.

destination: String

Required. The absolute path on the instance to put the file.

overwrite: bool

Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.

permissions: String

Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755.

Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4

Trait Implementations

impl Clone for CopyFile[src]

impl Debug for CopyFile[src]

impl Default for CopyFile[src]

impl Message for CopyFile[src]

impl PartialEq<CopyFile> for CopyFile[src]

impl StructuralPartialEq for CopyFile[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> 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> 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>, 

impl<T> WithSubscriber for T[src]