Skip to content

Commit

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

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

The following keys were changed:
- auth.oauth2.scopes.https://www.googleapis.com/auth/cloud-platform.description

#### oslogin:v1beta

The following keys were changed:
- auth.oauth2.scopes.https://www.googleapis.com/auth/cloud-platform.description

#### oslogin:v1

The following keys were changed:
- auth.oauth2.scopes.https://www.googleapis.com/auth/cloud-platform.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 5, 2021
1 parent 2e4b561 commit 87a9f5f
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 6 deletions.
4 changes: 2 additions & 2 deletions discovery/oslogin-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
"description": "See, edit, configure, and delete your Google Cloud Platform data"
},
"https://www.googleapis.com/auth/compute": {
"description": "View and manage your Google Compute Engine resources"
Expand Down Expand Up @@ -306,7 +306,7 @@
}
}
},
"revision": "20200925",
"revision": "20210329",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
"Empty": {
Expand Down
34 changes: 32 additions & 2 deletions discovery/oslogin-v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
"description": "See, edit, configure, and delete your Google Cloud Platform data"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
Expand Down Expand Up @@ -156,6 +156,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": [
"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": "v1alpha/{+name}/loginProfile",
Expand Down Expand Up @@ -189,6 +204,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": [
"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": "v1alpha/{+parent}:importSshPublicKey",
Expand Down Expand Up @@ -344,7 +374,7 @@
}
}
},
"revision": "20200925",
"revision": "20210329",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
"Empty": {
Expand Down
4 changes: 2 additions & 2 deletions discovery/oslogin-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
"description": "See, edit, configure, and delete your Google Cloud Platform data"
},
"https://www.googleapis.com/auth/cloud-platform.read-only": {
"description": "View your data across Google Cloud Platform services"
Expand Down Expand Up @@ -314,7 +314,7 @@
}
}
},
"revision": "20200925",
"revision": "20210329",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
"Empty": {
Expand Down
12 changes: 12 additions & 0 deletions src/apis/oslogin/v1alpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ export namespace oslogin_v1alpha {
* 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 @@ -416,6 +418,8 @@ export namespace oslogin_v1alpha {
* 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 @@ -554,6 +558,10 @@ export namespace oslogin_v1alpha {
* 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 @@ -565,6 +573,10 @@ export namespace oslogin_v1alpha {
* 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 87a9f5f

Please sign in to comment.