Struct gapi_grpc::google::cloud::osconfig::v1alpha::os_policy::resource::exec_resource::Exec [−][src]
A file or script to execute.
Fields
args: Vec<String>
Optional arguments to pass to the source during execution.
interpreter: i32
Required. The script interpreter to use.
output_file_path: String
Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
source: Option<Source>
What to execute.
Implementations
impl Exec
[src][−]
pub fn interpreter(&self) -> Interpreter
[src][−]
Returns the enum value of interpreter
, or the default if the field is set to an invalid enum value.
pub fn set_interpreter(&mut self, value: Interpreter)
[src][−]
Sets interpreter
to the provided enum value.
Trait Implementations
impl Clone for Exec
[src][+]
impl Debug for Exec
[src][+]
impl Default for Exec
[src][+]
impl Message for Exec
[src][+]
impl PartialEq<Exec> for Exec
[src][+]
impl StructuralPartialEq for Exec
[src]
Auto Trait Implementations
impl RefUnwindSafe for Exec
impl Send for Exec
impl Sync for Exec
impl Unpin for Exec
impl UnwindSafe for Exec
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,