Struct google_bigtableadmin2::api::Instance [−][src]
pub struct Instance {
pub display_name: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub state: Option<String>,
pub type_: Option<String>,
}
Expand description
A collection of Bigtable Tables and the resources that serve them. All tables in an instance are served from all Clusters in the 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).
- instances get projects (response)
- instances partial update instance projects (request)
- instances update projects (request|response)
Fields
display_name: Option<String>
Required. The descriptive name for this instance as it appears in UIs. Can be changed at any time, but should be kept globally unique to avoid confusion.
labels: Option<HashMap<String, String>>
Required. Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer’s organizational needs and deployment strategies. They can be used to filter resources and aggregate metrics. * Label keys must be between 1 and 63 characters long and must conform to the regular expression: \p{Ll}\p{Lo}{0,62}
. * Label values must be between 0 and 63 characters long and must conform to the regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
. * No more than 64 labels can be associated with a given resource. * Keys and values must both be under 128 bytes.
name: Option<String>
The unique name of the instance. Values are of the form projects/{project}/instances/a-z+[a-z0-9]
.
state: Option<String>
Output only. The current state of the instance.
type_: Option<String>
Required. The type of the instance. Defaults to PRODUCTION
.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Instance
impl UnwindSafe for Instance
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more