pub struct ServiceClass {
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub etag: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub service_class: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
The ServiceClass resource. Next id: 9
§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 service classes get projects (response)
- locations service classes patch projects (request)
Fields§
§create_time: Option<DateTime<Utc>>Output only. Time when the ServiceClass was created.
description: Option<String>A description of this resource.
etag: Option<String>Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
labels: Option<HashMap<String, String>>User-defined labels.
name: Option<String>Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names
service_class: Option<String>Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.
update_time: Option<DateTime<Utc>>Output only. Time when the ServiceClass was updated.
Trait Implementations§
Source§impl Clone for ServiceClass
impl Clone for ServiceClass
Source§fn clone(&self) -> ServiceClass
fn clone(&self) -> ServiceClass
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ServiceClass
impl Debug for ServiceClass
Source§impl Default for ServiceClass
impl Default for ServiceClass
Source§fn default() -> ServiceClass
fn default() -> ServiceClass
Source§impl<'de> Deserialize<'de> for ServiceClass
impl<'de> Deserialize<'de> for ServiceClass
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>,
Source§impl Serialize for ServiceClass
impl Serialize for ServiceClass
impl RequestValue for ServiceClass
impl ResponseResult for ServiceClass
Auto Trait Implementations§
impl Freeze for ServiceClass
impl RefUnwindSafe for ServiceClass
impl Send for ServiceClass
impl Sync for ServiceClass
impl Unpin for ServiceClass
impl UnwindSafe for ServiceClass
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