class ProjectsLocationsSfdcInstancesSfdcChannels extends Resource (View source)

The "sfdcChannels" collection of methods.

Typical usage is:

 $integrationsService = new Google\Service\Integrations(...);
 $sfdcChannels = $integrationsService->projects_locations_sfdcInstances_sfdcChannels;

Methods

create(string $parent, GoogleCloudIntegrationsV1alphaSfdcChannel $postBody, array $optParams = [])

Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel. (sfdcChannels.create)

delete(string $name, array $optParams = [])

Deletes an sfdc channel. (sfdcChannels.delete)

get(string $name, array $optParams = [])

Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown. (sfdcChannels.get)

listProjectsLocationsSfdcInstancesSfdcChannels(string $parent, array $optParams = [])

Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.

patch(string $name, GoogleCloudIntegrationsV1alphaSfdcChannel $postBody, array $optParams = [])

Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel. (sfdcChannels.patch)

Details

GoogleCloudIntegrationsV1alphaSfdcChannel create(string $parent, GoogleCloudIntegrationsV1alphaSfdcChannel $postBody, array $optParams = [])

Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel. (sfdcChannels.create)

Parameters

string $parent

Required. "projects/{project}/locations/{location}" format.

GoogleCloudIntegrationsV1alphaSfdcChannel $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaSfdcChannel

Exceptions

Exception

GoogleProtobufEmpty delete(string $name, array $optParams = [])

Deletes an sfdc channel. (sfdcChannels.delete)

Parameters

string $name

Required. The name that is associated with the SfdcChannel.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

GoogleCloudIntegrationsV1alphaSfdcChannel get(string $name, array $optParams = [])

Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown. (sfdcChannels.get)

Parameters

string $name

Required. The name that is associated with the SfdcChannel.

array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaSfdcChannel

Exceptions

Exception

GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse listProjectsLocationsSfdcInstancesSfdcChannels(string $parent, array $optParams = [])

Lists all sfdc channels that match the filter. Restrict to sfdc channels belonging to the current client only.

(sfdcChannels.listProjectsLocationsSfdcInstancesSfdcChannels)

Parameters

string $parent

Required. The client, which owns this collection of SfdcChannels.

array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse

Exceptions

Exception

GoogleCloudIntegrationsV1alphaSfdcChannel patch(string $name, GoogleCloudIntegrationsV1alphaSfdcChannel $postBody, array $optParams = [])

Updates an sfdc channel. Updates the sfdc channel in spanner. Returns the sfdc channel. (sfdcChannels.patch)

Parameters

string $name

Resource name of the SFDC channel projects/{project}/loca tions/{location}/sfdcInstances/{sfdc_instance}/sfdcChannels/{sfdc_channel}.

GoogleCloudIntegrationsV1alphaSfdcChannel $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaSfdcChannel

Exceptions

Exception