[−][src]Struct google_logging2::LogBucket
Describes a repository of logs (Beta).
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations buckets get folders (response)
- buckets patch locations (request|response)
- buckets get locations (response)
- locations buckets patch billing accounts (request|response)
- locations buckets patch folders (request|response)
- locations buckets patch organizations (request|response)
- locations buckets get projects (response)
- locations buckets get organizations (response)
- locations buckets patch projects (request|response)
- buckets get billing accounts (response)
Fields
update_time: Option<String>
Output only. The last update timestamp of the bucket.
name: Option<String>
The resource name of the bucket. For example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id The supported locations are: "global" "us-central1"For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
description: Option<String>
Describes this bucket.
create_time: Option<String>
Output only. The creation timestamp of the bucket. This is not set for any of the default buckets.
retention_days: Option<i32>
Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
lifecycle_state: Option<String>
Output only. The bucket lifecycle state.
Trait Implementations
impl Clone for LogBucket
[src]
impl Debug for LogBucket
[src]
impl Default for LogBucket
[src]
impl<'de> Deserialize<'de> for LogBucket
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for LogBucket
[src]
impl ResponseResult for LogBucket
[src]
impl Serialize for LogBucket
[src]
Auto Trait Implementations
impl RefUnwindSafe for LogBucket
impl Send for LogBucket
impl Sync for LogBucket
impl Unpin for LogBucket
impl UnwindSafe for LogBucket
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,