pub struct GetBucketArgs {
pub name: Output<String>,
pub project: Output<Option<String>>,
}
Fields§
§name: Output<String>
The name of the bucket.
project: Output<Option<String>>
The ID of the project in which the resource belongs. If it is not provided then the data source will use the Compute API to find the project id that corresponds to the project number returned from the Storage API, and if no Compute API permissions are available or if the Compute API is disabled it defaults to the provider value. Supplying a value for project
doesn’t influence retrieving data about the bucket but it can be used to prevent use of the Compute API. If you do provide a project
value ensure that it is the correct value for that bucket; the data source will not check that the project id and project number match.
Implementations§
source§impl GetBucketArgs
impl GetBucketArgs
sourcepub fn builder() -> GetBucketArgsBuilder
pub fn builder() -> GetBucketArgsBuilder
Create an instance of GetBucketArgs
using the builder syntax
Trait Implementations§
source§impl Clone for GetBucketArgs
impl Clone for GetBucketArgs
source§fn clone(&self) -> GetBucketArgs
fn clone(&self) -> GetBucketArgs
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 GetBucketArgs
impl RefUnwindSafe for GetBucketArgs
impl Send for GetBucketArgs
impl Sync for GetBucketArgs
impl Unpin for GetBucketArgs
impl UnwindSafe for GetBucketArgs
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
)