Reference documentation and code samples for the Assured Workloads for Government V1beta1 API class Google::Cloud::AssuredWorkloads::V1beta1::AnalyzeWorkloadMoveRequest.
A request to analyze a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#project
def project() -> ::String
-
(::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.
Note: The following fields are mutually exclusive:
project
,source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#project=
def project=(value) -> ::String
-
value (::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.
Note: The following fields are mutually exclusive:
project
,source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::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.
Note: The following fields are mutually exclusive:
project
,source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#source
def source() -> ::String
-
(::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"
Note: The following fields are mutually exclusive:
source
,project
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#source=
def source=(value) -> ::String
-
value (::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"
Note: The following fields are mutually exclusive:
source
,project
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::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"
Note: The following fields are mutually exclusive:
source
,project
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#target
def target() -> ::String
- (::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"
#target=
def target=(value) -> ::String
- value (::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"
- (::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"