Class ProjectsResource.ProfilesResource.CreateOfflineRequest
CreateOfflineProfile creates a new profile resource in the offline mode. The client provides the profile to create along with the profile bytes, the server records it. Direct use of this API is discouraged, please use a supported profiler agent instead for profile collection.
Inheritance
ProjectsResource.ProfilesResource.CreateOfflineRequest
Inherited Members
Namespace: Google.Apis.CloudProfiler.v2
Assembly: Google.Apis.CloudProfiler.v2.dll
Syntax
public class ProjectsResource.ProfilesResource.CreateOfflineRequest : CloudProfilerBaseServiceRequest<Profile>, IClientServiceRequest<Profile>, IClientServiceRequest
Constructors
CreateOfflineRequest(IClientService, Profile, string)
Constructs a new CreateOffline request.
Declaration
public CreateOfflineRequest(IClientService service, Profile body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Profile | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudProfiler.v2.Data.Profile>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudProfiler.v2.Data.Profile>.MethodName
Parent
Parent project to create the profile in.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudProfiler.v2.Data.Profile>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudProfiler.v2.Data.Profile>.GetBody()
InitParameters()
Initializes CreateOffline parameter list.
Declaration
protected override void InitParameters()