pub struct Instance {Show 16 fields
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub etag: Option<String>,
pub file_shares: Option<Vec<FileShareConfig>>,
pub kms_key_name: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub networks: Option<Vec<NetworkConfig>>,
pub replication: Option<Replication>,
pub satisfies_pzi: Option<bool>,
pub satisfies_pzs: Option<bool>,
pub state: Option<String>,
pub status_message: Option<String>,
pub suspension_reasons: Option<Vec<String>>,
pub tags: Option<HashMap<String, String>>,
pub tier: Option<String>,
}
Expand description
A Filestore instance.
§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 instances create projects (request)
- locations instances get projects (response)
- locations instances patch projects (request)
Fields§
§create_time: Option<DateTime<Utc>>
Output only. The time when the instance was created.
description: Option<String>
The description of the instance (2048 characters or less).
etag: Option<String>
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
File system shares on the instance. For this version, only a single file share is supported.
kms_key_name: Option<String>
KMS key name used for data encryption.
labels: Option<HashMap<String, String>>
Resource labels to represent user provided metadata.
name: Option<String>
Output only. The resource name of the instance, in the format projects/{project}/locations/{location}/instances/{instance}
.
networks: Option<Vec<NetworkConfig>>
VPC networks to which the instance is connected. For this version, only a single network is supported.
replication: Option<Replication>
Optional. Replicaition configuration.
satisfies_pzi: Option<bool>
Output only. Reserved for future use.
satisfies_pzs: Option<bool>
Output only. Reserved for future use.
state: Option<String>
Output only. The instance state.
status_message: Option<String>
Output only. Additional information about the instance state, if available.
suspension_reasons: Option<Vec<String>>
Output only. Field indicates all the reasons the instance is in “SUSPENDED” state.
Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: “123/environment”: “production”, “123/costCenter”: “marketing”
tier: Option<String>
The service tier of the instance.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Instance
impl<'de> Deserialize<'de> for Instance
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>,
impl RequestValue for Instance
impl ResponseResult for Instance
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more