@@ -103,7 +103,7 @@ public class CloudHealthcare extends com.google.api.client.googleapis.services.j
103103 * {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104 * <li>Android: {@code newCompatibleTransport} from
105105 * {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106- * <li>Java: {@link com.google.api.client.googleapis .javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+ * <li>Java: {@code com.google.api.client.http .javanet.NetHttpTransport}</li>
107107 * </li>
108108 * </ul>
109109 * @param jsonFactory JSON factory, which may be:
@@ -312,7 +312,10 @@ public Get set(String parameterName, Object value) {
312312 }
313313 }
314314 /**
315- * Lists information about the supported locations for this service.
315+ * Lists information about the supported locations for this service. This method can be called in
316+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
317+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
318+ * public locations as well as private or other locations specifically visible to the project.
316319 *
317320 * Create a request for the method "locations.list".
318321 *
@@ -336,7 +339,10 @@ public class List extends CloudHealthcareRequest<com.google.api.services.healthc
336339 java.util.regex.Pattern.compile("^projects/[^/]+$");
337340
338341 /**
339- * Lists information about the supported locations for this service.
342+ * Lists information about the supported locations for this service. This method can be called in
343+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
344+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
345+ * public locations as well as private or other locations specifically visible to the project.
340346 *
341347 * Create a request for the method "locations.list".
342348 *
@@ -16541,6 +16547,156 @@ public BulkExportGroup set(String parameterName, Object value) {
1654116547 return (BulkExportGroup) super.set(parameterName, value);
1654216548 }
1654316549 }
16550+ /**
16551+ * Bulk deletes the FHIR resources from the given FHIR store. This method returns an Operation that
16552+ * can be used to track the progress of the deletion by calling GetOperation. The success and
16553+ * secondary_success counters correspond to the deleted current version and historical versions,
16554+ * respectively.
16555+ *
16556+ * Create a request for the method "fhirStores.bulkDelete".
16557+ *
16558+ * This request holds the parameters needed by the healthcare server. After setting any optional
16559+ * parameters, call the {@link BulkDelete#execute()} method to invoke the remote operation.
16560+ *
16561+ * @param name Required. The name of the FHIR store to bulk delete resources from, in the format of
16562+ * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_stor
16563+ * e_id}`.
16564+ * @param content the {@link com.google.api.services.healthcare.v1.model.BulkDeleteResourcesRequest}
16565+ * @return the request
16566+ */
16567+ public BulkDelete bulkDelete(java.lang.String name, com.google.api.services.healthcare.v1.model.BulkDeleteResourcesRequest content) throws java.io.IOException {
16568+ BulkDelete result = new BulkDelete(name, content);
16569+ initialize(result);
16570+ return result;
16571+ }
16572+
16573+ public class BulkDelete extends CloudHealthcareRequest<com.google.api.services.healthcare.v1.model.Operation> {
16574+
16575+ private static final String REST_PATH = "v1/{+name}:bulkDelete";
16576+
16577+ private final java.util.regex.Pattern NAME_PATTERN =
16578+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$");
16579+
16580+ /**
16581+ * Bulk deletes the FHIR resources from the given FHIR store. This method returns an Operation
16582+ * that can be used to track the progress of the deletion by calling GetOperation. The success and
16583+ * secondary_success counters correspond to the deleted current version and historical versions,
16584+ * respectively.
16585+ *
16586+ * Create a request for the method "fhirStores.bulkDelete".
16587+ *
16588+ * This request holds the parameters needed by the the healthcare server. After setting any
16589+ * optional parameters, call the {@link BulkDelete#execute()} method to invoke the remote
16590+ * operation. <p> {@link
16591+ * BulkDelete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
16592+ * must be called to initialize this instance immediately after invoking the constructor. </p>
16593+ *
16594+ * @param name Required. The name of the FHIR store to bulk delete resources from, in the format of
16595+ * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_stor
16596+ * e_id}`.
16597+ * @param content the {@link com.google.api.services.healthcare.v1.model.BulkDeleteResourcesRequest}
16598+ * @since 1.13
16599+ */
16600+ protected BulkDelete(java.lang.String name, com.google.api.services.healthcare.v1.model.BulkDeleteResourcesRequest content) {
16601+ super(CloudHealthcare.this, "POST", REST_PATH, content, com.google.api.services.healthcare.v1.model.Operation.class);
16602+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
16603+ if (!getSuppressPatternChecks()) {
16604+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
16605+ "Parameter name must conform to the pattern " +
16606+ "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$");
16607+ }
16608+ }
16609+
16610+ @Override
16611+ public BulkDelete set$Xgafv(java.lang.String $Xgafv) {
16612+ return (BulkDelete) super.set$Xgafv($Xgafv);
16613+ }
16614+
16615+ @Override
16616+ public BulkDelete setAccessToken(java.lang.String accessToken) {
16617+ return (BulkDelete) super.setAccessToken(accessToken);
16618+ }
16619+
16620+ @Override
16621+ public BulkDelete setAlt(java.lang.String alt) {
16622+ return (BulkDelete) super.setAlt(alt);
16623+ }
16624+
16625+ @Override
16626+ public BulkDelete setCallback(java.lang.String callback) {
16627+ return (BulkDelete) super.setCallback(callback);
16628+ }
16629+
16630+ @Override
16631+ public BulkDelete setFields(java.lang.String fields) {
16632+ return (BulkDelete) super.setFields(fields);
16633+ }
16634+
16635+ @Override
16636+ public BulkDelete setKey(java.lang.String key) {
16637+ return (BulkDelete) super.setKey(key);
16638+ }
16639+
16640+ @Override
16641+ public BulkDelete setOauthToken(java.lang.String oauthToken) {
16642+ return (BulkDelete) super.setOauthToken(oauthToken);
16643+ }
16644+
16645+ @Override
16646+ public BulkDelete setPrettyPrint(java.lang.Boolean prettyPrint) {
16647+ return (BulkDelete) super.setPrettyPrint(prettyPrint);
16648+ }
16649+
16650+ @Override
16651+ public BulkDelete setQuotaUser(java.lang.String quotaUser) {
16652+ return (BulkDelete) super.setQuotaUser(quotaUser);
16653+ }
16654+
16655+ @Override
16656+ public BulkDelete setUploadType(java.lang.String uploadType) {
16657+ return (BulkDelete) super.setUploadType(uploadType);
16658+ }
16659+
16660+ @Override
16661+ public BulkDelete setUploadProtocol(java.lang.String uploadProtocol) {
16662+ return (BulkDelete) super.setUploadProtocol(uploadProtocol);
16663+ }
16664+
16665+ /**
16666+ * Required. The name of the FHIR store to bulk delete resources from, in the format of
16667+ * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir
16668+ * _store_id}`.
16669+ */
16670+ @com.google.api.client.util.Key
16671+ private java.lang.String name;
16672+
16673+ /** Required. The name of the FHIR store to bulk delete resources from, in the format of
16674+ `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.
16675+ */
16676+ public java.lang.String getName() {
16677+ return name;
16678+ }
16679+
16680+ /**
16681+ * Required. The name of the FHIR store to bulk delete resources from, in the format of
16682+ * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir
16683+ * _store_id}`.
16684+ */
16685+ public BulkDelete setName(java.lang.String name) {
16686+ if (!getSuppressPatternChecks()) {
16687+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
16688+ "Parameter name must conform to the pattern " +
16689+ "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$");
16690+ }
16691+ this.name = name;
16692+ return this;
16693+ }
16694+
16695+ @Override
16696+ public BulkDelete set(String parameterName, Object value) {
16697+ return (BulkDelete) super.set(parameterName, value);
16698+ }
16699+ }
1654416700 /**
1654516701 * Creates a new FHIR store within the parent dataset.
1654616702 *
@@ -28010,8 +28166,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
2801028166 * {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
2801128167 * <li>Android: {@code newCompatibleTransport} from
2801228168 * {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
28013- * <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
28014- * </li>
28169+ * <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
2801528170 * </ul>
2801628171 * @param jsonFactory JSON factory, which may be:
2801728172 * <ul>
0 commit comments