27
27
28
28
@dataclasses .dataclass (eq = True , frozen = True )
29
29
class GoogleCloudHealthcareURL :
30
- """Base URL container for DICOM Stores under the `Google Cloud Healthcare API`_.
30
+ """URL container for DICOM Stores under the `Google Cloud Healthcare API`_.
31
31
32
32
This class facilitates the parsing and creation of :py:attr:`URI.base_url`
33
33
corresponding to DICOMweb API Service URLs under the v1_ API. The URLs are
@@ -37,24 +37,26 @@ class GoogleCloudHealthcareURL:
37
37
.. _Google Cloud Healthcare API: https://cloud.google.com/healthcare
38
38
.. _v1: https://cloud.google.com/healthcare/docs/how-tos/transition-guide
39
39
40
- Attributes:
41
- project_id: str
42
- The ID of the `GCP Project
43
- <https://cloud.google.com/healthcare/docs/concepts/projects-datasets-data-stores#projects>`_
44
- that contains the DICOM Store.
45
- location: str
46
- The `Region name
47
- <https://cloud.google.com/healthcare/docs/concepts/regions>`_ of the
48
- geographic location configured for the Dataset that contains the
49
- DICOM Store.
50
- dataset_id: str
51
- The ID of the `Dataset
52
- <https://cloud.google.com/healthcare/docs/concepts/projects-datasets-data-stores#datasets_and_data_stores>`_
53
- that contains the DICOM Store.
54
- dicom_store_id: str
55
- The ID of the `DICOM Store
56
- <https://cloud.google.com/healthcare/docs/concepts/dicom#dicom_stores>`_.
57
- """
40
+ Attributes
41
+ ----------
42
+ project_id: str
43
+ The ID of the `GCP Project
44
+ <https://cloud.google.com/healthcare/docs/concepts/projects-datasets-data-stores#projects>`_
45
+ that contains the DICOM Store.
46
+ location: str
47
+ The `Region name
48
+ <https://cloud.google.com/healthcare/docs/concepts/regions>`_ of the
49
+ geographic location configured for the Dataset that contains the
50
+ DICOM Store.
51
+ dataset_id: str
52
+ The ID of the `Dataset
53
+ <https://cloud.google.com/healthcare/docs/concepts/projects-datasets-data-stores#datasets_and_data_stores>`_
54
+ that contains the DICOM Store.
55
+ dicom_store_id: str
56
+ The ID of the `DICOM Store
57
+ <https://cloud.google.com/healthcare/docs/concepts/dicom#dicom_stores>`_.
58
+
59
+ """ # noqa: E501
58
60
project_id : str
59
61
location : str
60
62
dataset_id : str
@@ -84,7 +86,7 @@ def __str__(self) -> str:
84
86
85
87
@classmethod
86
88
def from_string (cls , base_url : str ) -> 'GoogleCloudHealthcareURL' :
87
- """Creates an instance from `` base_url` `.
89
+ """Create an instance from `base_url`.
88
90
89
91
Parameters
90
92
----------
0 commit comments