Struct google_api_proto::google::cloud::apphub::v1::ServiceProjectAttachment
source · pub struct ServiceProjectAttachment {
pub name: String,
pub service_project: String,
pub create_time: Option<Timestamp>,
pub uid: String,
pub state: i32,
}
Expand description
ServiceProjectAttachment represents an attachment from a service project to a host project. Service projects contain the underlying cloud infrastructure resources, and expose these resources to the host project through a ServiceProjectAttachment. With the attachments, the host project can provide an aggregated view of resources across all service projects.
Fields§
§name: String
Identifier. The resource name of a ServiceProjectAttachment. Format: “projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.”
service_project: String
Required. Immutable. Service project name in the format: “projects/abc” or “projects/123”. As input, project name with either project id or number are accepted. As output, this field will contain project number.
create_time: Option<Timestamp>
Output only. Create time.
uid: String
Output only. A globally unique identifier (in UUID4 format) for the
ServiceProjectAttachment
.
state: i32
Output only. ServiceProjectAttachment state.
Implementations§
Trait Implementations§
source§impl Clone for ServiceProjectAttachment
impl Clone for ServiceProjectAttachment
source§fn clone(&self) -> ServiceProjectAttachment
fn clone(&self) -> ServiceProjectAttachment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceProjectAttachment
impl Debug for ServiceProjectAttachment
source§impl Default for ServiceProjectAttachment
impl Default for ServiceProjectAttachment
source§impl Message for ServiceProjectAttachment
impl Message for ServiceProjectAttachment
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 ServiceProjectAttachment
impl PartialEq for ServiceProjectAttachment
source§fn eq(&self, other: &ServiceProjectAttachment) -> bool
fn eq(&self, other: &ServiceProjectAttachment) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServiceProjectAttachment
Auto Trait Implementations§
impl Freeze for ServiceProjectAttachment
impl RefUnwindSafe for ServiceProjectAttachment
impl Send for ServiceProjectAttachment
impl Sync for ServiceProjectAttachment
impl Unpin for ServiceProjectAttachment
impl UnwindSafe for ServiceProjectAttachment
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