Class ProjectsResource.LocationsResource.JobTemplatesResource.CreateRequest
Creates a job template in the specified region.
Inheritance
ProjectsResource.LocationsResource.JobTemplatesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Transcoder.v1
Assembly: Google.Apis.Transcoder.v1.dll
Syntax
public class ProjectsResource.LocationsResource.JobTemplatesResource.CreateRequest : TranscoderBaseServiceRequest<JobTemplate>, IClientServiceRequest<JobTemplate>, IClientServiceRequest
Constructors
CreateRequest(IClientService, JobTemplate, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, JobTemplate body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
JobTemplate | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
JobTemplateId
Required. The ID to use for the job template, which will become the final component of the job
template's resource name. This value should be 4-63 characters, and valid characters must match
the regular expression a-zA-Z*
.
Declaration
[RequestParameter("jobTemplateId", RequestParameterType.Query)]
public virtual string JobTemplateId { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The parent location to create this job template. Format:
projects/{project}/locations/{location}
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()