Reference documentation and code samples for the Cloud Profiler V2 API class Google::Cloud::Profiler::V2::CreateProfileRequest.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#deployment
def deployment() -> ::Google::Cloud::Profiler::V2::Deployment
Returns
- (::Google::Cloud::Profiler::V2::Deployment) — Deployment details.
#deployment=
def deployment=(value) -> ::Google::Cloud::Profiler::V2::Deployment
Parameter
- value (::Google::Cloud::Profiler::V2::Deployment) — Deployment details.
Returns
- (::Google::Cloud::Profiler::V2::Deployment) — Deployment details.
#parent
def parent() -> ::String
Returns
- (::String) — Parent project to create the profile in.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Parent project to create the profile in.
Returns
- (::String) — Parent project to create the profile in.
#profile_type
def profile_type() -> ::Array<::Google::Cloud::Profiler::V2::ProfileType>
Returns
- (::Array<::Google::Cloud::Profiler::V2::ProfileType>) — One or more profile types that the agent is capable of providing.
#profile_type=
def profile_type=(value) -> ::Array<::Google::Cloud::Profiler::V2::ProfileType>
Parameter
- value (::Array<::Google::Cloud::Profiler::V2::ProfileType>) — One or more profile types that the agent is capable of providing.
Returns
- (::Array<::Google::Cloud::Profiler::V2::ProfileType>) — One or more profile types that the agent is capable of providing.