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

Commit

Permalink
feat: add US_REGIONAL_ACCESS to create workloads with compliance regi…
Browse files Browse the repository at this point in the history
…me (#154)

This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/dc82deb5-ed60-46ba-bc29-18f2dcd25f4f/targets

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

PiperOrigin-RevId: 352973788
Source-Link: googleapis/googleapis@56df28f
  • Loading branch information
yoshi-automation authored Feb 16, 2021
1 parent 1a38069 commit afe69be
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,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\"\364\020\n\010Worklo"
+ "load\022\027\n\017next_page_token\030\002 \001(\t\"\215\021\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 @@ -173,59 +173,59 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ings\030\001 \001(\0132;.google.cloud.assuredworkloa"
+ "ds.v1beta1.Workload.KMSSettingsB\t\340A\002\340A\004\340"
+ "A\005:\002\030\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va"
+ "lue\030\002 \001(\t:\0028\001\"p\n\020ComplianceRegime\022!\n\035COM"
+ "PLIANCE_REGIME_UNSPECIFIED\020\000\022\007\n\003IL4\020\001\022\010\n"
+ "\004CJIS\020\002\022\020\n\014FEDRAMP_HIGH\020\003\022\024\n\020FEDRAMP_MOD"
+ "ERATE\020\004:u\352Ar\n(assuredworkloads.googleapi"
+ "s.com/Workload\022Forganizations/{organizat"
+ "ion}/locations/{location}/workloads/{wor"
+ "kload}B\034\n\032compliance_regime_settings\"\351\001\n"
+ "\037CreateWorkloadOperationMetadata\0224\n\013crea"
+ "te_time\030\001 \001(\0132\032.google.protobuf.Timestam"
+ "pB\003\340A\001\022\031\n\014display_name\030\002 \001(\tB\003\340A\001\022\023\n\006par"
+ "ent\030\003 \001(\tB\003\340A\001\022`\n\021compliance_regime\030\004 \001("
+ "\0162@.google.cloud.assuredworkloads.v1beta"
+ "1.Workload.ComplianceRegimeB\003\340A\0012\243\t\n\027Ass"
+ "uredWorkloadsService\022\371\001\n\016CreateWorkload\022"
+ "<.google.cloud.assuredworkloads.v1beta1."
+ "CreateWorkloadRequest\032\035.google.longrunni"
+ "ng.Operation\"\211\001\202\323\344\223\002C\"7/v1beta1/{parent="
+ "organizations/*/locations/*}/workloads:\010"
+ "workload\332A\017parent,workload\312A+\n\010Workload\022"
+ "\037CreateWorkloadOperationMetadata\022\352\001\n\016Upd"
+ "ateWorkload\022<.google.cloud.assuredworklo"
+ "ads.v1beta1.UpdateWorkloadRequest\032/.goog"
+ "le.cloud.assuredworkloads.v1beta1.Worklo"
+ "ad\"i\202\323\344\223\002L2@/v1beta1/{workload.name=orga"
+ "nizations/*/locations/*/workloads/*}:\010wo"
+ "rkload\332A\024workload,update_mask\022\256\001\n\016Delete"
+ "Workload\022<.google.cloud.assuredworkloads"
+ ".v1beta1.DeleteWorkloadRequest\032\026.google."
+ "protobuf.Empty\"F\202\323\344\223\0029*7/v1beta1/{name=o"
+ "rganizations/*/locations/*/workloads/*}\332"
+ "A\004name\022\301\001\n\013GetWorkload\0229.google.cloud.as"
+ "suredworkloads.v1beta1.GetWorkloadReques"
+ "t\032/.google.cloud.assuredworkloads.v1beta"
+ "1.Workload\"F\202\323\344\223\0029\0227/v1beta1/{name=organ"
+ "izations/*/locations/*/workloads/*}\332A\004na"
+ "me\022\324\001\n\rListWorkloads\022;.google.cloud.assu"
+ "redworkloads.v1beta1.ListWorkloadsReques"
+ "t\032<.google.cloud.assuredworkloads.v1beta"
+ "1.ListWorkloadsResponse\"H\202\323\344\223\0029\0227/v1beta"
+ "1/{parent=organizations/*/locations/*}/w"
+ "orkloads\332A\006parent\032S\312A\037assuredworkloads.g"
+ "oogleapis.com\322A.https://www.googleapis.c"
+ "om/auth/cloud-platformB\366\002\n)com.google.cl"
+ "oud.assuredworkloads.v1beta1B\025Assuredwor"
+ "kloadsProtoP\001ZUgoogle.golang.org/genprot"
+ "o/googleapis/cloud/assuredworkloads/v1be"
+ "ta1;assuredworkloads\252\002%Google.Cloud.Assu"
+ "redWorkloads.V1Beta1\312\002%Google\\Cloud\\Assu"
+ "redWorkloads\\V1beta1\352\002(Google::Cloud::As"
+ "suredWorkloads::V1beta1\352A]\n(assuredworkl"
+ "oads.googleapis.com/Location\0221organizati"
+ "ons/{organization}/locations/{location}b"
+ "\006proto3"
+ "lue\030\002 \001(\t:\0028\001\"\210\001\n\020ComplianceRegime\022!\n\035CO"
+ "MPLIANCE_REGIME_UNSPECIFIED\020\000\022\007\n\003IL4\020\001\022\010"
+ "\n\004CJIS\020\002\022\020\n\014FEDRAMP_HIGH\020\003\022\024\n\020FEDRAMP_MO"
+ "DERATE\020\004\022\026\n\022US_REGIONAL_ACCESS\020\005:u\352Ar\n(a"
+ "ssuredworkloads.googleapis.com/Workload\022"
+ "Forganizations/{organization}/locations/"
+ "{location}/workloads/{workload}B\034\n\032compl"
+ "iance_regime_settings\"\351\001\n\037CreateWorkload"
+ "OperationMetadata\0224\n\013create_time\030\001 \001(\0132\032"
+ ".google.protobuf.TimestampB\003\340A\001\022\031\n\014displ"
+ "ay_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.clou"
+ "d.assuredworkloads.v1beta1.Workload.Comp"
+ "lianceRegimeB\003\340A\0012\243\t\n\027AssuredWorkloadsSe"
+ "rvice\022\371\001\n\016CreateWorkload\022<.google.cloud."
+ "assuredworkloads.v1beta1.CreateWorkloadR"
+ "equest\032\035.google.longrunning.Operation\"\211\001"
+ "\202\323\344\223\002C\"7/v1beta1/{parent=organizations/*"
+ "/locations/*}/workloads:\010workload\332A\017pare"
+ "nt,workload\312A+\n\010Workload\022\037CreateWorkload"
+ "OperationMetadata\022\352\001\n\016UpdateWorkload\022<.g"
+ "oogle.cloud.assuredworkloads.v1beta1.Upd"
+ "ateWorkloadRequest\032/.google.cloud.assure"
+ "dworkloads.v1beta1.Workload\"i\202\323\344\223\002L2@/v1"
+ "beta1/{workload.name=organizations/*/loc"
+ "ations/*/workloads/*}:\010workload\332A\024worklo"
+ "ad,update_mask\022\256\001\n\016DeleteWorkload\022<.goog"
+ "le.cloud.assuredworkloads.v1beta1.Delete"
+ "WorkloadRequest\032\026.google.protobuf.Empty\""
+ "F\202\323\344\223\0029*7/v1beta1/{name=organizations/*/"
+ "locations/*/workloads/*}\332A\004name\022\301\001\n\013GetW"
+ "orkload\0229.google.cloud.assuredworkloads."
+ "v1beta1.GetWorkloadRequest\032/.google.clou"
+ "d.assuredworkloads.v1beta1.Workload\"F\202\323\344"
+ "\223\0029\0227/v1beta1/{name=organizations/*/loca"
+ "tions/*/workloads/*}\332A\004name\022\324\001\n\rListWork"
+ "loads\022;.google.cloud.assuredworkloads.v1"
+ "beta1.ListWorkloadsRequest\032<.google.clou"
+ "d.assuredworkloads.v1beta1.ListWorkloads"
+ "Response\"H\202\323\344\223\0029\0227/v1beta1/{parent=organ"
+ "izations/*/locations/*}/workloads\332A\006pare"
+ "nt\032S\312A\037assuredworkloads.googleapis.com\322A"
+ ".https://www.googleapis.com/auth/cloud-p"
+ "latformB\366\002\n)com.google.cloud.assuredwork"
+ "loads.v1beta1B\025AssuredworkloadsProtoP\001ZU"
+ "google.golang.org/genproto/googleapis/cl"
+ "oud/assuredworkloads/v1beta1;assuredwork"
+ "loads\252\002%Google.Cloud.AssuredWorkloads.V1"
+ "Beta1\312\002%Google\\Cloud\\AssuredWorkloads\\V1"
+ "beta1\352\002(Google::Cloud::AssuredWorkloads:"
+ ":V1beta1\352A]\n(assuredworkloads.googleapis"
+ ".com/Location\0221organizations/{organizati"
+ "on}/locations/{location}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,16 @@ public enum ComplianceRegime implements com.google.protobuf.ProtocolMessageEnum
* <code>FEDRAMP_MODERATE = 4;</code>
*/
FEDRAMP_MODERATE(4),
/**
*
*
* <pre>
* Assured Workloads For US Regions data protection controls
* </pre>
*
* <code>US_REGIONAL_ACCESS = 5;</code>
*/
US_REGIONAL_ACCESS(5),
UNRECOGNIZED(-1),
;

Expand Down Expand Up @@ -435,6 +445,16 @@ public enum ComplianceRegime implements com.google.protobuf.ProtocolMessageEnum
* <code>FEDRAMP_MODERATE = 4;</code>
*/
public static final int FEDRAMP_MODERATE_VALUE = 4;
/**
*
*
* <pre>
* Assured Workloads For US Regions data protection controls
* </pre>
*
* <code>US_REGIONAL_ACCESS = 5;</code>
*/
public static final int US_REGIONAL_ACCESS_VALUE = 5;

public final int getNumber() {
if (this == UNRECOGNIZED) {
Expand Down Expand Up @@ -470,6 +490,8 @@ public static ComplianceRegime forNumber(int value) {
return FEDRAMP_HIGH;
case 4:
return FEDRAMP_MODERATE;
case 5:
return US_REGIONAL_ACCESS;
default:
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ message Workload {

// FedRAMP Moderate data protection controls
FEDRAMP_MODERATE = 4;

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

// Optional. The resource name of the workload.
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "91e206bcfeaf8948ea03fe3cb1b7616108496cd3",
"internalRef": "350949863"
"sha": "56df28f70dbfddd90da3c4e38cce2ae3c81162e4",
"internalRef": "352973788"
}
},
{
Expand Down

0 comments on commit afe69be

Please sign in to comment.