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
ProjectsResource.HistoriesResource.CreateRequest
Inherited Members
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ToolResults.v1beta3.Data.History>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ToolResults.v1beta3.Data.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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ToolResults.v1beta3.Data.History>.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.ToolResults.v1beta3.Data.History>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()