Class: Google::Cloud::Profiler::V2::CreateProfileRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudprofiler/v2/profiler.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#deployment::Google::Cloud::Profiler::V2::Deployment

Returns Deployment details.

Returns:



37
38
39
40
# File 'proto_docs/google/devtools/cloudprofiler/v2/profiler.rb', line 37

class CreateProfileRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Parent project to create the profile in.

Returns:

  • (::String)

    Parent project to create the profile in.



37
38
39
40
# File 'proto_docs/google/devtools/cloudprofiler/v2/profiler.rb', line 37

class CreateProfileRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#profile_type::Array<::Google::Cloud::Profiler::V2::ProfileType>

Returns One or more profile types that the agent is capable of providing.

Returns:



37
38
39
40
# File 'proto_docs/google/devtools/cloudprofiler/v2/profiler.rb', line 37

class CreateProfileRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end