Class ProjectsResource.TemplatesResource.GetRequest
Get the template associated with a template. To get the template, we recommend using
projects.locations.templates.get
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using projects.templates.get
is
not recommended, because only templates that are running in us-central1
are retrieved.
Inheritance
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.TemplatesResource.GetRequest : DataflowBaseServiceRequest<GetTemplateResponse>, IClientServiceRequest<GetTemplateResponse>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string projectId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | projectId |
Properties
GcsPath
Required. A Cloud Storage path to the template from which 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
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
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
View
The view to retrieve. Defaults to METADATA_ONLY.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual ProjectsResource.TemplatesResource.GetRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.TemplatesResource.GetRequest.ViewEnum? |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()