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

pub struct UpdateBucketRequest {
    pub name: String,
    pub bucket: Option<LogBucket>,
    pub update_mask: Option<FieldMask>,
}

The parameters to UpdateBucket.

Fields

name: String

Required. The full resource name of the bucket to update.

"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"

Example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id". Also requires permission “resourcemanager.projects.updateLiens” to set the locked property

bucket: Option<LogBucket>

Required. The updated bucket.

update_mask: Option<FieldMask>

Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.

For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask

Example: updateMask=retention_days.

Trait Implementations

impl Clone for UpdateBucketRequest[src]

impl Debug for UpdateBucketRequest[src]

impl Default for UpdateBucketRequest[src]

impl Message for UpdateBucketRequest[src]

impl PartialEq<UpdateBucketRequest> for UpdateBucketRequest[src]

impl StructuralPartialEq for UpdateBucketRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UpdateBucketRequest

impl Send for UpdateBucketRequest

impl Sync for UpdateBucketRequest

impl Unpin for UpdateBucketRequest

impl UnwindSafe for UpdateBucketRequest

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]