pub struct GcpCloudStorageHeartbeatData {Show 19 fields
pub bucket_id: Option<String>,
pub default_kms_key_name: Option<String>,
pub encryption_config_present: bool,
pub lifecycle_present: bool,
pub lifecycle_rule_count: Option<i64>,
pub location: Option<String>,
pub location_type: Option<String>,
pub name: String,
pub public_access_prevention: Option<String>,
pub retention_period: Option<String>,
pub retention_policy_effective_time: Option<String>,
pub retention_policy_is_locked: Option<bool>,
pub soft_delete_effective_time: Option<String>,
pub soft_delete_retention_duration_seconds: Option<String>,
pub status: StorageHeartbeatStatus,
pub storage_class: Option<String>,
pub uniform_bucket_level_access_enabled: Option<bool>,
pub uniform_bucket_level_access_locked_time: Option<String>,
pub versioning_enabled: Option<bool>,
}Expand description
GcpCloudStorageHeartbeatData
JSON schema
{
"type": "object",
"required": [
"encryptionConfigPresent",
"lifecyclePresent",
"name",
"status"
],
"properties": {
"bucketId": {
"type": [
"string",
"null"
]
},
"defaultKmsKeyName": {
"type": [
"string",
"null"
]
},
"encryptionConfigPresent": {
"type": "boolean"
},
"lifecyclePresent": {
"type": "boolean"
},
"lifecycleRuleCount": {
"type": [
"integer",
"null"
],
"format": "int64",
"minimum": 0.0
},
"location": {
"type": [
"string",
"null"
]
},
"locationType": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"publicAccessPrevention": {
"type": [
"string",
"null"
]
},
"retentionPeriod": {
"type": [
"string",
"null"
]
},
"retentionPolicyEffectiveTime": {
"type": [
"string",
"null"
]
},
"retentionPolicyIsLocked": {
"type": [
"boolean",
"null"
]
},
"softDeleteEffectiveTime": {
"type": [
"string",
"null"
]
},
"softDeleteRetentionDurationSeconds": {
"type": [
"string",
"null"
]
},
"status": {
"$ref": "#/components/schemas/StorageHeartbeatStatus"
},
"storageClass": {
"type": [
"string",
"null"
]
},
"uniformBucketLevelAccessEnabled": {
"type": [
"boolean",
"null"
]
},
"uniformBucketLevelAccessLockedTime": {
"type": [
"string",
"null"
]
},
"versioningEnabled": {
"type": [
"boolean",
"null"
]
}
}
}Fields§
§bucket_id: Option<String>§default_kms_key_name: Option<String>§encryption_config_present: bool§lifecycle_present: bool§lifecycle_rule_count: Option<i64>§location: Option<String>§location_type: Option<String>§name: String§public_access_prevention: Option<String>§retention_period: Option<String>§retention_policy_effective_time: Option<String>§retention_policy_is_locked: Option<bool>§soft_delete_effective_time: Option<String>§soft_delete_retention_duration_seconds: Option<String>§status: StorageHeartbeatStatus§storage_class: Option<String>§uniform_bucket_level_access_enabled: Option<bool>§uniform_bucket_level_access_locked_time: Option<String>§versioning_enabled: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for GcpCloudStorageHeartbeatData
impl Clone for GcpCloudStorageHeartbeatData
Source§fn clone(&self) -> GcpCloudStorageHeartbeatData
fn clone(&self) -> GcpCloudStorageHeartbeatData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GcpCloudStorageHeartbeatData
impl Debug for GcpCloudStorageHeartbeatData
Source§impl<'de> Deserialize<'de> for GcpCloudStorageHeartbeatData
impl<'de> Deserialize<'de> for GcpCloudStorageHeartbeatData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&GcpCloudStorageHeartbeatData> for GcpCloudStorageHeartbeatData
impl From<&GcpCloudStorageHeartbeatData> for GcpCloudStorageHeartbeatData
Source§fn from(value: &GcpCloudStorageHeartbeatData) -> Self
fn from(value: &GcpCloudStorageHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<GcpCloudStorageHeartbeatData> for GcpCloudStorageHeartbeatData
impl From<GcpCloudStorageHeartbeatData> for GcpCloudStorageHeartbeatData
Source§fn from(value: GcpCloudStorageHeartbeatData) -> Self
fn from(value: GcpCloudStorageHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<GcpCloudStorageHeartbeatData> for GcpCloudStorageHeartbeatData
impl TryFrom<GcpCloudStorageHeartbeatData> for GcpCloudStorageHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: GcpCloudStorageHeartbeatData,
) -> Result<Self, ConversionError>
fn try_from( value: GcpCloudStorageHeartbeatData, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GcpCloudStorageHeartbeatData
impl RefUnwindSafe for GcpCloudStorageHeartbeatData
impl Send for GcpCloudStorageHeartbeatData
impl Sync for GcpCloudStorageHeartbeatData
impl Unpin for GcpCloudStorageHeartbeatData
impl UnsafeUnpin for GcpCloudStorageHeartbeatData
impl UnwindSafe for GcpCloudStorageHeartbeatData
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