2.5.0 (latest) 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public sealed class Instance : IMessage<Instance>, IEquatable<Instance>, IDeepCloneable<Instance>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Data Fusion v1 API class Instance.

Represents a Data Fusion instance.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Instance

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataFusion.V1/latest/Google.Cloud.DataFusion.V1.Instance.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataFusion.V1/latest/Google.Cloud.DataFusion.V1.Instance.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataFusion.V1/latest/Google.Cloud.DataFusion.V1.Instance.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DataFusion.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataFusion.V1/latest/Google.Cloud.DataFusion.V1.md.txt)

## Assembly

Google.Cloud.DataFusion.V1.dll

## Constructors

### Instance()

    public Instance()

### Instance(Instance)

    public Instance(Instance other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Instance` |

## Properties

### Accelerators

    public RepeatedField<Accelerator> Accelerators { get; }

List of accelerators enabled for this CDF instance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldAccelerator` |   |

### ApiEndpoint

    public string ApiEndpoint { get; set; }

Output only. Endpoint on which the REST APIs is accessible.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### AvailableVersion

    public RepeatedField<Version> AvailableVersion { get; }

Available versions that the instance can be upgraded to using
UpdateInstanceRequest.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldVersion` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time the instance was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### CryptoKeyConfig

    public CryptoKeyConfig CryptoKeyConfig { get; set; }

The crypto key configuration. This field is used by the Customer-Managed
Encryption Keys (CMEK) feature.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CryptoKeyConfig` |   |

### DataprocServiceAccount

    public string DataprocServiceAccount { get; set; }

User-managed service account to set on Dataproc when Cloud Data Fusion
creates Dataproc to run data processing pipelines.

This allows users to have fine-grained access control on Dataproc's
accesses to cloud resources.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Description

    public string Description { get; set; }

A description of this instance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DisabledReason

    public RepeatedField<Instance.Types.DisabledReason> DisabledReason { get; }

Output only. If the instance state is DISABLED, the reason for disabling the instance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldInstanceTypesDisabledReason` |   |

### DisplayName

    public string DisplayName { get; set; }

Display name for an instance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### EnableRbac

    public bool EnableRbac { get; set; }

Option to enable granular role-based access control.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### EnableStackdriverLogging

    public bool EnableStackdriverLogging { get; set; }

Option to enable Stackdriver Logging.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### EnableStackdriverMonitoring

    public bool EnableStackdriverMonitoring { get; set; }

Option to enable Stackdriver Monitoring.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### GcsBucket

    public string GcsBucket { get; set; }

Output only. Cloud Storage bucket generated by Data Fusion in the customer project.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### InstanceName

    public InstanceName InstanceName { get; set; }

[InstanceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataFusion.V1/latest/Google.Cloud.DataFusion.V1.InstanceName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataFusion.V1/latest/Google.Cloud.DataFusion.V1.Instance.md.txt#Google_Cloud_DataFusion_V1_Instance_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `InstanceName` |   |

### Labels

    public MapField<string, string> Labels { get; }

The resource labels for instance to use to annotate any related underlying
resources such as Compute Engine VMs. The character '=' is not allowed to
be used within the labels.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |

### Name

    public string Name { get; set; }

Output only. The name of this instance is in the form of
projects/{project}/locations/{location}/instances/{instance}.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### NetworkConfig

    public NetworkConfig NetworkConfig { get; set; }

Network configuration options. These are required when a private Data
Fusion instance is to be created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `NetworkConfig` |   |

### Options

    public MapField<string, string> Options { get; }

Map of additional options used to configure the behavior of
Data Fusion instance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |

### P4ServiceAccount

    public string P4ServiceAccount { get; set; }

Output only. P4 service account for the customer project.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PrivateInstance

    public bool PrivateInstance { get; set; }

Specifies whether the Data Fusion instance should be private. If set to
true, all Data Fusion nodes will have private IP addresses and will not be
able to access the public internet.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### ServiceAccount

    [Obsolete]
    public string ServiceAccount { get; set; }

Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ServiceEndpoint

    public string ServiceEndpoint { get; set; }

Output only. Endpoint on which the Data Fusion UI is accessible.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### State

    public Instance.Types.State State { get; set; }

Output only. The current state of this Data Fusion instance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `InstanceTypesState` |   |

### StateMessage

    public string StateMessage { get; set; }

Output only. Additional information about the current state of this Data
Fusion instance if available.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### TenantProjectId

    public string TenantProjectId { get; set; }

Output only. The name of the tenant project.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Type

    public Instance.Types.Type Type { get; set; }

Required. Instance type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `InstanceTypesType` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The time the instance was last updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### Version

    public string Version { get; set; }

Current version of the Data Fusion. Only specifiable in Update.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Zone

    public string Zone { get; set; }

Name of the zone in which the Data Fusion instance will be created. Only
DEVELOPER instances use this field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |