class ProjectsLocationsSfdcInstances extends Resource (View source)

The "sfdcInstances" collection of methods.

Typical usage is:

 $integrationsService = new Google\Service\Integrations(...);
 $sfdcInstances = $integrationsService->projects_locations_sfdcInstances;

Methods

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

Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance. (sfdcInstances.create)

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

Deletes an sfdc instance. (sfdcInstances.delete)

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

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

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

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

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

Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance. (sfdcInstances.patch)

Details

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

Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance. (sfdcInstances.create)

Parameters

string $parent

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

GoogleCloudIntegrationsV1alphaSfdcInstance $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaSfdcInstance

Exceptions

Exception

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

Deletes an sfdc instance. (sfdcInstances.delete)

Parameters

string $name

Required. The name that is associated with the SfdcInstance.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

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

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

Parameters

string $name

Required. The name that is associated with the SfdcInstance.

array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaSfdcInstance

Exceptions

Exception

GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse listProjectsLocationsSfdcInstances(string $parent, array $optParams = [])

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

(sfdcInstances.listProjectsLocationsSfdcInstances)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse

Exceptions

Exception

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

Updates an sfdc instance. Updates the sfdc instance in spanner. Returns the sfdc instance. (sfdcInstances.patch)

Parameters

string $name

Resource name of the SFDC instance projects/{project}/locations/{location}/sfdcInstances/{sfdcInstance}.

GoogleCloudIntegrationsV1alphaSfdcInstance $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudIntegrationsV1alphaSfdcInstance

Exceptions

Exception