# Datastream V1 API - Class Google::Cloud::Datastream::V1::SalesforceProfile::UserCredentials (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::SalesforceProfile::UserCredentials.

Username-password credentials.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #password

    def password() -> ::String

**Returns**

- (::String) --- Optional. Password for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_password` field.

### #password=

    def password=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Password for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_password` field.
**Returns**

- (::String) --- Optional. Password for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_password` field.

### #secret_manager_stored_password

    def secret_manager_stored_password() -> ::String

**Returns**

- (::String) --- Optional. A reference to a Secret Manager resource name storing the Salesforce connection's password. Mutually exclusive with the `password` field.

### #secret_manager_stored_password=

    def secret_manager_stored_password=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. A reference to a Secret Manager resource name storing the Salesforce connection's password. Mutually exclusive with the `password` field.
**Returns**

- (::String) --- Optional. A reference to a Secret Manager resource name storing the Salesforce connection's password. Mutually exclusive with the `password` field.

### #secret_manager_stored_security_token

    def secret_manager_stored_security_token() -> ::String

**Returns**

- (::String) --- Optional. A reference to a Secret Manager resource name storing the Salesforce connection's security token. Mutually exclusive with the `security_token` field.

### #secret_manager_stored_security_token=

    def secret_manager_stored_security_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. A reference to a Secret Manager resource name storing the Salesforce connection's security token. Mutually exclusive with the `security_token` field.
**Returns**

- (::String) --- Optional. A reference to a Secret Manager resource name storing the Salesforce connection's security token. Mutually exclusive with the `security_token` field.

### #security_token

    def security_token() -> ::String

**Returns**

- (::String) --- Optional. Security token for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_security_token` field.

### #security_token=

    def security_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Security token for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_security_token` field.
**Returns**

- (::String) --- Optional. Security token for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_security_token` field.

### #username

    def username() -> ::String

**Returns**

- (::String) --- Required. Username for the Salesforce connection.

### #username=

    def username=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Username for the Salesforce connection.
**Returns**

- (::String) --- Required. Username for the Salesforce connection.