📂 File Browser

AgentAI/vendor/google/apiclient-services/src/CloudHealthcare
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AccessDeterminationLogConfig.php
▶ Open 📄 View Source
🐘 ActivateConsentRequest.php
▶ Open 📄 View Source
🐘 AdminConsents.php
▶ Open 📄 View Source
🐘 AnalyzeEntitiesRequest.php
▶ Open 📄 View Source
🐘 AnalyzeEntitiesResponse.php
▶ Open 📄 View Source
🐘 ApplyAdminConsentsErrorDetail.php
▶ Open 📄 View Source
🐘 ApplyAdminConsentsRequest.php
▶ Open 📄 View Source
🐘 ApplyAdminConsentsResponse.php
▶ Open 📄 View Source
🐘 ApplyConsentsRequest.php
▶ Open 📄 View Source
🐘 ApplyConsentsResponse.php
▶ Open 📄 View Source
🐘 ArchiveUserDataMappingRequest.php
▶ Open 📄 View Source
🐘 ArchiveUserDataMappingResponse.php
▶ Open 📄 View Source
🐘 Attribute.php
▶ Open 📄 View Source
🐘 AttributeDefinition.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 BlobStorageInfo.php
▶ Open 📄 View Source
🐘 BlobStorageSettings.php
▶ Open 📄 View Source
🐘 BulkDeleteResourcesRequest.php
▶ Open 📄 View Source
🐘 BulkExportGcsDestination.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CharacterMaskConfig.php
▶ Open 📄 View Source
🐘 CheckDataAccessRequest.php
▶ Open 📄 View Source
🐘 CheckDataAccessResponse.php
▶ Open 📄 View Source
🐘 Consent.php
▶ Open 📄 View Source
🐘 ConsentAccessorScope.php
▶ Open 📄 View Source
🐘 ConsentArtifact.php
▶ Open 📄 View Source
🐘 ConsentConfig.php
▶ Open 📄 View Source
🐘 ConsentErrors.php
▶ Open 📄 View Source
🐘 ConsentEvaluation.php
▶ Open 📄 View Source
🐘 ConsentHeaderHandling.php
▶ Open 📄 View Source
🐘 ConsentList.php
▶ Open 📄 View Source
🐘 ConsentStore.php
▶ Open 📄 View Source
🐘 CreateMessageRequest.php
▶ Open 📄 View Source
🐘 CryptoHashConfig.php
▶ Open 📄 View Source
🐘 Dataset.php
▶ Open 📄 View Source
🐘 DateShiftConfig.php
▶ Open 📄 View Source
🐘 DeidentifiedStoreDestination.php
▶ Open 📄 View Source
🐘 DeidentifyConfig.php
▶ Open 📄 View Source
🐘 DeidentifyDatasetRequest.php
▶ Open 📄 View Source
🐘 DeidentifyDicomStoreRequest.php
▶ Open 📄 View Source
🐘 DeidentifyFhirStoreRequest.php
▶ Open 📄 View Source
🐘 DeidentifySummary.php
▶ Open 📄 View Source
🐘 DicomConfig.php
▶ Open 📄 View Source
🐘 DicomFilterConfig.php
▶ Open 📄 View Source
🐘 DicomNotificationConfig.php
▶ Open 📄 View Source
🐘 DicomStore.php
▶ Open 📄 View Source
🐘 DicomStoreMetrics.php
▶ Open 📄 View Source
🐘 EncryptionSpec.php
▶ Open 📄 View Source
🐘 Entity.php
▶ Open 📄 View Source
🐘 EntityMention.php
▶ Open 📄 View Source
🐘 EntityMentionRelationship.php
▶ Open 📄 View Source
🐘 EvaluateUserConsentsRequest.php
▶ Open 📄 View Source
🐘 EvaluateUserConsentsResponse.php
▶ Open 📄 View Source
🐘 ExplainDataAccessConsentInfo.php
▶ Open 📄 View Source
🐘 ExplainDataAccessConsentScope.php
▶ Open 📄 View Source
🐘 ExplainDataAccessResponse.php
▶ Open 📄 View Source
🐘 ExportDicomDataRequest.php
▶ Open 📄 View Source
🐘 ExportDicomDataResponse.php
▶ Open 📄 View Source
🐘 ExportMessagesRequest.php
▶ Open 📄 View Source
🐘 ExportMessagesResponse.php
▶ Open 📄 View Source
🐘 ExportResourcesRequest.php
▶ Open 📄 View Source
🐘 ExportResourcesResponse.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 Feature.php
▶ Open 📄 View Source
🐘 FhirConfig.php
▶ Open 📄 View Source
🐘 FhirFilter.php
▶ Open 📄 View Source
🐘 FhirNotificationConfig.php
▶ Open 📄 View Source
🐘 FhirStore.php
▶ Open 📄 View Source
🐘 FhirStoreMetric.php
▶ Open 📄 View Source
🐘 FhirStoreMetrics.php
▶ Open 📄 View Source
🐘 Field.php
▶ Open 📄 View Source
🐘 FieldMetadata.php
▶ Open 📄 View Source
🐘 GcsDestination.php
▶ Open 📄 View Source
🐘 GcsSource.php
▶ Open 📄 View Source
🐘 GoogleCloudHealthcareV1ConsentGcsDestination.php
▶ Open 📄 View Source
🐘 GoogleCloudHealthcareV1ConsentPolicy.php
▶ Open 📄 View Source
🐘 GoogleCloudHealthcareV1DeidentifyDeidentifyDicomStoreSummary.php
▶ Open 📄 View Source
🐘 GoogleCloudHealthcareV1DeidentifyDeidentifyFhirStoreSummary.php
▶ Open 📄 View Source
🐘 GoogleCloudHealthcareV1DicomBigQueryDestination.php
▶ Open 📄 View Source
🐘 GoogleCloudHealthcareV1DicomGcsDestination.php
▶ Open 📄 View Source
🐘 GoogleCloudHealthcareV1DicomGcsSource.php
▶ Open 📄 View Source
🐘 GoogleCloudHealthcareV1DicomStreamConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudHealthcareV1FhirBigQueryDestination.php
▶ Open 📄 View Source
🐘 GoogleCloudHealthcareV1FhirGcsDestination.php
▶ Open 📄 View Source
🐘 GoogleCloudHealthcareV1FhirGcsSource.php
▶ Open 📄 View Source
🐘 GroupOrSegment.php
▶ Open 📄 View Source
🐘 HealthcareEmpty.php
▶ Open 📄 View Source
🐘 Hl7SchemaConfig.php
▶ Open 📄 View Source
🐘 Hl7TypesConfig.php
▶ Open 📄 View Source
🐘 Hl7V2NotificationConfig.php
▶ Open 📄 View Source
🐘 Hl7V2Store.php
▶ Open 📄 View Source
🐘 Hl7V2StoreMetric.php
▶ Open 📄 View Source
🐘 Hl7V2StoreMetrics.php
▶ Open 📄 View Source
🐘 HttpBody.php
▶ Open 📄 View Source
🐘 Image.php
▶ Open 📄 View Source
🐘 ImageConfig.php
▶ Open 📄 View Source
🐘 ImportDicomDataRequest.php
▶ Open 📄 View Source
🐘 ImportDicomDataResponse.php
▶ Open 📄 View Source
🐘 ImportMessagesRequest.php
▶ Open 📄 View Source
🐘 ImportMessagesResponse.php
▶ Open 📄 View Source
🐘 ImportResourcesRequest.php
▶ Open 📄 View Source
🐘 ImportResourcesResponse.php
▶ Open 📄 View Source
🐘 InfoTypeTransformation.php
▶ Open 📄 View Source
🐘 IngestMessageRequest.php
▶ Open 📄 View Source
🐘 IngestMessageResponse.php
▶ Open 📄 View Source
🐘 KmsWrappedCryptoKey.php
▶ Open 📄 View Source
🐘 LinkedEntity.php
▶ Open 📄 View Source
🐘 ListAttributeDefinitionsResponse.php
▶ Open 📄 View Source
🐘 ListConsentArtifactsResponse.php
▶ Open 📄 View Source
🐘 ListConsentRevisionsResponse.php
▶ Open 📄 View Source
🐘 ListConsentStoresResponse.php
▶ Open 📄 View Source
🐘 ListConsentsResponse.php
▶ Open 📄 View Source
🐘 ListDatasetsResponse.php
▶ Open 📄 View Source
🐘 ListDicomStoresResponse.php
▶ Open 📄 View Source
🐘 ListFhirStoresResponse.php
▶ Open 📄 View Source
🐘 ListHl7V2StoresResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListMessagesResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListUserDataMappingsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 Message.php
▶ Open 📄 View Source
🐘 NotificationConfig.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 ParsedData.php
▶ Open 📄 View Source
🐘 ParserConfig.php
▶ Open 📄 View Source
🐘 PatientId.php
▶ Open 📄 View Source
🐘 PatientScope.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 ProgressCounter.php
▶ Open 📄 View Source
🐘 PubsubDestination.php
▶ Open 📄 View Source
🐘 QueryAccessibleDataRequest.php
▶ Open 📄 View Source
🐘 QueryAccessibleDataResponse.php
▶ Open 📄 View Source
🐘 RedactConfig.php
▶ Open 📄 View Source
🐘 RejectConsentRequest.php
▶ Open 📄 View Source
🐘 ReplaceWithInfoTypeConfig.php
▶ Open 📄 View Source
🐘 Resources.php
▶ Open 📄 View Source
🐘 Result.php
▶ Open 📄 View Source
🐘 RevokeConsentRequest.php
▶ Open 📄 View Source
🐘 RollbackFhirResourceFilteringFields.php
▶ Open 📄 View Source
🐘 RollbackFhirResourcesRequest.php
▶ Open 📄 View Source
🐘 RollbackFhirResourcesResponse.php
▶ Open 📄 View Source
🐘 RollbackHL7MessagesFilteringFields.php
▶ Open 📄 View Source
🐘 RollbackHl7V2MessagesRequest.php
▶ Open 📄 View Source
🐘 RollbackHl7V2MessagesResponse.php
▶ Open 📄 View Source
🐘 SchemaConfig.php
▶ Open 📄 View Source
🐘 SchemaFlattened.php
▶ Open 📄 View Source
🐘 SchemaGroup.php
▶ Open 📄 View Source
🐘 SchemaJSON.php
▶ Open 📄 View Source
🐘 SchemaPackage.php
▶ Open 📄 View Source
🐘 SchemaSegment.php
▶ Open 📄 View Source
🐘 SchematizedData.php
▶ Open 📄 View Source
🐘 SearchResourcesRequest.php
▶ Open 📄 View Source
🐘 Segment.php
▶ Open 📄 View Source
🐘 SeriesMetrics.php
▶ Open 📄 View Source
🐘 SetBlobStorageSettingsRequest.php
▶ Open 📄 View Source
🐘 SetBlobStorageSettingsResponse.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 Signature.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StorageInfo.php
▶ Open 📄 View Source
🐘 StreamConfig.php
▶ Open 📄 View Source
🐘 StructuredStorageInfo.php
▶ Open 📄 View Source
🐘 StudyMetrics.php
▶ Open 📄 View Source
🐘 TagFilterList.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 TextConfig.php
▶ Open 📄 View Source
🐘 TextSpan.php
▶ Open 📄 View Source
🐘 TimePartitioning.php
▶ Open 📄 View Source
🐘 TimeRange.php
▶ Open 📄 View Source
🐘 Type.php
▶ Open 📄 View Source
🐘 UserDataMapping.php
▶ Open 📄 View Source
🐘 ValidationConfig.php
▶ Open 📄 View Source
🐘 VersionSource.php
▶ Open 📄 View Source

