# Class Instance (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.3

    Instance(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Instance is a container for the rest of API resources.
Only resources in the same instance can interact with each
other. Child resources inherit the location (data residency) and
encryption (CMEK). The location of the provided input and output
in requests must match the location of the instance.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The full path to the Instance resource in this API. format: `projects/{project}/locations/{location}/instances/{instance}` |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Timestamp when the Instance was created. Assigned by the server. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Timestamp when the Instance was last updated. Assigned by the server. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-financialservices/latest/google.cloud.financialservices_v1.types.Instance.State` Output only. State of the instance. Assigned by the server. |
| `labels` | `MutableMapping[str, str]` Labels |
| `kms_key` | `str` Required. The KMS key name used for CMEK (encryption-at-rest). format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}` VPC-SC restrictions apply. |

## Classes

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### State

    State(value)

The Resource State