Skip to content

Commit

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

The following keys were added:
- resources.users.methods.getLoginProfile.parameters.view.description
- resources.users.methods.getLoginProfile.parameters.view.enum
- resources.users.methods.getLoginProfile.parameters.view.enumDescriptions
- resources.users.methods.getLoginProfile.parameters.view.location
- resources.users.methods.getLoginProfile.parameters.view.type
- resources.users.methods.importSshPublicKey.parameters.view.description
- resources.users.methods.importSshPublicKey.parameters.view.enum
- resources.users.methods.importSshPublicKey.parameters.view.enumDescriptions
- resources.users.methods.importSshPublicKey.parameters.view.location
- resources.users.methods.importSshPublicKey.parameters.view.type
  • Loading branch information
yoshi-automation authored and sofisl committed May 21, 2021
1 parent b659f08 commit 1d4e8c8
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
32 changes: 31 additions & 1 deletion discovery/oslogin-v1beta.json
Expand Up @@ -141,6 +141,21 @@
"description": "A system ID for filtering the results of the request.",
"location": "query",
"type": "string"
},
"view": {
"description": "The view configures whether to retrieve security keys information.",
"enum": [
"LOGIN_PROFILE_VIEW_UNSPECIFIED",
"BASIC",
"SECURITY_KEY"
],
"enumDescriptions": [
"The default login profile view. The API defaults to the BASIC view.",
"Includes POSIX and SSH key information.",
"Include security key information for the user."
],
"location": "query",
"type": "string"
}
},
"path": "v1beta/{+name}/loginProfile",
Expand Down Expand Up @@ -174,6 +189,21 @@
"description": "The project ID of the Google Cloud Platform project.",
"location": "query",
"type": "string"
},
"view": {
"description": "The view configures whether to retrieve security keys information.",
"enum": [
"LOGIN_PROFILE_VIEW_UNSPECIFIED",
"BASIC",
"SECURITY_KEY"
],
"enumDescriptions": [
"The default login profile view. The API defaults to the BASIC view.",
"Includes POSIX and SSH key information.",
"Include security key information for the user."
],
"location": "query",
"type": "string"
}
},
"path": "v1beta/{+parent}:importSshPublicKey",
Expand Down Expand Up @@ -314,7 +344,7 @@
}
}
},
"revision": "20210329",
"revision": "20210508",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
"Empty": {
Expand Down
12 changes: 12 additions & 0 deletions src/apis/oslogin/v1beta.ts
Expand Up @@ -278,6 +278,8 @@ export namespace oslogin_v1beta {
* projectId: 'placeholder-value',
* // A system ID for filtering the results of the request.
* systemId: 'placeholder-value',
* // The view configures whether to retrieve security keys information.
* view: 'placeholder-value',
* });
* console.log(res.data);
*
Expand Down Expand Up @@ -414,6 +416,8 @@ export namespace oslogin_v1beta {
* parent: 'users/my-user',
* // The project ID of the Google Cloud Platform project.
* projectId: 'placeholder-value',
* // The view configures whether to retrieve security keys information.
* view: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
Expand Down Expand Up @@ -548,6 +552,10 @@ export namespace oslogin_v1beta {
* A system ID for filtering the results of the request.
*/
systemId?: string;
/**
* The view configures whether to retrieve security keys information.
*/
view?: string;
}
export interface Params$Resource$Users$Importsshpublickey
extends StandardParameters {
Expand All @@ -559,6 +567,10 @@ export namespace oslogin_v1beta {
* The project ID of the Google Cloud Platform project.
*/
projectId?: string;
/**
* The view configures whether to retrieve security keys information.
*/
view?: string;

/**
* Request body metadata
Expand Down

0 comments on commit 1d4e8c8

Please sign in to comment.