Skip to content

Commit 2a00271

Browse files
feat(assuredworkloads): update the api
#### assuredworkloads:v1 The following keys were added: - schemas.GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest.properties.nonCompliantOrgPolicy.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1Violation.properties.exceptionContexts (Total Keys: 3) - schemas.GoogleCloudAssuredworkloadsV1ViolationExceptionContext (Total Keys: 6) - schemas.GoogleCloudAssuredworkloadsV1Workload.properties.kmsSettings.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1WorkloadKMSSettings.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions.properties.remediateFolderViolations.deprecated (Total Keys: 1) #### assuredworkloads:v1beta1 The following keys were added: - schemas.GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest.properties.nonCompliantOrgPolicy.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1Violation.properties.exceptionContexts (Total Keys: 3) - schemas.GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext (Total Keys: 6) - schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.cjisSettings.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.fedrampHighSettings.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.fedrampModerateSettings.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.il4Settings.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.kmsSettings.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions.properties.remediateFolderViolations.deprecated (Total Keys: 1)
1 parent e5a3b73 commit 2a00271

File tree

4 files changed

+130
-2
lines changed

4 files changed

+130
-2
lines changed

docs/dyn/assuredworkloads_v1.organizations.locations.workloads.violations.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,13 @@ <h3>Method Details</h3>
143143
&quot;category&quot;: &quot;A String&quot;, # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
144144
&quot;description&quot;: &quot;A String&quot;, # Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
145145
&quot;exceptionAuditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
146+
&quot;exceptionContexts&quot;: [ # Output only. List of all the exception detail added for the violation.
147+
{ # Violation exception detail. Next Id: 6
148+
&quot;acknowledgementTime&quot;: &quot;A String&quot;, # Timestamp when the violation was acknowledged.
149+
&quot;comment&quot;: &quot;A String&quot;, # Business justification provided towards the acknowledgement of the violation.
150+
&quot;userName&quot;: &quot;A String&quot;, # Name of the user (or service account) who acknowledged the violation.
151+
},
152+
],
146153
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
147154
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
148155
&quot;remediation&quot;: { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation
@@ -211,6 +218,13 @@ <h3>Method Details</h3>
211218
&quot;category&quot;: &quot;A String&quot;, # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
212219
&quot;description&quot;: &quot;A String&quot;, # Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
213220
&quot;exceptionAuditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
221+
&quot;exceptionContexts&quot;: [ # Output only. List of all the exception detail added for the violation.
222+
{ # Violation exception detail. Next Id: 6
223+
&quot;acknowledgementTime&quot;: &quot;A String&quot;, # Timestamp when the violation was acknowledged.
224+
&quot;comment&quot;: &quot;A String&quot;, # Business justification provided towards the acknowledgement of the violation.
225+
&quot;userName&quot;: &quot;A String&quot;, # Name of the user (or service account) who acknowledged the violation.
226+
},
227+
],
214228
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
215229
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
216230
&quot;remediation&quot;: { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation

docs/dyn/assuredworkloads_v1beta1.organizations.locations.workloads.violations.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,13 @@ <h3>Method Details</h3>
143143
&quot;category&quot;: &quot;A String&quot;, # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
144144
&quot;description&quot;: &quot;A String&quot;, # Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
145145
&quot;exceptionAuditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
146+
&quot;exceptionContexts&quot;: [ # Output only. List of all the exception detail added for the violation.
147+
{ # Violation exception detail. Next Id: 6
148+
&quot;acknowledgementTime&quot;: &quot;A String&quot;, # Timestamp when the violation was acknowledged.
149+
&quot;comment&quot;: &quot;A String&quot;, # Business justification provided towards the acknowledgement of the violation.
150+
&quot;userName&quot;: &quot;A String&quot;, # Name of the user (or service account) who acknowledged the violation.
151+
},
152+
],
146153
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
147154
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
148155
&quot;remediation&quot;: { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation
@@ -211,6 +218,13 @@ <h3>Method Details</h3>
211218
&quot;category&quot;: &quot;A String&quot;, # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
212219
&quot;description&quot;: &quot;A String&quot;, # Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
213220
&quot;exceptionAuditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
221+
&quot;exceptionContexts&quot;: [ # Output only. List of all the exception detail added for the violation.
222+
{ # Violation exception detail. Next Id: 6
223+
&quot;acknowledgementTime&quot;: &quot;A String&quot;, # Timestamp when the violation was acknowledged.
224+
&quot;comment&quot;: &quot;A String&quot;, # Business justification provided towards the acknowledgement of the violation.
225+
&quot;userName&quot;: &quot;A String&quot;, # Name of the user (or service account) who acknowledged the violation.
226+
},
227+
],
214228
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
215229
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
216230
&quot;remediation&quot;: { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation

googleapiclient/discovery_cache/documents/assuredworkloads.v1.json

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@
519519
}
520520
}
521521
},
522-
"revision": "20230630",
522+
"revision": "20230707",
523523
"rootUrl": "https://assuredworkloads.googleapis.com/",
524524
"schemas": {
525525
"GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": {
@@ -531,6 +531,7 @@
531531
"type": "string"
532532
},
533533
"nonCompliantOrgPolicy": {
534+
"deprecated": true,
534535
"description": "Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}",
535536
"type": "string"
536537
}
@@ -729,6 +730,14 @@
729730
"readOnly": true,
730731
"type": "string"
731732
},
733+
"exceptionContexts": {
734+
"description": "Output only. List of all the exception detail added for the violation.",
735+
"items": {
736+
"$ref": "GoogleCloudAssuredworkloadsV1ViolationExceptionContext"
737+
},
738+
"readOnly": true,
739+
"type": "array"
740+
},
732741
"name": {
733742
"description": "Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}",
734743
"readOnly": true,
@@ -776,6 +785,26 @@
776785
},
777786
"type": "object"
778787
},
788+
"GoogleCloudAssuredworkloadsV1ViolationExceptionContext": {
789+
"description": "Violation exception detail. Next Id: 6",
790+
"id": "GoogleCloudAssuredworkloadsV1ViolationExceptionContext",
791+
"properties": {
792+
"acknowledgementTime": {
793+
"description": "Timestamp when the violation was acknowledged.",
794+
"format": "google-datetime",
795+
"type": "string"
796+
},
797+
"comment": {
798+
"description": "Business justification provided towards the acknowledgement of the violation.",
799+
"type": "string"
800+
},
801+
"userName": {
802+
"description": "Name of the user (or service account) who acknowledged the violation.",
803+
"type": "string"
804+
}
805+
},
806+
"type": "object"
807+
},
779808
"GoogleCloudAssuredworkloadsV1ViolationRemediation": {
780809
"description": "Represents remediation guidance to resolve compliance violation for AssuredWorkload",
781810
"id": "GoogleCloudAssuredworkloadsV1ViolationRemediation",
@@ -988,6 +1017,7 @@
9881017
},
9891018
"kmsSettings": {
9901019
"$ref": "GoogleCloudAssuredworkloadsV1WorkloadKMSSettings",
1020+
"deprecated": true,
9911021
"description": "Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field."
9921022
},
9931023
"labels": {
@@ -1131,6 +1161,7 @@
11311161
"type": "object"
11321162
},
11331163
"GoogleCloudAssuredworkloadsV1WorkloadKMSSettings": {
1164+
"deprecated": true,
11341165
"description": "Settings specific to the Key Management Service.",
11351166
"id": "GoogleCloudAssuredworkloadsV1WorkloadKMSSettings",
11361167
"properties": {
@@ -1156,6 +1187,7 @@
11561187
"type": "boolean"
11571188
},
11581189
"remediateFolderViolations": {
1190+
"deprecated": true,
11591191
"description": "Allow partner to monitor folder and remediate violations",
11601192
"type": "boolean"
11611193
}
@@ -1180,6 +1212,13 @@
11801212
"ENCRYPTION_KEYS_PROJECT",
11811213
"KEYRING"
11821214
],
1215+
"enumDeprecated": [
1216+
false,
1217+
true,
1218+
false,
1219+
false,
1220+
false
1221+
],
11831222
"enumDescriptions": [
11841223
"Unknown resource type.",
11851224
"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.",
@@ -1213,6 +1252,13 @@
12131252
"ENCRYPTION_KEYS_PROJECT",
12141253
"KEYRING"
12151254
],
1255+
"enumDeprecated": [
1256+
false,
1257+
true,
1258+
false,
1259+
false,
1260+
false
1261+
],
12161262
"enumDescriptions": [
12171263
"Unknown resource type.",
12181264
"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.",

googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@
595595
}
596596
}
597597
},
598-
"revision": "20230630",
598+
"revision": "20230707",
599599
"rootUrl": "https://assuredworkloads.googleapis.com/",
600600
"schemas": {
601601
"GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": {
@@ -607,6 +607,7 @@
607607
"type": "string"
608608
},
609609
"nonCompliantOrgPolicy": {
610+
"deprecated": true,
610611
"description": "Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}",
611612
"type": "string"
612613
}
@@ -806,6 +807,14 @@
806807
"readOnly": true,
807808
"type": "string"
808809
},
810+
"exceptionContexts": {
811+
"description": "Output only. List of all the exception detail added for the violation.",
812+
"items": {
813+
"$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext"
814+
},
815+
"readOnly": true,
816+
"type": "array"
817+
},
809818
"name": {
810819
"description": "Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}",
811820
"readOnly": true,
@@ -853,6 +862,26 @@
853862
},
854863
"type": "object"
855864
},
865+
"GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext": {
866+
"description": "Violation exception detail. Next Id: 6",
867+
"id": "GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext",
868+
"properties": {
869+
"acknowledgementTime": {
870+
"description": "Timestamp when the violation was acknowledged.",
871+
"format": "google-datetime",
872+
"type": "string"
873+
},
874+
"comment": {
875+
"description": "Business justification provided towards the acknowledgement of the violation.",
876+
"type": "string"
877+
},
878+
"userName": {
879+
"description": "Name of the user (or service account) who acknowledged the violation.",
880+
"type": "string"
881+
}
882+
},
883+
"type": "object"
884+
},
856885
"GoogleCloudAssuredworkloadsV1beta1ViolationRemediation": {
857886
"description": "Represents remediation guidance to resolve compliance violation for AssuredWorkload",
858887
"id": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediation",
@@ -973,6 +1002,7 @@
9731002
},
9741003
"cjisSettings": {
9751004
"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings",
1005+
"deprecated": true,
9761006
"description": "Input only. Immutable. Settings specific to resources needed for CJIS."
9771007
},
9781008
"complianceRegime": {
@@ -1059,14 +1089,17 @@
10591089
},
10601090
"fedrampHighSettings": {
10611091
"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings",
1092+
"deprecated": true,
10621093
"description": "Input only. Immutable. Settings specific to resources needed for FedRAMP High."
10631094
},
10641095
"fedrampModerateSettings": {
10651096
"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings",
1097+
"deprecated": true,
10661098
"description": "Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate."
10671099
},
10681100
"il4Settings": {
10691101
"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings",
1102+
"deprecated": true,
10701103
"description": "Input only. Immutable. Settings specific to resources needed for IL4."
10711104
},
10721105
"kajEnrollmentState": {
@@ -1086,6 +1119,7 @@
10861119
},
10871120
"kmsSettings": {
10881121
"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings",
1122+
"deprecated": true,
10891123
"description": "Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field."
10901124
},
10911125
"labels": {
@@ -1153,6 +1187,7 @@
11531187
"type": "object"
11541188
},
11551189
"GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings": {
1190+
"deprecated": true,
11561191
"description": "Settings specific to resources needed for CJIS.",
11571192
"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings",
11581193
"properties": {
@@ -1273,6 +1308,7 @@
12731308
"type": "object"
12741309
},
12751310
"GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings": {
1311+
"deprecated": true,
12761312
"description": "Settings specific to resources needed for FedRAMP High.",
12771313
"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings",
12781314
"properties": {
@@ -1284,6 +1320,7 @@
12841320
"type": "object"
12851321
},
12861322
"GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings": {
1323+
"deprecated": true,
12871324
"description": "Settings specific to resources needed for FedRAMP Moderate.",
12881325
"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings",
12891326
"properties": {
@@ -1295,6 +1332,7 @@
12951332
"type": "object"
12961333
},
12971334
"GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings": {
1335+
"deprecated": true,
12981336
"description": "Settings specific to resources needed for IL4.",
12991337
"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings",
13001338
"properties": {
@@ -1306,6 +1344,7 @@
13061344
"type": "object"
13071345
},
13081346
"GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings": {
1347+
"deprecated": true,
13091348
"description": "Settings specific to the Key Management Service.",
13101349
"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings",
13111350
"properties": {
@@ -1331,6 +1370,7 @@
13311370
"type": "boolean"
13321371
},
13331372
"remediateFolderViolations": {
1373+
"deprecated": true,
13341374
"description": "Allow partner to monitor folder and remediate violations",
13351375
"type": "boolean"
13361376
}
@@ -1355,6 +1395,13 @@
13551395
"ENCRYPTION_KEYS_PROJECT",
13561396
"KEYRING"
13571397
],
1398+
"enumDeprecated": [
1399+
false,
1400+
true,
1401+
false,
1402+
false,
1403+
false
1404+
],
13581405
"enumDescriptions": [
13591406
"Unknown resource type.",
13601407
"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.",
@@ -1388,6 +1435,13 @@
13881435
"ENCRYPTION_KEYS_PROJECT",
13891436
"KEYRING"
13901437
],
1438+
"enumDeprecated": [
1439+
false,
1440+
true,
1441+
false,
1442+
false,
1443+
false
1444+
],
13911445
"enumDescriptions": [
13921446
"Unknown resource type.",
13931447
"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.",

0 commit comments

Comments
 (0)