1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. firebase
  5. DataConnectService
Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 by Pulumi

gcp.firebase.DataConnectService

Explore with Pulumi AI

A Firebase Data Connect service.

To get more information about Service, see:

Example Usage

Firebasedataconnect Service Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

// Enable Firebase Data Connect API
const fdc = new gcp.projects.Service("fdc", {
    project: "my-project-name",
    service: "firebasedataconnect.googleapis.com",
    disableOnDestroy: false,
});
// Create a Firebase Data Connect service
const _default = new gcp.firebase.DataConnectService("default", {
    project: "my-project-name",
    location: "us-central1",
    serviceId: "example-service",
    deletionPolicy: "DEFAULT",
    labels: {
        label: "my-label",
    },
    annotations: {
        key1: "value1",
        key2: "value2",
    },
}, {
    dependsOn: [fdc],
});
Copy
import pulumi
import pulumi_gcp as gcp

# Enable Firebase Data Connect API
fdc = gcp.projects.Service("fdc",
    project="my-project-name",
    service="firebasedataconnect.googleapis.com",
    disable_on_destroy=False)
# Create a Firebase Data Connect service
default = gcp.firebase.DataConnectService("default",
    project="my-project-name",
    location="us-central1",
    service_id="example-service",
    deletion_policy="DEFAULT",
    labels={
        "label": "my-label",
    },
    annotations={
        "key1": "value1",
        "key2": "value2",
    },
    opts = pulumi.ResourceOptions(depends_on=[fdc]))
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/firebase"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/projects"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Enable Firebase Data Connect API
		fdc, err := projects.NewService(ctx, "fdc", &projects.ServiceArgs{
			Project:          pulumi.String("my-project-name"),
			Service:          pulumi.String("firebasedataconnect.googleapis.com"),
			DisableOnDestroy: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		// Create a Firebase Data Connect service
		_, err = firebase.NewDataConnectService(ctx, "default", &firebase.DataConnectServiceArgs{
			Project:        pulumi.String("my-project-name"),
			Location:       pulumi.String("us-central1"),
			ServiceId:      pulumi.String("example-service"),
			DeletionPolicy: pulumi.String("DEFAULT"),
			Labels: pulumi.StringMap{
				"label": pulumi.String("my-label"),
			},
			Annotations: pulumi.StringMap{
				"key1": pulumi.String("value1"),
				"key2": pulumi.String("value2"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			fdc,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    // Enable Firebase Data Connect API
    var fdc = new Gcp.Projects.Service("fdc", new()
    {
        Project = "my-project-name",
        ServiceName = "firebasedataconnect.googleapis.com",
        DisableOnDestroy = false,
    });

    // Create a Firebase Data Connect service
    var @default = new Gcp.Firebase.DataConnectService("default", new()
    {
        Project = "my-project-name",
        Location = "us-central1",
        ServiceId = "example-service",
        DeletionPolicy = "DEFAULT",
        Labels = 
        {
            { "label", "my-label" },
        },
        Annotations = 
        {
            { "key1", "value1" },
            { "key2", "value2" },
        },
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            fdc,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.projects.Service;
import com.pulumi.gcp.projects.ServiceArgs;
import com.pulumi.gcp.firebase.DataConnectService;
import com.pulumi.gcp.firebase.DataConnectServiceArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
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) {
        // Enable Firebase Data Connect API
        var fdc = new Service("fdc", ServiceArgs.builder()
            .project("my-project-name")
            .service("firebasedataconnect.googleapis.com")
            .disableOnDestroy(false)
            .build());

        // Create a Firebase Data Connect service
        var default_ = new DataConnectService("default", DataConnectServiceArgs.builder()
            .project("my-project-name")
            .location("us-central1")
            .serviceId("example-service")
            .deletionPolicy("DEFAULT")
            .labels(Map.of("label", "my-label"))
            .annotations(Map.ofEntries(
                Map.entry("key1", "value1"),
                Map.entry("key2", "value2")
            ))
            .build(), CustomResourceOptions.builder()
                .dependsOn(fdc)
                .build());

    }
}
Copy
resources:
  # Enable Firebase Data Connect API
  fdc:
    type: gcp:projects:Service
    properties:
      project: my-project-name
      service: firebasedataconnect.googleapis.com
      disableOnDestroy: false
  # Create a Firebase Data Connect service
  default:
    type: gcp:firebase:DataConnectService
    properties:
      project: my-project-name
      location: us-central1
      serviceId: example-service
      deletionPolicy: DEFAULT
      labels:
        label: my-label
      annotations:
        key1: value1
        key2: value2
    options:
      dependsOn:
        - ${fdc}
Copy

Firebasedataconnect Service With Force Deletion

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

// Enable Firebase Data Connect API
const fdc = new gcp.projects.Service("fdc", {
    project: "my-project-name",
    service: "firebasedataconnect.googleapis.com",
    disableOnDestroy: false,
});
// Create a Firebase Data Connect service
const _default = new gcp.firebase.DataConnectService("default", {
    project: "my-project-name",
    location: "us-central1",
    serviceId: "example-service",
    deletionPolicy: "FORCE",
}, {
    dependsOn: [fdc],
});
Copy
import pulumi
import pulumi_gcp as gcp

# Enable Firebase Data Connect API
fdc = gcp.projects.Service("fdc",
    project="my-project-name",
    service="firebasedataconnect.googleapis.com",
    disable_on_destroy=False)
# Create a Firebase Data Connect service
default = gcp.firebase.DataConnectService("default",
    project="my-project-name",
    location="us-central1",
    service_id="example-service",
    deletion_policy="FORCE",
    opts = pulumi.ResourceOptions(depends_on=[fdc]))
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/firebase"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/projects"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Enable Firebase Data Connect API
		fdc, err := projects.NewService(ctx, "fdc", &projects.ServiceArgs{
			Project:          pulumi.String("my-project-name"),
			Service:          pulumi.String("firebasedataconnect.googleapis.com"),
			DisableOnDestroy: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		// Create a Firebase Data Connect service
		_, err = firebase.NewDataConnectService(ctx, "default", &firebase.DataConnectServiceArgs{
			Project:        pulumi.String("my-project-name"),
			Location:       pulumi.String("us-central1"),
			ServiceId:      pulumi.String("example-service"),
			DeletionPolicy: pulumi.String("FORCE"),
		}, pulumi.DependsOn([]pulumi.Resource{
			fdc,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    // Enable Firebase Data Connect API
    var fdc = new Gcp.Projects.Service("fdc", new()
    {
        Project = "my-project-name",
        ServiceName = "firebasedataconnect.googleapis.com",
        DisableOnDestroy = false,
    });

    // Create a Firebase Data Connect service
    var @default = new Gcp.Firebase.DataConnectService("default", new()
    {
        Project = "my-project-name",
        Location = "us-central1",
        ServiceId = "example-service",
        DeletionPolicy = "FORCE",
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            fdc,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.projects.Service;
import com.pulumi.gcp.projects.ServiceArgs;
import com.pulumi.gcp.firebase.DataConnectService;
import com.pulumi.gcp.firebase.DataConnectServiceArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
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) {
        // Enable Firebase Data Connect API
        var fdc = new Service("fdc", ServiceArgs.builder()
            .project("my-project-name")
            .service("firebasedataconnect.googleapis.com")
            .disableOnDestroy(false)
            .build());

        // Create a Firebase Data Connect service
        var default_ = new DataConnectService("default", DataConnectServiceArgs.builder()
            .project("my-project-name")
            .location("us-central1")
            .serviceId("example-service")
            .deletionPolicy("FORCE")
            .build(), CustomResourceOptions.builder()
                .dependsOn(fdc)
                .build());

    }
}
Copy
resources:
  # Enable Firebase Data Connect API
  fdc:
    type: gcp:projects:Service
    properties:
      project: my-project-name
      service: firebasedataconnect.googleapis.com
      disableOnDestroy: false
  # Create a Firebase Data Connect service
  default:
    type: gcp:firebase:DataConnectService
    properties:
      project: my-project-name
      location: us-central1
      serviceId: example-service
      deletionPolicy: FORCE
    options:
      dependsOn:
        - ${fdc}
Copy

Create DataConnectService Resource

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

Constructor syntax

new DataConnectService(name: string, args: DataConnectServiceArgs, opts?: CustomResourceOptions);
@overload
def DataConnectService(resource_name: str,
                       args: DataConnectServiceArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def DataConnectService(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       location: Optional[str] = None,
                       service_id: Optional[str] = None,
                       annotations: Optional[Mapping[str, str]] = None,
                       deletion_policy: Optional[str] = None,
                       display_name: Optional[str] = None,
                       labels: Optional[Mapping[str, str]] = None,
                       project: Optional[str] = None)
func NewDataConnectService(ctx *Context, name string, args DataConnectServiceArgs, opts ...ResourceOption) (*DataConnectService, error)
public DataConnectService(string name, DataConnectServiceArgs args, CustomResourceOptions? opts = null)
public DataConnectService(String name, DataConnectServiceArgs args)
public DataConnectService(String name, DataConnectServiceArgs args, CustomResourceOptions options)
type: gcp:firebase:DataConnectService
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DataConnectServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DataConnectServiceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DataConnectServiceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DataConnectServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DataConnectServiceArgs
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 dataConnectServiceResource = new Gcp.Firebase.DataConnectService("dataConnectServiceResource", new()
{
    Location = "string",
    ServiceId = "string",
    Annotations = 
    {
        { "string", "string" },
    },
    DeletionPolicy = "string",
    DisplayName = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Project = "string",
});
Copy
example, err := firebase.NewDataConnectService(ctx, "dataConnectServiceResource", &firebase.DataConnectServiceArgs{
	Location:  pulumi.String("string"),
	ServiceId: pulumi.String("string"),
	Annotations: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DeletionPolicy: pulumi.String("string"),
	DisplayName:    pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Project: pulumi.String("string"),
})
Copy
var dataConnectServiceResource = new DataConnectService("dataConnectServiceResource", DataConnectServiceArgs.builder()
    .location("string")
    .serviceId("string")
    .annotations(Map.of("string", "string"))
    .deletionPolicy("string")
    .displayName("string")
    .labels(Map.of("string", "string"))
    .project("string")
    .build());
Copy
data_connect_service_resource = gcp.firebase.DataConnectService("dataConnectServiceResource",
    location="string",
    service_id="string",
    annotations={
        "string": "string",
    },
    deletion_policy="string",
    display_name="string",
    labels={
        "string": "string",
    },
    project="string")
Copy
const dataConnectServiceResource = new gcp.firebase.DataConnectService("dataConnectServiceResource", {
    location: "string",
    serviceId: "string",
    annotations: {
        string: "string",
    },
    deletionPolicy: "string",
    displayName: "string",
    labels: {
        string: "string",
    },
    project: "string",
});
Copy
type: gcp:firebase:DataConnectService
properties:
    annotations:
        string: string
    deletionPolicy: string
    displayName: string
    labels:
        string: string
    location: string
    project: string
    serviceId: string
Copy

DataConnectService 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 DataConnectService resource accepts the following input properties:

Location
This property is required.
Changes to this property will trigger replacement.
string
The region in which the service resides, e.g. "us-central1" or "asia-east1".
ServiceId
This property is required.
Changes to this property will trigger replacement.
string
Required. The ID to use for the service, which will become the final component of the service's resource name.


Annotations Dictionary<string, string>
Optional. Stores small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
DeletionPolicy string
The deletion policy for the database. Setting the field to FORCE allows the Service to be deleted even if a Schema or Connector is present. By default, the Service deletion will only succeed when no Schema or Connectors are present. Possible values: DEFAULT, FORCE
DisplayName string
Optional. Mutable human-readable name. 63 character limit.
Labels Dictionary<string, string>
Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Location
This property is required.
Changes to this property will trigger replacement.
string
The region in which the service resides, e.g. "us-central1" or "asia-east1".
ServiceId
This property is required.
Changes to this property will trigger replacement.
string
Required. The ID to use for the service, which will become the final component of the service's resource name.


Annotations map[string]string
Optional. Stores small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
DeletionPolicy string
The deletion policy for the database. Setting the field to FORCE allows the Service to be deleted even if a Schema or Connector is present. By default, the Service deletion will only succeed when no Schema or Connectors are present. Possible values: DEFAULT, FORCE
DisplayName string
Optional. Mutable human-readable name. 63 character limit.
Labels map[string]string
Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
location
This property is required.
Changes to this property will trigger replacement.
String
The region in which the service resides, e.g. "us-central1" or "asia-east1".
serviceId
This property is required.
Changes to this property will trigger replacement.
String
Required. The ID to use for the service, which will become the final component of the service's resource name.


annotations Map<String,String>
Optional. Stores small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
deletionPolicy String
The deletion policy for the database. Setting the field to FORCE allows the Service to be deleted even if a Schema or Connector is present. By default, the Service deletion will only succeed when no Schema or Connectors are present. Possible values: DEFAULT, FORCE
displayName String
Optional. Mutable human-readable name. 63 character limit.
labels Map<String,String>
Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
location
This property is required.
Changes to this property will trigger replacement.
string
The region in which the service resides, e.g. "us-central1" or "asia-east1".
serviceId
This property is required.
Changes to this property will trigger replacement.
string
Required. The ID to use for the service, which will become the final component of the service's resource name.


annotations {[key: string]: string}
Optional. Stores small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
deletionPolicy string
The deletion policy for the database. Setting the field to FORCE allows the Service to be deleted even if a Schema or Connector is present. By default, the Service deletion will only succeed when no Schema or Connectors are present. Possible values: DEFAULT, FORCE
displayName string
Optional. Mutable human-readable name. 63 character limit.
labels {[key: string]: string}
Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
location
This property is required.
Changes to this property will trigger replacement.
str
The region in which the service resides, e.g. "us-central1" or "asia-east1".
service_id
This property is required.
Changes to this property will trigger replacement.
str
Required. The ID to use for the service, which will become the final component of the service's resource name.


annotations Mapping[str, str]
Optional. Stores small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
deletion_policy str
The deletion policy for the database. Setting the field to FORCE allows the Service to be deleted even if a Schema or Connector is present. By default, the Service deletion will only succeed when no Schema or Connectors are present. Possible values: DEFAULT, FORCE
display_name str
Optional. Mutable human-readable name. 63 character limit.
labels Mapping[str, str]
Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
project Changes to this property will trigger replacement. str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
location
This property is required.
Changes to this property will trigger replacement.
String
The region in which the service resides, e.g. "us-central1" or "asia-east1".
serviceId
This property is required.
Changes to this property will trigger replacement.
String
Required. The ID to use for the service, which will become the final component of the service's resource name.


annotations Map<String>
Optional. Stores small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
deletionPolicy String
The deletion policy for the database. Setting the field to FORCE allows the Service to be deleted even if a Schema or Connector is present. By default, the Service deletion will only succeed when no Schema or Connectors are present. Possible values: DEFAULT, FORCE
displayName String
Optional. Mutable human-readable name. 63 character limit.
labels Map<String>
Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Outputs

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

CreateTime string
Output only. [Output only] Create time stamp.
EffectiveAnnotations Dictionary<string, string>
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.
Etag string
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. AIP-154
Id string
The provider-assigned unique ID for this managed resource.
Name string

Identifier. The relative resource name of the Firebase Data Connect service, in the format:

projects/{project}/locations/{location}/services/{service}

Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.

PulumiLabels Dictionary<string, string>
The combination of labels configured directly on the resource and default labels configured on the provider.
Reconciling bool
Output only. A field that if true, indicates that the system is working update the service.
Uid string
Output only. System-assigned, unique identifier.
UpdateTime string
Output only. [Output only] Update time stamp.
CreateTime string
Output only. [Output only] Create time stamp.
EffectiveAnnotations map[string]string
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.
Etag string
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. AIP-154
Id string
The provider-assigned unique ID for this managed resource.
Name string

Identifier. The relative resource name of the Firebase Data Connect service, in the format:

projects/{project}/locations/{location}/services/{service}

Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.

PulumiLabels map[string]string
The combination of labels configured directly on the resource and default labels configured on the provider.
Reconciling bool
Output only. A field that if true, indicates that the system is working update the service.
Uid string
Output only. System-assigned, unique identifier.
UpdateTime string
Output only. [Output only] Update time stamp.
createTime String
Output only. [Output only] Create time stamp.
effectiveAnnotations Map<String,String>
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.
etag String
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. AIP-154
id String
The provider-assigned unique ID for this managed resource.
name String

Identifier. The relative resource name of the Firebase Data Connect service, in the format:

projects/{project}/locations/{location}/services/{service}

Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.

pulumiLabels Map<String,String>
The combination of labels configured directly on the resource and default labels configured on the provider.
reconciling Boolean
Output only. A field that if true, indicates that the system is working update the service.
uid String
Output only. System-assigned, unique identifier.
updateTime String
Output only. [Output only] Update time stamp.
createTime string
Output only. [Output only] Create time stamp.
effectiveAnnotations {[key: string]: string}
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.
etag string
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. AIP-154
id string
The provider-assigned unique ID for this managed resource.
name string

Identifier. The relative resource name of the Firebase Data Connect service, in the format:

projects/{project}/locations/{location}/services/{service}

Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.

pulumiLabels {[key: string]: string}
The combination of labels configured directly on the resource and default labels configured on the provider.
reconciling boolean
Output only. A field that if true, indicates that the system is working update the service.
uid string
Output only. System-assigned, unique identifier.
updateTime string
Output only. [Output only] Update time stamp.
create_time str
Output only. [Output only] Create time stamp.
effective_annotations Mapping[str, str]
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.
etag str
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. AIP-154
id str
The provider-assigned unique ID for this managed resource.
name str

Identifier. The relative resource name of the Firebase Data Connect service, in the format:

projects/{project}/locations/{location}/services/{service}

Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.

pulumi_labels Mapping[str, str]
The combination of labels configured directly on the resource and default labels configured on the provider.
reconciling bool
Output only. A field that if true, indicates that the system is working update the service.
uid str
Output only. System-assigned, unique identifier.
update_time str
Output only. [Output only] Update time stamp.
createTime String
Output only. [Output only] Create time stamp.
effectiveAnnotations Map<String>
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.
etag String
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. AIP-154
id String
The provider-assigned unique ID for this managed resource.
name String

Identifier. The relative resource name of the Firebase Data Connect service, in the format:

projects/{project}/locations/{location}/services/{service}

Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.

pulumiLabels Map<String>
The combination of labels configured directly on the resource and default labels configured on the provider.
reconciling Boolean
Output only. A field that if true, indicates that the system is working update the service.
uid String
Output only. System-assigned, unique identifier.
updateTime String
Output only. [Output only] Update time stamp.

Look up Existing DataConnectService Resource

Get an existing DataConnectService 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?: DataConnectServiceState, opts?: CustomResourceOptions): DataConnectService
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        annotations: Optional[Mapping[str, str]] = None,
        create_time: Optional[str] = None,
        deletion_policy: Optional[str] = None,
        display_name: Optional[str] = None,
        effective_annotations: Optional[Mapping[str, str]] = None,
        effective_labels: Optional[Mapping[str, str]] = None,
        etag: Optional[str] = None,
        labels: Optional[Mapping[str, str]] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        pulumi_labels: Optional[Mapping[str, str]] = None,
        reconciling: Optional[bool] = None,
        service_id: Optional[str] = None,
        uid: Optional[str] = None,
        update_time: Optional[str] = None) -> DataConnectService
func GetDataConnectService(ctx *Context, name string, id IDInput, state *DataConnectServiceState, opts ...ResourceOption) (*DataConnectService, error)
public static DataConnectService Get(string name, Input<string> id, DataConnectServiceState? state, CustomResourceOptions? opts = null)
public static DataConnectService get(String name, Output<String> id, DataConnectServiceState state, CustomResourceOptions options)
resources:  _:    type: gcp:firebase:DataConnectService    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Annotations Dictionary<string, string>
Optional. Stores small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
CreateTime string
Output only. [Output only] Create time stamp.
DeletionPolicy string
The deletion policy for the database. Setting the field to FORCE allows the Service to be deleted even if a Schema or Connector is present. By default, the Service deletion will only succeed when no Schema or Connectors are present. Possible values: DEFAULT, FORCE
DisplayName string
Optional. Mutable human-readable name. 63 character limit.
EffectiveAnnotations Dictionary<string, string>
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.
Etag string
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. AIP-154
Labels Dictionary<string, string>
Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
Location Changes to this property will trigger replacement. string
The region in which the service resides, e.g. "us-central1" or "asia-east1".
Name string

Identifier. The relative resource name of the Firebase Data Connect service, in the format:

projects/{project}/locations/{location}/services/{service}

Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.

Project Changes to this property will trigger replacement. 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.
Reconciling bool
Output only. A field that if true, indicates that the system is working update the service.
ServiceId Changes to this property will trigger replacement. string
Required. The ID to use for the service, which will become the final component of the service's resource name.


Uid string
Output only. System-assigned, unique identifier.
UpdateTime string
Output only. [Output only] Update time stamp.
Annotations map[string]string
Optional. Stores small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
CreateTime string
Output only. [Output only] Create time stamp.
DeletionPolicy string
The deletion policy for the database. Setting the field to FORCE allows the Service to be deleted even if a Schema or Connector is present. By default, the Service deletion will only succeed when no Schema or Connectors are present. Possible values: DEFAULT, FORCE
DisplayName string
Optional. Mutable human-readable name. 63 character limit.
EffectiveAnnotations map[string]string
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.
Etag string
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. AIP-154
Labels map[string]string
Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
Location Changes to this property will trigger replacement. string
The region in which the service resides, e.g. "us-central1" or "asia-east1".
Name string

Identifier. The relative resource name of the Firebase Data Connect service, in the format:

projects/{project}/locations/{location}/services/{service}

Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.

Project Changes to this property will trigger replacement. 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.
Reconciling bool
Output only. A field that if true, indicates that the system is working update the service.
ServiceId Changes to this property will trigger replacement. string
Required. The ID to use for the service, which will become the final component of the service's resource name.


Uid string
Output only. System-assigned, unique identifier.
UpdateTime string
Output only. [Output only] Update time stamp.
annotations Map<String,String>
Optional. Stores small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
createTime String
Output only. [Output only] Create time stamp.
deletionPolicy String
The deletion policy for the database. Setting the field to FORCE allows the Service to be deleted even if a Schema or Connector is present. By default, the Service deletion will only succeed when no Schema or Connectors are present. Possible values: DEFAULT, FORCE
displayName String
Optional. Mutable human-readable name. 63 character limit.
effectiveAnnotations Map<String,String>
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.
etag String
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. AIP-154
labels Map<String,String>
Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
location Changes to this property will trigger replacement. String
The region in which the service resides, e.g. "us-central1" or "asia-east1".
name String

Identifier. The relative resource name of the Firebase Data Connect service, in the format:

projects/{project}/locations/{location}/services/{service}

Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.

project Changes to this property will trigger replacement. 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.
reconciling Boolean
Output only. A field that if true, indicates that the system is working update the service.
serviceId Changes to this property will trigger replacement. String
Required. The ID to use for the service, which will become the final component of the service's resource name.


uid String
Output only. System-assigned, unique identifier.
updateTime String
Output only. [Output only] Update time stamp.
annotations {[key: string]: string}
Optional. Stores small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
createTime string
Output only. [Output only] Create time stamp.
deletionPolicy string
The deletion policy for the database. Setting the field to FORCE allows the Service to be deleted even if a Schema or Connector is present. By default, the Service deletion will only succeed when no Schema or Connectors are present. Possible values: DEFAULT, FORCE
displayName string
Optional. Mutable human-readable name. 63 character limit.
effectiveAnnotations {[key: string]: string}
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.
etag string
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. AIP-154
labels {[key: string]: string}
Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
location Changes to this property will trigger replacement. string
The region in which the service resides, e.g. "us-central1" or "asia-east1".
name string

Identifier. The relative resource name of the Firebase Data Connect service, in the format:

projects/{project}/locations/{location}/services/{service}

Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.

project Changes to this property will trigger replacement. 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.
reconciling boolean
Output only. A field that if true, indicates that the system is working update the service.
serviceId Changes to this property will trigger replacement. string
Required. The ID to use for the service, which will become the final component of the service's resource name.


uid string
Output only. System-assigned, unique identifier.
updateTime string
Output only. [Output only] Update time stamp.
annotations Mapping[str, str]
Optional. Stores small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
create_time str
Output only. [Output only] Create time stamp.
deletion_policy str
The deletion policy for the database. Setting the field to FORCE allows the Service to be deleted even if a Schema or Connector is present. By default, the Service deletion will only succeed when no Schema or Connectors are present. Possible values: DEFAULT, FORCE
display_name str
Optional. Mutable human-readable name. 63 character limit.
effective_annotations Mapping[str, str]
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.
etag str
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. AIP-154
labels Mapping[str, str]
Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
location Changes to this property will trigger replacement. str
The region in which the service resides, e.g. "us-central1" or "asia-east1".
name str

Identifier. The relative resource name of the Firebase Data Connect service, in the format:

projects/{project}/locations/{location}/services/{service}

Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.

project Changes to this property will trigger replacement. 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.
reconciling bool
Output only. A field that if true, indicates that the system is working update the service.
service_id Changes to this property will trigger replacement. str
Required. The ID to use for the service, which will become the final component of the service's resource name.


uid str
Output only. System-assigned, unique identifier.
update_time str
Output only. [Output only] Update time stamp.
annotations Map<String>
Optional. Stores small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
createTime String
Output only. [Output only] Create time stamp.
deletionPolicy String
The deletion policy for the database. Setting the field to FORCE allows the Service to be deleted even if a Schema or Connector is present. By default, the Service deletion will only succeed when no Schema or Connectors are present. Possible values: DEFAULT, FORCE
displayName String
Optional. Mutable human-readable name. 63 character limit.
effectiveAnnotations Map<String>
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.
etag String
Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. AIP-154
labels Map<String>
Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.
location Changes to this property will trigger replacement. String
The region in which the service resides, e.g. "us-central1" or "asia-east1".
name String

Identifier. The relative resource name of the Firebase Data Connect service, in the format:

projects/{project}/locations/{location}/services/{service}

Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.

project Changes to this property will trigger replacement. 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.
reconciling Boolean
Output only. A field that if true, indicates that the system is working update the service.
serviceId Changes to this property will trigger replacement. String
Required. The ID to use for the service, which will become the final component of the service's resource name.


uid String
Output only. System-assigned, unique identifier.
updateTime String
Output only. [Output only] Update time stamp.

Import

Service can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/services/{{service_id}}

  • {{project}}/{{location}}/{{service_id}}

  • {{location}}/{{service_id}}

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

$ pulumi import gcp:firebase/dataConnectService:DataConnectService default projects/{{project}}/locations/{{location}}/services/{{service_id}}
Copy
$ pulumi import gcp:firebase/dataConnectService:DataConnectService default {{project}}/{{location}}/{{service_id}}
Copy
$ pulumi import gcp:firebase/dataConnectService:DataConnectService default {{location}}/{{service_id}}
Copy

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.