diff --git a/docs/dyn/assuredworkloads_v1.organizations.locations.workloads.html b/docs/dyn/assuredworkloads_v1.organizations.locations.workloads.html index 1f0e4c1de10..c1785dd1f39 100644 --- a/docs/dyn/assuredworkloads_v1.organizations.locations.workloads.html +++ b/docs/dyn/assuredworkloads_v1.organizations.locations.workloads.html @@ -151,8 +151,9 @@
analyzeWorkloadMove(source, target, project=None, x__xgafv=None)
Analyzes a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload.
+Analyzes a hypothetical move of a source project to a target (destination) folder-based workload.
Close httplib2 connections.
analyzeWorkloadMove(source, target, project=None, x__xgafv=None)
- Analyzes a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload. +Analyzes a hypothetical move of a source project to a target (destination) folder-based workload. Args: - source: string, The source type is a project-based workload. Specify the workloads's relative resource name, formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-1" (required) + source: string, The source type is a project-based workload. Specify the workloads's relative resource name, formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-1" This option is now deprecated (required) target: string, Required. The resource ID of the folder-based destination workload. This workload is where the source project will hypothetically be moved to. Specify the workload's relative resource name, formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-2" (required) project: string, The source type is a project. Specify the project's relative resource name, formatted as either a project number or a project ID: "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}" For example: "projects/951040570662" when specifying a project number, or "projects/my-project-123" when specifying a project ID. x__xgafv: string, V1 error format. diff --git a/docs/dyn/assuredworkloads_v1beta1.organizations.locations.workloads.violations.html b/docs/dyn/assuredworkloads_v1beta1.organizations.locations.workloads.violations.html index 76f3fd89ff1..a33f14f7fa4 100644 --- a/docs/dyn/assuredworkloads_v1beta1.organizations.locations.workloads.violations.html +++ b/docs/dyn/assuredworkloads_v1beta1.organizations.locations.workloads.violations.html @@ -152,6 +152,7 @@Method Details
], "name": "A String", # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id} "nonCompliantOrgPolicy": "A String", # 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} + "orgPolicyConstraint": "A String", # Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation. "remediation": { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation "compliantValues": [ # Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values "A String", @@ -227,6 +228,7 @@Method Details
], "name": "A String", # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id} "nonCompliantOrgPolicy": "A String", # 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} + "orgPolicyConstraint": "A String", # Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation. "remediation": { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation "compliantValues": [ # Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values "A String", diff --git a/docs/dyn/assuredworkloads_v1beta1.projects.organizations.locations.workloads.html b/docs/dyn/assuredworkloads_v1beta1.projects.organizations.locations.workloads.html index 76f7cc4b1c6..1039bda2325 100644 --- a/docs/dyn/assuredworkloads_v1beta1.projects.organizations.locations.workloads.html +++ b/docs/dyn/assuredworkloads_v1beta1.projects.organizations.locations.workloads.html @@ -76,19 +76,19 @@Assured Workloads API . Instance Methods
-
analyzeWorkloadMove(project, target, source=None, x__xgafv=None)
Analyzes a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload.
+Analyzes a hypothetical move of a source project to a target (destination) folder-based workload.
Close httplib2 connections.
Method Details
analyzeWorkloadMove(project, target, source=None, x__xgafv=None)
-Analyzes a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload. +Analyzes a hypothetical move of a source project to a target (destination) folder-based workload. Args: project: string, The source type is a project. Specify the project's relative resource name, formatted as either a project number or a project ID: "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}" For example: "projects/951040570662" when specifying a project number, or "projects/my-project-123" when specifying a project ID. (required) target: string, Required. The resource ID of the folder-based destination workload. This workload is where the source project will hypothetically be moved to. Specify the workload's relative resource name, formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-2" (required) - source: string, The source type is a project-based workload. Specify the workloads's relative resource name, formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-1" + source: string, The source type is a project-based workload. Specify the workloads's relative resource name, formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-1" This option is now deprecated x__xgafv: string, V1 error format. Allowed values 1 - v1 error format diff --git a/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json b/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json index f38d9e90778..aaa7a34fd8e 100644 --- a/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json +++ b/googleapiclient/discovery_cache/documents/assuredworkloads.v1.json @@ -519,7 +519,7 @@ } } }, - "revision": "20230707", + "revision": "20230731", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { @@ -748,6 +748,12 @@ "readOnly": true, "type": "string" }, + "orgPolicyConstraint": { + "deprecated": true, + "description": "Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.", + "readOnly": true, + "type": "string" + }, "remediation": { "$ref": "GoogleCloudAssuredworkloadsV1ViolationRemediation", "description": "Output only. Compliance violation remediation", @@ -1182,13 +1188,16 @@ "description": "Permissions granted to the AW Partner SA account for the customer workload", "id": "GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions", "properties": { + "assuredWorkloadsMonitoring": { + "description": "Optional. Allow partner to view violation alerts.", + "type": "boolean" + }, "dataLogsViewer": { "description": "Allow the partner to view inspectability logs and monitoring violations.", "type": "boolean" }, - "remediateFolderViolations": { - "deprecated": true, - "description": "Allow partner to monitor folder and remediate violations", + "serviceAccessApprover": { + "description": "Optional. Allow partner to view access approval logs.", "type": "boolean" } }, diff --git a/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json b/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json index 606a1a31200..8a8db4146f8 100644 --- a/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json @@ -381,7 +381,7 @@ "workloads": { "methods": { "analyzeWorkloadMove": { - "description": "Analyzes a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload.", + "description": "Analyzes a hypothetical move of a source project to a target (destination) folder-based workload.", "flatPath": "v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/organizations/{organizationsId1}/locations/{locationsId1}/workloads/{workloadsId1}:analyzeWorkloadMove", "httpMethod": "GET", "id": "assuredworkloads.organizations.locations.workloads.organizations.locations.workloads.analyzeWorkloadMove", @@ -396,7 +396,7 @@ "type": "string" }, "source": { - "description": "The source type is a project-based workload. Specify the workloads's relative resource name, formatted as: \"organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}\" For example: \"organizations/123/locations/us-east1/workloads/assured-workload-1\"", + "description": "The source type is a project-based workload. Specify the workloads's relative resource name, formatted as: \"organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}\" For example: \"organizations/123/locations/us-east1/workloads/assured-workload-1\" This option is now deprecated", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", "required": true, @@ -549,7 +549,7 @@ "workloads": { "methods": { "analyzeWorkloadMove": { - "description": "Analyzes a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload.", + "description": "Analyzes a hypothetical move of a source project to a target (destination) folder-based workload.", "flatPath": "v1beta1/projects/{projectsId}/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:analyzeWorkloadMove", "httpMethod": "GET", "id": "assuredworkloads.projects.organizations.locations.workloads.analyzeWorkloadMove", @@ -566,7 +566,8 @@ "type": "string" }, "source": { - "description": "The source type is a project-based workload. Specify the workloads's relative resource name, formatted as: \"organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}\" For example: \"organizations/123/locations/us-east1/workloads/assured-workload-1\"", + "deprecated": true, + "description": "The source type is a project-based workload. Specify the workloads's relative resource name, formatted as: \"organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}\" For example: \"organizations/123/locations/us-east1/workloads/assured-workload-1\" This option is now deprecated", "location": "query", "type": "string" }, @@ -595,7 +596,7 @@ } } }, - "revision": "20230707", + "revision": "20230731", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": { @@ -825,6 +826,12 @@ "readOnly": true, "type": "string" }, + "orgPolicyConstraint": { + "deprecated": true, + "description": "Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.", + "readOnly": true, + "type": "string" + }, "remediation": { "$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediation", "description": "Output only. Compliance violation remediation", @@ -1060,11 +1067,6 @@ "readOnly": true, "type": "array" }, - "controls": { - "$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls", - "description": "Output only. Controls associated with the customer workload", - "readOnly": true - }, "createTime": { "description": "Output only. Immutable. The Workload creation timestamp.", "format": "google-datetime", @@ -1198,39 +1200,6 @@ }, "type": "object" }, - "GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls": { - "description": "Controls enabled to the user associated with this workload", - "id": "GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls", - "properties": { - "appliedOrgPolicies": { - "description": "Output only. Org policies currently applied by this Assured Workload", - "items": { - "$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl" - }, - "readOnly": true, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl": { - "description": "An org policy control applied by Assured Workloads", - "id": "GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControl", - "properties": { - "constraint": { - "description": "Output only. Constraint name of the org policy control Example: constraints/gcp.resourcelocations", - "readOnly": true, - "type": "string" - }, - "version": { - "description": "Output only. Org policy version", - "format": "int32", - "readOnly": true, - "type": "integer" - } - }, - "type": "object" - }, "GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus": { "description": "Represents the Compliance Status of this workload", "id": "GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus", @@ -1365,13 +1334,16 @@ "description": "Permissions granted to the AW Partner SA account for the customer workload", "id": "GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions", "properties": { + "assuredWorkloadsMonitoring": { + "description": "Optional. Allow partner to view violation alerts.", + "type": "boolean" + }, "dataLogsViewer": { "description": "Allow the partner to view inspectability logs and monitoring violations.", "type": "boolean" }, - "remediateFolderViolations": { - "deprecated": true, - "description": "Allow partner to monitor folder and remediate violations", + "serviceAccessApprover": { + "description": "Optional. Allow partner to view access approval logs.", "type": "boolean" } },