Skip to content

Commit 38b9107

Browse files
feat(healthcare): update the api
#### healthcare:v1 The following keys were added: - schemas.Dataset.properties.encryptionSpec.$ref (Total Keys: 1) - schemas.EncryptionSpec (Total Keys: 3) #### healthcare:v1beta1 The following keys were added: - schemas.Dataset.properties.encryptionSpec.$ref (Total Keys: 1) - schemas.EncryptionSpec (Total Keys: 3)
1 parent 3388962 commit 38b9107

File tree

4 files changed

+66
-6
lines changed

4 files changed

+66
-6
lines changed

docs/dyn/healthcare_v1.projects.locations.datasets.html

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,11 @@ <h3>Method Details</h3>
153153
The object takes the form of:
154154

155155
{ # A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.
156+
&quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key spec that can be applied to a resource. # Optional. Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key.
157+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this Dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
158+
},
156159
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.
157-
&quot;timeZone&quot;: &quot;A String&quot;, # The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
160+
&quot;timeZone&quot;: &quot;A String&quot;, # Optional. The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
158161
}
159162

160163
datasetId: string, Required. The ID of the dataset that is being created. The string must match the following regex: `[\p{L}\p{N}_\-\.]{1,256}`.
@@ -355,8 +358,11 @@ <h3>Method Details</h3>
355358
An object of the form:
356359

357360
{ # A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.
361+
&quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key spec that can be applied to a resource. # Optional. Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key.
362+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this Dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
363+
},
358364
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.
359-
&quot;timeZone&quot;: &quot;A String&quot;, # The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
365+
&quot;timeZone&quot;: &quot;A String&quot;, # Optional. The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
360366
}</pre>
361367
</div>
362368

@@ -427,8 +433,11 @@ <h3>Method Details</h3>
427433
{ # Lists the available datasets.
428434
&quot;datasets&quot;: [ # The first page of datasets.
429435
{ # A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.
436+
&quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key spec that can be applied to a resource. # Optional. Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key.
437+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this Dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
438+
},
430439
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.
431-
&quot;timeZone&quot;: &quot;A String&quot;, # The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
440+
&quot;timeZone&quot;: &quot;A String&quot;, # Optional. The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
432441
},
433442
],
434443
&quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more results in the list.
@@ -459,8 +468,11 @@ <h3>Method Details</h3>
459468
The object takes the form of:
460469

461470
{ # A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.
471+
&quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key spec that can be applied to a resource. # Optional. Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key.
472+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this Dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
473+
},
462474
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.
463-
&quot;timeZone&quot;: &quot;A String&quot;, # The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
475+
&quot;timeZone&quot;: &quot;A String&quot;, # Optional. The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
464476
}
465477

466478
updateMask: string, Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
@@ -473,8 +485,11 @@ <h3>Method Details</h3>
473485
An object of the form:
474486

475487
{ # A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.
488+
&quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key spec that can be applied to a resource. # Optional. Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key.
489+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this Dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
490+
},
476491
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.
477-
&quot;timeZone&quot;: &quot;A String&quot;, # The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
492+
&quot;timeZone&quot;: &quot;A String&quot;, # Optional. The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
478493
}</pre>
479494
</div>
480495

docs/dyn/healthcare_v1beta1.projects.locations.datasets.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ <h3>Method Details</h3>
158158
The object takes the form of:
159159

160160
{ # A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.
161+
&quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key spec that can be applied to a resource. # Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key.
162+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
163+
},
161164
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.
162165
&quot;timeZone&quot;: &quot;A String&quot;, # The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
163166
}
@@ -468,6 +471,9 @@ <h3>Method Details</h3>
468471
An object of the form:
469472

470473
{ # A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.
474+
&quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key spec that can be applied to a resource. # Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key.
475+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
476+
},
471477
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.
472478
&quot;timeZone&quot;: &quot;A String&quot;, # The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
473479
}</pre>
@@ -540,6 +546,9 @@ <h3>Method Details</h3>
540546
{ # Lists the available datasets.
541547
&quot;datasets&quot;: [ # The first page of datasets.
542548
{ # A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.
549+
&quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key spec that can be applied to a resource. # Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key.
550+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
551+
},
543552
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.
544553
&quot;timeZone&quot;: &quot;A String&quot;, # The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
545554
},
@@ -572,6 +581,9 @@ <h3>Method Details</h3>
572581
The object takes the form of:
573582

574583
{ # A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.
584+
&quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key spec that can be applied to a resource. # Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key.
585+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
586+
},
575587
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.
576588
&quot;timeZone&quot;: &quot;A String&quot;, # The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
577589
}
@@ -586,6 +598,9 @@ <h3>Method Details</h3>
586598
An object of the form:
587599

588600
{ # A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.
601+
&quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key spec that can be applied to a resource. # Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key.
602+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
603+
},
589604
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.
590605
&quot;timeZone&quot;: &quot;A String&quot;, # The default timezone used by this dataset. Must be a either a valid IANA time zone name such as &quot;America/New_York&quot; or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.
591606
}</pre>

googleapiclient/discovery_cache/documents/healthcare.v1.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5084,12 +5084,16 @@
50845084
"description": "A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.",
50855085
"id": "Dataset",
50865086
"properties": {
5087+
"encryptionSpec": {
5088+
"$ref": "EncryptionSpec",
5089+
"description": "Optional. Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key."
5090+
},
50875091
"name": {
50885092
"description": "Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.",
50895093
"type": "string"
50905094
},
50915095
"timeZone": {
5092-
"description": "The default timezone used by this dataset. Must be a either a valid IANA time zone name such as \"America/New_York\" or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.",
5096+
"description": "Optional. The default timezone used by this dataset. Must be a either a valid IANA time zone name such as \"America/New_York\" or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.",
50935097
"type": "string"
50945098
}
50955099
},
@@ -5347,6 +5351,17 @@
53475351
"properties": {},
53485352
"type": "object"
53495353
},
5354+
"EncryptionSpec": {
5355+
"description": "Represents a customer-managed encryption key spec that can be applied to a resource.",
5356+
"id": "EncryptionSpec",
5357+
"properties": {
5358+
"kmsKeyName": {
5359+
"description": "Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this Dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`",
5360+
"type": "string"
5361+
}
5362+
},
5363+
"type": "object"
5364+
},
53505365
"Entity": {
53515366
"description": "The candidate entities that an entity mention could link to.",
53525367
"id": "Entity",

0 commit comments

Comments
 (0)