📄 Source: ConsentConfig.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\CloudHealthcare;

class ConsentConfig extends \Google\Collection
{
  /**
   * Users must specify an enforcement version or an error is returned.
   */
  public const VERSION_CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED = 'CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED';
  /**
   * Enforcement version 1. See the [FHIR Consent resources in the Cloud
   * Healthcare API](https://cloud.google.com/healthcare-api/docs/fhir-consent)
   * guide for more details.
   */
  public const VERSION_V1 = 'V1';
  protected $collection_key = 'enforcedAdminConsents';
  protected $accessDeterminationLogConfigType = AccessDeterminationLogConfig::class;
  protected $accessDeterminationLogConfigDataType = '';
  /**
   * Optional. The default value is false. If set to true, when accessing FHIR
   * resources, the consent headers will be verified against consents given by
   * patients. See the ConsentEnforcementVersion for the supported consent
   * headers.
   *
   * @var bool
   */
  public $accessEnforced;
  protected $consentHeaderHandlingType = ConsentHeaderHandling::class;
  protected $consentHeaderHandlingDataType = '';
  /**
   * Output only. The versioned names of the enforced admin Consent resource(s),
   * in the format `projects/{project_id}/locations/{location}/datasets/{dataset
   * _id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{versio
   * n_id}`. For FHIR stores with `disable_resource_versioning=true`, the format
   * is `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirSt
   * ores/{fhir_store_id}/fhir/Consent/{resource_id}`. This field can only be
   * updated using ApplyAdminConsents.
   *
   * @var string[]
   */
  public $enforcedAdminConsents;
  /**
   * Required. Specifies which consent enforcement version is being used for
   * this FHIR store. This field can only be set once by either CreateFhirStore
   * or UpdateFhirStore. After that, you must call ApplyConsents to change the
   * version.
   *
   * @var string
   */
  public $version;

