class ProjectsLocationsDatasetsConsentStoresConsentArtifacts extends Resource (View source)

The "consentArtifacts" collection of methods.

Typical usage is:

 $healthcareService = new Google\Service\CloudHealthcare(...);
 $consentArtifacts = $healthcareService->projects_locations_datasets_consentStores_consentArtifacts;

Methods

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

Creates a new Consent artifact in the parent consent store.

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

Deletes the specified Consent artifact. Fails if the artifact is referenced by the latest revision of any Consent. (consentArtifacts.delete)

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

Gets the specified Consent artifact. (consentArtifacts.get)

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

Lists the Consent artifacts in the specified consent store.

Details

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

Creates a new Consent artifact in the parent consent store.

(consentArtifacts.create)

Parameters

string $parent

Required. The name of the consent store this Consent artifact belongs to.

ConsentArtifact $postBody
array $optParams

Optional parameters.

Return Value

ConsentArtifact

Exceptions

Exception

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

Deletes the specified Consent artifact. Fails if the artifact is referenced by the latest revision of any Consent. (consentArtifacts.delete)

Parameters

string $name

Required. The resource name of the Consent artifact to delete. To preserve referential integrity, Consent artifacts referenced by the latest revision of a Consent cannot be deleted.

array $optParams

Optional parameters.

Return Value

HealthcareEmpty

Exceptions

Exception

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

Gets the specified Consent artifact. (consentArtifacts.get)

Parameters

string $name

Required. The resource name of the Consent artifact to retrieve.

array $optParams

Optional parameters.

Return Value

ConsentArtifact

Exceptions

Exception

ListConsentArtifactsResponse listProjectsLocationsDatasetsConsentStoresConsentArtifacts(string $parent, array $optParams = [])

Lists the Consent artifacts in the specified consent store.

(consentArtifacts.listProjectsLocationsDatasetsConsentStoresConsentArtifacts)

Parameters

string $parent

Required. Name of the consent store to retrieve consent artifacts from.

array $optParams

Optional parameters.

Return Value

ListConsentArtifactsResponse

Exceptions

Exception