Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
feat: add HIPAA and HITRUST compliance regimes (#199)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/c7b7da87-e0e4-4e86-b605-fe765f13b128/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 363621553
Source-Link: googleapis/googleapis@15b444a
  • Loading branch information
yoshi-automation authored Mar 23, 2021
1 parent dfe737e commit ade2142
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "age_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"t\n\025ListW"
+ "orkloadsResponse\022B\n\tworkloads\030\001 \003(\0132/.go"
+ "ogle.cloud.assuredworkloads.v1beta1.Work"
+ "load\022\027\n\017next_page_token\030\002 \001(\t\"\373\022\n\010Worklo"
+ "load\022\027\n\017next_page_token\030\002 \001(\t\"\223\023\n\010Worklo"
+ "ad\022\021\n\004name\030\001 \001(\tB\003\340A\001\022\031\n\014display_name\030\002 "
+ "\001(\tB\003\340A\002\022T\n\tresources\030\003 \003(\0132<.google.clo"
+ "ud.assuredworkloads.v1beta1.Workload.Res"
Expand Down Expand Up @@ -183,59 +183,60 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ype\030\002 \001(\0162I.google.cloud.assuredworkload"
+ "s.v1beta1.Workload.ResourceInfo.Resource"
+ "Type\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu"
+ "e\030\002 \001(\t:\0028\001\"\210\001\n\020ComplianceRegime\022!\n\035COMP"
+ "e\030\002 \001(\t:\0028\001\"\240\001\n\020ComplianceRegime\022!\n\035COMP"
+ "LIANCE_REGIME_UNSPECIFIED\020\000\022\007\n\003IL4\020\001\022\010\n\004"
+ "CJIS\020\002\022\020\n\014FEDRAMP_HIGH\020\003\022\024\n\020FEDRAMP_MODE"
+ "RATE\020\004\022\026\n\022US_REGIONAL_ACCESS\020\005:u\352Ar\n(ass"
+ "uredworkloads.googleapis.com/Workload\022Fo"
+ "rganizations/{organization}/locations/{l"
+ "ocation}/workloads/{workload}B\034\n\032complia"
+ "nce_regime_settings\"\351\001\n\037CreateWorkloadOp"
+ "erationMetadata\0224\n\013create_time\030\001 \001(\0132\032.g"
+ "oogle.protobuf.TimestampB\003\340A\001\022\031\n\014display"
+ "_name\030\002 \001(\tB\003\340A\001\022\023\n\006parent\030\003 \001(\tB\003\340A\001\022`\n"
+ "\021compliance_regime\030\004 \001(\0162@.google.cloud."
+ "assuredworkloads.v1beta1.Workload.Compli"
+ "anceRegimeB\003\340A\0012\243\t\n\027AssuredWorkloadsServ"
+ "ice\022\371\001\n\016CreateWorkload\022<.google.cloud.as"
+ "suredworkloads.v1beta1.CreateWorkloadReq"
+ "uest\032\035.google.longrunning.Operation\"\211\001\202\323"
+ "\344\223\002C\"7/v1beta1/{parent=organizations/*/l"
+ "ocations/*}/workloads:\010workload\332A\017parent"
+ ",workload\312A+\n\010Workload\022\037CreateWorkloadOp"
+ "erationMetadata\022\352\001\n\016UpdateWorkload\022<.goo"
+ "gle.cloud.assuredworkloads.v1beta1.Updat"
+ "eWorkloadRequest\032/.google.cloud.assuredw"
+ "orkloads.v1beta1.Workload\"i\202\323\344\223\002L2@/v1be"
+ "ta1/{workload.name=organizations/*/locat"
+ "ions/*/workloads/*}:\010workload\332A\024workload"
+ ",update_mask\022\256\001\n\016DeleteWorkload\022<.google"
+ ".cloud.assuredworkloads.v1beta1.DeleteWo"
+ "rkloadRequest\032\026.google.protobuf.Empty\"F\202"
+ "\323\344\223\0029*7/v1beta1/{name=organizations/*/lo"
+ "cations/*/workloads/*}\332A\004name\022\301\001\n\013GetWor"
+ "kload\0229.google.cloud.assuredworkloads.v1"
+ "beta1.GetWorkloadRequest\032/.google.cloud."
+ "assuredworkloads.v1beta1.Workload\"F\202\323\344\223\002"
+ "9\0227/v1beta1/{name=organizations/*/locati"
+ "ons/*/workloads/*}\332A\004name\022\324\001\n\rListWorklo"
+ "ads\022;.google.cloud.assuredworkloads.v1be"
+ "ta1.ListWorkloadsRequest\032<.google.cloud."
+ "assuredworkloads.v1beta1.ListWorkloadsRe"
+ "sponse\"H\202\323\344\223\0029\0227/v1beta1/{parent=organiz"
+ "ations/*/locations/*}/workloads\332A\006parent"
+ "\032S\312A\037assuredworkloads.googleapis.com\322A.h"
+ "ttps://www.googleapis.com/auth/cloud-pla"
+ "tformB\366\002\n)com.google.cloud.assuredworklo"
+ "ads.v1beta1B\025AssuredworkloadsProtoP\001ZUgo"
+ "ogle.golang.org/genproto/googleapis/clou"
+ "d/assuredworkloads/v1beta1;assuredworklo"
+ "ads\252\002%Google.Cloud.AssuredWorkloads.V1Be"
+ "ta1\312\002%Google\\Cloud\\AssuredWorkloads\\V1be"
+ "ta1\352\002(Google::Cloud::AssuredWorkloads::V"
+ "1beta1\352A]\n(assuredworkloads.googleapis.c"
+ "om/Location\0221organizations/{organization"
+ "}/locations/{location}b\006proto3"
+ "RATE\020\004\022\026\n\022US_REGIONAL_ACCESS\020\005\022\t\n\005HIPAA\020"
+ "\006\022\013\n\007HITRUST\020\007:u\352Ar\n(assuredworkloads.go"
+ "ogleapis.com/Workload\022Forganizations/{or"
+ "ganization}/locations/{location}/workloa"
+ "ds/{workload}B\034\n\032compliance_regime_setti"
+ "ngs\"\351\001\n\037CreateWorkloadOperationMetadata\022"
+ "4\n\013create_time\030\001 \001(\0132\032.google.protobuf.T"
+ "imestampB\003\340A\001\022\031\n\014display_name\030\002 \001(\tB\003\340A\001"
+ "\022\023\n\006parent\030\003 \001(\tB\003\340A\001\022`\n\021compliance_regi"
+ "me\030\004 \001(\0162@.google.cloud.assuredworkloads"
+ ".v1beta1.Workload.ComplianceRegimeB\003\340A\0012"
+ "\243\t\n\027AssuredWorkloadsService\022\371\001\n\016CreateWo"
+ "rkload\022<.google.cloud.assuredworkloads.v"
+ "1beta1.CreateWorkloadRequest\032\035.google.lo"
+ "ngrunning.Operation\"\211\001\202\323\344\223\002C\"7/v1beta1/{"
+ "parent=organizations/*/locations/*}/work"
+ "loads:\010workload\332A\017parent,workload\312A+\n\010Wo"
+ "rkload\022\037CreateWorkloadOperationMetadata\022"
+ "\352\001\n\016UpdateWorkload\022<.google.cloud.assure"
+ "dworkloads.v1beta1.UpdateWorkloadRequest"
+ "\032/.google.cloud.assuredworkloads.v1beta1"
+ ".Workload\"i\202\323\344\223\002L2@/v1beta1/{workload.na"
+ "me=organizations/*/locations/*/workloads"
+ "/*}:\010workload\332A\024workload,update_mask\022\256\001\n"
+ "\016DeleteWorkload\022<.google.cloud.assuredwo"
+ "rkloads.v1beta1.DeleteWorkloadRequest\032\026."
+ "google.protobuf.Empty\"F\202\323\344\223\0029*7/v1beta1/"
+ "{name=organizations/*/locations/*/worklo"
+ "ads/*}\332A\004name\022\301\001\n\013GetWorkload\0229.google.c"
+ "loud.assuredworkloads.v1beta1.GetWorkloa"
+ "dRequest\032/.google.cloud.assuredworkloads"
+ ".v1beta1.Workload\"F\202\323\344\223\0029\0227/v1beta1/{nam"
+ "e=organizations/*/locations/*/workloads/"
+ "*}\332A\004name\022\324\001\n\rListWorkloads\022;.google.clo"
+ "ud.assuredworkloads.v1beta1.ListWorkload"
+ "sRequest\032<.google.cloud.assuredworkloads"
+ ".v1beta1.ListWorkloadsResponse\"H\202\323\344\223\0029\0227"
+ "/v1beta1/{parent=organizations/*/locatio"
+ "ns/*}/workloads\332A\006parent\032S\312A\037assuredwork"
+ "loads.googleapis.com\322A.https://www.googl"
+ "eapis.com/auth/cloud-platformB\366\002\n)com.go"
+ "ogle.cloud.assuredworkloads.v1beta1B\025Ass"
+ "uredworkloadsProtoP\001ZUgoogle.golang.org/"
+ "genproto/googleapis/cloud/assuredworkloa"
+ "ds/v1beta1;assuredworkloads\252\002%Google.Clo"
+ "ud.AssuredWorkloads.V1Beta1\312\002%Google\\Clo"
+ "ud\\AssuredWorkloads\\V1beta1\352\002(Google::Cl"
+ "oud::AssuredWorkloads::V1beta1\352A]\n(assur"
+ "edworkloads.googleapis.com/Location\0221org"
+ "anizations/{organization}/locations/{loc"
+ "ation}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,26 @@ public enum ComplianceRegime implements com.google.protobuf.ProtocolMessageEnum
* <code>US_REGIONAL_ACCESS = 5;</code>
*/
US_REGIONAL_ACCESS(5),
/**
*
*
* <pre>
* Health Insurance Portability and Accountability Act controls
* </pre>
*
* <code>HIPAA = 6;</code>
*/
HIPAA(6),
/**
*
*
* <pre>
* Health Information Trust Alliance controls
* </pre>
*
* <code>HITRUST = 7;</code>
*/
HITRUST(7),
UNRECOGNIZED(-1),
;

Expand Down Expand Up @@ -473,6 +493,26 @@ public enum ComplianceRegime implements com.google.protobuf.ProtocolMessageEnum
* <code>US_REGIONAL_ACCESS = 5;</code>
*/
public static final int US_REGIONAL_ACCESS_VALUE = 5;
/**
*
*
* <pre>
* Health Insurance Portability and Accountability Act controls
* </pre>
*
* <code>HIPAA = 6;</code>
*/
public static final int HIPAA_VALUE = 6;
/**
*
*
* <pre>
* Health Information Trust Alliance controls
* </pre>
*
* <code>HITRUST = 7;</code>
*/
public static final int HITRUST_VALUE = 7;

public final int getNumber() {
if (this == UNRECOGNIZED) {
Expand Down Expand Up @@ -510,6 +550,10 @@ public static ComplianceRegime forNumber(int value) {
return FEDRAMP_MODERATE;
case 5:
return US_REGIONAL_ACCESS;
case 6:
return HIPAA;
case 7:
return HITRUST;
default:
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,12 @@ message Workload {

// Assured Workloads For US Regions data protection controls
US_REGIONAL_ACCESS = 5;

// Health Insurance Portability and Accountability Act controls
HIPAA = 6;

// Health Information Trust Alliance controls
HITRUST = 7;
}

// Optional. The resource name of the workload.
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-assured-workloads.git",
"sha": "655ad2cf74b150c595b997b2e721d9352b8d56c3"
"sha": "dfe737e5dc82e0d01c7ed8d19ea4c60092ed60e0"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "dd7c51a272f05456784067c0e8b6520a50503254",
"internalRef": "363600693"
"sha": "15b444a98762c31e863087eb688635f2c24feec5",
"internalRef": "363621553"
}
},
{
Expand Down

0 comments on commit ade2142

Please sign in to comment.