Debian Codegraph @

docs/dyn/parametermanager_v1.projects.locations.parameters.versions.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="parametermanager_v1.html">Parameter Manager API</a> . <a href="parametermanager_v1.projects.html">projects</a> . <a href="parametermanager_v1.projects.locations.html">locations</a> . <a href="parametermanager_v1.projects.locations.parameters.html">parameters</a> . <a href="parametermanager_v1.projects.locations.parameters.versions.html">versions</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <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="#create">create(parent, body=None, parameterVersionId=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new ParameterVersion in a given project, location, and parameter.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single ParameterVersion.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single ParameterVersion.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists ParameterVersions in a given project, location, and parameter.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates a single ParameterVersion.</p>
98 <p class="toc_element">
99 <code><a href="#render">render(name, x__xgafv=None)</a></code></p>
100 <p class="firstline">Gets rendered version of a ParameterVersion.</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105 </div>
106
107 <div class="method">
108 <code class="details" id="create">create(parent, body=None, parameterVersionId=None, requestId=None, x__xgafv=None)</code>
109 <pre>Creates a new ParameterVersion in a given project, location, and parameter.
110
111 Args:
112 parent: string, Required. Value for parent in the format `projects/*/locations/*/parameters/*`. (required)
113 body: object, The request body.
114 The object takes the form of:
115
116 { # Message describing ParameterVersion resource
117 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
118 &quot;disabled&quot;: True or False, # Optional. Disabled boolean to determine if a ParameterVersion acts as a metadata only resource (payload is never returned if disabled is true). If true any calls will always default to BASIC view even if the user explicitly passes FULL view as part of the request. A render call on a disabled resource fails with an error. Default value is False.
119 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Optional. Output only. [Output only] The resource name of the KMS key version used to encrypt the ParameterVersion payload. This field is populated only if the Parameter resource has customer managed encryption key (CMEK) configured.
120 &quot;name&quot;: &quot;A String&quot;, # Identifier. [Output only] The resource name of the ParameterVersion in the format `projects/*/locations/*/parameters/*/versions/*`.
121 &quot;payload&quot;: { # Message for storing a ParameterVersion resource&#x27;s payload data # Required. Immutable. Payload content of a ParameterVersion resource. This is only returned when the request provides the View value of FULL (default for GET request).
122 &quot;data&quot;: &quot;A String&quot;, # Required. bytes data for storing payload.
123 },
124 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
125 }
126
127 parameterVersionId: string, Required. Id of the ParameterVersion resource
128 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
129 x__xgafv: string, V1 error format.
130 Allowed values
131 1 - v1 error format
132 2 - v2 error format
133
134 Returns:
135 An object of the form:
136
137 { # Message describing ParameterVersion resource
138 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
139 &quot;disabled&quot;: True or False, # Optional. Disabled boolean to determine if a ParameterVersion acts as a metadata only resource (payload is never returned if disabled is true). If true any calls will always default to BASIC view even if the user explicitly passes FULL view as part of the request. A render call on a disabled resource fails with an error. Default value is False.
140 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Optional. Output only. [Output only] The resource name of the KMS key version used to encrypt the ParameterVersion payload. This field is populated only if the Parameter resource has customer managed encryption key (CMEK) configured.
141 &quot;name&quot;: &quot;A String&quot;, # Identifier. [Output only] The resource name of the ParameterVersion in the format `projects/*/locations/*/parameters/*/versions/*`.
142 &quot;payload&quot;: { # Message for storing a ParameterVersion resource&#x27;s payload data # Required. Immutable. Payload content of a ParameterVersion resource. This is only returned when the request provides the View value of FULL (default for GET request).
143 &quot;data&quot;: &quot;A String&quot;, # Required. bytes data for storing payload.
144 },
145 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
146 }</pre>
147 </div>
148
149 <div class="method">
150 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
151 <pre>Deletes a single ParameterVersion.
152
153 Args:
154 name: string, Required. Name of the resource in the format `projects/*/locations/*/parameters/*/versions/*`. (required)
155 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
156 x__xgafv: string, V1 error format.
157 Allowed values
158 1 - v1 error format
159 2 - v2 error format
160
161 Returns:
162 An object of the form:
163
164 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
165 }</pre>
166 </div>
167
168 <div class="method">
169 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
170 <pre>Gets details of a single ParameterVersion.
171
172 Args:
173 name: string, Required. Name of the resource in the format `projects/*/locations/*/parameters/*/versions/*`. (required)
174 view: string, Optional. View of the ParameterVersion. In the default FULL view, all metadata &amp; payload associated with the ParameterVersion will be returned.
175 Allowed values
176 VIEW_UNSPECIFIED - The default / unset value. The API will default to the FULL view.
177 BASIC - Include only the metadata for the resource.
178 FULL - Include metadata &amp; other relevant payload data as well. This is the default view.
179 x__xgafv: string, V1 error format.
180 Allowed values
181 1 - v1 error format
182 2 - v2 error format
183
184 Returns:
185 An object of the form:
186
187 { # Message describing ParameterVersion resource
188 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
189 &quot;disabled&quot;: True or False, # Optional. Disabled boolean to determine if a ParameterVersion acts as a metadata only resource (payload is never returned if disabled is true). If true any calls will always default to BASIC view even if the user explicitly passes FULL view as part of the request. A render call on a disabled resource fails with an error. Default value is False.
190 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Optional. Output only. [Output only] The resource name of the KMS key version used to encrypt the ParameterVersion payload. This field is populated only if the Parameter resource has customer managed encryption key (CMEK) configured.
191 &quot;name&quot;: &quot;A String&quot;, # Identifier. [Output only] The resource name of the ParameterVersion in the format `projects/*/locations/*/parameters/*/versions/*`.
192 &quot;payload&quot;: { # Message for storing a ParameterVersion resource&#x27;s payload data # Required. Immutable. Payload content of a ParameterVersion resource. This is only returned when the request provides the View value of FULL (default for GET request).
193 &quot;data&quot;: &quot;A String&quot;, # Required. bytes data for storing payload.
194 },
195 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
196 }</pre>
197 </div>
198
199 <div class="method">
200 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
201 <pre>Lists ParameterVersions in a given project, location, and parameter.
202
203 Args:
204 parent: string, Required. Parent value for ListParameterVersionsRequest in the format `projects/*/locations/*/parameters/*`. (required)
205 filter: string, Optional. Filtering results
206 orderBy: string, Optional. Hint for how to order the results
207 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
208 pageToken: string, Optional. A page token, received from a previous `ListParameterVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListParameterVersions` must match the call that provided the page token.
209 x__xgafv: string, V1 error format.
210 Allowed values
211 1 - v1 error format
212 2 - v2 error format
213
214 Returns:
215 An object of the form:
216
217 { # Message for response to listing ParameterVersions
218 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
219 &quot;parameterVersions&quot;: [ # The list of ParameterVersions
220 { # Message describing ParameterVersion resource
221 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
222 &quot;disabled&quot;: True or False, # Optional. Disabled boolean to determine if a ParameterVersion acts as a metadata only resource (payload is never returned if disabled is true). If true any calls will always default to BASIC view even if the user explicitly passes FULL view as part of the request. A render call on a disabled resource fails with an error. Default value is False.
223 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Optional. Output only. [Output only] The resource name of the KMS key version used to encrypt the ParameterVersion payload. This field is populated only if the Parameter resource has customer managed encryption key (CMEK) configured.
224 &quot;name&quot;: &quot;A String&quot;, # Identifier. [Output only] The resource name of the ParameterVersion in the format `projects/*/locations/*/parameters/*/versions/*`.
225 &quot;payload&quot;: { # Message for storing a ParameterVersion resource&#x27;s payload data # Required. Immutable. Payload content of a ParameterVersion resource. This is only returned when the request provides the View value of FULL (default for GET request).
226 &quot;data&quot;: &quot;A String&quot;, # Required. bytes data for storing payload.
227 },
228 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
229 },
230 ],
231 &quot;unreachable&quot;: [ # Unordered list. Locations that could not be reached.
232 &quot;A String&quot;,
233 ],
234 }</pre>
235 </div>
236
237 <div class="method">
238 <code class="details" id="list_next">list_next()</code>
239 <pre>Retrieves the next page of results.
240
241 Args:
242 previous_request: The request for the previous page. (required)
243 previous_response: The response from the request for the previous page. (required)
244
245 Returns:
246 A request object that you can call &#x27;execute()&#x27; on to request the next
247 page. Returns None if there are no more items in the collection.
248 </pre>
249 </div>
250
251 <div class="method">
252 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
253 <pre>Updates a single ParameterVersion.
254
255 Args:
256 name: string, Identifier. [Output only] The resource name of the ParameterVersion in the format `projects/*/locations/*/parameters/*/versions/*`. (required)
257 body: object, The request body.
258 The object takes the form of:
259
260 { # Message describing ParameterVersion resource
261 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
262 &quot;disabled&quot;: True or False, # Optional. Disabled boolean to determine if a ParameterVersion acts as a metadata only resource (payload is never returned if disabled is true). If true any calls will always default to BASIC view even if the user explicitly passes FULL view as part of the request. A render call on a disabled resource fails with an error. Default value is False.
263 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Optional. Output only. [Output only] The resource name of the KMS key version used to encrypt the ParameterVersion payload. This field is populated only if the Parameter resource has customer managed encryption key (CMEK) configured.
264 &quot;name&quot;: &quot;A String&quot;, # Identifier. [Output only] The resource name of the ParameterVersion in the format `projects/*/locations/*/parameters/*/versions/*`.
265 &quot;payload&quot;: { # Message for storing a ParameterVersion resource&#x27;s payload data # Required. Immutable. Payload content of a ParameterVersion resource. This is only returned when the request provides the View value of FULL (default for GET request).
266 &quot;data&quot;: &quot;A String&quot;, # Required. bytes data for storing payload.
267 },
268 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
269 }
270
271 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
272 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the ParameterVersion resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A mutable field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields present in the request will be overwritten.
273 x__xgafv: string, V1 error format.
274 Allowed values
275 1 - v1 error format
276 2 - v2 error format
277
278 Returns:
279 An object of the form:
280
281 { # Message describing ParameterVersion resource
282 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
283 &quot;disabled&quot;: True or False, # Optional. Disabled boolean to determine if a ParameterVersion acts as a metadata only resource (payload is never returned if disabled is true). If true any calls will always default to BASIC view even if the user explicitly passes FULL view as part of the request. A render call on a disabled resource fails with an error. Default value is False.
284 &quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Optional. Output only. [Output only] The resource name of the KMS key version used to encrypt the ParameterVersion payload. This field is populated only if the Parameter resource has customer managed encryption key (CMEK) configured.
285 &quot;name&quot;: &quot;A String&quot;, # Identifier. [Output only] The resource name of the ParameterVersion in the format `projects/*/locations/*/parameters/*/versions/*`.
286 &quot;payload&quot;: { # Message for storing a ParameterVersion resource&#x27;s payload data # Required. Immutable. Payload content of a ParameterVersion resource. This is only returned when the request provides the View value of FULL (default for GET request).
287 &quot;data&quot;: &quot;A String&quot;, # Required. bytes data for storing payload.
288 },
289 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
290 }</pre>
291 </div>
292
293 <div class="method">
294 <code class="details" id="render">render(name, x__xgafv=None)</code>
295 <pre>Gets rendered version of a ParameterVersion.
296
297 Args:
298 name: string, Required. Name of the resource (required)
299 x__xgafv: string, V1 error format.
300 Allowed values
301 1 - v1 error format
302 2 - v2 error format
303
304 Returns:
305 An object of the form:
306
307 { # Message describing RenderParameterVersionResponse resource
308 &quot;parameterVersion&quot;: &quot;A String&quot;, # Output only. Resource identifier of a ParameterVersion in the format `projects/*/locations/*/parameters/*/versions/*`.
309 &quot;payload&quot;: { # Message for storing a ParameterVersion resource&#x27;s payload data # Payload content of a ParameterVersion resource.
310 &quot;data&quot;: &quot;A String&quot;, # Required. bytes data for storing payload.
311 },
312 &quot;renderedPayload&quot;: &quot;A String&quot;, # Output only. Server generated rendered version of the user provided payload data (ParameterVersionPayload) which has substitutions of all (if any) references to a SecretManager SecretVersion resources. This substitution only works for a Parameter which is in JSON or YAML format.
313 }</pre>
314 </div>
315
316 </body></html>