Skip to content

Commit aa4b0e1

Browse files
feat(baremetalsolution): update the api
#### baremetalsolution:v1 The following keys were deleted: - resources.projects.resources.locations.resources.instances.methods.resetInstance (Total Keys: 12) - schemas.ResetInstanceRequest (Total Keys: 2) - schemas.ResetInstanceResponse (Total Keys: 2) #### baremetalsolution:v2 The following keys were added: - resources.projects.resources.locations.resources.instances.methods.disableInteractiveSerialConsole (Total Keys: 12) - resources.projects.resources.locations.resources.instances.methods.enableInteractiveSerialConsole (Total Keys: 12) - resources.projects.resources.locations.resources.sshKeys.methods.create (Total Keys: 14) - resources.projects.resources.locations.resources.sshKeys.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.sshKeys.methods.list (Total Keys: 16) - schemas.DisableInteractiveSerialConsoleRequest (Total Keys: 2) - schemas.Empty (Total Keys: 2) - schemas.EnableInteractiveSerialConsoleRequest (Total Keys: 2) - schemas.ListSSHKeysResponse (Total Keys: 5) - schemas.Network.properties.gatewayIp (Total Keys: 2) - schemas.ProvisioningConfig.properties.customId.type (Total Keys: 1) - schemas.SSHKey (Total Keys: 5)
1 parent 38f6bdc commit aa4b0e1

8 files changed

+549
-81
lines changed

docs/dyn/baremetalsolution_v1.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the operations Resource.</p>
8181

82-
<p class="toc_element">
83-
<code><a href="baremetalsolution_v1.projects.html">projects()</a></code>
84-
</p>
85-
<p class="firstline">Returns the projects Resource.</p>
86-
8782
<p class="toc_element">
8883
<code><a href="#close">close()</a></code></p>
8984
<p class="firstline">Close httplib2 connections.</p>

docs/dyn/baremetalsolution_v2.projects.locations.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ <h2>Instance Methods</h2>
109109
</p>
110110
<p class="firstline">Returns the provisioningQuotas Resource.</p>
111111

112+
<p class="toc_element">
113+
<code><a href="baremetalsolution_v2.projects.locations.sshKeys.html">sshKeys()</a></code>
114+
</p>
115+
<p class="firstline">Returns the sshKeys Resource.</p>
116+
112117
<p class="toc_element">
113118
<code><a href="baremetalsolution_v2.projects.locations.volumes.html">volumes()</a></code>
114119
</p>

