Struct google_cloudprofiler2::api::CreateProfileRequest [−][src]
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>Deployment details.
profile_type: Option<Vec<String>>One or more profile types that the agent is capable of providing.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for CreateProfileRequest
impl Send for CreateProfileRequest
impl Sync for CreateProfileRequest
impl Unpin for CreateProfileRequest
impl UnwindSafe for CreateProfileRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more