Debian Codegraph @

docs/dyn/vmwareengine_v1.projects.locations.privateClouds.loggingServers.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="vmwareengine_v1.html">VMware Engine API</a> . <a href="vmwareengine_v1.projects.html">projects</a> . <a href="vmwareengine_v1.projects.locations.html">locations</a> . <a href="vmwareengine_v1.projects.locations.privateClouds.html">privateClouds</a> . <a href="vmwareengine_v1.projects.locations.privateClouds.loggingServers.html">loggingServers</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, loggingServerId=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Create a new logging server for a given private cloud.</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 logging server.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a logging server.</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 logging servers configured for a given private cloud.</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 the parameters of a single logging server. Only fields specified in `update_mask` are applied.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, loggingServerId=None, requestId=None, x__xgafv=None)</code>
106 <pre>Create a new logging server for a given private cloud.
107
108 Args:
109 parent: string, Required. The resource name of the private cloud to create a new Logging Server in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Logging server to receive vCenter or ESXi logs.
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
115 &quot;hostname&quot;: &quot;A String&quot;, # Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.
116 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server`
117 &quot;port&quot;: 42, # Required. Port number at which the logging server receives logs.
118 &quot;protocol&quot;: &quot;A String&quot;, # Required. Protocol used by vCenter to send logs to a logging server.
119 &quot;sourceType&quot;: &quot;A String&quot;, # Required. The type of component that produces logs that will be forwarded to this logging server.
120 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
121 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
122 }
123
124 loggingServerId: string, Required. The user-provided identifier of the `LoggingServer` to be created. This identifier must be unique among `LoggingServer` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
125 requestId: string, Optional. A 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 guarantees that a request doesn&#x27;t result in creation of duplicate commitments for at least 60 minutes. 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).
126 x__xgafv: string, V1 error format.
127 Allowed values
128 1 - v1 error format
129 2 - v2 error format
130
131 Returns:
132 An object of the form:
133
134 { # This resource represents a long-running operation that is the result of a network API call.
135 &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.
136 &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.
137 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
138 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
139 {
140 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
141 },
142 ],
143 &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.
144 },
145 &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.
146 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
147 },
148 &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}`.
149 &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`.
150 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
151 },
152 }</pre>
153 </div>
154
155 <div class="method">
156 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
157 <pre>Deletes a single logging server.
158
159 Args:
160 name: string, Required. The resource name of the logging server to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` (required)
161 requestId: string, Optional. A 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 guarantees that a request doesn&#x27;t result in creation of duplicate commitments for at least 60 minutes. 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).
162 x__xgafv: string, V1 error format.
163 Allowed values
164 1 - v1 error format
165 2 - v2 error format
166
167 Returns:
168 An object of the form:
169
170 { # This resource represents a long-running operation that is the result of a network API call.
171 &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.
172 &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.
173 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
174 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
175 {
176 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
177 },
178 ],
179 &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.
180 },
181 &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.
182 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
183 },
184 &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}`.
185 &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`.
186 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
187 },
188 }</pre>
189 </div>
190
191 <div class="method">
192 <code class="details" id="get">get(name, x__xgafv=None)</code>
193 <pre>Gets details of a logging server.
194
195 Args:
196 name: string, Required. The resource name of the Logging Server to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` (required)
197 x__xgafv: string, V1 error format.
198 Allowed values
199 1 - v1 error format
200 2 - v2 error format
201
202 Returns:
203 An object of the form:
204
205 { # Logging server to receive vCenter or ESXi logs.
206 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
207 &quot;hostname&quot;: &quot;A String&quot;, # Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.
208 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server`
209 &quot;port&quot;: 42, # Required. Port number at which the logging server receives logs.
210 &quot;protocol&quot;: &quot;A String&quot;, # Required. Protocol used by vCenter to send logs to a logging server.
211 &quot;sourceType&quot;: &quot;A String&quot;, # Required. The type of component that produces logs that will be forwarded to this logging server.
212 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
213 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
214 }</pre>
215 </div>
216
217 <div class="method">
218 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
219 <pre>Lists logging servers configured for a given private cloud.
220
221 Args:
222 parent: string, Required. The resource name of the private cloud to be queried for logging servers. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` (required)
223 filter: string, A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `&gt;`, or `&lt;`. For example, if you are filtering a list of logging servers, you can exclude the ones named `example-server` by specifying `name != &quot;example-server&quot;`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = &quot;example-server&quot;) (createTime &gt; &quot;2021-04-12T08:15:10.40Z&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = &quot;example-server-1&quot;) AND (createTime &gt; &quot;2021-04-12T08:15:10.40Z&quot;) OR (name = &quot;example-server-2&quot;) ```
224 orderBy: string, Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=&quot;name desc&quot;`. Currently, only ordering by `name` is supported.
225 pageSize: integer, The maximum number of logging servers to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.
226 pageToken: string, A page token, received from a previous `ListLoggingServersRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListLoggingServersRequest` must match the call that provided the page token.
227 x__xgafv: string, V1 error format.
228 Allowed values
229 1 - v1 error format
230 2 - v2 error format
231
232 Returns:
233 An object of the form:
234
235 { # Response message for VmwareEngine.ListLoggingServers
236 &quot;loggingServers&quot;: [ # A list of Logging Servers.
237 { # Logging server to receive vCenter or ESXi logs.
238 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
239 &quot;hostname&quot;: &quot;A String&quot;, # Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.
240 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server`
241 &quot;port&quot;: 42, # Required. Port number at which the logging server receives logs.
242 &quot;protocol&quot;: &quot;A String&quot;, # Required. Protocol used by vCenter to send logs to a logging server.
243 &quot;sourceType&quot;: &quot;A String&quot;, # Required. The type of component that produces logs that will be forwarded to this logging server.
244 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
245 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
246 },
247 ],
248 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be send as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
249 &quot;unreachable&quot;: [ # Locations that could not be reached when making an aggregated query using wildcards.
250 &quot;A String&quot;,
251 ],
252 }</pre>
253 </div>
254
255 <div class="method">
256 <code class="details" id="list_next">list_next()</code>
257 <pre>Retrieves the next page of results.
258
259 Args:
260 previous_request: The request for the previous page. (required)
261 previous_response: The response from the request for the previous page. (required)
262
263 Returns:
264 A request object that you can call &#x27;execute()&#x27; on to request the next
265 page. Returns None if there are no more items in the collection.
266 </pre>
267 </div>
268
269 <div class="method">
270 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
271 <pre>Updates the parameters of a single logging server. Only fields specified in `update_mask` are applied.
272
273 Args:
274 name: string, Output only. The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` (required)
275 body: object, The request body.
276 The object takes the form of:
277
278 { # Logging server to receive vCenter or ESXi logs.
279 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of this resource.
280 &quot;hostname&quot;: &quot;A String&quot;, # Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.
281 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of this logging server. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server`
282 &quot;port&quot;: 42, # Required. Port number at which the logging server receives logs.
283 &quot;protocol&quot;: &quot;A String&quot;, # Required. Protocol used by vCenter to send logs to a logging server.
284 &quot;sourceType&quot;: &quot;A String&quot;, # Required. The type of component that produces logs that will be forwarded to this logging server.
285 &quot;uid&quot;: &quot;A String&quot;, # Output only. System-generated unique identifier for the resource.
286 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Last update time of this resource.
287 }
288
289 requestId: string, Optional. A 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 guarantees that a request doesn&#x27;t result in creation of duplicate commitments for at least 60 minutes. 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).
290 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the `LoggingServer` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
291 x__xgafv: string, V1 error format.
292 Allowed values
293 1 - v1 error format
294 2 - v2 error format
295
296 Returns:
297 An object of the form:
298
299 { # This resource represents a long-running operation that is the result of a network API call.
300 &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.
301 &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.
302 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
303 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
304 {
305 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
306 },
307 ],
308 &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.
309 },
310 &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.
311 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
312 },
313 &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}`.
314 &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`.
315 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
316 },
317 }</pre>
318 </div>
319
320 </body></html>