class ProjectsLocationsDatasetsConsentStoresUserDataMappings extends Resource (View source)

The "userDataMappings" collection of methods.

Typical usage is:

 $healthcareService = new Google\Service\CloudHealthcare(...);
 $userDataMappings = $healthcareService->projects_locations_datasets_consentStores_userDataMappings;

Methods

archive(string $name, ArchiveUserDataMappingRequest $postBody, array $optParams = [])

Archives the specified User data mapping. (userDataMappings.archive)

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

Creates a new User data mapping in the parent consent store.

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

Deletes the specified User data mapping. (userDataMappings.delete)

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

Gets the specified User data mapping. (userDataMappings.get)

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

Lists the User data mappings in the specified consent store.

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

Updates the specified User data mapping. (userDataMappings.patch)

Details

ArchiveUserDataMappingResponse archive(string $name, ArchiveUserDataMappingRequest $postBody, array $optParams = [])

Archives the specified User data mapping. (userDataMappings.archive)

Parameters

string $name

Required. The resource name of the User data mapping to archive.

ArchiveUserDataMappingRequest $postBody
array $optParams

Optional parameters.

Return Value

ArchiveUserDataMappingResponse

Exceptions

Exception

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

Creates a new User data mapping in the parent consent store.

(userDataMappings.create)

Parameters

string $parent

Required. Name of the consent store.

UserDataMapping $postBody
array $optParams

Optional parameters.

Return Value

UserDataMapping

Exceptions

Exception

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

Deletes the specified User data mapping. (userDataMappings.delete)

Parameters

string $name

Required. The resource name of the User data mapping to delete.

array $optParams

Optional parameters.

Return Value

HealthcareEmpty

Exceptions

Exception

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

Gets the specified User data mapping. (userDataMappings.get)

Parameters

string $name

Required. The resource name of the User data mapping to retrieve.

array $optParams

Optional parameters.

Return Value

UserDataMapping

Exceptions

Exception

ListUserDataMappingsResponse listProjectsLocationsDatasetsConsentStoresUserDataMappings(string $parent, array $optParams = [])

Lists the User data mappings in the specified consent store.

(userDataMappings.listProjectsLocationsDatasetsConsentStoresUserDataMappings)

Parameters

string $parent

Required. Name of the consent store to retrieve User data mappings from.

array $optParams

Optional parameters.

Return Value

ListUserDataMappingsResponse

Exceptions

Exception

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

Updates the specified User data mapping. (userDataMappings.patch)

Parameters

string $name

Resource name of the User data mapping, of the form proj ects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores /{consent_store_id}/userDataMappings/{user_data_mapping_id}.

UserDataMapping $postBody
array $optParams

Optional parameters.

Return Value

UserDataMapping

Exceptions

Exception