Google Cloud Datastream V1 Client - Class SalesforceMarketingCloudProfile (2.7.0)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class SalesforceMarketingCloudProfile.

Profile for connecting to a Salesforce Marketing Cloud source.

Generated from protobuf message google.cloud.datastream.v1.SalesforceMarketingCloudProfile

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ subdomain string

Required. Subdomain for the Salesforce Marketing Cloud connection. Example: if your specific endpoint is https://{your-specific-subdomain}.rest.marketingcloudapis.com/, the subdomain is {your-specific-subdomain}. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).

↳ oauth_client_credentials OauthClientCredentials

Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.

getSubdomain

Required. Subdomain for the Salesforce Marketing Cloud connection.

Example: if your specific endpoint is https://{your-specific-subdomain}.rest.marketingcloudapis.com/, the subdomain is {your-specific-subdomain}. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).

Returns
Type Description
string

setSubdomain

Required. Subdomain for the Salesforce Marketing Cloud connection.

Example: if your specific endpoint is https://{your-specific-subdomain}.rest.marketingcloudapis.com/, the subdomain is {your-specific-subdomain}. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).

Parameter
Name Description
var string
Returns
Type Description
$this

getOauthClientCredentials

Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.

Returns
Type Description
OauthClientCredentials|null

hasOauthClientCredentials

clearOauthClientCredentials

setOauthClientCredentials

Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.

Parameter
Name Description
var OauthClientCredentials
Returns
Type Description
$this