Show / Hide Table of Contents

Class ProjectsResource.HistoriesResource.CreateRequest

Creates a History. The returned History will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT

  • if the request is malformed - NOT_FOUND - if the containing project does not exist
Inheritance
object
ClientServiceRequest
ClientServiceRequest<History>
ToolResultsBaseServiceRequest<History>
ProjectsResource.HistoriesResource.CreateRequest
Implements
IClientServiceRequest<History>
IClientServiceRequest
Inherited Members
ToolResultsBaseServiceRequest<History>.Xgafv
ToolResultsBaseServiceRequest<History>.AccessToken
ToolResultsBaseServiceRequest<History>.Alt
ToolResultsBaseServiceRequest<History>.Callback
ToolResultsBaseServiceRequest<History>.Fields
ToolResultsBaseServiceRequest<History>.Key
ToolResultsBaseServiceRequest<History>.OauthToken
ToolResultsBaseServiceRequest<History>.PrettyPrint
ToolResultsBaseServiceRequest<History>.QuotaUser
ToolResultsBaseServiceRequest<History>.UploadType
ToolResultsBaseServiceRequest<History>.UploadProtocol
ClientServiceRequest<History>.Execute()
ClientServiceRequest<History>.ExecuteAsStream()
ClientServiceRequest<History>.ExecuteAsync()
ClientServiceRequest<History>.ExecuteAsync(CancellationToken)
ClientServiceRequest<History>.ExecuteAsStreamAsync()
ClientServiceRequest<History>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<History>.CreateRequest(bool?)
ClientServiceRequest<History>.GenerateRequestUri()
ClientServiceRequest<History>.GetDefaultETagAction(string)
ClientServiceRequest<History>.ETagAction
ClientServiceRequest<History>.ModifyRequest
ClientServiceRequest<History>.ValidateParameters
ClientServiceRequest<History>.ApiVersion
ClientServiceRequest<History>.RequestParameters
ClientServiceRequest<History>.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.ToolResults.v1beta3
Assembly: Google.Apis.ToolResults.v1beta3.dll
Syntax
public class ProjectsResource.HistoriesResource.CreateRequest : ToolResultsBaseServiceRequest<History>, IClientServiceRequest<History>, IClientServiceRequest

Constructors

CreateRequest(IClientService, History, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, History body, string projectId)
Parameters
Type Name Description
IClientService service
History body
string projectId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<History>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<History>.MethodName

ProjectId

A Project id. Required.

Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type Description
string

RequestId

A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.

Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<History>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<History>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
ToolResultsBaseServiceRequest<History>.InitParameters()

Implements

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