@@ -7769,6 +7769,158 @@ public Patch set(String parameterName, Object value) {
77697769 return (Patch) super.set(parameterName, value);
77707770 }
77717771 }
7772+ /**
7773+ * Accelerates the deletion of a private cloud that is currently in soft deletion A `PrivateCloud`
7774+ * resource in soft deletion has `PrivateCloud.state` set to `SOFT_DELETED` and
7775+ * `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.
7776+ *
7777+ * Create a request for the method "privateClouds.privateCloudDeletionNow".
7778+ *
7779+ * This request holds the parameters needed by the vmwareengine server. After setting any optional
7780+ * parameters, call the {@link PrivateCloudDeletionNow#execute()} method to invoke the remote
7781+ * operation.
7782+ *
7783+ * @param name Required. The resource name of the private cloud in softdeletion. Resource names are schemeless URIs
7784+ * that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
7785+ * example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
7786+ * @param content the {@link com.google.api.services.vmwareengine.v1.model.AcceleratePrivateCloudDeletionRequest}
7787+ * @return the request
7788+ */
7789+ public PrivateCloudDeletionNow privateCloudDeletionNow(java.lang.String name, com.google.api.services.vmwareengine.v1.model.AcceleratePrivateCloudDeletionRequest content) throws java.io.IOException {
7790+ PrivateCloudDeletionNow result = new PrivateCloudDeletionNow(name, content);
7791+ initialize(result);
7792+ return result;
7793+ }
7794+
7795+ public class PrivateCloudDeletionNow extends VMwareEngineRequest<com.google.api.services.vmwareengine.v1.model.Operation> {
7796+
7797+ private static final String REST_PATH = "v1/{+name}:privateCloudDeletionNow";
7798+
7799+ private final java.util.regex.Pattern NAME_PATTERN =
7800+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$");
7801+
7802+ /**
7803+ * Accelerates the deletion of a private cloud that is currently in soft deletion A `PrivateCloud`
7804+ * resource in soft deletion has `PrivateCloud.state` set to `SOFT_DELETED` and
7805+ * `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.
7806+ *
7807+ * Create a request for the method "privateClouds.privateCloudDeletionNow".
7808+ *
7809+ * This request holds the parameters needed by the the vmwareengine server. After setting any
7810+ * optional parameters, call the {@link PrivateCloudDeletionNow#execute()} method to invoke the
7811+ * remote operation. <p> {@link PrivateCloudDeletionNow#initialize(com.google.api.client.googleapi
7812+ * s.services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
7813+ * after invoking the constructor. </p>
7814+ *
7815+ * @param name Required. The resource name of the private cloud in softdeletion. Resource names are schemeless URIs
7816+ * that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
7817+ * example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
7818+ * @param content the {@link com.google.api.services.vmwareengine.v1.model.AcceleratePrivateCloudDeletionRequest}
7819+ * @since 1.13
7820+ */
7821+ protected PrivateCloudDeletionNow(java.lang.String name, com.google.api.services.vmwareengine.v1.model.AcceleratePrivateCloudDeletionRequest content) {
7822+ super(VMwareEngine.this, "POST", REST_PATH, content, com.google.api.services.vmwareengine.v1.model.Operation.class);
7823+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
7824+ if (!getSuppressPatternChecks()) {
7825+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
7826+ "Parameter name must conform to the pattern " +
7827+ "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$");
7828+ }
7829+ }
7830+
7831+ @Override
7832+ public PrivateCloudDeletionNow set$Xgafv(java.lang.String $Xgafv) {
7833+ return (PrivateCloudDeletionNow) super.set$Xgafv($Xgafv);
7834+ }
7835+
7836+ @Override
7837+ public PrivateCloudDeletionNow setAccessToken(java.lang.String accessToken) {
7838+ return (PrivateCloudDeletionNow) super.setAccessToken(accessToken);
7839+ }
7840+
7841+ @Override
7842+ public PrivateCloudDeletionNow setAlt(java.lang.String alt) {
7843+ return (PrivateCloudDeletionNow) super.setAlt(alt);
7844+ }
7845+
7846+ @Override
7847+ public PrivateCloudDeletionNow setCallback(java.lang.String callback) {
7848+ return (PrivateCloudDeletionNow) super.setCallback(callback);
7849+ }
7850+
7851+ @Override
7852+ public PrivateCloudDeletionNow setFields(java.lang.String fields) {
7853+ return (PrivateCloudDeletionNow) super.setFields(fields);
7854+ }
7855+
7856+ @Override
7857+ public PrivateCloudDeletionNow setKey(java.lang.String key) {
7858+ return (PrivateCloudDeletionNow) super.setKey(key);
7859+ }
7860+
7861+ @Override
7862+ public PrivateCloudDeletionNow setOauthToken(java.lang.String oauthToken) {
7863+ return (PrivateCloudDeletionNow) super.setOauthToken(oauthToken);
7864+ }
7865+
7866+ @Override
7867+ public PrivateCloudDeletionNow setPrettyPrint(java.lang.Boolean prettyPrint) {
7868+ return (PrivateCloudDeletionNow) super.setPrettyPrint(prettyPrint);
7869+ }
7870+
7871+ @Override
7872+ public PrivateCloudDeletionNow setQuotaUser(java.lang.String quotaUser) {
7873+ return (PrivateCloudDeletionNow) super.setQuotaUser(quotaUser);
7874+ }
7875+
7876+ @Override
7877+ public PrivateCloudDeletionNow setUploadType(java.lang.String uploadType) {
7878+ return (PrivateCloudDeletionNow) super.setUploadType(uploadType);
7879+ }
7880+
7881+ @Override
7882+ public PrivateCloudDeletionNow setUploadProtocol(java.lang.String uploadProtocol) {
7883+ return (PrivateCloudDeletionNow) super.setUploadProtocol(uploadProtocol);
7884+ }
7885+
7886+ /**
7887+ * Required. The resource name of the private cloud in softdeletion. Resource names are
7888+ * schemeless URIs that follow the conventions in
7889+ * https://cloud.google.com/apis/design/resource_names. For example: `projects/my-
7890+ * project/locations/us-central1-a/privateClouds/my-cloud`
7891+ */
7892+ @com.google.api.client.util.Key
7893+ private java.lang.String name;
7894+
7895+ /** Required. The resource name of the private cloud in softdeletion. Resource names are schemeless
7896+ URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For
7897+ example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
7898+ */
7899+ public java.lang.String getName() {
7900+ return name;
7901+ }
7902+
7903+ /**
7904+ * Required. The resource name of the private cloud in softdeletion. Resource names are
7905+ * schemeless URIs that follow the conventions in
7906+ * https://cloud.google.com/apis/design/resource_names. For example: `projects/my-
7907+ * project/locations/us-central1-a/privateClouds/my-cloud`
7908+ */
7909+ public PrivateCloudDeletionNow setName(java.lang.String name) {
7910+ if (!getSuppressPatternChecks()) {
7911+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
7912+ "Parameter name must conform to the pattern " +
7913+ "^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+$");
7914+ }
7915+ this.name = name;
7916+ return this;
7917+ }
7918+
7919+ @Override
7920+ public PrivateCloudDeletionNow set(String parameterName, Object value) {
7921+ return (PrivateCloudDeletionNow) super.set(parameterName, value);
7922+ }
7923+ }
77727924 /**
77737925 * Resets credentials of the NSX appliance.
77747926 *
0 commit comments