class Google::Apis::CloudprofilerV2::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.
Attributes
deployment[RW]
Deployment
contains the deployment identification information. Corresponds to the JSON property `deployment` @return [Google::Apis::CloudprofilerV2::Deployment]
profile_type[RW]
Required. One or more profile types that the agent is capable of providing. Corresponds to the JSON property `profileType` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudprofiler_v2/classes.rb, line 42 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudprofiler_v2/classes.rb, line 47 def update!(**args) @deployment = args[:deployment] if args.key?(:deployment) @profile_type = args[:profile_type] if args.key?(:profile_type) end