Skip to content

Commit

Permalink
test: don't exclude src/ in coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and bcoe committed Nov 1, 2019
1 parent 6401b06 commit 001f8c9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/google-cloud-oslogin/.nycrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"**/docs",
"**/samples",
"**/scripts",
"**/src/**/v*/**/*.js",
"**/protos",
"**/test",
".jsdoc.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,9 @@ message SshPublicKey {
// Output only. The canonical resource name.
string name = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Define a "User" resource owned by OS Login.
option (google.api.resource_definition) = {
type: "oslogin.googleapis.com/User"
pattern: "users/{user}"
};
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ message DeleteSshPublicKeyRequest {
// A request message for retrieving the login profile information for a user.
message GetLoginProfileRequest {
// Required. The unique ID for the user in format `users/{user}`.
string name = 1 [(google.api.field_behavior) = REQUIRED];
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference).type = "oslogin.googleapis.com/User"];

// The project ID of the Google Cloud Platform project.
string project_id = 2;
Expand Down
10 changes: 5 additions & 5 deletions packages/google-cloud-oslogin/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-10-23T11:22:59.304248Z",
"updateTime": "2019-11-01T19:15:42.415349Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.40.2",
"dockerImage": "googleapis/artman@sha256:3b8f7d9b4c206843ce08053474f5c64ae4d388ff7d995e68b59fb65edf73eeb9"
"version": "0.41.0",
"dockerImage": "googleapis/artman@sha256:75b38a3b073a7b243545f2332463096624c802bb1e56b8cb6f22ba1ecd325fa9"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "0d0dc5172f16c9815a5eda6e99408fb96282f608",
"internalRef": "276178557"
"sha": "bba93d7148ff203d400a4929cd0fbc7dafd8dae2",
"internalRef": "277920288"
}
},
{
Expand Down

0 comments on commit 001f8c9

Please sign in to comment.