Google Cloud Datastream V1 Client - Class SalesforceObject (2.3.0)

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

Salesforce object.

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

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ object_namestring

Object name.

↳ fieldsarray<SalesforceField>

Salesforce fields. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.

getObjectName

Object name.

Returns
TypeDescription
string

setObjectName

Object name.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getFields

Salesforce fields.

When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFields

Salesforce fields.

When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.

Parameter
NameDescription
vararray<SalesforceField>
Returns
TypeDescription
$this