diff --git a/docs/dyn/assuredworkloads_v1.organizations.locations.workloads.html b/docs/dyn/assuredworkloads_v1.organizations.locations.workloads.html index 13b011d755e..c07d58bc544 100644 --- a/docs/dyn/assuredworkloads_v1.organizations.locations.workloads.html +++ b/docs/dyn/assuredworkloads_v1.organizations.locations.workloads.html @@ -121,6 +121,10 @@

Method Details

{ # A Workload object for managing highly regulated workloads of cloud customers. "billingAccount": "A String", # Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. "complianceRegime": "A String", # Required. Immutable. Compliance Regime associated with this workload. + "complianceStatus": { # Represents the Compliance Status of this workload # Output only. Count of active Violations in the Workload. + "acknowledgedViolationCount": 42, # Count of active Violations which are acknowledged in the Workload. + "activeViolationCount": 42, # Count of active Violations which haven't been acknowledged. + }, "compliantButDisallowedServices": [ # Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment." "A String", ], @@ -226,6 +230,10 @@

Method Details

{ # A Workload object for managing highly regulated workloads of cloud customers. "billingAccount": "A String", # Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. "complianceRegime": "A String", # Required. Immutable. Compliance Regime associated with this workload. + "complianceStatus": { # Represents the Compliance Status of this workload # Output only. Count of active Violations in the Workload. + "acknowledgedViolationCount": 42, # Count of active Violations which are acknowledged in the Workload. + "activeViolationCount": 42, # Count of active Violations which haven't been acknowledged. + }, "compliantButDisallowedServices": [ # Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment." "A String", ], @@ -289,6 +297,10 @@

Method Details

{ # A Workload object for managing highly regulated workloads of cloud customers. "billingAccount": "A String", # Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. "complianceRegime": "A String", # Required. Immutable. Compliance Regime associated with this workload. + "complianceStatus": { # Represents the Compliance Status of this workload # Output only. Count of active Violations in the Workload. + "acknowledgedViolationCount": 42, # Count of active Violations which are acknowledged in the Workload. + "activeViolationCount": 42, # Count of active Violations which haven't been acknowledged. + }, "compliantButDisallowedServices": [ # Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment." "A String", ], @@ -357,6 +369,10 @@

Method Details

{ # A Workload object for managing highly regulated workloads of cloud customers. "billingAccount": "A String", # Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. "complianceRegime": "A String", # Required. Immutable. Compliance Regime associated with this workload. + "complianceStatus": { # Represents the Compliance Status of this workload # Output only. Count of active Violations in the Workload. + "acknowledgedViolationCount": 42, # Count of active Violations which are acknowledged in the Workload. + "activeViolationCount": 42, # Count of active Violations which haven't been acknowledged. + }, "compliantButDisallowedServices": [ # Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment." "A String", ], @@ -408,6 +424,10 @@

Method Details

{ # A Workload object for managing highly regulated workloads of cloud customers. "billingAccount": "A String", # Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. "complianceRegime": "A String", # Required. Immutable. Compliance Regime associated with this workload. + "complianceStatus": { # Represents the Compliance Status of this workload # Output only. Count of active Violations in the Workload. + "acknowledgedViolationCount": 42, # Count of active Violations which are acknowledged in the Workload. + "activeViolationCount": 42, # Count of active Violations which haven't been acknowledged. + }, "compliantButDisallowedServices": [ # Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment." "A String", ], diff --git a/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json b/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json index 664ff5d8653..fa29e0d4f7b 100644 --- a/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json +++ b/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json @@ -491,7 +491,7 @@ } } }, - "revision": "20221014", + "revision": "20221020", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { @@ -873,6 +873,11 @@ ], "type": "string" }, + "complianceStatus": { + "$ref": "GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus", + "description": "Output only. Count of active Violations in the Workload.", + "readOnly": true + }, "compliantButDisallowedServices": { "description": "Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.\"", "items": { @@ -968,6 +973,23 @@ }, "type": "object" }, + "GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus": { + "description": "Represents the Compliance Status of this workload", + "id": "GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus", + "properties": { + "acknowledgedViolationCount": { + "description": "Count of active Violations which are acknowledged in the Workload.", + "format": "int32", + "type": "integer" + }, + "activeViolationCount": { + "description": "Count of active Violations which haven't been acknowledged.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudAssuredworkloadsV1WorkloadKMSSettings": { "description": "Settings specific to the Key Management Service. This message is deprecated. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.", "id": "GoogleCloudAssuredworkloadsV1WorkloadKMSSettings", diff --git a/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json b/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json index e1c0f496058..60019b96fbe 100644 --- a/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json @@ -595,7 +595,7 @@ } } }, - "revision": "20221014", + "revision": "20221020", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": {