Struct google_cloudprofiler2::api::CreateProfileRequest
source · pub struct CreateProfileRequest {
pub deployment: Option<Deployment>,
pub profile_type: Option<Vec<String>>,
}Expand description
CreateProfileRequest describes a profile resource online creation request. The deployment field must be populated. The profile_type specifies the list of profile types supported by the agent. The creation call will hang until a profile of one of these types needs to be collected.
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).
- profiles create projects (request)
Fields§
§deployment: Option<Deployment>Required. Deployment details.
profile_type: Option<Vec<String>>Required. One or more profile types that the agent is capable of providing.
Trait Implementations§
source§impl Clone for CreateProfileRequest
impl Clone for CreateProfileRequest
source§fn clone(&self) -> CreateProfileRequest
fn clone(&self) -> CreateProfileRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CreateProfileRequest
impl Debug for CreateProfileRequest
source§impl Default for CreateProfileRequest
impl Default for CreateProfileRequest
source§fn default() -> CreateProfileRequest
fn default() -> CreateProfileRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateProfileRequest
impl<'de> Deserialize<'de> for CreateProfileRequest
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>,
Deserialize this value from the given Serde deserializer. Read more