pub struct ObjectACLArgs {
pub bucket: Output<String>,
pub object: Output<String>,
pub predefined_acl: Output<Option<String>>,
pub role_entities: Output<Option<Vec<String>>>,
}
Fields§
§bucket: Output<String>
The name of the bucket the object is stored in.
object: Output<String>
The name of the object to apply the acl to.
predefined_acl: Output<Option<String>>
The “canned” predefined ACL to apply. Must be set if role_entity
is not.
role_entities: Output<Option<Vec<String>>>
List of role/entity pairs in the form ROLE:entity
. See GCS Object ACL documentation for more details.
Must be set if predefined_acl
is not.
Implementations§
source§impl ObjectACLArgs
impl ObjectACLArgs
sourcepub fn builder() -> ObjectACLArgsBuilder
pub fn builder() -> ObjectACLArgsBuilder
Create an instance of ObjectACLArgs
using the builder syntax
Trait Implementations§
source§impl Clone for ObjectACLArgs
impl Clone for ObjectACLArgs
source§fn clone(&self) -> ObjectACLArgs
fn clone(&self) -> ObjectACLArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ObjectACLArgs
impl RefUnwindSafe for ObjectACLArgs
impl Send for ObjectACLArgs
impl Sync for ObjectACLArgs
impl Unpin for ObjectACLArgs
impl UnwindSafe for ObjectACLArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)