public class Dataflow.Projects.CatalogTemplates extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Dataflow.Projects.CatalogTemplates.Commit |
class |
Dataflow.Projects.CatalogTemplates.Delete |
class |
Dataflow.Projects.CatalogTemplates.Get |
class |
Dataflow.Projects.CatalogTemplates.Label |
class |
Dataflow.Projects.CatalogTemplates.Tag |
class |
Dataflow.Projects.CatalogTemplates.TemplateVersions
The "templateVersions" collection of methods.
|
| Constructor and Description |
|---|
CatalogTemplates() |
| Modifier and Type | Method and Description |
|---|---|
Dataflow.Projects.CatalogTemplates.Commit |
commit(String name,
CommitTemplateVersionRequest content)
Creates a new TemplateVersion (Important: not new Template) entry in the spanner table.
|
Dataflow.Projects.CatalogTemplates.Delete |
delete(String name)
Deletes an existing Template.
|
Dataflow.Projects.CatalogTemplates.Get |
get(String name)
Get TemplateVersion using project_id and display_name with an optional version_id field.
|
Dataflow.Projects.CatalogTemplates.Label |
label(String name,
ModifyTemplateVersionLabelRequest content)
Updates the label of the TemplateVersion.
|
Dataflow.Projects.CatalogTemplates.Tag |
tag(String name,
ModifyTemplateVersionTagRequest content)
Updates the tag of the TemplateVersion, and tag is unique in Template.
|
Dataflow.Projects.CatalogTemplates.TemplateVersions |
templateVersions()
An accessor for creating requests from the TemplateVersions collection.
|
public Dataflow.Projects.CatalogTemplates.Commit commit(String name, CommitTemplateVersionRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The location of the template, name includes project_id and display_name.
Commit using
project_id(pid1) and display_name(tid1).
Format: projects/{pid1}/catalogTemplates/{tid1}content - the CommitTemplateVersionRequestIOExceptionpublic Dataflow.Projects.CatalogTemplates.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - name includes project_id and display_name.
Delete by project_id(pid1) and display_name(tid1).
Format: projects/{pid1}/catalogTemplates/{tid1}IOExceptionpublic Dataflow.Projects.CatalogTemplates.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Resource name includes project_id and display_name. version_id is optional.
Get the latest
TemplateVersion if version_id not set.
Get by project_id(pid1) and display_name(tid1):
Format: projects/{pid1}/catalogTemplates/{tid1}
Get by project_id(pid1),
display_name(tid1), and version_id(vid1):
Format:
projects/{pid1}/catalogTemplates/{tid1@vid}IOExceptionpublic Dataflow.Projects.CatalogTemplates.Label label(String name, ModifyTemplateVersionLabelRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Resource name includes project_id, display_name, and version_id.
Updates by project_id(pid1),
display_name(tid1), and version_id(vid1):
Format:
projects/{pid1}/catalogTemplates/{tid1@vid}content - the ModifyTemplateVersionLabelRequestIOExceptionpublic Dataflow.Projects.CatalogTemplates.Tag tag(String name, ModifyTemplateVersionTagRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Resource name includes project_id, display_name, and version_id.
Updates by project_id(pid1),
display_name(tid1), and version_id(vid1):
Format:
projects/{pid1}/catalogTemplates/{tid1@vid}content - the ModifyTemplateVersionTagRequestIOExceptionpublic Dataflow.Projects.CatalogTemplates.TemplateVersions templateVersions()
The typical use is:
Dataflow dataflow = new Dataflow(...);Dataflow.TemplateVersions.List request = dataflow.templateVersions().list(parameters ...)
Copyright © 2011–2020 Google. All rights reserved.