diff --git a/src/CloudHealthcare/BulkDeleteResourcesRequest.php b/src/CloudHealthcare/BulkDeleteResourcesRequest.php index 73ea95bcbd4..83f661cad9b 100644 --- a/src/CloudHealthcare/BulkDeleteResourcesRequest.php +++ b/src/CloudHealthcare/BulkDeleteResourcesRequest.php @@ -38,6 +38,8 @@ class BulkDeleteResourcesRequest extends \Google\Model public const VERSION_CONFIG_HISTORY_ONLY = 'HISTORY_ONLY'; protected $gcsDestinationType = GoogleCloudHealthcareV1FhirGcsDestination::class; protected $gcsDestinationDataType = ''; + protected $gcsSourceType = GoogleCloudHealthcareV1FhirGcsSource::class; + protected $gcsSourceDataType = ''; /** * Optional. String of comma-delimited FHIR resource types. If provided, only * resources of the specified resource type(s) will be deleted. @@ -91,6 +93,26 @@ public function getGcsDestination() { return $this->gcsDestination; } + /** + * Optional. Specifies the Cloud Storage source data location containing the + * list of resource IDs to delete. Each file inside `gcs_source` must contain + * newline-delimited strings in the format `{resourceType}/{resourceId}`. This + * field is mutually exclusive with filter parameters such as `type` and + * `until`. + * + * @param GoogleCloudHealthcareV1FhirGcsSource $gcsSource + */ + public function setGcsSource(GoogleCloudHealthcareV1FhirGcsSource $gcsSource) + { + $this->gcsSource = $gcsSource; + } + /** + * @return GoogleCloudHealthcareV1FhirGcsSource + */ + public function getGcsSource() + { + return $this->gcsSource; + } /** * Optional. String of comma-delimited FHIR resource types. If provided, only * resources of the specified resource type(s) will be deleted. diff --git a/src/CloudHealthcare/GoogleCloudHealthcareV1FhirGcsSource.php b/src/CloudHealthcare/GoogleCloudHealthcareV1FhirGcsSource.php index 432f8d4cad9..e7711c1d559 100644 --- a/src/CloudHealthcare/GoogleCloudHealthcareV1FhirGcsSource.php +++ b/src/CloudHealthcare/GoogleCloudHealthcareV1FhirGcsSource.php @@ -20,9 +20,9 @@ class GoogleCloudHealthcareV1FhirGcsSource extends \Google\Model { /** - * Points to a Cloud Storage URI containing file(s) to import. The URI must be - * in the following format: `gs://{bucket_id}/{object_id}`. The URI can - * include wildcards in `object_id` and thus identify multiple files. + * Required. Points to a Cloud Storage URI containing file(s) to import. The + * URI must be in the following format: `gs://{bucket_id}/{object_id}`. The + * URI can include wildcards in `object_id` and thus identify multiple files. * Supported wildcards: * `*` to match 0 or more non-separator characters * * `**` to match 0 or more characters (including separators). Must be used at * the end of a path and with no other wildcards in the path. Can also be used @@ -38,9 +38,9 @@ class GoogleCloudHealthcareV1FhirGcsSource extends \Google\Model public $uri; /** - * Points to a Cloud Storage URI containing file(s) to import. The URI must be - * in the following format: `gs://{bucket_id}/{object_id}`. The URI can - * include wildcards in `object_id` and thus identify multiple files. + * Required. Points to a Cloud Storage URI containing file(s) to import. The + * URI must be in the following format: `gs://{bucket_id}/{object_id}`. The + * URI can include wildcards in `object_id` and thus identify multiple files. * Supported wildcards: * `*` to match 0 or more non-separator characters * * `**` to match 0 or more characters (including separators). Must be used at * the end of a path and with no other wildcards in the path. Can also be used