All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.deploymentmanager.model.DeploymentUpdate Maven / Gradle / Ivy

There is a newer version: v2-rev20250102-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.deploymentmanager.model;

/**
 * Model definition for DeploymentUpdate.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud Deployment Manager V2 API. For a detailed * explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class DeploymentUpdate extends com.google.api.client.json.GenericJson { /** * Output only. An optional user-provided description of the deployment after the current update * has been applied. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * Map of One Platform labels; provided by the client when the resource is created or updated. * Specifically: Label keys must be between 1 and 63 characters long and must conform to the * following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and * 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List labels; /** * Output only. URL of the manifest representing the update configuration of this deployment. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String manifest; /** * Output only. An optional user-provided description of the deployment after the current update * has been applied. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * Output only. An optional user-provided description of the deployment after the current update * has been applied. * @param description description or {@code null} for none */ public DeploymentUpdate setDescription(java.lang.String description) { this.description = description; return this; } /** * Map of One Platform labels; provided by the client when the resource is created or updated. * Specifically: Label keys must be between 1 and 63 characters long and must conform to the * following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and * 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * @return value or {@code null} for none */ public java.util.List getLabels() { return labels; } /** * Map of One Platform labels; provided by the client when the resource is created or updated. * Specifically: Label keys must be between 1 and 63 characters long and must conform to the * following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?` Label values must be between 0 and * 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * @param labels labels or {@code null} for none */ public DeploymentUpdate setLabels(java.util.List labels) { this.labels = labels; return this; } /** * Output only. URL of the manifest representing the update configuration of this deployment. * @return value or {@code null} for none */ public java.lang.String getManifest() { return manifest; } /** * Output only. URL of the manifest representing the update configuration of this deployment. * @param manifest manifest or {@code null} for none */ public DeploymentUpdate setManifest(java.lang.String manifest) { this.manifest = manifest; return this; } @Override public DeploymentUpdate set(String fieldName, Object value) { return (DeploymentUpdate) super.set(fieldName, value); } @Override public DeploymentUpdate clone() { return (DeploymentUpdate) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy