Cloud Profiler V2 API - Class Google::Cloud::Profiler::V2::CreateProfileRequest (v0.3.0)

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

#deployment=

def deployment=(value) -> ::Google::Cloud::Profiler::V2::Deployment
Parameter
Returns

#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

#profile_type=

def profile_type=(value) -> ::Array<::Google::Cloud::Profiler::V2::ProfileType>
Parameter
Returns