Show / Hide Table of Contents

Class ProjectsResource.ProfilesResource.CreateRequest

CreateProfile creates a new profile resource in the online mode. Direct use of this API is discouraged, please use a supported profiler agent instead for profile collection. The server ensures that the new profiles are created at a constant rate per deployment, so the creation request may hang for some time until the next profile session is available. The request may fail with ABORTED error if the creation is not available within ~1m, the response will indicate the duration of the backoff the client should take before attempting creating a profile again. The backoff duration is returned in google.rpc.RetryInfo extension on the response status. To a gRPC client, the extension will be return as a binary-serialized proto in the trailing metadata item named "google.rpc.retryinfo-bin".

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Profile>
CloudProfilerBaseServiceRequest<Profile>
ProjectsResource.ProfilesResource.CreateRequest
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.CreateRequest : CloudProfilerBaseServiceRequest<Profile>, IClientServiceRequest<Profile>, IClientServiceRequest

Constructors

CreateRequest(IClientService, CreateProfileRequest, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, CreateProfileRequest body, string parent)
Parameters
Type Name Description
IClientService service
CreateProfileRequest 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 Create parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudProfilerBaseServiceRequest<Profile>.InitParameters()

Implements

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