Assured Workloads for Government V1beta1 API - Class Google::Cloud::AssuredWorkloads::V1beta1::AnalyzeWorkloadMoveRequest (v0.11.0)

Reference documentation and code samples for the Assured Workloads for Government V1beta1 API class Google::Cloud::AssuredWorkloads::V1beta1::AnalyzeWorkloadMoveRequest.

Request to check if source workload can be moved to target workload.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#project

def project() -> ::String
Returns
  • (::String) — The Source is a project based to be moved. This is the project's relative path in the API, formatted as "cloudresourcemanager.googleapis.com/projects/{project_number}" "projects/{project_number}" "cloudresourcemanager.googleapis.com/projects/{project_id}" "projects/{project_id}" For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — The Source is a project based to be moved. This is the project's relative path in the API, formatted as "cloudresourcemanager.googleapis.com/projects/{project_number}" "projects/{project_number}" "cloudresourcemanager.googleapis.com/projects/{project_id}" "projects/{project_id}" For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".
Returns
  • (::String) — The Source is a project based to be moved. This is the project's relative path in the API, formatted as "cloudresourcemanager.googleapis.com/projects/{project_number}" "projects/{project_number}" "cloudresourcemanager.googleapis.com/projects/{project_id}" "projects/{project_id}" For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".

#source

def source() -> ::String
Returns
  • (::String) — The Source is project based Workload to be moved. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".

#source=

def source=(value) -> ::String
Parameter
  • value (::String) — The Source is project based Workload to be moved. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".
Returns
  • (::String) — The Source is project based Workload to be moved. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".

#target

def target() -> ::String
Returns
  • (::String) — Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, 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
Parameter
  • value (::String) — Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-2".
Returns
  • (::String) — Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-2".