1. Packages
  2. Packages
  3. Google Cloud (GCP) Classic
  4. API Docs
  5. migrationcenter
  6. AssetsExportJob
Viewing docs for Google Cloud v9.26.0
published on Tuesday, Jun 9, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.26.0
published on Tuesday, Jun 9, 2026 by Pulumi

    AssetsExportJob represents a batch job that exports Migration Center assets to external destinations such as Cloud Storage.

    Example Usage

    Migration Center Assets Export Job Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.migrationcenter.AssetsExportJob("default", {
        location: "us-central1",
        assetsExportJobId: "assets-export-job-test",
        performanceData: {
            maxDays: 30,
        },
        showHidden: true,
        signedUriDestination: {
            fileFormat: "CSV",
        },
        labels: {
            key: "value",
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.migrationcenter.AssetsExportJob("default",
        location="us-central1",
        assets_export_job_id="assets-export-job-test",
        performance_data={
            "max_days": 30,
        },
        show_hidden=True,
        signed_uri_destination={
            "file_format": "CSV",
        },
        labels={
            "key": "value",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/migrationcenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := migrationcenter.NewAssetsExportJob(ctx, "default", &migrationcenter.AssetsExportJobArgs{
    			Location:          pulumi.String("us-central1"),
    			AssetsExportJobId: pulumi.String("assets-export-job-test"),
    			PerformanceData: &migrationcenter.AssetsExportJobPerformanceDataArgs{
    				MaxDays: pulumi.Int(30),
    			},
    			ShowHidden: pulumi.Bool(true),
    			SignedUriDestination: &migrationcenter.AssetsExportJobSignedUriDestinationArgs{
    				FileFormat: pulumi.String("CSV"),
    			},
    			Labels: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.MigrationCenter.AssetsExportJob("default", new()
        {
            Location = "us-central1",
            AssetsExportJobId = "assets-export-job-test",
            PerformanceData = new Gcp.MigrationCenter.Inputs.AssetsExportJobPerformanceDataArgs
            {
                MaxDays = 30,
            },
            ShowHidden = true,
            SignedUriDestination = new Gcp.MigrationCenter.Inputs.AssetsExportJobSignedUriDestinationArgs
            {
                FileFormat = "CSV",
            },
            Labels = 
            {
                { "key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.migrationcenter.AssetsExportJob;
    import com.pulumi.gcp.migrationcenter.AssetsExportJobArgs;
    import com.pulumi.gcp.migrationcenter.inputs.AssetsExportJobPerformanceDataArgs;
    import com.pulumi.gcp.migrationcenter.inputs.AssetsExportJobSignedUriDestinationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var default_ = new AssetsExportJob("default", AssetsExportJobArgs.builder()
                .location("us-central1")
                .assetsExportJobId("assets-export-job-test")
                .performanceData(AssetsExportJobPerformanceDataArgs.builder()
                    .maxDays(30)
                    .build())
                .showHidden(true)
                .signedUriDestination(AssetsExportJobSignedUriDestinationArgs.builder()
                    .fileFormat("CSV")
                    .build())
                .labels(Map.of("key", "value"))
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:migrationcenter:AssetsExportJob
        properties:
          location: us-central1
          assetsExportJobId: assets-export-job-test
          performanceData:
            maxDays: 30
          showHidden: true
          signedUriDestination:
            fileFormat: CSV
          labels:
            key: value
    
    pulumi {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_migrationcenter_assetsexportjob" "default" {
      location             = "us-central1"
      assets_export_job_id = "assets-export-job-test"
      performance_data = {
        max_days = 30
      }
      show_hidden = true
      signed_uri_destination = {
        file_format = "CSV"
      }
      labels = {
        "key" = "value"
      }
    }
    

    Create AssetsExportJob Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AssetsExportJob(name: string, args: AssetsExportJobArgs, opts?: CustomResourceOptions);
    @overload
    def AssetsExportJob(resource_name: str,
                        args: AssetsExportJobArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AssetsExportJob(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        assets_export_job_id: Optional[str] = None,
                        location: Optional[str] = None,
                        condition: Optional[AssetsExportJobConditionArgs] = None,
                        deletion_policy: Optional[str] = None,
                        labels: Optional[Mapping[str, str]] = None,
                        performance_data: Optional[AssetsExportJobPerformanceDataArgs] = None,
                        project: Optional[str] = None,
                        show_hidden: Optional[bool] = None,
                        signed_uri_destination: Optional[AssetsExportJobSignedUriDestinationArgs] = None)
    func NewAssetsExportJob(ctx *Context, name string, args AssetsExportJobArgs, opts ...ResourceOption) (*AssetsExportJob, error)
    public AssetsExportJob(string name, AssetsExportJobArgs args, CustomResourceOptions? opts = null)
    public AssetsExportJob(String name, AssetsExportJobArgs args)
    public AssetsExportJob(String name, AssetsExportJobArgs args, CustomResourceOptions options)
    
    type: gcp:migrationcenter:AssetsExportJob
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "gcp_migrationcenter_assetsexportjob" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AssetsExportJobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AssetsExportJobArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AssetsExportJobArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AssetsExportJobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AssetsExportJobArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var assetsExportJobResource = new Gcp.MigrationCenter.AssetsExportJob("assetsExportJobResource", new()
    {
        AssetsExportJobId = "string",
        Location = "string",
        Condition = new Gcp.MigrationCenter.Inputs.AssetsExportJobConditionArgs
        {
            Filter = "string",
        },
        DeletionPolicy = "string",
        Labels = 
        {
            { "string", "string" },
        },
        PerformanceData = new Gcp.MigrationCenter.Inputs.AssetsExportJobPerformanceDataArgs
        {
            MaxDays = 0,
        },
        Project = "string",
        ShowHidden = false,
        SignedUriDestination = new Gcp.MigrationCenter.Inputs.AssetsExportJobSignedUriDestinationArgs
        {
            FileFormat = "string",
        },
    });
    
    example, err := migrationcenter.NewAssetsExportJob(ctx, "assetsExportJobResource", &migrationcenter.AssetsExportJobArgs{
    	AssetsExportJobId: pulumi.String("string"),
    	Location:          pulumi.String("string"),
    	Condition: &migrationcenter.AssetsExportJobConditionArgs{
    		Filter: pulumi.String("string"),
    	},
    	DeletionPolicy: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	PerformanceData: &migrationcenter.AssetsExportJobPerformanceDataArgs{
    		MaxDays: pulumi.Int(0),
    	},
    	Project:    pulumi.String("string"),
    	ShowHidden: pulumi.Bool(false),
    	SignedUriDestination: &migrationcenter.AssetsExportJobSignedUriDestinationArgs{
    		FileFormat: pulumi.String("string"),
    	},
    })
    
    resource "gcp_migrationcenter_assetsexportjob" "assetsExportJobResource" {
      assets_export_job_id = "string"
      location             = "string"
      condition = {
        filter = "string"
      }
      deletion_policy = "string"
      labels = {
        "string" = "string"
      }
      performance_data = {
        max_days = 0
      }
      project     = "string"
      show_hidden = false
      signed_uri_destination = {
        file_format = "string"
      }
    }
    
    var assetsExportJobResource = new AssetsExportJob("assetsExportJobResource", AssetsExportJobArgs.builder()
        .assetsExportJobId("string")
        .location("string")
        .condition(AssetsExportJobConditionArgs.builder()
            .filter("string")
            .build())
        .deletionPolicy("string")
        .labels(Map.of("string", "string"))
        .performanceData(AssetsExportJobPerformanceDataArgs.builder()
            .maxDays(0)
            .build())
        .project("string")
        .showHidden(false)
        .signedUriDestination(AssetsExportJobSignedUriDestinationArgs.builder()
            .fileFormat("string")
            .build())
        .build());
    
    assets_export_job_resource = gcp.migrationcenter.AssetsExportJob("assetsExportJobResource",
        assets_export_job_id="string",
        location="string",
        condition={
            "filter": "string",
        },
        deletion_policy="string",
        labels={
            "string": "string",
        },
        performance_data={
            "max_days": 0,
        },
        project="string",
        show_hidden=False,
        signed_uri_destination={
            "file_format": "string",
        })
    
    const assetsExportJobResource = new gcp.migrationcenter.AssetsExportJob("assetsExportJobResource", {
        assetsExportJobId: "string",
        location: "string",
        condition: {
            filter: "string",
        },
        deletionPolicy: "string",
        labels: {
            string: "string",
        },
        performanceData: {
            maxDays: 0,
        },
        project: "string",
        showHidden: false,
        signedUriDestination: {
            fileFormat: "string",
        },
    });
    
    type: gcp:migrationcenter:AssetsExportJob
    properties:
        assetsExportJobId: string
        condition:
            filter: string
        deletionPolicy: string
        labels:
            string: string
        location: string
        performanceData:
            maxDays: 0
        project: string
        showHidden: false
        signedUriDestination:
            fileFormat: string
    

    AssetsExportJob Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AssetsExportJob resource accepts the following input properties:

    AssetsExportJobId string
    The ID to use for the asset export job.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Condition AssetsExportJobCondition
    Conditions for selecting assets to export. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Labels Dictionary<string, string>
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    PerformanceData AssetsExportJobPerformanceData
    Configuration for performance data exports. Structure is documented below.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ShowHidden bool
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    SignedUriDestination AssetsExportJobSignedUriDestination
    Signed URI destination configuration. Structure is documented below.
    AssetsExportJobId string
    The ID to use for the asset export job.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Condition AssetsExportJobConditionArgs
    Conditions for selecting assets to export. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Labels map[string]string
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    PerformanceData AssetsExportJobPerformanceDataArgs
    Configuration for performance data exports. Structure is documented below.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ShowHidden bool
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    SignedUriDestination AssetsExportJobSignedUriDestinationArgs
    Signed URI destination configuration. Structure is documented below.
    assets_export_job_id string
    The ID to use for the asset export job.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    condition object
    Conditions for selecting assets to export. Structure is documented below.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    labels map(string)
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    performance_data object
    Configuration for performance data exports. Structure is documented below.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    show_hidden bool
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    signed_uri_destination object
    Signed URI destination configuration. Structure is documented below.
    assetsExportJobId String
    The ID to use for the asset export job.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    condition AssetsExportJobCondition
    Conditions for selecting assets to export. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    labels Map<String,String>
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    performanceData AssetsExportJobPerformanceData
    Configuration for performance data exports. Structure is documented below.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    showHidden Boolean
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    signedUriDestination AssetsExportJobSignedUriDestination
    Signed URI destination configuration. Structure is documented below.
    assetsExportJobId string
    The ID to use for the asset export job.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    condition AssetsExportJobCondition
    Conditions for selecting assets to export. Structure is documented below.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    labels {[key: string]: string}
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    performanceData AssetsExportJobPerformanceData
    Configuration for performance data exports. Structure is documented below.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    showHidden boolean
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    signedUriDestination AssetsExportJobSignedUriDestination
    Signed URI destination configuration. Structure is documented below.
    assets_export_job_id str
    The ID to use for the asset export job.
    location str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    condition AssetsExportJobConditionArgs
    Conditions for selecting assets to export. Structure is documented below.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    labels Mapping[str, str]
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    performance_data AssetsExportJobPerformanceDataArgs
    Configuration for performance data exports. Structure is documented below.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    show_hidden bool
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    signed_uri_destination AssetsExportJobSignedUriDestinationArgs
    Signed URI destination configuration. Structure is documented below.
    assetsExportJobId String
    The ID to use for the asset export job.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    condition Property Map
    Conditions for selecting assets to export. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    labels Map<String>
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    performanceData Property Map
    Configuration for performance data exports. Structure is documented below.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    showHidden Boolean
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    signedUriDestination Property Map
    Signed URI destination configuration. Structure is documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AssetsExportJob resource produces the following output properties:

    CreateTime string
    Resource creation time.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Inventories List<AssetsExportJobInventory>
    Configuration for asset inventory details exports.
    Name string
    Identifier. Resource name.
    NetworkDependencies List<AssetsExportJobNetworkDependency>
    Configuration for network dependencies exports.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    RecentExecutions List<AssetsExportJobRecentExecution>
    Recent non expired executions of the job. Structure is documented below.
    UpdateTime string
    Resource update time.
    CreateTime string
    Resource creation time.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Inventories []AssetsExportJobInventory
    Configuration for asset inventory details exports.
    Name string
    Identifier. Resource name.
    NetworkDependencies []AssetsExportJobNetworkDependency
    Configuration for network dependencies exports.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    RecentExecutions []AssetsExportJobRecentExecution
    Recent non expired executions of the job. Structure is documented below.
    UpdateTime string
    Resource update time.
    create_time string
    Resource creation time.
    effective_labels map(string)
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    inventories list(object)
    Configuration for asset inventory details exports.
    name string
    Identifier. Resource name.
    network_dependencies list(object)
    Configuration for network dependencies exports.
    pulumi_labels map(string)
    The combination of labels configured directly on the resource and default labels configured on the provider.
    recent_executions list(object)
    Recent non expired executions of the job. Structure is documented below.
    update_time string
    Resource update time.
    createTime String
    Resource creation time.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    inventories List<AssetsExportJobInventory>
    Configuration for asset inventory details exports.
    name String
    Identifier. Resource name.
    networkDependencies List<AssetsExportJobNetworkDependency>
    Configuration for network dependencies exports.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    recentExecutions List<AssetsExportJobRecentExecution>
    Recent non expired executions of the job. Structure is documented below.
    updateTime String
    Resource update time.
    createTime string
    Resource creation time.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    inventories AssetsExportJobInventory[]
    Configuration for asset inventory details exports.
    name string
    Identifier. Resource name.
    networkDependencies AssetsExportJobNetworkDependency[]
    Configuration for network dependencies exports.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    recentExecutions AssetsExportJobRecentExecution[]
    Recent non expired executions of the job. Structure is documented below.
    updateTime string
    Resource update time.
    create_time str
    Resource creation time.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id str
    The provider-assigned unique ID for this managed resource.
    inventories Sequence[AssetsExportJobInventory]
    Configuration for asset inventory details exports.
    name str
    Identifier. Resource name.
    network_dependencies Sequence[AssetsExportJobNetworkDependency]
    Configuration for network dependencies exports.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    recent_executions Sequence[AssetsExportJobRecentExecution]
    Recent non expired executions of the job. Structure is documented below.
    update_time str
    Resource update time.
    createTime String
    Resource creation time.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    inventories List<Property Map>
    Configuration for asset inventory details exports.
    name String
    Identifier. Resource name.
    networkDependencies List<Property Map>
    Configuration for network dependencies exports.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    recentExecutions List<Property Map>
    Recent non expired executions of the job. Structure is documented below.
    updateTime String
    Resource update time.

    Look up Existing AssetsExportJob Resource

    Get an existing AssetsExportJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AssetsExportJobState, opts?: CustomResourceOptions): AssetsExportJob
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            assets_export_job_id: Optional[str] = None,
            condition: Optional[AssetsExportJobConditionArgs] = None,
            create_time: Optional[str] = None,
            deletion_policy: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            inventories: Optional[Sequence[AssetsExportJobInventoryArgs]] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            network_dependencies: Optional[Sequence[AssetsExportJobNetworkDependencyArgs]] = None,
            performance_data: Optional[AssetsExportJobPerformanceDataArgs] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            recent_executions: Optional[Sequence[AssetsExportJobRecentExecutionArgs]] = None,
            show_hidden: Optional[bool] = None,
            signed_uri_destination: Optional[AssetsExportJobSignedUriDestinationArgs] = None,
            update_time: Optional[str] = None) -> AssetsExportJob
    func GetAssetsExportJob(ctx *Context, name string, id IDInput, state *AssetsExportJobState, opts ...ResourceOption) (*AssetsExportJob, error)
    public static AssetsExportJob Get(string name, Input<string> id, AssetsExportJobState? state, CustomResourceOptions? opts = null)
    public static AssetsExportJob get(String name, Output<String> id, AssetsExportJobState state, CustomResourceOptions options)
    resources:  _:    type: gcp:migrationcenter:AssetsExportJob    get:      id: ${id}
    import {
      to = gcp_migrationcenter_assetsexportjob.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AssetsExportJobId string
    The ID to use for the asset export job.
    Condition AssetsExportJobCondition
    Conditions for selecting assets to export. Structure is documented below.
    CreateTime string
    Resource creation time.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Inventories List<AssetsExportJobInventory>
    Configuration for asset inventory details exports.
    Labels Dictionary<string, string>
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Name string
    Identifier. Resource name.
    NetworkDependencies List<AssetsExportJobNetworkDependency>
    Configuration for network dependencies exports.
    PerformanceData AssetsExportJobPerformanceData
    Configuration for performance data exports. Structure is documented below.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    RecentExecutions List<AssetsExportJobRecentExecution>
    Recent non expired executions of the job. Structure is documented below.
    ShowHidden bool
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    SignedUriDestination AssetsExportJobSignedUriDestination
    Signed URI destination configuration. Structure is documented below.
    UpdateTime string
    Resource update time.
    AssetsExportJobId string
    The ID to use for the asset export job.
    Condition AssetsExportJobConditionArgs
    Conditions for selecting assets to export. Structure is documented below.
    CreateTime string
    Resource creation time.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Inventories []AssetsExportJobInventoryArgs
    Configuration for asset inventory details exports.
    Labels map[string]string
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Name string
    Identifier. Resource name.
    NetworkDependencies []AssetsExportJobNetworkDependencyArgs
    Configuration for network dependencies exports.
    PerformanceData AssetsExportJobPerformanceDataArgs
    Configuration for performance data exports. Structure is documented below.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    RecentExecutions []AssetsExportJobRecentExecutionArgs
    Recent non expired executions of the job. Structure is documented below.
    ShowHidden bool
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    SignedUriDestination AssetsExportJobSignedUriDestinationArgs
    Signed URI destination configuration. Structure is documented below.
    UpdateTime string
    Resource update time.
    assets_export_job_id string
    The ID to use for the asset export job.
    condition object
    Conditions for selecting assets to export. Structure is documented below.
    create_time string
    Resource creation time.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    effective_labels map(string)
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    inventories list(object)
    Configuration for asset inventory details exports.
    labels map(string)
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name string
    Identifier. Resource name.
    network_dependencies list(object)
    Configuration for network dependencies exports.
    performance_data object
    Configuration for performance data exports. Structure is documented below.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels map(string)
    The combination of labels configured directly on the resource and default labels configured on the provider.
    recent_executions list(object)
    Recent non expired executions of the job. Structure is documented below.
    show_hidden bool
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    signed_uri_destination object
    Signed URI destination configuration. Structure is documented below.
    update_time string
    Resource update time.
    assetsExportJobId String
    The ID to use for the asset export job.
    condition AssetsExportJobCondition
    Conditions for selecting assets to export. Structure is documented below.
    createTime String
    Resource creation time.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    inventories List<AssetsExportJobInventory>
    Configuration for asset inventory details exports.
    labels Map<String,String>
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name String
    Identifier. Resource name.
    networkDependencies List<AssetsExportJobNetworkDependency>
    Configuration for network dependencies exports.
    performanceData AssetsExportJobPerformanceData
    Configuration for performance data exports. Structure is documented below.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    recentExecutions List<AssetsExportJobRecentExecution>
    Recent non expired executions of the job. Structure is documented below.
    showHidden Boolean
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    signedUriDestination AssetsExportJobSignedUriDestination
    Signed URI destination configuration. Structure is documented below.
    updateTime String
    Resource update time.
    assetsExportJobId string
    The ID to use for the asset export job.
    condition AssetsExportJobCondition
    Conditions for selecting assets to export. Structure is documented below.
    createTime string
    Resource creation time.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    inventories AssetsExportJobInventory[]
    Configuration for asset inventory details exports.
    labels {[key: string]: string}
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name string
    Identifier. Resource name.
    networkDependencies AssetsExportJobNetworkDependency[]
    Configuration for network dependencies exports.
    performanceData AssetsExportJobPerformanceData
    Configuration for performance data exports. Structure is documented below.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    recentExecutions AssetsExportJobRecentExecution[]
    Recent non expired executions of the job. Structure is documented below.
    showHidden boolean
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    signedUriDestination AssetsExportJobSignedUriDestination
    Signed URI destination configuration. Structure is documented below.
    updateTime string
    Resource update time.
    assets_export_job_id str
    The ID to use for the asset export job.
    condition AssetsExportJobConditionArgs
    Conditions for selecting assets to export. Structure is documented below.
    create_time str
    Resource creation time.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    inventories Sequence[AssetsExportJobInventoryArgs]
    Configuration for asset inventory details exports.
    labels Mapping[str, str]
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name str
    Identifier. Resource name.
    network_dependencies Sequence[AssetsExportJobNetworkDependencyArgs]
    Configuration for network dependencies exports.
    performance_data AssetsExportJobPerformanceDataArgs
    Configuration for performance data exports. Structure is documented below.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    recent_executions Sequence[AssetsExportJobRecentExecutionArgs]
    Recent non expired executions of the job. Structure is documented below.
    show_hidden bool
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    signed_uri_destination AssetsExportJobSignedUriDestinationArgs
    Signed URI destination configuration. Structure is documented below.
    update_time str
    Resource update time.
    assetsExportJobId String
    The ID to use for the asset export job.
    condition Property Map
    Conditions for selecting assets to export. Structure is documented below.
    createTime String
    Resource creation time.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    inventories List<Property Map>
    Configuration for asset inventory details exports.
    labels Map<String>
    Labels as key value pairs. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name String
    Identifier. Resource name.
    networkDependencies List<Property Map>
    Configuration for network dependencies exports.
    performanceData Property Map
    Configuration for performance data exports. Structure is documented below.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    recentExecutions List<Property Map>
    Recent non expired executions of the job. Structure is documented below.
    showHidden Boolean
    When this value is set to 'true' the response will include all assets, including those that are hidden.
    signedUriDestination Property Map
    Signed URI destination configuration. Structure is documented below.
    updateTime String
    Resource update time.

    Supporting Types

    AssetsExportJobCondition, AssetsExportJobConditionArgs

    Filter string
    Assets filter, supports the same syntax as asset listing.
    Filter string
    Assets filter, supports the same syntax as asset listing.
    filter string
    Assets filter, supports the same syntax as asset listing.
    filter String
    Assets filter, supports the same syntax as asset listing.
    filter string
    Assets filter, supports the same syntax as asset listing.
    filter str
    Assets filter, supports the same syntax as asset listing.
    filter String
    Assets filter, supports the same syntax as asset listing.

    AssetsExportJobPerformanceData, AssetsExportJobPerformanceDataArgs

    MaxDays int
    When this value is set to a positive integer, performance data will be returned for the most recent days for which data is available. When this value is unset (or set to zero), all available data is returned. The maximum value is 420; values above 420 will be coerced to 420. If unset (0 value) a default value of 40 will be used.
    MaxDays int
    When this value is set to a positive integer, performance data will be returned for the most recent days for which data is available. When this value is unset (or set to zero), all available data is returned. The maximum value is 420; values above 420 will be coerced to 420. If unset (0 value) a default value of 40 will be used.
    max_days number
    When this value is set to a positive integer, performance data will be returned for the most recent days for which data is available. When this value is unset (or set to zero), all available data is returned. The maximum value is 420; values above 420 will be coerced to 420. If unset (0 value) a default value of 40 will be used.
    maxDays Integer
    When this value is set to a positive integer, performance data will be returned for the most recent days for which data is available. When this value is unset (or set to zero), all available data is returned. The maximum value is 420; values above 420 will be coerced to 420. If unset (0 value) a default value of 40 will be used.
    maxDays number
    When this value is set to a positive integer, performance data will be returned for the most recent days for which data is available. When this value is unset (or set to zero), all available data is returned. The maximum value is 420; values above 420 will be coerced to 420. If unset (0 value) a default value of 40 will be used.
    max_days int
    When this value is set to a positive integer, performance data will be returned for the most recent days for which data is available. When this value is unset (or set to zero), all available data is returned. The maximum value is 420; values above 420 will be coerced to 420. If unset (0 value) a default value of 40 will be used.
    maxDays Number
    When this value is set to a positive integer, performance data will be returned for the most recent days for which data is available. When this value is unset (or set to zero), all available data is returned. The maximum value is 420; values above 420 will be coerced to 420. If unset (0 value) a default value of 40 will be used.

    AssetsExportJobRecentExecution, AssetsExportJobRecentExecutionArgs

    EndTime string
    (Output) Completion time of the export.
    ExecutionId string
    (Output) Globally unique identifier of the execution.
    ExpireTime string
    (Output) Expiration time for the export and artifacts.
    RequestedAssetCount int
    (Output) Number of assets requested for export after resolving the requested filters.
    Results List<AssetsExportJobRecentExecutionResult>
    (Output) Contains the result of the assets export. Structure is documented below.
    StartTime string
    (Output) Execution timestamp.
    EndTime string
    (Output) Completion time of the export.
    ExecutionId string
    (Output) Globally unique identifier of the execution.
    ExpireTime string
    (Output) Expiration time for the export and artifacts.
    RequestedAssetCount int
    (Output) Number of assets requested for export after resolving the requested filters.
    Results []AssetsExportJobRecentExecutionResult
    (Output) Contains the result of the assets export. Structure is documented below.
    StartTime string
    (Output) Execution timestamp.
    end_time string
    (Output) Completion time of the export.
    execution_id string
    (Output) Globally unique identifier of the execution.
    expire_time string
    (Output) Expiration time for the export and artifacts.
    requested_asset_count number
    (Output) Number of assets requested for export after resolving the requested filters.
    results list(object)
    (Output) Contains the result of the assets export. Structure is documented below.
    start_time string
    (Output) Execution timestamp.
    endTime String
    (Output) Completion time of the export.
    executionId String
    (Output) Globally unique identifier of the execution.
    expireTime String
    (Output) Expiration time for the export and artifacts.
    requestedAssetCount Integer
    (Output) Number of assets requested for export after resolving the requested filters.
    results List<AssetsExportJobRecentExecutionResult>
    (Output) Contains the result of the assets export. Structure is documented below.
    startTime String
    (Output) Execution timestamp.
    endTime string
    (Output) Completion time of the export.
    executionId string
    (Output) Globally unique identifier of the execution.
    expireTime string
    (Output) Expiration time for the export and artifacts.
    requestedAssetCount number
    (Output) Number of assets requested for export after resolving the requested filters.
    results AssetsExportJobRecentExecutionResult[]
    (Output) Contains the result of the assets export. Structure is documented below.
    startTime string
    (Output) Execution timestamp.
    end_time str
    (Output) Completion time of the export.
    execution_id str
    (Output) Globally unique identifier of the execution.
    expire_time str
    (Output) Expiration time for the export and artifacts.
    requested_asset_count int
    (Output) Number of assets requested for export after resolving the requested filters.
    results Sequence[AssetsExportJobRecentExecutionResult]
    (Output) Contains the result of the assets export. Structure is documented below.
    start_time str
    (Output) Execution timestamp.
    endTime String
    (Output) Completion time of the export.
    executionId String
    (Output) Globally unique identifier of the execution.
    expireTime String
    (Output) Expiration time for the export and artifacts.
    requestedAssetCount Number
    (Output) Number of assets requested for export after resolving the requested filters.
    results List<Property Map>
    (Output) Contains the result of the assets export. Structure is documented below.
    startTime String
    (Output) Execution timestamp.

    AssetsExportJobRecentExecutionResult, AssetsExportJobRecentExecutionResultArgs

    Errors List<AssetsExportJobRecentExecutionResultError>
    (Output) The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below.
    OutputFiles List<AssetsExportJobRecentExecutionResultOutputFile>
    (Output) Contains a list of output files. Structure is documented below.
    SignedUris List<AssetsExportJobRecentExecutionResultSignedUri>
    (Output) List of signed URIs. Structure is documented below.
    Errors []AssetsExportJobRecentExecutionResultError
    (Output) The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below.
    OutputFiles []AssetsExportJobRecentExecutionResultOutputFile
    (Output) Contains a list of output files. Structure is documented below.
    SignedUris []AssetsExportJobRecentExecutionResultSignedUri
    (Output) List of signed URIs. Structure is documented below.
    errors list(object)
    (Output) The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below.
    output_files list(object)
    (Output) Contains a list of output files. Structure is documented below.
    signed_uris list(object)
    (Output) List of signed URIs. Structure is documented below.
    errors List<AssetsExportJobRecentExecutionResultError>
    (Output) The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below.
    outputFiles List<AssetsExportJobRecentExecutionResultOutputFile>
    (Output) Contains a list of output files. Structure is documented below.
    signedUris List<AssetsExportJobRecentExecutionResultSignedUri>
    (Output) List of signed URIs. Structure is documented below.
    errors AssetsExportJobRecentExecutionResultError[]
    (Output) The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below.
    outputFiles AssetsExportJobRecentExecutionResultOutputFile[]
    (Output) Contains a list of output files. Structure is documented below.
    signedUris AssetsExportJobRecentExecutionResultSignedUri[]
    (Output) List of signed URIs. Structure is documented below.
    errors Sequence[AssetsExportJobRecentExecutionResultError]
    (Output) The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below.
    output_files Sequence[AssetsExportJobRecentExecutionResultOutputFile]
    (Output) Contains a list of output files. Structure is documented below.
    signed_uris Sequence[AssetsExportJobRecentExecutionResultSignedUri]
    (Output) List of signed URIs. Structure is documented below.
    errors List<Property Map>
    (Output) The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Structure is documented below.
    outputFiles List<Property Map>
    (Output) Contains a list of output files. Structure is documented below.
    signedUris List<Property Map>
    (Output) List of signed URIs. Structure is documented below.

    AssetsExportJobRecentExecutionResultError, AssetsExportJobRecentExecutionResultErrorArgs

    Code int
    (Output) The status code, which should be an enum value of google.rpc.Code.
    Details List<AssetsExportJobRecentExecutionResultErrorDetail>
    (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
    Message string
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    Code int
    (Output) The status code, which should be an enum value of google.rpc.Code.
    Details []AssetsExportJobRecentExecutionResultErrorDetail
    (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
    Message string
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code number
    (Output) The status code, which should be an enum value of google.rpc.Code.
    details list(object)
    (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message string
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code Integer
    (Output) The status code, which should be an enum value of google.rpc.Code.
    details List<AssetsExportJobRecentExecutionResultErrorDetail>
    (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message String
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code number
    (Output) The status code, which should be an enum value of google.rpc.Code.
    details AssetsExportJobRecentExecutionResultErrorDetail[]
    (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message string
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code int
    (Output) The status code, which should be an enum value of google.rpc.Code.
    details Sequence[AssetsExportJobRecentExecutionResultErrorDetail]
    (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message str
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code Number
    (Output) The status code, which should be an enum value of google.rpc.Code.
    details List<Property Map>
    (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
    message String
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

    AssetsExportJobRecentExecutionResultOutputFile, AssetsExportJobRecentExecutionResultOutputFileArgs

    Entries List<AssetsExportJobRecentExecutionResultOutputFileEntry>
    (Output) List of output files. Structure is documented below.
    Entries []AssetsExportJobRecentExecutionResultOutputFileEntry
    (Output) List of output files. Structure is documented below.
    entries list(object)
    (Output) List of output files. Structure is documented below.
    entries List<AssetsExportJobRecentExecutionResultOutputFileEntry>
    (Output) List of output files. Structure is documented below.
    entries AssetsExportJobRecentExecutionResultOutputFileEntry[]
    (Output) List of output files. Structure is documented below.
    entries Sequence[AssetsExportJobRecentExecutionResultOutputFileEntry]
    (Output) List of output files. Structure is documented below.
    entries List<Property Map>
    (Output) List of output files. Structure is documented below.

    AssetsExportJobRecentExecutionResultOutputFileEntry, AssetsExportJobRecentExecutionResultOutputFileEntryArgs

    CsvOutputFiles List<AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFile>
    (Output) Contains a single output file of type CSV. Structure is documented below.
    FileSizeBytes string
    (Output) File size in bytes.
    XlsxOutputFiles List<AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFile>
    (Output) Contains a single output file of type XLSX. Structure is documented below.
    CsvOutputFiles []AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFile
    (Output) Contains a single output file of type CSV. Structure is documented below.
    FileSizeBytes string
    (Output) File size in bytes.
    XlsxOutputFiles []AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFile
    (Output) Contains a single output file of type XLSX. Structure is documented below.
    csv_output_files list(object)
    (Output) Contains a single output file of type CSV. Structure is documented below.
    file_size_bytes string
    (Output) File size in bytes.
    xlsx_output_files list(object)
    (Output) Contains a single output file of type XLSX. Structure is documented below.
    csvOutputFiles List<AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFile>
    (Output) Contains a single output file of type CSV. Structure is documented below.
    fileSizeBytes String
    (Output) File size in bytes.
    xlsxOutputFiles List<AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFile>
    (Output) Contains a single output file of type XLSX. Structure is documented below.
    csvOutputFiles AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFile[]
    (Output) Contains a single output file of type CSV. Structure is documented below.
    fileSizeBytes string
    (Output) File size in bytes.
    xlsxOutputFiles AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFile[]
    (Output) Contains a single output file of type XLSX. Structure is documented below.
    csv_output_files Sequence[AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFile]
    (Output) Contains a single output file of type CSV. Structure is documented below.
    file_size_bytes str
    (Output) File size in bytes.
    xlsx_output_files Sequence[AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFile]
    (Output) Contains a single output file of type XLSX. Structure is documented below.
    csvOutputFiles List<Property Map>
    (Output) Contains a single output file of type CSV. Structure is documented below.
    fileSizeBytes String
    (Output) File size in bytes.
    xlsxOutputFiles List<Property Map>
    (Output) Contains a single output file of type XLSX. Structure is documented below.

    AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFile, AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFileArgs

    ColumnsCount int
    (Output) Number of columns in the file.
    RowCount int
    (Output) Number of rows in the file.
    SignedUris List<AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFileSignedUri>
    (Output) Contains a signed URI. Structure is documented below.
    ColumnsCount int
    (Output) Number of columns in the file.
    RowCount int
    (Output) Number of rows in the file.
    SignedUris []AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFileSignedUri
    (Output) Contains a signed URI. Structure is documented below.
    columns_count number
    (Output) Number of columns in the file.
    row_count number
    (Output) Number of rows in the file.
    signed_uris list(object)
    (Output) Contains a signed URI. Structure is documented below.
    columnsCount Integer
    (Output) Number of columns in the file.
    rowCount Integer
    (Output) Number of rows in the file.
    signedUris List<AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFileSignedUri>
    (Output) Contains a signed URI. Structure is documented below.
    columnsCount number
    (Output) Number of columns in the file.
    rowCount number
    (Output) Number of rows in the file.
    signedUris AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFileSignedUri[]
    (Output) Contains a signed URI. Structure is documented below.
    columns_count int
    (Output) Number of columns in the file.
    row_count int
    (Output) Number of rows in the file.
    signed_uris Sequence[AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFileSignedUri]
    (Output) Contains a signed URI. Structure is documented below.
    columnsCount Number
    (Output) Number of columns in the file.
    rowCount Number
    (Output) Number of rows in the file.
    signedUris List<Property Map>
    (Output) Contains a signed URI. Structure is documented below.

    AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFileSignedUri, AssetsExportJobRecentExecutionResultOutputFileEntryCsvOutputFileSignedUriArgs

    File string
    (Output) Name of the file the Signed URI references.
    Uri string
    (Output) Download URI for the file.
    File string
    (Output) Name of the file the Signed URI references.
    Uri string
    (Output) Download URI for the file.
    file string
    (Output) Name of the file the Signed URI references.
    uri string
    (Output) Download URI for the file.
    file String
    (Output) Name of the file the Signed URI references.
    uri String
    (Output) Download URI for the file.
    file string
    (Output) Name of the file the Signed URI references.
    uri string
    (Output) Download URI for the file.
    file str
    (Output) Name of the file the Signed URI references.
    uri str
    (Output) Download URI for the file.
    file String
    (Output) Name of the file the Signed URI references.
    uri String
    (Output) Download URI for the file.

    AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFile, AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFileArgs

    SignedUris List<AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFileSignedUri>
    (Output) Contains a signed URI. Structure is documented below.
    SignedUris []AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFileSignedUri
    (Output) Contains a signed URI. Structure is documented below.
    signed_uris list(object)
    (Output) Contains a signed URI. Structure is documented below.
    signedUris List<AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFileSignedUri>
    (Output) Contains a signed URI. Structure is documented below.
    signedUris AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFileSignedUri[]
    (Output) Contains a signed URI. Structure is documented below.
    signedUris List<Property Map>
    (Output) Contains a signed URI. Structure is documented below.

    AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFileSignedUri, AssetsExportJobRecentExecutionResultOutputFileEntryXlsxOutputFileSignedUriArgs

    File string
    (Output) Name of the file the Signed URI references.
    Uri string
    (Output) Download URI for the file.
    File string
    (Output) Name of the file the Signed URI references.
    Uri string
    (Output) Download URI for the file.
    file string
    (Output) Name of the file the Signed URI references.
    uri string
    (Output) Download URI for the file.
    file String
    (Output) Name of the file the Signed URI references.
    uri String
    (Output) Download URI for the file.
    file string
    (Output) Name of the file the Signed URI references.
    uri string
    (Output) Download URI for the file.
    file str
    (Output) Name of the file the Signed URI references.
    uri str
    (Output) Download URI for the file.
    file String
    (Output) Name of the file the Signed URI references.
    uri String
    (Output) Download URI for the file.

    AssetsExportJobRecentExecutionResultSignedUri, AssetsExportJobRecentExecutionResultSignedUriArgs

    SignedUris List<AssetsExportJobRecentExecutionResultSignedUriSignedUri>
    (Output) List of signed URIs. Structure is documented below.
    SignedUris []AssetsExportJobRecentExecutionResultSignedUriSignedUri
    (Output) List of signed URIs. Structure is documented below.
    signed_uris list(object)
    (Output) List of signed URIs. Structure is documented below.
    signedUris List<AssetsExportJobRecentExecutionResultSignedUriSignedUri>
    (Output) List of signed URIs. Structure is documented below.
    signedUris AssetsExportJobRecentExecutionResultSignedUriSignedUri[]
    (Output) List of signed URIs. Structure is documented below.
    signed_uris Sequence[AssetsExportJobRecentExecutionResultSignedUriSignedUri]
    (Output) List of signed URIs. Structure is documented below.
    signedUris List<Property Map>
    (Output) List of signed URIs. Structure is documented below.

    AssetsExportJobRecentExecutionResultSignedUriSignedUri, AssetsExportJobRecentExecutionResultSignedUriSignedUriArgs

    File string
    (Output) Name of the file the Signed URI references.
    Uri string
    (Output) Download URI for the file.
    File string
    (Output) Name of the file the Signed URI references.
    Uri string
    (Output) Download URI for the file.
    file string
    (Output) Name of the file the Signed URI references.
    uri string
    (Output) Download URI for the file.
    file String
    (Output) Name of the file the Signed URI references.
    uri String
    (Output) Download URI for the file.
    file string
    (Output) Name of the file the Signed URI references.
    uri string
    (Output) Download URI for the file.
    file str
    (Output) Name of the file the Signed URI references.
    uri str
    (Output) Download URI for the file.
    file String
    (Output) Name of the file the Signed URI references.
    uri String
    (Output) Download URI for the file.

    AssetsExportJobSignedUriDestination, AssetsExportJobSignedUriDestinationArgs

    FileFormat string
    The file format to export. Possible values: CSV XLSX
    FileFormat string
    The file format to export. Possible values: CSV XLSX
    file_format string
    The file format to export. Possible values: CSV XLSX
    fileFormat String
    The file format to export. Possible values: CSV XLSX
    fileFormat string
    The file format to export. Possible values: CSV XLSX
    file_format str
    The file format to export. Possible values: CSV XLSX
    fileFormat String
    The file format to export. Possible values: CSV XLSX

    Import

    AssetsExportJob can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/assetsExportJobs/{{assets_export_job_id}}
    • {{project}}/{{location}}/{{assets_export_job_id}}
    • {{location}}/{{assets_export_job_id}}

    When using the pulumi import command, AssetsExportJob can be imported using one of the formats above. For example:

    $ pulumi import gcp:migrationcenter/assetsExportJob:AssetsExportJob default projects/{{project}}/locations/{{location}}/assetsExportJobs/{{assets_export_job_id}}
    $ pulumi import gcp:migrationcenter/assetsExportJob:AssetsExportJob default {{project}}/{{location}}/{{assets_export_job_id}}
    $ pulumi import gcp:migrationcenter/assetsExportJob:AssetsExportJob default {{location}}/{{assets_export_job_id}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v9.26.0
    published on Tuesday, Jun 9, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial