Struct gapi_grpc::google::logging::v2::CreateBucketRequest[][src]

pub struct CreateBucketRequest {
    pub parent: String,
    pub bucket_id: String,
    pub bucket: Option<LogBucket>,
}

The parameters to CreateBucket.

Fields

parent: String

Required. The resource in which to create the bucket:

"projects/[PROJECT_ID]/locations/[LOCATION_ID]"

Example: "projects/my-logging-project/locations/global"

bucket_id: String

Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

bucket: Option<LogBucket>

Required. The new bucket. The region specified in the new bucket must be compliant with any Location Restriction Org Policy. The name field in the bucket is ignored.

Trait Implementations

impl Clone for CreateBucketRequest[src]

impl Debug for CreateBucketRequest[src]

impl Default for CreateBucketRequest[src]

impl Message for CreateBucketRequest[src]

impl PartialEq<CreateBucketRequest> for CreateBucketRequest[src]

impl StructuralPartialEq for CreateBucketRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateBucketRequest

impl Send for CreateBucketRequest

impl Sync for CreateBucketRequest

impl Unpin for CreateBucketRequest

impl UnwindSafe for CreateBucketRequest

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]