Skip to content

Commit

Permalink
feat(oslogin): update the api
Browse files Browse the repository at this point in the history
#### oslogin:v1

The following keys were added:
- resources.users.methods.importSshPublicKey.parameters.regions (Total Keys: 3)

#### oslogin:v1alpha

The following keys were added:
- resources.users.methods.importSshPublicKey.parameters.regions (Total Keys: 3)

#### oslogin:v1beta

The following keys were added:
- resources.users.methods.importSshPublicKey.parameters.regions (Total Keys: 3)
  • Loading branch information
yoshi-automation committed Jan 4, 2024
1 parent 66f5a6b commit 710447b
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 9 deletions.
5 changes: 3 additions & 2 deletions docs/dyn/oslogin_v1.users.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h2>Instance Methods</h2>
<code><a href="#getLoginProfile">getLoginProfile(name, projectId=None, systemId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.</p>
<p class="toc_element">
<code><a href="#importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, x__xgafv=None)</a></code></p>
<code><a href="#importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, regions=None, x__xgafv=None)</a></code></p>
<p class="firstline">Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.</p>
<h3>Method Details</h3>
<div class="method">
Expand Down Expand Up @@ -144,7 +144,7 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, x__xgafv=None)</code>
<code class="details" id="importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, regions=None, x__xgafv=None)</code>
<pre>Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.

Args:
Expand All @@ -160,6 +160,7 @@ <h3>Method Details</h3>
}

projectId: string, The project ID of the Google Cloud Platform project.
regions: string, Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region. (repeated)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand Down
5 changes: 3 additions & 2 deletions docs/dyn/oslogin_v1alpha.users.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h2>Instance Methods</h2>
<code><a href="#getLoginProfile">getLoginProfile(name, operatingSystemType=None, projectId=None, systemId=None, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.</p>
<p class="toc_element">
<code><a href="#importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, view=None, x__xgafv=None)</a></code></p>
<code><a href="#importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, regions=None, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.</p>
<h3>Method Details</h3>
<div class="method">
Expand Down Expand Up @@ -167,7 +167,7 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, view=None, x__xgafv=None)</code>
<code class="details" id="importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, regions=None, view=None, x__xgafv=None)</code>
<pre>Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.

Args:
Expand All @@ -183,6 +183,7 @@ <h3>Method Details</h3>
}

projectId: string, The project ID of the Google Cloud Platform project.
regions: string, Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region. (repeated)
view: string, The view configures whether to retrieve security keys information.
Allowed values
LOGIN_PROFILE_VIEW_UNSPECIFIED - The default login profile view. The API defaults to the BASIC view.
Expand Down
5 changes: 3 additions & 2 deletions docs/dyn/oslogin_v1beta.users.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h2>Instance Methods</h2>
<code><a href="#getLoginProfile">getLoginProfile(name, projectId=None, systemId=None, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.</p>
<p class="toc_element">
<code><a href="#importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, view=None, x__xgafv=None)</a></code></p>
<code><a href="#importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, regions=None, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.</p>
<h3>Method Details</h3>
<div class="method">
Expand Down Expand Up @@ -162,7 +162,7 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, view=None, x__xgafv=None)</code>
<code class="details" id="importSshPublicKey">importSshPublicKey(parent, body=None, projectId=None, regions=None, view=None, x__xgafv=None)</code>
<pre>Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.

Args:
Expand All @@ -178,6 +178,7 @@ <h3>Method Details</h3>
}

projectId: string, The project ID of the Google Cloud Platform project.
regions: string, Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region. (repeated)
view: string, The view configures whether to retrieve security keys information.
Allowed values
LOGIN_PROFILE_VIEW_UNSPECIFIED - The default login profile view. The API defaults to the BASIC view.
Expand Down
8 changes: 7 additions & 1 deletion googleapiclient/discovery_cache/documents/oslogin.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@
"description": "The project ID of the Google Cloud Platform project.",
"location": "query",
"type": "string"
},
"regions": {
"description": "Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.",
"location": "query",
"repeated": true,
"type": "string"
}
},
"path": "v1/{+parent}:importSshPublicKey",
Expand Down Expand Up @@ -343,7 +349,7 @@
}
}
},
"revision": "20231203",
"revision": "20231217",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
"Empty": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@
"location": "query",
"type": "string"
},
"regions": {
"description": "Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.",
"location": "query",
"repeated": true,
"type": "string"
},
"view": {
"description": "The view configures whether to retrieve security keys information.",
"enum": [
Expand Down Expand Up @@ -471,7 +477,7 @@
}
}
},
"revision": "20231203",
"revision": "20231217",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
"Empty": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,12 @@
"location": "query",
"type": "string"
},
"regions": {
"description": "Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.",
"location": "query",
"repeated": true,
"type": "string"
},
"view": {
"description": "The view configures whether to retrieve security keys information.",
"enum": [
Expand Down Expand Up @@ -441,7 +447,7 @@
}
}
},
"revision": "20231203",
"revision": "20231217",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
"Empty": {
Expand Down

0 comments on commit 710447b

Please sign in to comment.