docs/dyn/baremetalsolution_v2.projects.locations.instances.html

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ <h2>Instance Methods</h2>
8383
<p class="toc_element">
8484
<code><a href="#detachLun">detachLun(instance, body=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Detach LUN from Instance.</p>
86+
<p class="toc_element">
87+
<code><a href="#disableInteractiveSerialConsole">disableInteractiveSerialConsole(name, body=None, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Disable the interactive serial console feature on an instance.</p>
89+
<p class="toc_element">
90+
<code><a href="#enableInteractiveSerialConsole">enableInteractiveSerialConsole(name, body=None, x__xgafv=None)</a></code></p>
91+
<p class="firstline">Enable the interactive serial console feature on an instance.</p>
8692
<p class="toc_element">
8793
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8894
<p class="firstline">Get details about a single server.</p>
@@ -163,6 +169,7 @@ <h3>Method Details</h3>
163169
&quot;networks&quot;: [ # Output only. List of networks associated with this server.
164170
{ # A Network.
165171
&quot;cidr&quot;: &quot;A String&quot;, # The cidr of the Network.
172+
&quot;gatewayIp&quot;: &quot;A String&quot;, # Output only. Gateway ip address.
166173
&quot;id&quot;: &quot;A String&quot;, # An identifier for the `Network`, generated by the backend.
167174
&quot;ipAddress&quot;: &quot;A String&quot;, # IP address configured.
168175
&quot;jumboFramesEnabled&quot;: True or False, # Whether network uses standard frames or jumbo ones.
@@ -324,6 +331,88 @@ <h3>Method Details</h3>
324331
}</pre>
325332
</div>
326333

334+
<div class="method">
335+
<code class="details" id="disableInteractiveSerialConsole">disableInteractiveSerialConsole(name, body=None, x__xgafv=None)</code>
336+
<pre>Disable the interactive serial console feature on an instance.
337+
338+
Args:
339+
name: string, Required. Name of the resource. (required)
340+
body: object, The request body.
341+
The object takes the form of:
342+
343+
{ # Message for disabling the interactive serial console on an instance.
344+
}
345+
346+
x__xgafv: string, V1 error format.
347+
Allowed values
348+
1 - v1 error format
349+
2 - v2 error format
350+
351+
Returns:
352+
An object of the form:
353+
354+
{ # This resource represents a long-running operation that is the result of a network API call.
355+
&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.
356+
&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.
357+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
358+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
359+
{
360+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
361+
},
362+
],
363+
&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.
364+
},
365+
&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.
366+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
367+
},
368+
&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}`.
369+
&quot;response&quot;: { # The normal response of the operation in case of success. 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`.
370+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
371+
},
372+
}</pre>
373+
</div>
374+
375+
<div class="method">
376+
<code class="details" id="enableInteractiveSerialConsole">enableInteractiveSerialConsole(name, body=None, x__xgafv=None)</code>
377+
<pre>Enable the interactive serial console feature on an instance.
378+
379+
Args:
380+
name: string, Required. Name of the resource. (required)
381+
body: object, The request body.
382+
The object takes the form of:
383+
384+
{ # Message for enabling the interactive serial console on an instance.
385+
}
386+
387+
x__xgafv: string, V1 error format.
388+
Allowed values
389+
1 - v1 error format
390+
2 - v2 error format
391+
392+
Returns:
393+
An object of the form:
394+
395+
{ # This resource represents a long-running operation that is the result of a network API call.
396+
&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.
397+
&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.
398+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
399+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
400+
{
401+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
402+
},
403+
],
404+
&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.
405+
},
406+
&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.
407+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
408+
},
409+
&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}`.
410+
&quot;response&quot;: { # The normal response of the operation in case of success. 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`.
411+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
412+
},
413+
}</pre>
414+
</div>
415+
327416
<div class="method">
328417
<code class="details" id="get">get(name, x__xgafv=None)</code>
329418
<pre>Get details about a single server.
@@ -382,6 +471,7 @@ <h3>Method Details</h3>
382471
&quot;networks&quot;: [ # Output only. List of networks associated with this server.
383472
{ # A Network.
384473
&quot;cidr&quot;: &quot;A String&quot;, # The cidr of the Network.
474+
&quot;gatewayIp&quot;: &quot;A String&quot;, # Output only. Gateway ip address.
385475
&quot;id&quot;: &quot;A String&quot;, # An identifier for the `Network`, generated by the backend.
386476
&quot;ipAddress&quot;: &quot;A String&quot;, # IP address configured.
387477
&quot;jumboFramesEnabled&quot;: True or False, # Whether network uses standard frames or jumbo ones.
@@ -535,6 +625,7 @@ <h3>Method Details</h3>
535625
&quot;networks&quot;: [ # Output only. List of networks associated with this server.
536626
{ # A Network.
537627
&quot;cidr&quot;: &quot;A String&quot;, # The cidr of the Network.
628+
&quot;gatewayIp&quot;: &quot;A String&quot;, # Output only. Gateway ip address.
538629
&quot;id&quot;: &quot;A String&quot;, # An identifier for the `Network`, generated by the backend.
539630
&quot;ipAddress&quot;: &quot;A String&quot;, # IP address configured.
540631
&quot;jumboFramesEnabled&quot;: True or False, # Whether network uses standard frames or jumbo ones.
@@ -698,6 +789,7 @@ <h3>Method Details</h3>
698789
&quot;networks&quot;: [ # Output only. List of networks associated with this server.
699790
{ # A Network.
700791
&quot;cidr&quot;: &quot;A String&quot;, # The cidr of the Network.
792+
&quot;gatewayIp&quot;: &quot;A String&quot;, # Output only. Gateway ip address.
701793
&quot;id&quot;: &quot;A String&quot;, # An identifier for the `Network`, generated by the backend.
702794
&quot;ipAddress&quot;: &quot;A String&quot;, # IP address configured.
703795
&quot;jumboFramesEnabled&quot;: True or False, # Whether network uses standard frames or jumbo ones.

docs/dyn/baremetalsolution_v2.projects.locations.networks.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ <h3>Method Details</h3>
114114

115115
{ # A Network.
116116
&quot;cidr&quot;: &quot;A String&quot;, # The cidr of the Network.
117+
&quot;gatewayIp&quot;: &quot;A String&quot;, # Output only. Gateway ip address.
117118
&quot;id&quot;: &quot;A String&quot;, # An identifier for the `Network`, generated by the backend.
118119
&quot;ipAddress&quot;: &quot;A String&quot;, # IP address configured.
119120
&quot;jumboFramesEnabled&quot;: True or False, # Whether network uses standard frames or jumbo ones.
@@ -187,6 +188,7 @@ <h3>Method Details</h3>
187188
&quot;networks&quot;: [ # The list of networks.
188189
{ # A Network.
189190
&quot;cidr&quot;: &quot;A String&quot;, # The cidr of the Network.
191+
&quot;gatewayIp&quot;: &quot;A String&quot;, # Output only. Gateway ip address.
190192
&quot;id&quot;: &quot;A String&quot;, # An identifier for the `Network`, generated by the backend.
191193
&quot;ipAddress&quot;: &quot;A String&quot;, # IP address configured.
192194
&quot;jumboFramesEnabled&quot;: True or False, # Whether network uses standard frames or jumbo ones.
@@ -264,6 +266,7 @@ <h3>Method Details</h3>
264266
{ # Network with all used IP addresses.
265267
&quot;network&quot;: { # A Network. # Network.
266268
&quot;cidr&quot;: &quot;A String&quot;, # The cidr of the Network.
269+
&quot;gatewayIp&quot;: &quot;A String&quot;, # Output only. Gateway ip address.
267270
&quot;id&quot;: &quot;A String&quot;, # An identifier for the `Network`, generated by the backend.
268271
&quot;ipAddress&quot;: &quot;A String&quot;, # IP address configured.
269272
&quot;jumboFramesEnabled&quot;: True or False, # Whether network uses standard frames or jumbo ones.
@@ -347,6 +350,7 @@ <h3>Method Details</h3>
347350

348351
{ # A Network.
349352
&quot;cidr&quot;: &quot;A String&quot;, # The cidr of the Network.
353+
&quot;gatewayIp&quot;: &quot;A String&quot;, # Output only. Gateway ip address.
350354
&quot;id&quot;: &quot;A String&quot;, # An identifier for the `Network`, generated by the backend.
351355
&quot;ipAddress&quot;: &quot;A String&quot;, # IP address configured.
352356
&quot;jumboFramesEnabled&quot;: True or False, # Whether network uses standard frames or jumbo ones.
@@ -398,7 +402,7 @@ <h3>Method Details</h3>
398402
},
399403
}
400404

401-
updateMask: string, The list of fields to update. The only currently supported fields are: `labels`, `reservations`
405+
updateMask: string, The list of fields to update. The only currently supported fields are: `labels`, `reservations`, `vrf.vlan_attachments`
402406
x__xgafv: string, V1 error format.
403407
Allowed values
404408
1 - v1 error format

0 commit comments

Comments
 (0)