Cloud Profiler V2 API - Class Google::Cloud::Profiler::V2::Profile (v1.0.0)

Reference documentation and code samples for the Cloud Profiler V2 API class Google::Cloud::Profiler::V2::Profile.

Profile resource.

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

#duration

def duration() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).

#duration=

def duration=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
Returns
  • (::Google::Protobuf::Duration) — Duration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Input only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.

#name

def name() -> ::String
Returns
  • (::String) — Output only. Opaque, server-assigned, unique ID for this profile.

#profile_bytes

def profile_bytes() -> ::String
Returns
  • (::String) — Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.

#profile_bytes=

def profile_bytes=(value) -> ::String
Parameter
  • value (::String) — Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
Returns
  • (::String) — Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.

#profile_type

def profile_type() -> ::Google::Cloud::Profiler::V2::ProfileType
Returns

#profile_type=

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

#start_time

def start_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. Start time for the profile. This output is only present in response from the ListProfiles method.