blob: 0dfdf8f92d94223fb0473a41ac3e47716ac94e25 [file] [log] [blame]
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="dataflow_v1b3.html">Dataflow API</a> . <a href="dataflow_v1b3.projects.html">projects</a> . <a href="dataflow_v1b3.projects.templateVersions.html">templateVersions</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
82<p class="firstline">List TemplateVersions using project_id and an optional display_name field. List all the TemplateVersions in the Template if display set. List all the TemplateVersions in the Project if display_name not set.</p>
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070083<p class="toc_element">
84 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
86<h3>Method Details</h3>
87<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070088 <code class="details" id="close">close()</code>
89 <pre>Close httplib2 connections.</pre>
90</div>
91
92<div class="method">
93 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
94 <pre>List TemplateVersions using project_id and an optional display_name field. List all the TemplateVersions in the Template if display set. List all the TemplateVersions in the Project if display_name not set.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070095
96Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070097 parent: string, parent includes project_id, and display_name is optional. List by project_id(pid1) and display_name(tid1). Format: projects/{pid1}/catalogTemplates/{tid1} List by project_id(pid1). Format: projects/{pid1} (required)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070098 pageSize: integer, The maximum number of TemplateVersions to return per page.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070099 pageToken: string, The page token, received from a previous ListTemplateVersions call. Provide this to retrieve the subsequent page.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700100 x__xgafv: string, V1 error format.
101 Allowed values
102 1 - v1 error format
103 2 - v2 error format
104
105Returns:
106 An object of the form:
107
108 { # Respond a list of TemplateVersions.
109 &quot;templateVersions&quot;: [ # A list of TemplateVersions.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700110 { # ///////////////////////////////////////////////////////////////////////////// //// Template Catalog is used to organize user TemplateVersions. //// TemplateVersions that have the same project_id and display_name are //// belong to the same Template. //// Templates with the same project_id belong to the same Project. //// TemplateVersion may have labels and multiple labels are allowed. //// Duplicated labels in the same `TemplateVersion` are not allowed. //// TemplateVersion may have tags and multiple tags are allowed. Duplicated //// tags in the same `Template` are not allowed!
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700111 &quot;type&quot;: &quot;A String&quot;, # Either LEGACY or FLEX. This should match with the type of artifact.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700112 &quot;createTime&quot;: &quot;A String&quot;, # Creation time of this TemplateVersion.
113 &quot;artifact&quot;: { # Job information for templates. # Job graph and metadata if it is a legacy Template. Container image path and metadata if it is flex Template.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700114 &quot;containerSpec&quot;: { # Container Spec. # Container image path set for flex Template.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700115 &quot;sdkInfo&quot;: { # SDK Information. # Required. SDK info of the Flex Template.
116 &quot;language&quot;: &quot;A String&quot;, # Required. The SDK Language.
117 &quot;version&quot;: &quot;A String&quot;, # Optional. The SDK version.
118 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700119 &quot;metadata&quot;: { # Metadata describing a template. # Metadata describing a template including description and validation rules.
120 &quot;description&quot;: &quot;A String&quot;, # Optional. A description of the template.
121 &quot;parameters&quot;: [ # The parameters for the template.
122 { # Metadata for a specific parameter.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700123 &quot;isOptional&quot;: True or False, # Optional. Whether the parameter is optional. Defaults to false.
124 &quot;paramType&quot;: &quot;A String&quot;, # Optional. The type of the parameter. Used for selecting input picker.
125 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the parameter.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700126 &quot;regexes&quot;: [ # Optional. Regexes that the parameter must match.
127 &quot;A String&quot;,
128 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700129 &quot;label&quot;: &quot;A String&quot;, # Required. The label to display for the parameter.
130 &quot;helpText&quot;: &quot;A String&quot;, # Required. The help text to display for the parameter.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700131 },
132 ],
133 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the template.
134 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700135 &quot;image&quot;: &quot;A String&quot;, # Name of the docker container image. E.g., gcr.io/project/some-image
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700136 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700137 &quot;metadata&quot;: { # Metadata describing a template. # Metadata set for legacy Template.
138 &quot;description&quot;: &quot;A String&quot;, # Optional. A description of the template.
139 &quot;parameters&quot;: [ # The parameters for the template.
140 { # Metadata for a specific parameter.
141 &quot;isOptional&quot;: True or False, # Optional. Whether the parameter is optional. Defaults to false.
142 &quot;paramType&quot;: &quot;A String&quot;, # Optional. The type of the parameter. Used for selecting input picker.
143 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the parameter.
144 &quot;regexes&quot;: [ # Optional. Regexes that the parameter must match.
145 &quot;A String&quot;,
146 ],
147 &quot;label&quot;: &quot;A String&quot;, # Required. The label to display for the parameter.
148 &quot;helpText&quot;: &quot;A String&quot;, # Required. The help text to display for the parameter.
149 },
150 ],
151 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the template.
152 },
153 &quot;jobGraphGcsPath&quot;: &quot;A String&quot;, # job_graph_gcs_path set for legacy Template.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700154 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700155 &quot;displayName&quot;: &quot;A String&quot;, # A customized name for Template. Multiple TemplateVersions per Template.
156 &quot;description&quot;: &quot;A String&quot;, # Template description from the user.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700157 &quot;labels&quot;: { # Labels for the Template Version. Labels can be duplicate within Template.
158 &quot;a_key&quot;: &quot;A String&quot;,
159 },
160 &quot;tags&quot;: [ # Alias for version_id, helps locate a TemplateVersion.
161 &quot;A String&quot;,
162 ],
163 &quot;versionId&quot;: &quot;A String&quot;, # An auto generated version_id for TemplateVersion.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700164 &quot;projectId&quot;: &quot;A String&quot;, # A unique project_id. Multiple Templates per Project.
165 },
166 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700167 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700168 }</pre>
169</div>
170
171<div class="method">
172 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
173 <pre>Retrieves the next page of results.
174
175Args:
176 previous_request: The request for the previous page. (required)
177 previous_response: The response from the request for the previous page. (required)
178
179Returns:
180 A request object that you can call &#x27;execute()&#x27; on to request the next
181 page. Returns None if there are no more items in the collection.
182 </pre>
183</div>
184
185</body></html>