  /**
   * Optional. Specifies how the server logs the consent-aware requests. If not
   * specified, the `AccessDeterminationLogConfig.LogLevel.MINIMUM` option is
   * used.
   *
   * @param AccessDeterminationLogConfig $accessDeterminationLogConfig
   */
  public function setAccessDeterminationLogConfig(AccessDeterminationLogConfig $accessDeterminationLogConfig)
  {
    $this->accessDeterminationLogConfig = $accessDeterminationLogConfig;
  }
  /**
   * @return AccessDeterminationLogConfig
   */
  public function getAccessDeterminationLogConfig()
  {
    return $this->accessDeterminationLogConfig;
  }
  /**
   * Optional. The default value is false. If set to true, when accessing FHIR
   * resources, the consent headers will be verified against consents given by
   * patients. See the ConsentEnforcementVersion for the supported consent
   * headers.
   *
   * @param bool $accessEnforced
   */
  public function setAccessEnforced($accessEnforced)
  {
    $this->accessEnforced = $accessEnforced;
  }
  /**
   * @return bool
   */
  public function getAccessEnforced()
  {
    return $this->accessEnforced;
  }
  /**
   * Optional. Different options to configure the behaviour of the server when
   * handling the `X-Consent-Scope` header.
   *
   * @param ConsentHeaderHandling $consentHeaderHandling
   */
  public function setConsentHeaderHandling(ConsentHeaderHandling $consentHeaderHandling)
  {
    $this->consentHeaderHandling = $consentHeaderHandling;
  }
  /**
   * @return ConsentHeaderHandling
   */
  public function getConsentHeaderHandling()
  {
    return $this->consentHeaderHandling;
  }
  /**
   * Output only. The versioned names of the enforced admin Consent resource(s),
   * in the format `projects/{project_id}/locations/{location}/datasets/{dataset
   * _id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{versio
   * n_id}`. For FHIR stores with `disable_resource_versioning=true`, the format
   * is `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirSt
   * ores/{fhir_store_id}/fhir/Consent/{resource_id}`. This field can only be
   * updated using ApplyAdminConsents.
   *
   * @param string[] $enforcedAdminConsents
   */
  public function setEnforcedAdminConsents($enforcedAdminConsents)
  {
    $this->enforcedAdminConsents = $enforcedAdminConsents;
  }
  /**
   * @return string[]
   */
  public function getEnforcedAdminConsents()
  {
    return $this->enforcedAdminConsents;
  }
  /**
   * Required. Specifies which consent enforcement version is being used for
   * this FHIR store. This field can only be set once by either CreateFhirStore
   * or UpdateFhirStore. After that, you must call ApplyConsents to change the
   * version.
   *
   * Accepted values: CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED, V1
   *
   * @param self::VERSION_* $version
   */
  public function setVersion($version)
  {
    $this->version = $version;
  }
  /**
   * @return self::VERSION_*
   */
  public function getVersion()
  {
    return $this->version;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConsentConfig::class, 'Google_Service_CloudHealthcare_ConsentConfig');
← Back