@@ -15176,6 +15176,236 @@ public RetrieveRendered set(String parameterName, Object value) {
15176
15176
}
15177
15177
}
15178
15178
15179
+ /**
15180
+ * An accessor for creating requests from the Bulkdata collection.
15181
+ *
15182
+ * <p>The typical use is:</p>
15183
+ * <pre>
15184
+ * {@code CloudHealthcare healthcare = new CloudHealthcare(...);}
15185
+ * {@code CloudHealthcare.Bulkdata.List request = healthcare.bulkdata().list(parameters ...)}
15186
+ * </pre>
15187
+ *
15188
+ * @return the resource collection
15189
+ */
15190
+ public Bulkdata bulkdata() {
15191
+ return new Bulkdata();
15192
+ }
15193
+
15194
+ /**
15195
+ * The "bulkdata" collection of methods.
15196
+ */
15197
+ public class Bulkdata {
15198
+
15199
+ /**
15200
+ * Returns uncompressed, unencoded bytes representing the referenced bulkdata tag from an instance.
15201
+ * See [Retrieve Transaction]
15202
+ * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4){: .external}. For
15203
+ * details on the implementation of RetrieveBulkdata, see [Bulkdata
15204
+ * resources](https://cloud.google.com/healthcare/docs/dicom#bulkdata-resources) in the Cloud
15205
+ * Healthcare API conformance statement. For samples that show how to call RetrieveBulkdata, see
15206
+ * [Retrieve bulkdata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-bulkdata).
15207
+ *
15208
+ * Create a request for the method "bulkdata.retrieveBulkdata".
15209
+ *
15210
+ * This request holds the parameters needed by the healthcare server. After setting any optional
15211
+ * parameters, call the {@link RetrieveBulkdata#execute()} method to invoke the remote operation.
15212
+ *
15213
+ * @param parent Required. The name of the DICOM store that is being accessed. For example,
15214
+ * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_st
15215
+ * ore_id}`.
15216
+ * @param dicomWebPath Required. The path for the `RetrieveBulkdata` DICOMweb request. For example,
15217
+ * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/bukdata/{bulkdata_uri}`.
15218
+ * @return the request
15219
+ */
15220
+ public RetrieveBulkdata retrieveBulkdata(java.lang.String parent, java.lang.String dicomWebPath) throws java.io.IOException {
15221
+ RetrieveBulkdata result = new RetrieveBulkdata(parent, dicomWebPath);
15222
+ initialize(result);
15223
+ return result;
15224
+ }
15225
+
15226
+ public class RetrieveBulkdata extends CloudHealthcareRequest<com.google.api.services.healthcare.v1.model.HttpBody> {
15227
+
15228
+ private static final String REST_PATH = "v1/{+parent}/dicomWeb/{+dicomWebPath}";
15229
+
15230
+ private final java.util.regex.Pattern PARENT_PATTERN =
15231
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$");
15232
+
15233
+ private final java.util.regex.Pattern DICOM_WEB_PATH_PATTERN =
15234
+ java.util.regex.Pattern.compile("^studies/[^/]+/series/[^/]+/instances/[^/]+/bulkdata/[^/]+/.*$");
15235
+
15236
+ /**
15237
+ * Returns uncompressed, unencoded bytes representing the referenced bulkdata tag from an
15238
+ * instance. See [Retrieve Transaction]
15239
+ * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4){: .external}.
15240
+ * For details on the implementation of RetrieveBulkdata, see [Bulkdata
15241
+ * resources](https://cloud.google.com/healthcare/docs/dicom#bulkdata-resources) in the Cloud
15242
+ * Healthcare API conformance statement. For samples that show how to call RetrieveBulkdata, see
15243
+ * [Retrieve bulkdata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-
15244
+ * bulkdata).
15245
+ *
15246
+ * Create a request for the method "bulkdata.retrieveBulkdata".
15247
+ *
15248
+ * This request holds the parameters needed by the the healthcare server. After setting any
15249
+ * optional parameters, call the {@link RetrieveBulkdata#execute()} method to invoke the remote
15250
+ * operation. <p> {@link RetrieveBulkdata#initialize(com.google.api.client.googleapis.services.Abs
15251
+ * tractGoogleClientRequest)} must be called to initialize this instance immediately after
15252
+ * invoking the constructor. </p>
15253
+ *
15254
+ * @param parent Required. The name of the DICOM store that is being accessed. For example,
15255
+ * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_st
15256
+ * ore_id}`.
15257
+ * @param dicomWebPath Required. The path for the `RetrieveBulkdata` DICOMweb request. For example,
15258
+ * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/bukdata/{bulkdata_uri}`.
15259
+ * @since 1.13
15260
+ */
15261
+ protected RetrieveBulkdata(java.lang.String parent, java.lang.String dicomWebPath) {
15262
+ super(CloudHealthcare.this, "GET", REST_PATH, null, com.google.api.services.healthcare.v1.model.HttpBody.class);
15263
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
15264
+ if (!getSuppressPatternChecks()) {
15265
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
15266
+ "Parameter parent must conform to the pattern " +
15267
+ "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$");
15268
+ }
15269
+ this.dicomWebPath = com.google.api.client.util.Preconditions.checkNotNull(dicomWebPath, "Required parameter dicomWebPath must be specified.");
15270
+ if (!getSuppressPatternChecks()) {
15271
+ com.google.api.client.util.Preconditions.checkArgument(DICOM_WEB_PATH_PATTERN.matcher(dicomWebPath).matches(),
15272
+ "Parameter dicomWebPath must conform to the pattern " +
15273
+ "^studies/[^/]+/series/[^/]+/instances/[^/]+/bulkdata/[^/]+/.*$");
15274
+ }
15275
+ }
15276
+
15277
+ @Override
15278
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
15279
+ return super.executeUsingHead();
15280
+ }
15281
+
15282
+ @Override
15283
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
15284
+ return super.buildHttpRequestUsingHead();
15285
+ }
15286
+
15287
+ @Override
15288
+ public RetrieveBulkdata set$Xgafv(java.lang.String $Xgafv) {
15289
+ return (RetrieveBulkdata) super.set$Xgafv($Xgafv);
15290
+ }
15291
+
15292
+ @Override
15293
+ public RetrieveBulkdata setAccessToken(java.lang.String accessToken) {
15294
+ return (RetrieveBulkdata) super.setAccessToken(accessToken);
15295
+ }
15296
+
15297
+ @Override
15298
+ public RetrieveBulkdata setAlt(java.lang.String alt) {
15299
+ return (RetrieveBulkdata) super.setAlt(alt);
15300
+ }
15301
+
15302
+ @Override
15303
+ public RetrieveBulkdata setCallback(java.lang.String callback) {
15304
+ return (RetrieveBulkdata) super.setCallback(callback);
15305
+ }
15306
+
15307
+ @Override
15308
+ public RetrieveBulkdata setFields(java.lang.String fields) {
15309
+ return (RetrieveBulkdata) super.setFields(fields);
15310
+ }
15311
+
15312
+ @Override
15313
+ public RetrieveBulkdata setKey(java.lang.String key) {
15314
+ return (RetrieveBulkdata) super.setKey(key);
15315
+ }
15316
+
15317
+ @Override
15318
+ public RetrieveBulkdata setOauthToken(java.lang.String oauthToken) {
15319
+ return (RetrieveBulkdata) super.setOauthToken(oauthToken);
15320
+ }
15321
+
15322
+ @Override
15323
+ public RetrieveBulkdata setPrettyPrint(java.lang.Boolean prettyPrint) {
15324
+ return (RetrieveBulkdata) super.setPrettyPrint(prettyPrint);
15325
+ }
15326
+
15327
+ @Override
15328
+ public RetrieveBulkdata setQuotaUser(java.lang.String quotaUser) {
15329
+ return (RetrieveBulkdata) super.setQuotaUser(quotaUser);
15330
+ }
15331
+
15332
+ @Override
15333
+ public RetrieveBulkdata setUploadType(java.lang.String uploadType) {
15334
+ return (RetrieveBulkdata) super.setUploadType(uploadType);
15335
+ }
15336
+
15337
+ @Override
15338
+ public RetrieveBulkdata setUploadProtocol(java.lang.String uploadProtocol) {
15339
+ return (RetrieveBulkdata) super.setUploadProtocol(uploadProtocol);
15340
+ }
15341
+
15342
+ /**
15343
+ * Required. The name of the DICOM store that is being accessed. For example, `p
15344
+ * rojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStore
15345
+ * s/{dicom_store_id}`.
15346
+ */
15347
+ @com.google.api.client.util.Key
15348
+ private java.lang.String parent;
15349
+
15350
+ /** Required. The name of the DICOM store that is being accessed. For example,
15351
+ `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.
15352
+ */
15353
+ public java.lang.String getParent() {
15354
+ return parent;
15355
+ }
15356
+
15357
+ /**
15358
+ * Required. The name of the DICOM store that is being accessed. For example, `p
15359
+ * rojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStore
15360
+ * s/{dicom_store_id}`.
15361
+ */
15362
+ public RetrieveBulkdata setParent(java.lang.String parent) {
15363
+ if (!getSuppressPatternChecks()) {
15364
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
15365
+ "Parameter parent must conform to the pattern " +
15366
+ "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$");
15367
+ }
15368
+ this.parent = parent;
15369
+ return this;
15370
+ }
15371
+
15372
+ /**
15373
+ * Required. The path for the `RetrieveBulkdata` DICOMweb request. For example,
15374
+ * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/bukdata/{bu
15375
+ * lkdata_uri}`.
15376
+ */
15377
+ @com.google.api.client.util.Key
15378
+ private java.lang.String dicomWebPath;
15379
+
15380
+ /** Required. The path for the `RetrieveBulkdata` DICOMweb request. For example,
15381
+ `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/bukdata/{bulkdata_uri}`.
15382
+ */
15383
+ public java.lang.String getDicomWebPath() {
15384
+ return dicomWebPath;
15385
+ }
15386
+
15387
+ /**
15388
+ * Required. The path for the `RetrieveBulkdata` DICOMweb request. For example,
15389
+ * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/bukdata/{bu
15390
+ * lkdata_uri}`.
15391
+ */
15392
+ public RetrieveBulkdata setDicomWebPath(java.lang.String dicomWebPath) {
15393
+ if (!getSuppressPatternChecks()) {
15394
+ com.google.api.client.util.Preconditions.checkArgument(DICOM_WEB_PATH_PATTERN.matcher(dicomWebPath).matches(),
15395
+ "Parameter dicomWebPath must conform to the pattern " +
15396
+ "^studies/[^/]+/series/[^/]+/instances/[^/]+/bulkdata/[^/]+/.*$");
15397
+ }
15398
+ this.dicomWebPath = dicomWebPath;
15399
+ return this;
15400
+ }
15401
+
15402
+ @Override
15403
+ public RetrieveBulkdata set(String parameterName, Object value) {
15404
+ return (RetrieveBulkdata) super.set(parameterName, value);
15405
+ }
15406
+ }
15407
+
15408
+ }
15179
15409
/**
15180
15410
* An accessor for creating requests from the Frames collection.
15181
15411
*
@@ -23224,9 +23454,10 @@ public SearchType set(String parameterName, Object value) {
23224
23454
* representation of the updated resource, including the server-assigned version ID. Errors
23225
23455
* generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the
23226
23456
* reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a
23227
- * generic GCP error might be returned instead. In R5, the conditional update interaction If-None-
23228
- * Match is supported, including the wildcard behaviour. For samples that show how to call `update`,
23229
- * see [Updating a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-
23457
+ * generic GCP error might be returned instead. The conditional update interaction If-None-Match is
23458
+ * supported, including the wildcard behaviour, as defined by the R5 spec. This functionality is
23459
+ * supported in R4 and R5. For samples that show how to call `update`, see [Updating a FHIR
23460
+ * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-
23230
23461
* resources#updating_a_fhir_resource).
23231
23462
*
23232
23463
* Create a request for the method "fhir.update".
@@ -23268,8 +23499,9 @@ public class Update extends CloudHealthcareRequest<com.google.api.services.healt
23268
23499
* including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-
23269
23500
* encoded `OperationOutcome` resource describing the reason for the error. If the request cannot
23270
23501
* be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead.
23271
- * In R5, the conditional update interaction If-None-Match is supported, including the wildcard
23272
- * behaviour. For samples that show how to call `update`, see [Updating a FHIR
23502
+ * The conditional update interaction If-None-Match is supported, including the wildcard
23503
+ * behaviour, as defined by the R5 spec. This functionality is supported in R4 and R5. For samples
23504
+ * that show how to call `update`, see [Updating a FHIR
23273
23505
* resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-
23274
23506
* resources#updating_a_fhir_resource).
23275
23507
*
0 commit comments