Assured Workloads API (assuredworkloads:v1beta1)

2023-08-19

1 new method | 1 removed method

Additions

    Methods
  • assuredworkloads.organizations.locations.workloads.analyzeWorkloadMove

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Analyzes a hypothetical move of a source resource to a target(destination) folder-based workload to surface compliance risks.

      Flat Path: v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:analyzeWorkloadMove

      HTTP Method: GET

      Parameters:

        pageSize

          Description: Optional. Page size. If a value is not specified, the default value of 10 is used.

          Location: query

          Type: integer

          Format: int32

        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" This option is now deprecated.

          Type: string

          Deprecated: Yes

          Location: query

        pageToken

          Location: query

          Type: string

          Description: Optional. The page token from the previous response. It needs to be passed in the second and following requests.

        target

          Required: Yes

          Location: path

          Description: Required. The resource ID of the folder-based destination workload. This workload is where the source resource 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"

          Type: string

          Pattern: ^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$

        analyzeChildAssets

          Type: boolean

          Location: query

          Description: Optional. Indicates if all child assets of the source resource should also be analyzed in addition to the source.

        project

          Location: query

          Type: string

          Description: 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.

      Parameter Order: target

      Path: v1beta1/{+target}:analyzeWorkloadMove

Deletions

    Methods
  • assuredworkloads.projects.organizations.locations.workloads.analyzeWorkloadMove

      Path: v1beta1/{+project}/{+target}:analyzeWorkloadMove

      Parameter Order:

    • project
    • target
    • Scopes: https://www.googleapis.com/auth/cloud-platform

      HTTP Method: GET

      Flat Path: v1beta1/projects/{projectsId}/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:analyzeWorkloadMove

      Description: Analyzes a hypothetical move of a source resource to a target(destination) folder-based workload to surface compliance risks.

      Parameters:

        target

          Pattern: ^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$

          Location: path

          Description: Required. The resource ID of the folder-based destination workload. This workload is where the source resource 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"

          Type: string

          Required: Yes

        pageSize

          Format: int32

          Description: Optional. Page size. If a value is not specified, the default value of 10 is used.

          Location: query

          Type: integer

        project

          Pattern: ^projects/[^/]+$

          Type: string

          Required: Yes

          Location: path

          Description: 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.

        analyzeChildAssets

          Type: boolean

          Description: Optional. Indicates if all child assets of the source resource should also be analyzed in addition to the source.

          Location: query

        source

          Deprecated: Yes

          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.

          Type: string

          Location: query

        pageToken

          Location: query

          Type: string

          Description: Optional. The page token from the previous response. It needs to be passed in the second and following requests.