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

com.google.api.services.run.v2.model.GoogleCloudRunV2ContainerOverride Maven / Gradle / Ivy

There is a newer version: v2-rev20241213-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.run.v2.model;

/**
 * Per-container override specification.
 *
 * 

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 Run Admin 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 GoogleCloudRunV2ContainerOverride extends com.google.api.client.json.GenericJson { /** * Optional. Arguments to the entrypoint. Will replace existing args for override. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List args; /** * Optional. True if the intention is to clear out existing args list. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean clearArgs; /** * List of environment variables to set in the container. Will be merged with existing env for * override. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List env; /** * The name of the container specified as a DNS_LABEL. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Optional. Arguments to the entrypoint. Will replace existing args for override. * @return value or {@code null} for none */ public java.util.List getArgs() { return args; } /** * Optional. Arguments to the entrypoint. Will replace existing args for override. * @param args args or {@code null} for none */ public GoogleCloudRunV2ContainerOverride setArgs(java.util.List args) { this.args = args; return this; } /** * Optional. True if the intention is to clear out existing args list. * @return value or {@code null} for none */ public java.lang.Boolean getClearArgs() { return clearArgs; } /** * Optional. True if the intention is to clear out existing args list. * @param clearArgs clearArgs or {@code null} for none */ public GoogleCloudRunV2ContainerOverride setClearArgs(java.lang.Boolean clearArgs) { this.clearArgs = clearArgs; return this; } /** * List of environment variables to set in the container. Will be merged with existing env for * override. * @return value or {@code null} for none */ public java.util.List getEnv() { return env; } /** * List of environment variables to set in the container. Will be merged with existing env for * override. * @param env env or {@code null} for none */ public GoogleCloudRunV2ContainerOverride setEnv(java.util.List env) { this.env = env; return this; } /** * The name of the container specified as a DNS_LABEL. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * The name of the container specified as a DNS_LABEL. * @param name name or {@code null} for none */ public GoogleCloudRunV2ContainerOverride setName(java.lang.String name) { this.name = name; return this; } @Override public GoogleCloudRunV2ContainerOverride set(String fieldName, Object value) { return (GoogleCloudRunV2ContainerOverride) super.set(fieldName, value); } @Override public GoogleCloudRunV2ContainerOverride clone() { return (GoogleCloudRunV2ContainerOverride) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy