Debian Codegraph @

docs/dyn/cloudcontrolspartner_v1.organizations.locations.customers.workloads.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="cloudcontrolspartner_v1.html">Cloud Controls Partner API</a> . <a href="cloudcontrolspartner_v1.organizations.html">organizations</a> . <a href="cloudcontrolspartner_v1.organizations.locations.html">locations</a> . <a href="cloudcontrolspartner_v1.organizations.locations.customers.html">customers</a> . <a href="cloudcontrolspartner_v1.organizations.locations.customers.workloads.html">workloads</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="cloudcontrolspartner_v1.organizations.locations.customers.workloads.accessApprovalRequests.html">accessApprovalRequests()</a></code>
79 </p>
80 <p class="firstline">Returns the accessApprovalRequests Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="cloudcontrolspartner_v1.organizations.locations.customers.workloads.violations.html">violations()</a></code>
84 </p>
85 <p class="firstline">Returns the violations Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="#close">close()</a></code></p>
89 <p class="firstline">Close httplib2 connections.</p>
90 <p class="toc_element">
91 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
92 <p class="firstline">Gets details of a single workload</p>
93 <p class="toc_element">
94 <code><a href="#getEkmConnections">getEkmConnections(name, x__xgafv=None)</a></code></p>
95 <p class="firstline">Gets the EKM connections associated with a workload</p>
96 <p class="toc_element">
97 <code><a href="#getPartnerPermissions">getPartnerPermissions(name, x__xgafv=None)</a></code></p>
98 <p class="firstline">Gets the partner permissions granted for a workload</p>
99 <p class="toc_element">
100 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
101 <p class="firstline">Lists customer workloads for a given customer org id</p>
102 <p class="toc_element">
103 <code><a href="#list_next">list_next()</a></code></p>
104 <p class="firstline">Retrieves the next page of results.</p>
105 <h3>Method Details</h3>
106 <div class="method">
107 <code class="details" id="close">close()</code>
108 <pre>Close httplib2 connections.</pre>
109 </div>
110
111 <div class="method">
112 <code class="details" id="get">get(name, x__xgafv=None)</code>
113 <pre>Gets details of a single workload
114
115 Args:
116 name: string, Required. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}` (required)
117 x__xgafv: string, V1 error format.
118 Allowed values
119 1 - v1 error format
120 2 - v2 error format
121
122 Returns:
123 An object of the form:
124
125 { # Contains metadata around the [Workload resource](https://cloud.google.com/assured-workloads/docs/reference/rest/Shared.Types/Workload) in the Assured Workloads API.
126 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time the resource was created.
127 &quot;folder&quot;: &quot;A String&quot;, # Output only. The name of container folder of the assured workload
128 &quot;folderId&quot;: &quot;A String&quot;, # Output only. Folder id this workload is associated with
129 &quot;isOnboarded&quot;: True or False, # Indicates whether a workload is fully onboarded.
130 &quot;keyManagementProjectId&quot;: &quot;A String&quot;, # The project id of the key management project for the workload
131 &quot;location&quot;: &quot;A String&quot;, # The Google Cloud location of the workload
132 &quot;name&quot;: &quot;A String&quot;, # Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
133 &quot;partner&quot;: &quot;A String&quot;, # Partner associated with this workload.
134 &quot;workloadOnboardingState&quot;: { # Container for workload onboarding steps. # Container for workload onboarding steps.
135 &quot;onboardingSteps&quot;: [ # List of workload onboarding steps.
136 { # Container for workload onboarding information.
137 &quot;completionState&quot;: &quot;A String&quot;, # Output only. The completion state of the onboarding step.
138 &quot;completionTime&quot;: &quot;A String&quot;, # The completion time of the onboarding step.
139 &quot;startTime&quot;: &quot;A String&quot;, # The starting time of the onboarding step.
140 &quot;step&quot;: &quot;A String&quot;, # The onboarding step.
141 },
142 ],
143 },
144 }</pre>
145 </div>
146
147 <div class="method">
148 <code class="details" id="getEkmConnections">getEkmConnections(name, x__xgafv=None)</code>
149 <pre>Gets the EKM connections associated with a workload
150
151 Args:
152 name: string, Required. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections` (required)
153 x__xgafv: string, V1 error format.
154 Allowed values
155 1 - v1 error format
156 2 - v2 error format
157
158 Returns:
159 An object of the form:
160
161 { # The EKM connections associated with a workload
162 &quot;ekmConnections&quot;: [ # The EKM connections associated with the workload
163 { # Details about the EKM connection
164 &quot;connectionError&quot;: { # Information around the error that occurred if the connection state is anything other than available or unspecified # The connection error that occurred if any
165 &quot;errorDomain&quot;: &quot;A String&quot;, # The error domain for the error
166 &quot;errorMessage&quot;: &quot;A String&quot;, # The error message for the error
167 },
168 &quot;connectionName&quot;: &quot;A String&quot;, # Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
169 &quot;connectionState&quot;: &quot;A String&quot;, # Output only. The connection state
170 },
171 ],
172 &quot;name&quot;: &quot;A String&quot;, # Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
173 }</pre>
174 </div>
175
176 <div class="method">
177 <code class="details" id="getPartnerPermissions">getPartnerPermissions(name, x__xgafv=None)</code>
178 <pre>Gets the partner permissions granted for a workload
179
180 Args:
181 name: string, Required. Name of the resource to get in the format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions` (required)
182 x__xgafv: string, V1 error format.
183 Allowed values
184 1 - v1 error format
185 2 - v2 error format
186
187 Returns:
188 An object of the form:
189
190 { # The permissions granted to the partner for a workload
191 &quot;name&quot;: &quot;A String&quot;, # Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
192 &quot;partnerPermissions&quot;: [ # The partner permissions granted for the workload
193 &quot;A String&quot;,
194 ],
195 }</pre>
196 </div>
197
198 <div class="method">
199 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
200 <pre>Lists customer workloads for a given customer org id
201
202 Args:
203 parent: string, Required. Parent resource Format: `organizations/{organization}/locations/{location}/customers/{customer}` (required)
204 filter: string, Optional. Filtering results.
205 orderBy: string, Optional. Hint for how to order the results.
206 pageSize: integer, The maximum number of workloads to return. The service may return fewer than this value. If unspecified, at most 500 workloads will be returned.
207 pageToken: string, A page token, received from a previous `ListWorkloads` call. Provide this to retrieve the subsequent page.
208 x__xgafv: string, V1 error format.
209 Allowed values
210 1 - v1 error format
211 2 - v2 error format
212
213 Returns:
214 An object of the form:
215
216 { # Response message for list customer workloads requests.
217 &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.
218 &quot;unreachable&quot;: [ # Locations that could not be reached.
219 &quot;A String&quot;,
220 ],
221 &quot;workloads&quot;: [ # List of customer workloads
222 { # Contains metadata around the [Workload resource](https://cloud.google.com/assured-workloads/docs/reference/rest/Shared.Types/Workload) in the Assured Workloads API.
223 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time the resource was created.
224 &quot;folder&quot;: &quot;A String&quot;, # Output only. The name of container folder of the assured workload
225 &quot;folderId&quot;: &quot;A String&quot;, # Output only. Folder id this workload is associated with
226 &quot;isOnboarded&quot;: True or False, # Indicates whether a workload is fully onboarded.
227 &quot;keyManagementProjectId&quot;: &quot;A String&quot;, # The project id of the key management project for the workload
228 &quot;location&quot;: &quot;A String&quot;, # The Google Cloud location of the workload
229 &quot;name&quot;: &quot;A String&quot;, # Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
230 &quot;partner&quot;: &quot;A String&quot;, # Partner associated with this workload.
231 &quot;workloadOnboardingState&quot;: { # Container for workload onboarding steps. # Container for workload onboarding steps.
232 &quot;onboardingSteps&quot;: [ # List of workload onboarding steps.
233 { # Container for workload onboarding information.
234 &quot;completionState&quot;: &quot;A String&quot;, # Output only. The completion state of the onboarding step.
235 &quot;completionTime&quot;: &quot;A String&quot;, # The completion time of the onboarding step.
236 &quot;startTime&quot;: &quot;A String&quot;, # The starting time of the onboarding step.
237 &quot;step&quot;: &quot;A String&quot;, # The onboarding step.
238 },
239 ],
240 },
241 },
242 ],
243 }</pre>
244 </div>
245
246 <div class="method">
247 <code class="details" id="list_next">list_next()</code>
248 <pre>Retrieves the next page of results.
249
250 Args:
251 previous_request: The request for the previous page. (required)
252 previous_response: The response from the request for the previous page. (required)
253
254 Returns:
255 A request object that you can call &#x27;execute()&#x27; on to request the next
256 page. Returns None if there are no more items in the collection.
257 </pre>
258 </div>
259
260 </body></html>