2023-08-09
▼ ▲ assuredworkloads.organizations.locations.workloads.enableResourceMonitoring
Description: Enable resource violation monitoring for a workload.
Parameter Order: name
Path: v1beta1/{+name}:enableResourceMonitoring
Parameters:
name
Description: Required. The `name` field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
Type: string
Location: path
Required: Yes
Pattern: ^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$
HTTP Method: POST
Flat Path: v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:enableResourceMonitoring
▼ ▲ assuredworkloads.projects.organizations.locations.workloads.analyzeWorkloadMove
Parameters:
analyzeChildAssets
Location: query
Description: Optional. Indicates if all child assets of the source resource should also be analyzed in addition to the source.
Type: boolean
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.
pageSize
Type: integer
Location: query
Format: int32
Description: Optional. Page size. If a value is not specified, the default value of 10 is used.
▼ ▲ assuredworkloads.organizations.locations.workloads.organizations.locations.workloads.analyzeWorkloadMove
Flat Path: v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/organizations/{organizationsId1}/locations/{locationsId1}/workloads/{workloadsId1}:analyzeWorkloadMove
Path: v1beta1/{+source}/{+target}:analyzeWorkloadMove
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameter Order:
HTTP Method: GET
Description: Analyzes a hypothetical move of a source project to a target (destination) folder-based workload.
Parameters:
source
Location: path
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
Required: Yes
Type: string
Pattern: ^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$
project
Location: query
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.
Type: string
target
Required: Yes
Location: path
Pattern: ^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$
Description: 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"
Type: string