@@ -585,22 +585,22 @@ public List setName(java.lang.String name) {
585585 }
586586
587587 /**
588- * Optional. Do not use this field. It is unsupported and is ignored unless explicitly
589- * documented otherwise. This is primarily for internal usage.
588+ * Optional. Unless explicitly documented otherwise, don't use this unsupported field which
589+ * is primarily intended for internal usage.
590590 */
591591 @com.google.api.client.util.Key
592592 private java.util.List<java.lang.String> extraLocationTypes;
593593
594- /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented
595- otherwise. This is primarily for internal usage.
594+ /** Optional. Unless explicitly documented otherwise, don't use this unsupported field which is
595+ primarily intended for internal usage.
596596 */
597597 public java.util.List<java.lang.String> getExtraLocationTypes() {
598598 return extraLocationTypes;
599599 }
600600
601601 /**
602- * Optional. Do not use this field. It is unsupported and is ignored unless explicitly
603- * documented otherwise. This is primarily for internal usage.
602+ * Optional. Unless explicitly documented otherwise, don't use this unsupported field which
603+ * is primarily intended for internal usage.
604604 */
605605 public List setExtraLocationTypes(java.util.List<java.lang.String> extraLocationTypes) {
606606 this.extraLocationTypes = extraLocationTypes;
@@ -1157,7 +1157,8 @@ public Create set(String parameterName, Object value) {
11571157 }
11581158 }
11591159 /**
1160- * Deletes the API hub instance.
1160+ * Deletes the API hub instance. Deleting the API hub instance will also result in the removal of
1161+ * all associated runtime project attachments and the host project registration.
11611162 *
11621163 * Create a request for the method "apiHubInstances.delete".
11631164 *
@@ -1182,7 +1183,8 @@ public class Delete extends APIhubRequest<com.google.api.services.apihub.v1.mode
11821183 java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/apiHubInstances/[^/]+$");
11831184
11841185 /**
1185- * Deletes the API hub instance.
1186+ * Deletes the API hub instance. Deleting the API hub instance will also result in the removal of
1187+ * all associated runtime project attachments and the host project registration.
11861188 *
11871189 * Create a request for the method "apiHubInstances.delete".
11881190 *
@@ -15392,6 +15394,146 @@ public List set(String parameterName, Object value) {
1539215394 return (List) super.set(parameterName, value);
1539315395 }
1539415396 }
15397+ /**
15398+ * Manages data for a given plugin instance.
15399+ *
15400+ * Create a request for the method "instances.manageSourceData".
15401+ *
15402+ * This request holds the parameters needed by the apihub server. After setting any optional
15403+ * parameters, call the {@link ManageSourceData#execute()} method to invoke the remote operation.
15404+ *
15405+ * @param name Required. The name of the plugin instance for which data needs to be managed. Format:
15406+ * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
15407+ * @param content the {@link com.google.api.services.apihub.v1.model.GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest}
15408+ * @return the request
15409+ */
15410+ public ManageSourceData manageSourceData(java.lang.String name, com.google.api.services.apihub.v1.model.GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest content) throws java.io.IOException {
15411+ ManageSourceData result = new ManageSourceData(name, content);
15412+ initialize(result);
15413+ return result;
15414+ }
15415+
15416+ public class ManageSourceData extends APIhubRequest<com.google.api.services.apihub.v1.model.GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse> {
15417+
15418+ private static final String REST_PATH = "v1/{+name}:manageSourceData";
15419+
15420+ private final java.util.regex.Pattern NAME_PATTERN =
15421+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/plugins/[^/]+/instances/[^/]+$");
15422+
15423+ /**
15424+ * Manages data for a given plugin instance.
15425+ *
15426+ * Create a request for the method "instances.manageSourceData".
15427+ *
15428+ * This request holds the parameters needed by the the apihub server. After setting any optional
15429+ * parameters, call the {@link ManageSourceData#execute()} method to invoke the remote operation.
15430+ * <p> {@link ManageSourceData#initialize(com.google.api.client.googleapis.services.AbstractGoogle
15431+ * ClientRequest)} must be called to initialize this instance immediately after invoking the
15432+ * constructor. </p>
15433+ *
15434+ * @param name Required. The name of the plugin instance for which data needs to be managed. Format:
15435+ * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
15436+ * @param content the {@link com.google.api.services.apihub.v1.model.GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest}
15437+ * @since 1.13
15438+ */
15439+ protected ManageSourceData(java.lang.String name, com.google.api.services.apihub.v1.model.GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest content) {
15440+ super(APIhub.this, "POST", REST_PATH, content, com.google.api.services.apihub.v1.model.GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse.class);
15441+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
15442+ if (!getSuppressPatternChecks()) {
15443+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
15444+ "Parameter name must conform to the pattern " +
15445+ "^projects/[^/]+/locations/[^/]+/plugins/[^/]+/instances/[^/]+$");
15446+ }
15447+ }
15448+
15449+ @Override
15450+ public ManageSourceData set$Xgafv(java.lang.String $Xgafv) {
15451+ return (ManageSourceData) super.set$Xgafv($Xgafv);
15452+ }
15453+
15454+ @Override
15455+ public ManageSourceData setAccessToken(java.lang.String accessToken) {
15456+ return (ManageSourceData) super.setAccessToken(accessToken);
15457+ }
15458+
15459+ @Override
15460+ public ManageSourceData setAlt(java.lang.String alt) {
15461+ return (ManageSourceData) super.setAlt(alt);
15462+ }
15463+
15464+ @Override
15465+ public ManageSourceData setCallback(java.lang.String callback) {
15466+ return (ManageSourceData) super.setCallback(callback);
15467+ }
15468+
15469+ @Override
15470+ public ManageSourceData setFields(java.lang.String fields) {
15471+ return (ManageSourceData) super.setFields(fields);
15472+ }
15473+
15474+ @Override
15475+ public ManageSourceData setKey(java.lang.String key) {
15476+ return (ManageSourceData) super.setKey(key);
15477+ }
15478+
15479+ @Override
15480+ public ManageSourceData setOauthToken(java.lang.String oauthToken) {
15481+ return (ManageSourceData) super.setOauthToken(oauthToken);
15482+ }
15483+
15484+ @Override
15485+ public ManageSourceData setPrettyPrint(java.lang.Boolean prettyPrint) {
15486+ return (ManageSourceData) super.setPrettyPrint(prettyPrint);
15487+ }
15488+
15489+ @Override
15490+ public ManageSourceData setQuotaUser(java.lang.String quotaUser) {
15491+ return (ManageSourceData) super.setQuotaUser(quotaUser);
15492+ }
15493+
15494+ @Override
15495+ public ManageSourceData setUploadType(java.lang.String uploadType) {
15496+ return (ManageSourceData) super.setUploadType(uploadType);
15497+ }
15498+
15499+ @Override
15500+ public ManageSourceData setUploadProtocol(java.lang.String uploadProtocol) {
15501+ return (ManageSourceData) super.setUploadProtocol(uploadProtocol);
15502+ }
15503+
15504+ /**
15505+ * Required. The name of the plugin instance for which data needs to be managed. Format:
15506+ * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
15507+ */
15508+ @com.google.api.client.util.Key
15509+ private java.lang.String name;
15510+
15511+ /** Required. The name of the plugin instance for which data needs to be managed. Format:
15512+ `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
15513+ */
15514+ public java.lang.String getName() {
15515+ return name;
15516+ }
15517+
15518+ /**
15519+ * Required. The name of the plugin instance for which data needs to be managed. Format:
15520+ * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
15521+ */
15522+ public ManageSourceData setName(java.lang.String name) {
15523+ if (!getSuppressPatternChecks()) {
15524+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
15525+ "Parameter name must conform to the pattern " +
15526+ "^projects/[^/]+/locations/[^/]+/plugins/[^/]+/instances/[^/]+$");
15527+ }
15528+ this.name = name;
15529+ return this;
15530+ }
15531+
15532+ @Override
15533+ public ManageSourceData set(String parameterName, Object value) {
15534+ return (ManageSourceData) super.set(parameterName, value);
15535+ }
15536+ }
1539515537 /**
1539615538 * Updates a plugin instance in the API hub. The following fields in the plugin_instance can be
1539715539 * updated currently: * display_name * schedule_cron_expression The update_mask should be used to
0 commit comments