# Class SalesforceProfile (1.19.0)

1.19.0 (latest) 1.18.0 1.17.0 1.16.0 1.15.0 1.14.1 1.13.2 1.12.0 1.11.0 1.10.1 1.9.5 1.8.0 1.7.0 1.6.1 1.5.1 1.4.1 1.3.0 1.2.2 1.1.1 1.0.2 0.4.3 0.3.1 0.2.0 0.1.3

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

Salesforce profile

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `domain` | `str` Required. Domain endpoint for the Salesforce connection. |
| `user_credentials` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.SalesforceProfile.UserCredentials` User-password authentication. This field is a member of `oneof`_ `credentials`. |
| `oauth2_client_credentials` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.SalesforceProfile.Oauth2ClientCredentials` Connected app authentication. This field is a member of `oneof`_ `credentials`. |

## Classes

### Oauth2ClientCredentials

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

OAuth2 Client Credentials.

### UserCredentials

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

Username-password credentials.