Datastream V1 API - Class Google::Cloud::Datastream::V1::SalesforceProfile (v1.8.0)

Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::SalesforceProfile.

Profile for connecting to a Salesforce source.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#domain

def domain() -> ::String
Returns
  • (::String) — Required. Domain endpoint for the Salesforce connection.

#domain=

def domain=(value) -> ::String
Parameter
  • value (::String) — Required. Domain endpoint for the Salesforce connection.
Returns
  • (::String) — Required. Domain endpoint for the Salesforce connection.

#oauth2_client_credentials

def oauth2_client_credentials() -> ::Google::Cloud::Datastream::V1::SalesforceProfile::Oauth2ClientCredentials
Returns

#oauth2_client_credentials=

def oauth2_client_credentials=(value) -> ::Google::Cloud::Datastream::V1::SalesforceProfile::Oauth2ClientCredentials
Parameter
Returns

#user_credentials

def user_credentials() -> ::Google::Cloud::Datastream::V1::SalesforceProfile::UserCredentials
Returns
  • (::Google::Cloud::Datastream::V1::SalesforceProfile::UserCredentials) — Deprecated: Salesforce is retiring Username-Password authentication. Use oauth2_client_credentials instead.

    Note: The following fields are mutually exclusive: user_credentials, oauth2_client_credentials. If a field in that set is populated, all other fields in the set will automatically be cleared.

#user_credentials=

def user_credentials=(value) -> ::Google::Cloud::Datastream::V1::SalesforceProfile::UserCredentials
Parameter
  • value (::Google::Cloud::Datastream::V1::SalesforceProfile::UserCredentials) — Deprecated: Salesforce is retiring Username-Password authentication. Use oauth2_client_credentials instead.

    Note: The following fields are mutually exclusive: user_credentials, oauth2_client_credentials. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Datastream::V1::SalesforceProfile::UserCredentials) — Deprecated: Salesforce is retiring Username-Password authentication. Use oauth2_client_credentials instead.

    Note: The following fields are mutually exclusive: user_credentials, oauth2_client_credentials. If a field in that set is populated, all other fields in the set will automatically be cleared.