Debian Codegraph @

docs/dyn/cloudkms_v1.projects.locations.singleTenantHsmInstances.proposals.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="cloudkms_v1.html">Cloud Key Management Service (KMS) API</a> . <a href="cloudkms_v1.projects.html">projects</a> . <a href="cloudkms_v1.projects.locations.html">locations</a> . <a href="cloudkms_v1.projects.locations.singleTenantHsmInstances.html">singleTenantHsmInstances</a> . <a href="cloudkms_v1.projects.locations.singleTenantHsmInstances.proposals.html">proposals</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#approve">approve(name, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Approves a SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance. The proposal must be in the PENDING state.</p>
80 <p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82 <p class="firstline">Close httplib2 connections.</p>
83 <p class="toc_element">
84 <code><a href="#create">create(parent, body=None, singleTenantHsmInstanceProposalId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Creates a new SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance.</p>
86 <p class="toc_element">
87 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Deletes a SingleTenantHsmInstanceProposal.</p>
89 <p class="toc_element">
90 <code><a href="#execute">execute(name, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Executes a SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance. The proposal must be in the APPROVED state.</p>
92 <p class="toc_element">
93 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
94 <p class="firstline">Returns metadata for a given SingleTenantHsmInstanceProposal.</p>
95 <p class="toc_element">
96 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Lists SingleTenantHsmInstanceProposals.</p>
98 <p class="toc_element">
99 <code><a href="#list_next">list_next()</a></code></p>
100 <p class="firstline">Retrieves the next page of results.</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="approve">approve(name, body=None, x__xgafv=None)</code>
104 <pre>Approves a SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance. The proposal must be in the PENDING state.
105
106 Args:
107 name: string, Required. The name of the SingleTenantHsmInstanceProposal to approve. (required)
108 body: object, The request body.
109 The object takes the form of:
110
111 { # Request message for HsmManagement.ApproveSingleTenantHsmInstanceProposal.
112 &quot;quorumReply&quot;: { # The reply to QuorumParameters for approving the proposal. # Required. The reply to QuorumParameters for approving the proposal.
113 &quot;challengeReplies&quot;: [ # Required. The challenge replies to approve the proposal. Challenge replies can be sent across multiple requests. The proposal will be approved when required_approver_count challenge replies are provided.
114 { # A reply to a challenge signed by a 2FA key.
115 &quot;publicKeyPem&quot;: &quot;A String&quot;, # Required. The public key associated with the 2FA key.
116 &quot;signedChallenge&quot;: &quot;A String&quot;, # Required. The signed challenge associated with the 2FA key. The signature must be RSASSA-PKCS1 v1.5 with a SHA256 digest.
117 },
118 ],
119 },
120 &quot;requiredActionQuorumReply&quot;: { # The reply to RequiredActionQuorumParameters for approving the proposal. # Required. The reply to RequiredActionQuorumParameters for approving the proposal.
121 &quot;quorumChallengeReplies&quot;: [ # Required. Quorum members&#x27; signed challenge replies. These can be provided across multiple requests. The proposal will be approved when required_approver_count quorum_challenge_replies are provided and when all required_challenge_replies are provided.
122 { # A reply to a challenge signed by a 2FA key.
123 &quot;publicKeyPem&quot;: &quot;A String&quot;, # Required. The public key associated with the 2FA key.
124 &quot;signedChallenge&quot;: &quot;A String&quot;, # Required. The signed challenge associated with the 2FA key. The signature must be RSASSA-PKCS1 v1.5 with a SHA256 digest.
125 },
126 ],
127 &quot;requiredChallengeReplies&quot;: [ # Required. All required challenges must be signed for the proposal to be approved. These can be sent across multiple requests.
128 { # A reply to a challenge signed by a 2FA key.
129 &quot;publicKeyPem&quot;: &quot;A String&quot;, # Required. The public key associated with the 2FA key.
130 &quot;signedChallenge&quot;: &quot;A String&quot;, # Required. The signed challenge associated with the 2FA key. The signature must be RSASSA-PKCS1 v1.5 with a SHA256 digest.
131 },
132 ],
133 },
134 }
135
136 x__xgafv: string, V1 error format.
137 Allowed values
138 1 - v1 error format
139 2 - v2 error format
140
141 Returns:
142 An object of the form:
143
144 { # Response message for HsmManagement.ApproveSingleTenantHsmInstanceProposal.
145 }</pre>
146 </div>
147
148 <div class="method">
149 <code class="details" id="close">close()</code>
150 <pre>Close httplib2 connections.</pre>
151 </div>
152
153 <div class="method">
154 <code class="details" id="create">create(parent, body=None, singleTenantHsmInstanceProposalId=None, x__xgafv=None)</code>
155 <pre>Creates a new SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance.
156
157 Args:
158 parent: string, Required. The name of the SingleTenantHsmInstance associated with the SingleTenantHsmInstanceProposals. (required)
159 body: object, The request body.
160 The object takes the form of:
161
162 { # A SingleTenantHsmInstanceProposal represents a proposal to perform an operation on a SingleTenantHsmInstance.
163 &quot;addQuorumMember&quot;: { # Add a quorum member to the SingleTenantHsmInstance. This will increase the total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation. # Add a quorum member to the SingleTenantHsmInstance. This will increase the total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
164 &quot;twoFactorPublicKeyPem&quot;: &quot;A String&quot;, # Required. The public key associated with the 2FA key for the new quorum member to add. Public keys must be associated with RSA 2048 keys.
165 },
166 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the SingleTenantHsmInstanceProposal was created.
167 &quot;deleteSingleTenantHsmInstance&quot;: { # Delete the SingleTenantHsmInstance. Deleting a SingleTenantHsmInstance will make all CryptoKeys attached to the SingleTenantHsmInstance unusable. The SingleTenantHsmInstance must not be in the DELETING or DELETED state to perform this operation. # Delete the SingleTenantHsmInstance. Deleting a SingleTenantHsmInstance will make all CryptoKeys attached to the SingleTenantHsmInstance unusable. The SingleTenantHsmInstance must be in the DISABLED or PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation.
168 },
169 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which the SingleTenantHsmInstanceProposal was deleted.
170 &quot;disableSingleTenantHsmInstance&quot;: { # Disable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation. # Disable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
171 },
172 &quot;enableSingleTenantHsmInstance&quot;: { # Enable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the DISABLED state to perform this operation. # Enable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the DISABLED state to perform this operation.
173 },
174 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the SingleTenantHsmInstanceProposal will expire if not approved and executed.
175 &quot;failureReason&quot;: &quot;A String&quot;, # Output only. The root cause of the most recent failure. Only present if state is FAILED.
176 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this SingleTenantHsmInstance in the format `projects/*/locations/*/singleTenantHsmInstances/*/proposals/*`.
177 &quot;purgeTime&quot;: &quot;A String&quot;, # Output only. The time at which the soft-deleted SingleTenantHsmInstanceProposal will be permanently purged. This field is only populated when the state is DELETED and will be set a time after expiration of the proposal, i.e. &gt;= expire_time or (create_time + ttl).
178 &quot;quorumParameters&quot;: { # Parameters of quorum approval for the SingleTenantHsmInstanceProposal. # Output only. The quorum approval parameters for the SingleTenantHsmInstanceProposal.
179 &quot;approvedTwoFactorPublicKeyPems&quot;: [ # Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.
180 &quot;A String&quot;,
181 ],
182 &quot;challenges&quot;: [ # Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.
183 { # A challenge to be signed by a 2FA key.
184 &quot;challenge&quot;: &quot;A String&quot;, # Output only. The challenge to be signed by the 2FA key indicated by the public key.
185 &quot;publicKeyPem&quot;: &quot;A String&quot;, # Output only. The public key associated with the 2FA key that should sign the challenge.
186 },
187 ],
188 &quot;requiredApproverCount&quot;: 42, # Output only. The required numbers of approvers. This is the M value used for M of N quorum auth. It is less than the number of public keys.
189 },
190 &quot;refreshSingleTenantHsmInstance&quot;: { # Refreshes the SingleTenantHsmInstance. This operation must be performed periodically to keep the SingleTenantHsmInstance active. This operation must be performed before unrefreshed_duration_until_disable has passed. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation. # Refreshes the SingleTenantHsmInstance. This operation must be performed periodically to keep the SingleTenantHsmInstance active. This operation must be performed before unrefreshed_duration_until_disable has passed. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
191 },
192 &quot;registerTwoFactorAuthKeys&quot;: { # Register 2FA keys for the SingleTenantHsmInstance. This operation requires all Challenges to be signed by 2FA keys. The SingleTenantHsmInstance must be in the PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation. # Register 2FA keys for the SingleTenantHsmInstance. This operation requires all N Challenges to be signed by 2FA keys. The SingleTenantHsmInstance must be in the PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation.
193 &quot;requiredApproverCount&quot;: 42, # Required. The required numbers of approvers to set for the SingleTenantHsmInstance. This is the M value used for M of N quorum auth. Must be greater than or equal to 2 and less than or equal to total_approver_count - 1.
194 &quot;twoFactorPublicKeyPems&quot;: [ # Required. The public keys associated with the 2FA keys for M of N quorum auth. Public keys must be associated with RSA 2048 keys.
195 &quot;A String&quot;,
196 ],
197 },
198 &quot;removeQuorumMember&quot;: { # Remove a quorum member from the SingleTenantHsmInstance. This will reduce total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation. # Remove a quorum member from the SingleTenantHsmInstance. This will reduce total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
199 &quot;twoFactorPublicKeyPem&quot;: &quot;A String&quot;, # Required. The public key associated with the 2FA key for the quorum member to remove. Public keys must be associated with RSA 2048 keys.
200 },
201 &quot;requiredActionQuorumParameters&quot;: { # Parameters for an approval that has both required challenges and a quorum. # Output only. Parameters for an approval of a SingleTenantHsmInstanceProposal that has both required challenges and a quorum.
202 &quot;approvedTwoFactorPublicKeyPems&quot;: [ # Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.
203 &quot;A String&quot;,
204 ],
205 &quot;quorumChallenges&quot;: [ # Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.
206 { # A challenge to be signed by a 2FA key.
207 &quot;challenge&quot;: &quot;A String&quot;, # Output only. The challenge to be signed by the 2FA key indicated by the public key.
208 &quot;publicKeyPem&quot;: &quot;A String&quot;, # Output only. The public key associated with the 2FA key that should sign the challenge.
209 },
210 ],
211 &quot;requiredApproverCount&quot;: 42, # Output only. The required number of quorum approvers. This is the M value used for M of N quorum auth. It is less than the number of public keys.
212 &quot;requiredChallenges&quot;: [ # Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.
213 { # A challenge to be signed by a 2FA key.
214 &quot;challenge&quot;: &quot;A String&quot;, # Output only. The challenge to be signed by the 2FA key indicated by the public key.
215 &quot;publicKeyPem&quot;: &quot;A String&quot;, # Output only. The public key associated with the 2FA key that should sign the challenge.
216 },
217 ],
218 },
219 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the SingleTenantHsmInstanceProposal.
220 &quot;ttl&quot;: &quot;A String&quot;, # Input only. The TTL for the SingleTenantHsmInstanceProposal. Proposals will expire after this duration.
221 }
222
223 singleTenantHsmInstanceProposalId: string, Optional. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`.
224 x__xgafv: string, V1 error format.
225 Allowed values
226 1 - v1 error format
227 2 - v2 error format
228
229 Returns:
230 An object of the form:
231
232 { # This resource represents a long-running operation that is the result of a network API call.
233 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
234 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
235 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
236 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
237 {
238 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
239 },
240 ],
241 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
242 },
243 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
244 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
245 },
246 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
247 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
248 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
249 },
250 }</pre>
251 </div>
252
253 <div class="method">
254 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
255 <pre>Deletes a SingleTenantHsmInstanceProposal.
256
257 Args:
258 name: string, Required. The name of the SingleTenantHsmInstanceProposal to delete. (required)
259 x__xgafv: string, V1 error format.
260 Allowed values
261 1 - v1 error format
262 2 - v2 error format
263
264 Returns:
265 An object of the form:
266
267 { # 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); }
268 }</pre>
269 </div>
270
271 <div class="method">
272 <code class="details" id="execute">execute(name, body=None, x__xgafv=None)</code>
273 <pre>Executes a SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance. The proposal must be in the APPROVED state.
274
275 Args:
276 name: string, Required. The name of the SingleTenantHsmInstanceProposal to execute. (required)
277 body: object, The request body.
278 The object takes the form of:
279
280 { # Request message for HsmManagement.ExecuteSingleTenantHsmInstanceProposal.
281 }
282
283 x__xgafv: string, V1 error format.
284 Allowed values
285 1 - v1 error format
286 2 - v2 error format
287
288 Returns:
289 An object of the form:
290
291 { # This resource represents a long-running operation that is the result of a network API call.
292 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
293 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
294 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
295 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
296 {
297 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
298 },
299 ],
300 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
301 },
302 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
303 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
304 },
305 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
306 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
307 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
308 },
309 }</pre>
310 </div>
311
312 <div class="method">
313 <code class="details" id="get">get(name, x__xgafv=None)</code>
314 <pre>Returns metadata for a given SingleTenantHsmInstanceProposal.
315
316 Args:
317 name: string, Required. The name of the SingleTenantHsmInstanceProposal to get. (required)
318 x__xgafv: string, V1 error format.
319 Allowed values
320 1 - v1 error format
321 2 - v2 error format
322
323 Returns:
324 An object of the form:
325
326 { # A SingleTenantHsmInstanceProposal represents a proposal to perform an operation on a SingleTenantHsmInstance.
327 &quot;addQuorumMember&quot;: { # Add a quorum member to the SingleTenantHsmInstance. This will increase the total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation. # Add a quorum member to the SingleTenantHsmInstance. This will increase the total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
328 &quot;twoFactorPublicKeyPem&quot;: &quot;A String&quot;, # Required. The public key associated with the 2FA key for the new quorum member to add. Public keys must be associated with RSA 2048 keys.
329 },
330 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the SingleTenantHsmInstanceProposal was created.
331 &quot;deleteSingleTenantHsmInstance&quot;: { # Delete the SingleTenantHsmInstance. Deleting a SingleTenantHsmInstance will make all CryptoKeys attached to the SingleTenantHsmInstance unusable. The SingleTenantHsmInstance must not be in the DELETING or DELETED state to perform this operation. # Delete the SingleTenantHsmInstance. Deleting a SingleTenantHsmInstance will make all CryptoKeys attached to the SingleTenantHsmInstance unusable. The SingleTenantHsmInstance must be in the DISABLED or PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation.
332 },
333 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which the SingleTenantHsmInstanceProposal was deleted.
334 &quot;disableSingleTenantHsmInstance&quot;: { # Disable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation. # Disable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
335 },
336 &quot;enableSingleTenantHsmInstance&quot;: { # Enable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the DISABLED state to perform this operation. # Enable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the DISABLED state to perform this operation.
337 },
338 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the SingleTenantHsmInstanceProposal will expire if not approved and executed.
339 &quot;failureReason&quot;: &quot;A String&quot;, # Output only. The root cause of the most recent failure. Only present if state is FAILED.
340 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this SingleTenantHsmInstance in the format `projects/*/locations/*/singleTenantHsmInstances/*/proposals/*`.
341 &quot;purgeTime&quot;: &quot;A String&quot;, # Output only. The time at which the soft-deleted SingleTenantHsmInstanceProposal will be permanently purged. This field is only populated when the state is DELETED and will be set a time after expiration of the proposal, i.e. &gt;= expire_time or (create_time + ttl).
342 &quot;quorumParameters&quot;: { # Parameters of quorum approval for the SingleTenantHsmInstanceProposal. # Output only. The quorum approval parameters for the SingleTenantHsmInstanceProposal.
343 &quot;approvedTwoFactorPublicKeyPems&quot;: [ # Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.
344 &quot;A String&quot;,
345 ],
346 &quot;challenges&quot;: [ # Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.
347 { # A challenge to be signed by a 2FA key.
348 &quot;challenge&quot;: &quot;A String&quot;, # Output only. The challenge to be signed by the 2FA key indicated by the public key.
349 &quot;publicKeyPem&quot;: &quot;A String&quot;, # Output only. The public key associated with the 2FA key that should sign the challenge.
350 },
351 ],
352 &quot;requiredApproverCount&quot;: 42, # Output only. The required numbers of approvers. This is the M value used for M of N quorum auth. It is less than the number of public keys.
353 },
354 &quot;refreshSingleTenantHsmInstance&quot;: { # Refreshes the SingleTenantHsmInstance. This operation must be performed periodically to keep the SingleTenantHsmInstance active. This operation must be performed before unrefreshed_duration_until_disable has passed. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation. # Refreshes the SingleTenantHsmInstance. This operation must be performed periodically to keep the SingleTenantHsmInstance active. This operation must be performed before unrefreshed_duration_until_disable has passed. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
355 },
356 &quot;registerTwoFactorAuthKeys&quot;: { # Register 2FA keys for the SingleTenantHsmInstance. This operation requires all Challenges to be signed by 2FA keys. The SingleTenantHsmInstance must be in the PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation. # Register 2FA keys for the SingleTenantHsmInstance. This operation requires all N Challenges to be signed by 2FA keys. The SingleTenantHsmInstance must be in the PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation.
357 &quot;requiredApproverCount&quot;: 42, # Required. The required numbers of approvers to set for the SingleTenantHsmInstance. This is the M value used for M of N quorum auth. Must be greater than or equal to 2 and less than or equal to total_approver_count - 1.
358 &quot;twoFactorPublicKeyPems&quot;: [ # Required. The public keys associated with the 2FA keys for M of N quorum auth. Public keys must be associated with RSA 2048 keys.
359 &quot;A String&quot;,
360 ],
361 },
362 &quot;removeQuorumMember&quot;: { # Remove a quorum member from the SingleTenantHsmInstance. This will reduce total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation. # Remove a quorum member from the SingleTenantHsmInstance. This will reduce total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
363 &quot;twoFactorPublicKeyPem&quot;: &quot;A String&quot;, # Required. The public key associated with the 2FA key for the quorum member to remove. Public keys must be associated with RSA 2048 keys.
364 },
365 &quot;requiredActionQuorumParameters&quot;: { # Parameters for an approval that has both required challenges and a quorum. # Output only. Parameters for an approval of a SingleTenantHsmInstanceProposal that has both required challenges and a quorum.
366 &quot;approvedTwoFactorPublicKeyPems&quot;: [ # Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.
367 &quot;A String&quot;,
368 ],
369 &quot;quorumChallenges&quot;: [ # Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.
370 { # A challenge to be signed by a 2FA key.
371 &quot;challenge&quot;: &quot;A String&quot;, # Output only. The challenge to be signed by the 2FA key indicated by the public key.
372 &quot;publicKeyPem&quot;: &quot;A String&quot;, # Output only. The public key associated with the 2FA key that should sign the challenge.
373 },
374 ],
375 &quot;requiredApproverCount&quot;: 42, # Output only. The required number of quorum approvers. This is the M value used for M of N quorum auth. It is less than the number of public keys.
376 &quot;requiredChallenges&quot;: [ # Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.
377 { # A challenge to be signed by a 2FA key.
378 &quot;challenge&quot;: &quot;A String&quot;, # Output only. The challenge to be signed by the 2FA key indicated by the public key.
379 &quot;publicKeyPem&quot;: &quot;A String&quot;, # Output only. The public key associated with the 2FA key that should sign the challenge.
380 },
381 ],
382 },
383 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the SingleTenantHsmInstanceProposal.
384 &quot;ttl&quot;: &quot;A String&quot;, # Input only. The TTL for the SingleTenantHsmInstanceProposal. Proposals will expire after this duration.
385 }</pre>
386 </div>
387
388 <div class="method">
389 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</code>
390 <pre>Lists SingleTenantHsmInstanceProposals.
391
392 Args:
393 parent: string, Required. The resource name of the single tenant HSM instance associated with the SingleTenantHsmInstanceProposals to list, in the format `projects/*/locations/*/singleTenantHsmInstances/*`. (required)
394 filter: string, Optional. Only include resources that match the filter in the response. For more information, see [Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-and-filtering).
395 orderBy: string, Optional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, see [Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-and-filtering).
396 pageSize: integer, Optional. Optional limit on the number of SingleTenantHsmInstanceProposals to include in the response. Further SingleTenantHsmInstanceProposals can subsequently be obtained by including the ListSingleTenantHsmInstanceProposalsResponse.next_page_token in a subsequent request. If unspecified, the server will pick an appropriate default.
397 pageToken: string, Optional. Optional pagination token, returned earlier via ListSingleTenantHsmInstanceProposalsResponse.next_page_token.
398 showDeleted: boolean, Optional. If set to true, HsmManagement.ListSingleTenantHsmInstanceProposals will also return SingleTenantHsmInstanceProposals in DELETED state.
399 x__xgafv: string, V1 error format.
400 Allowed values
401 1 - v1 error format
402 2 - v2 error format
403
404 Returns:
405 An object of the form:
406
407 { # Response message for HsmManagement.ListSingleTenantHsmInstanceProposals.
408 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve next page of results. Pass this value in ListSingleTenantHsmInstanceProposalsRequest.page_token to retrieve the next page of results.
409 &quot;singleTenantHsmInstanceProposals&quot;: [ # The list of SingleTenantHsmInstanceProposals.
410 { # A SingleTenantHsmInstanceProposal represents a proposal to perform an operation on a SingleTenantHsmInstance.
411 &quot;addQuorumMember&quot;: { # Add a quorum member to the SingleTenantHsmInstance. This will increase the total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation. # Add a quorum member to the SingleTenantHsmInstance. This will increase the total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
412 &quot;twoFactorPublicKeyPem&quot;: &quot;A String&quot;, # Required. The public key associated with the 2FA key for the new quorum member to add. Public keys must be associated with RSA 2048 keys.
413 },
414 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the SingleTenantHsmInstanceProposal was created.
415 &quot;deleteSingleTenantHsmInstance&quot;: { # Delete the SingleTenantHsmInstance. Deleting a SingleTenantHsmInstance will make all CryptoKeys attached to the SingleTenantHsmInstance unusable. The SingleTenantHsmInstance must not be in the DELETING or DELETED state to perform this operation. # Delete the SingleTenantHsmInstance. Deleting a SingleTenantHsmInstance will make all CryptoKeys attached to the SingleTenantHsmInstance unusable. The SingleTenantHsmInstance must be in the DISABLED or PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation.
416 },
417 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which the SingleTenantHsmInstanceProposal was deleted.
418 &quot;disableSingleTenantHsmInstance&quot;: { # Disable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation. # Disable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
419 },
420 &quot;enableSingleTenantHsmInstance&quot;: { # Enable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the DISABLED state to perform this operation. # Enable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the DISABLED state to perform this operation.
421 },
422 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the SingleTenantHsmInstanceProposal will expire if not approved and executed.
423 &quot;failureReason&quot;: &quot;A String&quot;, # Output only. The root cause of the most recent failure. Only present if state is FAILED.
424 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this SingleTenantHsmInstance in the format `projects/*/locations/*/singleTenantHsmInstances/*/proposals/*`.
425 &quot;purgeTime&quot;: &quot;A String&quot;, # Output only. The time at which the soft-deleted SingleTenantHsmInstanceProposal will be permanently purged. This field is only populated when the state is DELETED and will be set a time after expiration of the proposal, i.e. &gt;= expire_time or (create_time + ttl).
426 &quot;quorumParameters&quot;: { # Parameters of quorum approval for the SingleTenantHsmInstanceProposal. # Output only. The quorum approval parameters for the SingleTenantHsmInstanceProposal.
427 &quot;approvedTwoFactorPublicKeyPems&quot;: [ # Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.
428 &quot;A String&quot;,
429 ],
430 &quot;challenges&quot;: [ # Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.
431 { # A challenge to be signed by a 2FA key.
432 &quot;challenge&quot;: &quot;A String&quot;, # Output only. The challenge to be signed by the 2FA key indicated by the public key.
433 &quot;publicKeyPem&quot;: &quot;A String&quot;, # Output only. The public key associated with the 2FA key that should sign the challenge.
434 },
435 ],
436 &quot;requiredApproverCount&quot;: 42, # Output only. The required numbers of approvers. This is the M value used for M of N quorum auth. It is less than the number of public keys.
437 },
438 &quot;refreshSingleTenantHsmInstance&quot;: { # Refreshes the SingleTenantHsmInstance. This operation must be performed periodically to keep the SingleTenantHsmInstance active. This operation must be performed before unrefreshed_duration_until_disable has passed. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation. # Refreshes the SingleTenantHsmInstance. This operation must be performed periodically to keep the SingleTenantHsmInstance active. This operation must be performed before unrefreshed_duration_until_disable has passed. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
439 },
440 &quot;registerTwoFactorAuthKeys&quot;: { # Register 2FA keys for the SingleTenantHsmInstance. This operation requires all Challenges to be signed by 2FA keys. The SingleTenantHsmInstance must be in the PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation. # Register 2FA keys for the SingleTenantHsmInstance. This operation requires all N Challenges to be signed by 2FA keys. The SingleTenantHsmInstance must be in the PENDING_TWO_FACTOR_AUTH_REGISTRATION state to perform this operation.
441 &quot;requiredApproverCount&quot;: 42, # Required. The required numbers of approvers to set for the SingleTenantHsmInstance. This is the M value used for M of N quorum auth. Must be greater than or equal to 2 and less than or equal to total_approver_count - 1.
442 &quot;twoFactorPublicKeyPems&quot;: [ # Required. The public keys associated with the 2FA keys for M of N quorum auth. Public keys must be associated with RSA 2048 keys.
443 &quot;A String&quot;,
444 ],
445 },
446 &quot;removeQuorumMember&quot;: { # Remove a quorum member from the SingleTenantHsmInstance. This will reduce total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation. # Remove a quorum member from the SingleTenantHsmInstance. This will reduce total_approver_count by 1. The SingleTenantHsmInstance must be in the ACTIVE state to perform this operation.
447 &quot;twoFactorPublicKeyPem&quot;: &quot;A String&quot;, # Required. The public key associated with the 2FA key for the quorum member to remove. Public keys must be associated with RSA 2048 keys.
448 },
449 &quot;requiredActionQuorumParameters&quot;: { # Parameters for an approval that has both required challenges and a quorum. # Output only. Parameters for an approval of a SingleTenantHsmInstanceProposal that has both required challenges and a quorum.
450 &quot;approvedTwoFactorPublicKeyPems&quot;: [ # Output only. The public keys associated with the 2FA keys that have already approved the SingleTenantHsmInstanceProposal by signing the challenge.
451 &quot;A String&quot;,
452 ],
453 &quot;quorumChallenges&quot;: [ # Output only. The challenges to be signed by 2FA keys for quorum auth. M of N of these challenges are required to be signed to approve the operation.
454 { # A challenge to be signed by a 2FA key.
455 &quot;challenge&quot;: &quot;A String&quot;, # Output only. The challenge to be signed by the 2FA key indicated by the public key.
456 &quot;publicKeyPem&quot;: &quot;A String&quot;, # Output only. The public key associated with the 2FA key that should sign the challenge.
457 },
458 ],
459 &quot;requiredApproverCount&quot;: 42, # Output only. The required number of quorum approvers. This is the M value used for M of N quorum auth. It is less than the number of public keys.
460 &quot;requiredChallenges&quot;: [ # Output only. A list of specific challenges that must be signed. For some operations, this will contain a single challenge.
461 { # A challenge to be signed by a 2FA key.
462 &quot;challenge&quot;: &quot;A String&quot;, # Output only. The challenge to be signed by the 2FA key indicated by the public key.
463 &quot;publicKeyPem&quot;: &quot;A String&quot;, # Output only. The public key associated with the 2FA key that should sign the challenge.
464 },
465 ],
466 },
467 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the SingleTenantHsmInstanceProposal.
468 &quot;ttl&quot;: &quot;A String&quot;, # Input only. The TTL for the SingleTenantHsmInstanceProposal. Proposals will expire after this duration.
469 },
470 ],
471 &quot;totalSize&quot;: 42, # The total number of SingleTenantHsmInstanceProposals that matched the query. This field is not populated if ListSingleTenantHsmInstanceProposalsRequest.filter is applied.
472 }</pre>
473 </div>
474
475 <div class="method">
476 <code class="details" id="list_next">list_next()</code>
477 <pre>Retrieves the next page of results.
478
479 Args:
480 previous_request: The request for the previous page. (required)
481 previous_response: The response from the request for the previous page. (required)
482
483 Returns:
484 A request object that you can call &#x27;execute()&#x27; on to request the next
485 page. Returns None if there are no more items in the collection.
486 </pre>
487 </div>
488
489 </body></html>