Skip to content

Commit

Permalink
Automated DCL import.
Browse files Browse the repository at this point in the history
  - 38af306716e6dab430c2558417cb14bd7a0f1641 Automatic import from cloud_mmv2_dcl_20241021_1831_RC00 by DCL Team <no-reply@google.com>

GitOrigin-RevId: 38af306716e6dab430c2558417cb14bd7a0f1641
  • Loading branch information
DCL Team authored and copybara-github committed Oct 22, 2024
1 parent ba4f8cf commit 338e549
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 18 deletions.
1 change: 1 addition & 0 deletions python/proto/assuredworkloads/alpha/workload.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ enum AssuredworkloadsAlphaWorkloadComplianceRegimeEnum {
AssuredworkloadsAlphaWorkloadComplianceRegimeEnumREGIONAL_CONTROLS = 21;
AssuredworkloadsAlphaWorkloadComplianceRegimeEnumHEALTHCARE_AND_LIFE_SCIENCES_CONTROLS = 22;
AssuredworkloadsAlphaWorkloadComplianceRegimeEnumHEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT = 23;
AssuredworkloadsAlphaWorkloadComplianceRegimeEnumIRS_1075 = 24;
}

enum AssuredworkloadsAlphaWorkloadResourceSettingsResourceTypeEnum {
Expand Down
1 change: 1 addition & 0 deletions python/proto/assuredworkloads/beta/workload.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ enum AssuredworkloadsBetaWorkloadComplianceRegimeEnum {
AssuredworkloadsBetaWorkloadComplianceRegimeEnumREGIONAL_CONTROLS = 21;
AssuredworkloadsBetaWorkloadComplianceRegimeEnumHEALTHCARE_AND_LIFE_SCIENCES_CONTROLS = 22;
AssuredworkloadsBetaWorkloadComplianceRegimeEnumHEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT = 23;
AssuredworkloadsBetaWorkloadComplianceRegimeEnumIRS_1075 = 24;
}

enum AssuredworkloadsBetaWorkloadResourceSettingsResourceTypeEnum {
Expand Down
1 change: 1 addition & 0 deletions python/proto/assuredworkloads/workload.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ enum AssuredworkloadsWorkloadComplianceRegimeEnum {
AssuredworkloadsWorkloadComplianceRegimeEnumREGIONAL_CONTROLS = 21;
AssuredworkloadsWorkloadComplianceRegimeEnumHEALTHCARE_AND_LIFE_SCIENCES_CONTROLS = 22;
AssuredworkloadsWorkloadComplianceRegimeEnumHEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT = 23;
AssuredworkloadsWorkloadComplianceRegimeEnumIRS_1075 = 24;
}

enum AssuredworkloadsWorkloadResourceSettingsResourceTypeEnum {
Expand Down
2 changes: 1 addition & 1 deletion services/google/assuredworkloads/alpha/workload.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (v WorkloadComplianceRegimeEnum) Validate() error {
// Empty enum is okay.
return nil
}
for _, s := range []string{"COMPLIANCE_REGIME_UNSPECIFIED", "IL4", "CJIS", "FEDRAMP_HIGH", "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", "HIPAA", "HITRUST", "EU_REGIONS_AND_SUPPORT", "CA_REGIONS_AND_SUPPORT", "ITAR", "AU_REGIONS_AND_US_SUPPORT", "ASSURED_WORKLOADS_FOR_PARTNERS", "ISR_REGIONS", "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", "IL2", "JP_REGIONS_AND_SUPPORT", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT"} {
for _, s := range []string{"COMPLIANCE_REGIME_UNSPECIFIED", "IL4", "CJIS", "FEDRAMP_HIGH", "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", "HIPAA", "HITRUST", "EU_REGIONS_AND_SUPPORT", "CA_REGIONS_AND_SUPPORT", "ITAR", "AU_REGIONS_AND_US_SUPPORT", "ASSURED_WORKLOADS_FOR_PARTNERS", "ISR_REGIONS", "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", "IL2", "JP_REGIONS_AND_SUPPORT", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT", "IRS_1075"} {
if string(v) == s {
return nil
}
Expand Down
4 changes: 3 additions & 1 deletion services/google/assuredworkloads/alpha/workload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ components:
CA_REGIONS_AND_SUPPORT, ITAR, AU_REGIONS_AND_US_SUPPORT, ASSURED_WORKLOADS_FOR_PARTNERS,
ISR_REGIONS, ISR_REGIONS_AND_SUPPORT, CA_PROTECTED_B, IL5, IL2, JP_REGIONS_AND_SUPPORT,
KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS, REGIONAL_CONTROLS,
HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT'
HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT,
IRS_1075'
x-kubernetes-immutable: true
enum:
- COMPLIANCE_REGIME_UNSPECIFIED
Expand All @@ -127,6 +128,7 @@ components:
- REGIONAL_CONTROLS
- HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS
- HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT
- IRS_1075
complianceStatus:
type: object
x-dcl-go-name: ComplianceStatus
Expand Down

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion services/google/assuredworkloads/alpha/workload_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func DCLWorkloadSchema() *dcl.Schema {
Type: "string",
GoName: "ComplianceRegime",
GoType: "WorkloadComplianceRegimeEnum",
Description: "Required. Immutable. Compliance Regime associated with this workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH, FEDRAMP_MODERATE, US_REGIONAL_ACCESS, HIPAA, HITRUST, EU_REGIONS_AND_SUPPORT, CA_REGIONS_AND_SUPPORT, ITAR, AU_REGIONS_AND_US_SUPPORT, ASSURED_WORKLOADS_FOR_PARTNERS, ISR_REGIONS, ISR_REGIONS_AND_SUPPORT, CA_PROTECTED_B, IL5, IL2, JP_REGIONS_AND_SUPPORT, KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS, REGIONAL_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT",
Description: "Required. Immutable. Compliance Regime associated with this workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH, FEDRAMP_MODERATE, US_REGIONAL_ACCESS, HIPAA, HITRUST, EU_REGIONS_AND_SUPPORT, CA_REGIONS_AND_SUPPORT, ITAR, AU_REGIONS_AND_US_SUPPORT, ASSURED_WORKLOADS_FOR_PARTNERS, ISR_REGIONS, ISR_REGIONS_AND_SUPPORT, CA_PROTECTED_B, IL5, IL2, JP_REGIONS_AND_SUPPORT, KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS, REGIONAL_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT, IRS_1075",
Immutable: true,
Enum: []string{
"COMPLIANCE_REGIME_UNSPECIFIED",
Expand All @@ -155,6 +155,7 @@ func DCLWorkloadSchema() *dcl.Schema {
"REGIONAL_CONTROLS",
"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS",
"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT",
"IRS_1075",
},
},
"complianceStatus": &dcl.Property{
Expand Down
2 changes: 1 addition & 1 deletion services/google/assuredworkloads/beta/workload.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (v WorkloadComplianceRegimeEnum) Validate() error {
// Empty enum is okay.
return nil
}
for _, s := range []string{"COMPLIANCE_REGIME_UNSPECIFIED", "IL4", "CJIS", "FEDRAMP_HIGH", "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", "HIPAA", "HITRUST", "EU_REGIONS_AND_SUPPORT", "CA_REGIONS_AND_SUPPORT", "ITAR", "AU_REGIONS_AND_US_SUPPORT", "ASSURED_WORKLOADS_FOR_PARTNERS", "ISR_REGIONS", "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", "IL2", "JP_REGIONS_AND_SUPPORT", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT"} {
for _, s := range []string{"COMPLIANCE_REGIME_UNSPECIFIED", "IL4", "CJIS", "FEDRAMP_HIGH", "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", "HIPAA", "HITRUST", "EU_REGIONS_AND_SUPPORT", "CA_REGIONS_AND_SUPPORT", "ITAR", "AU_REGIONS_AND_US_SUPPORT", "ASSURED_WORKLOADS_FOR_PARTNERS", "ISR_REGIONS", "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", "IL2", "JP_REGIONS_AND_SUPPORT", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT", "IRS_1075"} {
if string(v) == s {
return nil
}
Expand Down
4 changes: 3 additions & 1 deletion services/google/assuredworkloads/beta/workload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ components:
CA_REGIONS_AND_SUPPORT, ITAR, AU_REGIONS_AND_US_SUPPORT, ASSURED_WORKLOADS_FOR_PARTNERS,
ISR_REGIONS, ISR_REGIONS_AND_SUPPORT, CA_PROTECTED_B, IL5, IL2, JP_REGIONS_AND_SUPPORT,
KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS, REGIONAL_CONTROLS,
HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT'
HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT,
IRS_1075'
x-kubernetes-immutable: true
enum:
- COMPLIANCE_REGIME_UNSPECIFIED
Expand All @@ -127,6 +128,7 @@ components:
- REGIONAL_CONTROLS
- HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS
- HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT
- IRS_1075
complianceStatus:
type: object
x-dcl-go-name: ComplianceStatus
Expand Down

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion services/google/assuredworkloads/beta/workload_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func DCLWorkloadSchema() *dcl.Schema {
Type: "string",
GoName: "ComplianceRegime",
GoType: "WorkloadComplianceRegimeEnum",
Description: "Required. Immutable. Compliance Regime associated with this workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH, FEDRAMP_MODERATE, US_REGIONAL_ACCESS, HIPAA, HITRUST, EU_REGIONS_AND_SUPPORT, CA_REGIONS_AND_SUPPORT, ITAR, AU_REGIONS_AND_US_SUPPORT, ASSURED_WORKLOADS_FOR_PARTNERS, ISR_REGIONS, ISR_REGIONS_AND_SUPPORT, CA_PROTECTED_B, IL5, IL2, JP_REGIONS_AND_SUPPORT, KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS, REGIONAL_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT",
Description: "Required. Immutable. Compliance Regime associated with this workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH, FEDRAMP_MODERATE, US_REGIONAL_ACCESS, HIPAA, HITRUST, EU_REGIONS_AND_SUPPORT, CA_REGIONS_AND_SUPPORT, ITAR, AU_REGIONS_AND_US_SUPPORT, ASSURED_WORKLOADS_FOR_PARTNERS, ISR_REGIONS, ISR_REGIONS_AND_SUPPORT, CA_PROTECTED_B, IL5, IL2, JP_REGIONS_AND_SUPPORT, KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS, REGIONAL_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT, IRS_1075",
Immutable: true,
Enum: []string{
"COMPLIANCE_REGIME_UNSPECIFIED",
Expand All @@ -155,6 +155,7 @@ func DCLWorkloadSchema() *dcl.Schema {
"REGIONAL_CONTROLS",
"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS",
"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT",
"IRS_1075",
},
},
"complianceStatus": &dcl.Property{
Expand Down
2 changes: 1 addition & 1 deletion services/google/assuredworkloads/workload.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (v WorkloadComplianceRegimeEnum) Validate() error {
// Empty enum is okay.
return nil
}
for _, s := range []string{"COMPLIANCE_REGIME_UNSPECIFIED", "IL4", "CJIS", "FEDRAMP_HIGH", "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", "HIPAA", "HITRUST", "EU_REGIONS_AND_SUPPORT", "CA_REGIONS_AND_SUPPORT", "ITAR", "AU_REGIONS_AND_US_SUPPORT", "ASSURED_WORKLOADS_FOR_PARTNERS", "ISR_REGIONS", "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", "IL2", "JP_REGIONS_AND_SUPPORT", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT"} {
for _, s := range []string{"COMPLIANCE_REGIME_UNSPECIFIED", "IL4", "CJIS", "FEDRAMP_HIGH", "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", "HIPAA", "HITRUST", "EU_REGIONS_AND_SUPPORT", "CA_REGIONS_AND_SUPPORT", "ITAR", "AU_REGIONS_AND_US_SUPPORT", "ASSURED_WORKLOADS_FOR_PARTNERS", "ISR_REGIONS", "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", "IL2", "JP_REGIONS_AND_SUPPORT", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS", "HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT", "IRS_1075"} {
if string(v) == s {
return nil
}
Expand Down
4 changes: 3 additions & 1 deletion services/google/assuredworkloads/workload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ components:
CA_REGIONS_AND_SUPPORT, ITAR, AU_REGIONS_AND_US_SUPPORT, ASSURED_WORKLOADS_FOR_PARTNERS,
ISR_REGIONS, ISR_REGIONS_AND_SUPPORT, CA_PROTECTED_B, IL5, IL2, JP_REGIONS_AND_SUPPORT,
KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS, REGIONAL_CONTROLS,
HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT'
HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT,
IRS_1075'
x-kubernetes-immutable: true
enum:
- COMPLIANCE_REGIME_UNSPECIFIED
Expand All @@ -127,6 +128,7 @@ components:
- REGIONAL_CONTROLS
- HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS
- HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT
- IRS_1075
complianceStatus:
type: object
x-dcl-go-name: ComplianceStatus
Expand Down
3 changes: 2 additions & 1 deletion services/google/assuredworkloads/workload_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func DCLWorkloadSchema() *dcl.Schema {
Type: "string",
GoName: "ComplianceRegime",
GoType: "WorkloadComplianceRegimeEnum",
Description: "Required. Immutable. Compliance Regime associated with this workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH, FEDRAMP_MODERATE, US_REGIONAL_ACCESS, HIPAA, HITRUST, EU_REGIONS_AND_SUPPORT, CA_REGIONS_AND_SUPPORT, ITAR, AU_REGIONS_AND_US_SUPPORT, ASSURED_WORKLOADS_FOR_PARTNERS, ISR_REGIONS, ISR_REGIONS_AND_SUPPORT, CA_PROTECTED_B, IL5, IL2, JP_REGIONS_AND_SUPPORT, KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS, REGIONAL_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT",
Description: "Required. Immutable. Compliance Regime associated with this workload. Possible values: COMPLIANCE_REGIME_UNSPECIFIED, IL4, CJIS, FEDRAMP_HIGH, FEDRAMP_MODERATE, US_REGIONAL_ACCESS, HIPAA, HITRUST, EU_REGIONS_AND_SUPPORT, CA_REGIONS_AND_SUPPORT, ITAR, AU_REGIONS_AND_US_SUPPORT, ASSURED_WORKLOADS_FOR_PARTNERS, ISR_REGIONS, ISR_REGIONS_AND_SUPPORT, CA_PROTECTED_B, IL5, IL2, JP_REGIONS_AND_SUPPORT, KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS, REGIONAL_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS, HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT, IRS_1075",
Immutable: true,
Enum: []string{
"COMPLIANCE_REGIME_UNSPECIFIED",
Expand All @@ -155,6 +155,7 @@ func DCLWorkloadSchema() *dcl.Schema {
"REGIONAL_CONTROLS",
"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS",
"HEALTHCARE_AND_LIFE_SCIENCES_CONTROLS_WITH_US_SUPPORT",
"IRS_1075",
},
},
"complianceStatus": &dcl.Property{
Expand Down
6 changes: 3 additions & 3 deletions services/google/assuredworkloads/workload_yaml_embed.go

Large diffs are not rendered by default.

0 comments on commit 338e549

Please sign in to comment.