Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<Profile>
CloudProfilerBaseServiceRequest<Profile>
ProjectsResource.ProfilesResource.CreateOfflineRequest
Implements
IClientServiceRequest<Profile>
IClientServiceRequest
Inherited Members
CloudProfilerBaseServiceRequest<Profile>.Xgafv
CloudProfilerBaseServiceRequest<Profile>.AccessToken
CloudProfilerBaseServiceRequest<Profile>.Alt
CloudProfilerBaseServiceRequest<Profile>.Callback
CloudProfilerBaseServiceRequest<Profile>.Fields
CloudProfilerBaseServiceRequest<Profile>.Key
CloudProfilerBaseServiceRequest<Profile>.OauthToken
CloudProfilerBaseServiceRequest<Profile>.PrettyPrint
CloudProfilerBaseServiceRequest<Profile>.QuotaUser
CloudProfilerBaseServiceRequest<Profile>.UploadType
CloudProfilerBaseServiceRequest<Profile>.UploadProtocol
ClientServiceRequest<Profile>.Execute()
ClientServiceRequest<Profile>.ExecuteAsStream()
ClientServiceRequest<Profile>.ExecuteAsync()
ClientServiceRequest<Profile>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Profile>.ExecuteAsStreamAsync()
ClientServiceRequest<Profile>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Profile>.CreateRequest(bool?)
ClientServiceRequest<Profile>.GenerateRequestUri()
ClientServiceRequest<Profile>.GetDefaultETagAction(string)
ClientServiceRequest<Profile>.ETagAction
ClientServiceRequest<Profile>.ModifyRequest
ClientServiceRequest<Profile>.ValidateParameters
ClientServiceRequest<Profile>.ApiVersion
ClientServiceRequest<Profile>.RequestParameters
ClientServiceRequest<Profile>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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()
Overrides
CloudProfilerBaseServiceRequest<Profile>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX