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.
§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 more