public class Dataproc.Projects.Regions.WorkflowTemplates extends Object
Constructor and Description |
---|
WorkflowTemplates() |
Modifier and Type | Method and Description |
---|---|
Dataproc.Projects.Regions.WorkflowTemplates.Create |
create(String parent,
WorkflowTemplate content)
Creates new workflow template.
|
Dataproc.Projects.Regions.WorkflowTemplates.Delete |
delete(String name)
Deletes a workflow template.
|
Dataproc.Projects.Regions.WorkflowTemplates.Get |
get(String name)
Retrieves the latest workflow template.Can retrieve previously instantiated template by
specifying optional version parameter.
|
Dataproc.Projects.Regions.WorkflowTemplates.GetIamPolicy |
getIamPolicy(String resource)
Gets the access control policy for a resource.
|
Dataproc.Projects.Regions.WorkflowTemplates.Instantiate |
instantiate(String name,
InstantiateWorkflowTemplateRequest content)
Instantiates a template and begins execution.The returned Operation can be used to track
execution of workflow by polling operations.get.
|
Dataproc.Projects.Regions.WorkflowTemplates.InstantiateInline |
instantiateInline(String parent,
WorkflowTemplate content)
Instantiates a template and begins execution.This method is equivalent to executing the sequence
CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned
Operation can be used to track execution of workflow by polling operations.get.
|
Dataproc.Projects.Regions.WorkflowTemplates.List |
list(String parent)
Lists workflows that match the specified filter in the request.
|
Dataproc.Projects.Regions.WorkflowTemplates.SetIamPolicy |
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
|
Dataproc.Projects.Regions.WorkflowTemplates.TestIamPermissions |
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
Dataproc.Projects.Regions.WorkflowTemplates.Update |
update(String name,
WorkflowTemplate content)
Updates (replaces) workflow template.
|
public Dataproc.Projects.Regions.WorkflowTemplates.Create create(String parent, WorkflowTemplate content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The resource name of the region or location, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.workflowTemplates,create, the resource name of the region has the
following format: projects/{project_id}/regions/{region} For
projects.locations.workflowTemplates.create, the resource name of the location has the
following format: projects/{project_id}/locations/{location}content
- the WorkflowTemplate
IOException
public Dataproc.Projects.Regions.WorkflowTemplates.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the workflow template, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.workflowTemplates.delete, the resource name of the template has the
following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
For projects.locations.workflowTemplates.instantiate, the resource name of the template
has the following format:
projects/{project_id}/locations/{location}/workflowTemplates/{template_id}IOException
public Dataproc.Projects.Regions.WorkflowTemplates.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the workflow template, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.workflowTemplates.get, the resource name of the template has the
following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
For projects.locations.workflowTemplates.get, the resource name of the template has the
following format:
projects/{project_id}/locations/{location}/workflowTemplates/{template_id}IOException
public Dataproc.Projects.Regions.WorkflowTemplates.GetIamPolicy getIamPolicy(String resource) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy is being requested. See the operation documentation for
the appropriate value for this field.IOException
public Dataproc.Projects.Regions.WorkflowTemplates.Instantiate instantiate(String name, InstantiateWorkflowTemplateRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the workflow template, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.workflowTemplates.instantiate, the resource name of the template has the
following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
For projects.locations.workflowTemplates.instantiate, the resource name of the template
has the following format:
projects/{project_id}/locations/{location}/workflowTemplates/{template_id}content
- the InstantiateWorkflowTemplateRequest
IOException
public Dataproc.Projects.Regions.WorkflowTemplates.InstantiateInline instantiateInline(String parent, WorkflowTemplate content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The resource name of the region or location, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.workflowTemplates,instantiateinline, the resource name of the region has
the following format: projects/{project_id}/regions/{region} For
projects.locations.workflowTemplates.instantiateinline, the resource name of the location
has the following format: projects/{project_id}/locations/{location}content
- the WorkflowTemplate
IOException
public Dataproc.Projects.Regions.WorkflowTemplates.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The resource name of the region or location, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.workflowTemplates,list, the resource name of the region has the following
format: projects/{project_id}/regions/{region} For
projects.locations.workflowTemplates.list, the resource name of the location has the
following format: projects/{project_id}/locations/{location}IOException
public Dataproc.Projects.Regions.WorkflowTemplates.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy is being specified. See the operation documentation for
the appropriate value for this field.content
- the SetIamPolicyRequest
IOException
public Dataproc.Projects.Regions.WorkflowTemplates.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resource
- REQUIRED: The resource for which the policy detail is being requested. See the operation
documentation for the appropriate value for this field.content
- the TestIamPermissionsRequest
IOException
public Dataproc.Projects.Regions.WorkflowTemplates.Update update(String name, WorkflowTemplate content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Output only. The resource name of the workflow template, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.workflowTemplates, the resource name of the template has the following
format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For
projects.locations.workflowTemplates, the resource name of the template has the following
format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}content
- the WorkflowTemplate
IOException
Copyright © 2011–2021 Google. All rights reserved.