Struct google_api_proto::google::cloud::gkehub::v1::Membership
source · pub struct Membership {Show 13 fields
pub name: String,
pub labels: BTreeMap<String, String>,
pub description: String,
pub state: Option<MembershipState>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub delete_time: Option<Timestamp>,
pub external_id: String,
pub last_connection_time: Option<Timestamp>,
pub unique_id: String,
pub authority: Option<Authority>,
pub monitoring_config: Option<MonitoringConfig>,
pub type: Option<Type>,
}
Expand description
Membership contains information about a member cluster.
Fields§
§name: String
Output only. The full, unique name of this Membership resource in the
format projects/*/locations/*/memberships/{membership_id}
, set during
creation.
membership_id
must be a valid RFC 1123 compliant DNS label:
- At most 63 characters in length
- It must consist of lower case alphanumeric characters or
-
- It must start and end with an alphanumeric character
Which can be expressed as the regex: [a-z0-9](\[-a-z0-9\]*[a-z0-9])?
,
with a maximum length of 63 characters.
labels: BTreeMap<String, String>
Optional. Labels for this membership.
description: String
Output only. Description of this membership, limited to 63 characters.
Must match the regex: [a-zA-Z0-9][a-zA-Z0-9_\-\.\ ]*
This field is present for legacy purposes.
state: Option<MembershipState>
Output only. State of the Membership resource.
create_time: Option<Timestamp>
Output only. When the Membership was created.
update_time: Option<Timestamp>
Output only. When the Membership was last updated.
delete_time: Option<Timestamp>
Output only. When the Membership was deleted.
external_id: String
Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended.
The ID must match the regex: [a-zA-Z0-9][a-zA-Z0-9_\-\.]*
If this Membership represents a Kubernetes cluster, this value should be
set to the UID of the kube-system
namespace object.
last_connection_time: Option<Timestamp>
Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.
unique_id: String
Output only. Google-generated UUID for this resource. This is unique across all Membership resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.
Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
monitoring_config: Option<MonitoringConfig>
Optional. The monitoring config information for this membership.
type: Option<Type>
Type of resource represented by this Membership
Trait Implementations§
source§impl Clone for Membership
impl Clone for Membership
source§fn clone(&self) -> Membership
fn clone(&self) -> Membership
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Membership
impl Debug for Membership
source§impl Default for Membership
impl Default for Membership
source§impl Message for Membership
impl Message for Membership
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Membership
impl PartialEq for Membership
source§fn eq(&self, other: &Membership) -> bool
fn eq(&self, other: &Membership) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Membership
Auto Trait Implementations§
impl !Freeze for Membership
impl RefUnwindSafe for Membership
impl Send for Membership
impl Sync for Membership
impl Unpin for Membership
impl UnwindSafe for Membership
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request