Debian Codegraph @

docs/dyn/parametermanager_v1.projects.locations.parameters.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></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="parametermanager_v1.projects.locations.parameters.versions.html">versions()</a></code>
79 </p>
80 <p class="firstline">Returns the versions Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, parameterId=None, requestId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new Parameter in a given project and location.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a single Parameter.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets details of a single Parameter.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists Parameters in a given project and location.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates a single Parameter.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, body=None, parameterId=None, requestId=None, x__xgafv=None)</code>
111 <pre>Creates a new Parameter in a given project and location.
112
113 Args:
114 parent: string, Required. Value for parent in the format `projects/*/locations/*`. (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # Message describing Parameter resource
119 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
120 &quot;format&quot;: &quot;A String&quot;, # Optional. Specifies the format of a Parameter.
121 &quot;kmsKey&quot;: &quot;A String&quot;, # Optional. Customer managed encryption key (CMEK) to use for encrypting the Parameter Versions. If not set, the default Google-managed encryption key will be used. Cloud KMS CryptoKeys must reside in the same location as the Parameter. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
122 &quot;labels&quot;: { # Optional. Labels as key value pairs
123 &quot;a_key&quot;: &quot;A String&quot;,
124 },
125 &quot;name&quot;: &quot;A String&quot;, # Identifier. [Output only] The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`.
126 &quot;policyMember&quot;: { # Output-only policy member strings of a Google Cloud resource&#x27;s built-in identity. # Output only. [Output-only] policy member strings of a Google Cloud resource.
127 &quot;iamPolicyNamePrincipal&quot;: &quot;A String&quot;, # Output only. IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource. Example: `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`
128 &quot;iamPolicyUidPrincipal&quot;: &quot;A String&quot;, # Output only. IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource Example: `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`
129 },
130 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
131 }
132
133 parameterId: string, Required. Id of the Parameter resource
134 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).
135 x__xgafv: string, V1 error format.
136 Allowed values
137 1 - v1 error format
138 2 - v2 error format
139
140 Returns:
141 An object of the form:
142
143 { # Message describing Parameter resource
144 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
145 &quot;format&quot;: &quot;A String&quot;, # Optional. Specifies the format of a Parameter.
146 &quot;kmsKey&quot;: &quot;A String&quot;, # Optional. Customer managed encryption key (CMEK) to use for encrypting the Parameter Versions. If not set, the default Google-managed encryption key will be used. Cloud KMS CryptoKeys must reside in the same location as the Parameter. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
147 &quot;labels&quot;: { # Optional. Labels as key value pairs
148 &quot;a_key&quot;: &quot;A String&quot;,
149 },
150 &quot;name&quot;: &quot;A String&quot;, # Identifier. [Output only] The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`.
151 &quot;policyMember&quot;: { # Output-only policy member strings of a Google Cloud resource&#x27;s built-in identity. # Output only. [Output-only] policy member strings of a Google Cloud resource.
152 &quot;iamPolicyNamePrincipal&quot;: &quot;A String&quot;, # Output only. IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource. Example: `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`
153 &quot;iamPolicyUidPrincipal&quot;: &quot;A String&quot;, # Output only. IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource Example: `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`
154 },
155 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
156 }</pre>
157 </div>
158
159 <div class="method">
160 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
161 <pre>Deletes a single Parameter.
162
163 Args:
164 name: string, Required. Name of the resource in the format `projects/*/locations/*/parameters/*`. (required)
165 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).
166 x__xgafv: string, V1 error format.
167 Allowed values
168 1 - v1 error format
169 2 - v2 error format
170
171 Returns:
172 An object of the form:
173
174 { # 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); }
175 }</pre>
176 </div>
177
178 <div class="method">
179 <code class="details" id="get">get(name, x__xgafv=None)</code>
180 <pre>Gets details of a single Parameter.
181
182 Args:
183 name: string, Required. Name of the resource in the format `projects/*/locations/*/parameters/*`. (required)
184 x__xgafv: string, V1 error format.
185 Allowed values
186 1 - v1 error format
187 2 - v2 error format
188
189 Returns:
190 An object of the form:
191
192 { # Message describing Parameter resource
193 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
194 &quot;format&quot;: &quot;A String&quot;, # Optional. Specifies the format of a Parameter.
195 &quot;kmsKey&quot;: &quot;A String&quot;, # Optional. Customer managed encryption key (CMEK) to use for encrypting the Parameter Versions. If not set, the default Google-managed encryption key will be used. Cloud KMS CryptoKeys must reside in the same location as the Parameter. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
196 &quot;labels&quot;: { # Optional. Labels as key value pairs
197 &quot;a_key&quot;: &quot;A String&quot;,
198 },
199 &quot;name&quot;: &quot;A String&quot;, # Identifier. [Output only] The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`.
200 &quot;policyMember&quot;: { # Output-only policy member strings of a Google Cloud resource&#x27;s built-in identity. # Output only. [Output-only] policy member strings of a Google Cloud resource.
201 &quot;iamPolicyNamePrincipal&quot;: &quot;A String&quot;, # Output only. IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource. Example: `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`
202 &quot;iamPolicyUidPrincipal&quot;: &quot;A String&quot;, # Output only. IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource Example: `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`
203 },
204 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
205 }</pre>
206 </div>
207
208 <div class="method">
209 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
210 <pre>Lists Parameters in a given project and location.
211
212 Args:
213 parent: string, Required. Parent value for ListParametersRequest in the format `projects/*/locations/*`. (required)
214 filter: string, Optional. Filtering results
215 orderBy: string, Optional. Hint for how to order the results
216 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
217 pageToken: string, Optional. A page token, received from a previous `ListParameters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListParameters` must match the call that provided the page token.
218 x__xgafv: string, V1 error format.
219 Allowed values
220 1 - v1 error format
221 2 - v2 error format
222
223 Returns:
224 An object of the form:
225
226 { # Message for response to listing Parameters
227 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
228 &quot;parameters&quot;: [ # The list of Parameters
229 { # Message describing Parameter resource
230 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
231 &quot;format&quot;: &quot;A String&quot;, # Optional. Specifies the format of a Parameter.
232 &quot;kmsKey&quot;: &quot;A String&quot;, # Optional. Customer managed encryption key (CMEK) to use for encrypting the Parameter Versions. If not set, the default Google-managed encryption key will be used. Cloud KMS CryptoKeys must reside in the same location as the Parameter. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
233 &quot;labels&quot;: { # Optional. Labels as key value pairs
234 &quot;a_key&quot;: &quot;A String&quot;,
235 },
236 &quot;name&quot;: &quot;A String&quot;, # Identifier. [Output only] The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`.
237 &quot;policyMember&quot;: { # Output-only policy member strings of a Google Cloud resource&#x27;s built-in identity. # Output only. [Output-only] policy member strings of a Google Cloud resource.
238 &quot;iamPolicyNamePrincipal&quot;: &quot;A String&quot;, # Output only. IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource. Example: `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`
239 &quot;iamPolicyUidPrincipal&quot;: &quot;A String&quot;, # Output only. IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource Example: `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`
240 },
241 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
242 },
243 ],
244 &quot;unreachable&quot;: [ # Unordered list. Locations that could not be reached.
245 &quot;A String&quot;,
246 ],
247 }</pre>
248 </div>
249
250 <div class="method">
251 <code class="details" id="list_next">list_next()</code>
252 <pre>Retrieves the next page of results.
253
254 Args:
255 previous_request: The request for the previous page. (required)
256 previous_response: The response from the request for the previous page. (required)
257
258 Returns:
259 A request object that you can call &#x27;execute()&#x27; on to request the next
260 page. Returns None if there are no more items in the collection.
261 </pre>
262 </div>
263
264 <div class="method">
265 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
266 <pre>Updates a single Parameter.
267
268 Args:
269 name: string, Identifier. [Output only] The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`. (required)
270 body: object, The request body.
271 The object takes the form of:
272
273 { # Message describing Parameter resource
274 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
275 &quot;format&quot;: &quot;A String&quot;, # Optional. Specifies the format of a Parameter.
276 &quot;kmsKey&quot;: &quot;A String&quot;, # Optional. Customer managed encryption key (CMEK) to use for encrypting the Parameter Versions. If not set, the default Google-managed encryption key will be used. Cloud KMS CryptoKeys must reside in the same location as the Parameter. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
277 &quot;labels&quot;: { # Optional. Labels as key value pairs
278 &quot;a_key&quot;: &quot;A String&quot;,
279 },
280 &quot;name&quot;: &quot;A String&quot;, # Identifier. [Output only] The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`.
281 &quot;policyMember&quot;: { # Output-only policy member strings of a Google Cloud resource&#x27;s built-in identity. # Output only. [Output-only] policy member strings of a Google Cloud resource.
282 &quot;iamPolicyNamePrincipal&quot;: &quot;A String&quot;, # Output only. IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource. Example: `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`
283 &quot;iamPolicyUidPrincipal&quot;: &quot;A String&quot;, # Output only. IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource Example: `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`
284 },
285 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
286 }
287
288 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).
289 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the Parameter 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.
290 x__xgafv: string, V1 error format.
291 Allowed values
292 1 - v1 error format
293 2 - v2 error format
294
295 Returns:
296 An object of the form:
297
298 { # Message describing Parameter resource
299 &quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
300 &quot;format&quot;: &quot;A String&quot;, # Optional. Specifies the format of a Parameter.
301 &quot;kmsKey&quot;: &quot;A String&quot;, # Optional. Customer managed encryption key (CMEK) to use for encrypting the Parameter Versions. If not set, the default Google-managed encryption key will be used. Cloud KMS CryptoKeys must reside in the same location as the Parameter. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
302 &quot;labels&quot;: { # Optional. Labels as key value pairs
303 &quot;a_key&quot;: &quot;A String&quot;,
304 },
305 &quot;name&quot;: &quot;A String&quot;, # Identifier. [Output only] The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`.
306 &quot;policyMember&quot;: { # Output-only policy member strings of a Google Cloud resource&#x27;s built-in identity. # Output only. [Output-only] policy member strings of a Google Cloud resource.
307 &quot;iamPolicyNamePrincipal&quot;: &quot;A String&quot;, # Output only. IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource. Example: `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`
308 &quot;iamPolicyUidPrincipal&quot;: &quot;A String&quot;, # Output only. IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource Example: `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`
309 },
310 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
311 }</pre>
312 </div>
313
314 </body></html>