Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 662227220
Change-Id: I85898f985c050cbe5f6746a7e609e572aa93fc14
  • Loading branch information
Google Cloud Healthcare Team authored and copybara-github committed Aug 12, 2024
1 parent 3246682 commit ebc3bb2
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions proto/common/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ syntax = "proto3";
package common;

import "google/protobuf/timestamp.proto";
import "storage/datapol/annotations/proto/semantic_annotations.proto";


option go_package = "github.com/GoogleCloudPlatform/healthcare-federated-access-services/proto/common/v1";

Expand Down Expand Up @@ -149,8 +149,8 @@ message CliState {
bytes encrypted_secret = 9;
bytes encrypted_code = 10;
string secret = 11;
string access_token = 12 [(datapol.semantic_type) = ST_ACCOUNT_CREDENTIAL];
string refresh_token = 13 [(datapol.semantic_type) = ST_ACCOUNT_CREDENTIAL];
string access_token = 12;
string refresh_token = 13;
string state = 14;
google.protobuf.Timestamp accepted_at = 15;
map<string, string> user_profile = 16;
Expand Down
2 changes: 1 addition & 1 deletion proto/common/v1/oauthclient.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ syntax = "proto3";
package common;

import "google/rpc/status.proto";
import "storage/datapol/annotations/proto/semantic_annotations.proto";


option go_package = "github.com/GoogleCloudPlatform/healthcare-federated-access-services/proto/common/v1";

Expand Down
4 changes: 2 additions & 2 deletions proto/dam/v1/dam_secrets.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ syntax = "proto3";
// end points to receive requests and returns responses using these messages.
package dam.v1;

import "storage/datapol/annotations/proto/semantic_annotations.proto";


option go_package = "github.com/GoogleCloudPlatform/healthcare-federated-access-services/proto/dam/v1";

Expand All @@ -32,7 +32,7 @@ message DamSecrets {
map<string, string> public_token_keys = 5 [deprecated = true];

message GatekeeperTokenKeys {
string private_key = 1 [(datapol.semantic_type) = ST_SECURITY_MATERIAL];
string private_key = 1;
string public_key = 2;
}
GatekeeperTokenKeys gatekeeper_token_keys = 6 [deprecated = true];
Expand Down
4 changes: 2 additions & 2 deletions proto/dam/v1/dam_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ syntax = "proto3";
// end points to receive requests and returns responses using these messages.
package dam.v1;

import "storage/datapol/annotations/proto/semantic_annotations.proto";

import "proto/common/v1/common.proto"; /* copybara-comment */
import "proto/common/v1/oauthclient.proto"; /* copybara-comment */
import "proto/process/v1/process.proto"; /* copybara-comment */
Expand Down Expand Up @@ -383,7 +383,7 @@ message ConfigViewRequest {
message ConfigTrustedIssuerRequest {
TrustedIssuer item = 1;
// client_secret is write only field.
string client_secret = 3 [(datapol.semantic_type) = ST_SECURITY_MATERIAL];
string client_secret = 3;
ConfigModification modification = 2;
}

Expand Down
6 changes: 3 additions & 3 deletions proto/ic/v1/ic_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ syntax = "proto3";
// end points to receive requests and returns responses using these messages.
package ic.v1;

import "storage/datapol/annotations/proto/semantic_annotations.proto";

import "proto/common/v1/account.proto"; /* copybara-comment */
import "proto/common/v1/common.proto"; /* copybara-comment */
import "proto/common/v1/oauthclient.proto"; /* copybara-comment */
Expand Down Expand Up @@ -58,7 +58,7 @@ message IcSecrets {
map<string, string> id_provider_secrets = 5;

message TokenKeys {
string private_key = 1 [(datapol.semantic_type) = ST_SECURITY_MATERIAL];
string private_key = 1;
string public_key = 2;
}
map<string, TokenKeys> token_keys = 6;
Expand Down Expand Up @@ -111,7 +111,7 @@ message ConfigResponse {}

message ConfigIdentityProviderRequest {
common.IdentityProvider item = 1;
string client_secret = 3 [(datapol.semantic_type) = ST_SECURITY_MATERIAL];
string client_secret = 3;
ConfigModification modification = 2;
}

Expand Down
4 changes: 2 additions & 2 deletions proto/scim/v2/users.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ syntax = "proto3";
// Protocol: https://tools.ietf.org/html/rfc7644
package scim.v2;

import "storage/datapol/annotations/proto/semantic_annotations.proto";


option go_package = "github.com/GoogleCloudPlatform/healthcare-federated-access-services/proto/scim/v2";

Expand Down Expand Up @@ -149,7 +149,7 @@ message User {
bool active = 15;

// UNUSED but present for completeness.
string password = 16 [(datapol.semantic_type) = ST_ACCOUNT_CREDENTIAL];
string password = 16;

// E-mail addresses for the User. The value SHOULD be canonicalized by the
// Service Provider, e.g. [email protected] instead of [email protected].
Expand Down

0 comments on commit ebc3bb2

Please sign in to comment.