Show / Hide Table of Contents

Class ProjectsResource.TemplatesResource.LaunchRequest

Launches a template. To launch a template, we recommend using projects.locations.templates.launch with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using projects.templates.launch is not recommended, because jobs launched from the template will always start in us-central1.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<LaunchTemplateResponse>
DataflowBaseServiceRequest<LaunchTemplateResponse>
ProjectsResource.TemplatesResource.LaunchRequest
Implements
IClientServiceRequest<LaunchTemplateResponse>
IClientServiceRequest
Inherited Members
DataflowBaseServiceRequest<LaunchTemplateResponse>.Xgafv
DataflowBaseServiceRequest<LaunchTemplateResponse>.AccessToken
DataflowBaseServiceRequest<LaunchTemplateResponse>.Alt
DataflowBaseServiceRequest<LaunchTemplateResponse>.Callback
DataflowBaseServiceRequest<LaunchTemplateResponse>.Fields
DataflowBaseServiceRequest<LaunchTemplateResponse>.Key
DataflowBaseServiceRequest<LaunchTemplateResponse>.OauthToken
DataflowBaseServiceRequest<LaunchTemplateResponse>.PrettyPrint
DataflowBaseServiceRequest<LaunchTemplateResponse>.QuotaUser
DataflowBaseServiceRequest<LaunchTemplateResponse>.UploadType
DataflowBaseServiceRequest<LaunchTemplateResponse>.UploadProtocol
ClientServiceRequest<LaunchTemplateResponse>.Execute()
ClientServiceRequest<LaunchTemplateResponse>.ExecuteAsStream()
ClientServiceRequest<LaunchTemplateResponse>.ExecuteAsync()
ClientServiceRequest<LaunchTemplateResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<LaunchTemplateResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<LaunchTemplateResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<LaunchTemplateResponse>.CreateRequest(bool?)
ClientServiceRequest<LaunchTemplateResponse>.GenerateRequestUri()
ClientServiceRequest<LaunchTemplateResponse>.GetDefaultETagAction(string)
ClientServiceRequest<LaunchTemplateResponse>.ETagAction
ClientServiceRequest<LaunchTemplateResponse>.ModifyRequest
ClientServiceRequest<LaunchTemplateResponse>.ValidateParameters
ClientServiceRequest<LaunchTemplateResponse>.ApiVersion
ClientServiceRequest<LaunchTemplateResponse>.RequestParameters
ClientServiceRequest<LaunchTemplateResponse>.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.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.TemplatesResource.LaunchRequest : DataflowBaseServiceRequest<LaunchTemplateResponse>, IClientServiceRequest<LaunchTemplateResponse>, IClientServiceRequest

Constructors

LaunchRequest(IClientService, LaunchTemplateParameters, string)

Constructs a new Launch request.

Declaration
public LaunchRequest(IClientService service, LaunchTemplateParameters body, string projectId)
Parameters
Type Name Description
IClientService service
LaunchTemplateParameters body
string projectId

Properties

DynamicTemplateGcsPath

Path to the dynamic template specification file on Cloud Storage. The file must be a JSON serialized DynamicTemplateFileSpec object.

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

DynamicTemplateStagingLocation

Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with gs://.

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

GcsPath

A Cloud Storage path to the template to use to create the job. Must be valid Cloud Storage URL, beginning with gs://.

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

HttpMethod

Gets the HTTP method.

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

Location

The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.

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

MethodName

Gets the method name.

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

ProjectId

Required. The ID of the Cloud Platform project that the job belongs to.

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

RestPath

Gets the REST path.

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

ValidateOnly

If true, the request is validated but not actually executed. Defaults to false.

Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
Type Description
bool?

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Launch parameter list.

Declaration
protected override void InitParameters()
Overrides
DataflowBaseServiceRequest<LaunchTemplateResponse>.InitParameters()

Implements

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