Interface AnalyzeWorkloadMoveRequestOrBuilder

    • Method Detail

      • hasSource

        boolean hasSource()
         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"
         
        string source = 1;
        Returns:
        Whether the source field is set.
      • getSource

        String getSource()
         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"
         
        string source = 1;
        Returns:
        The source.
      • getSourceBytes

        com.google.protobuf.ByteString getSourceBytes()
         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"
         
        string source = 1;
        Returns:
        The bytes for source.
      • hasProject

        boolean hasProject()
         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.
         
        string project = 3;
        Returns:
        Whether the project field is set.
      • getProject

        String getProject()
         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.
         
        string project = 3;
        Returns:
        The project.
      • getProjectBytes

        com.google.protobuf.ByteString getProjectBytes()
         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.
         
        string project = 3;
        Returns:
        The bytes for project.
      • getTarget

        String getTarget()
         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 target = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The target.
      • getTargetBytes

        com.google.protobuf.ByteString getTargetBytes()
         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 target = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for target.