com.google.api.services.run.v1.model.ContainerOverride Maven / Gradle / Ivy
/*
* 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.v1.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 ContainerOverride extends com.google.api.client.json.GenericJson {
/**
* Arguments to the entrypoint. The specified arguments replace and override any existing
* entrypoint arguments. Must be empty if `clear_args` is set to true.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List args;
/**
* Optional. Set to True to clear all existing arguments.
* 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. All specified environment variables are
* merged with existing environment variables. When the specified environment variables exist,
* these values override any existing values.
* 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;
/**
* Arguments to the entrypoint. The specified arguments replace and override any existing
* entrypoint arguments. Must be empty if `clear_args` is set to true.
* @return value or {@code null} for none
*/
public java.util.List getArgs() {
return args;
}
/**
* Arguments to the entrypoint. The specified arguments replace and override any existing
* entrypoint arguments. Must be empty if `clear_args` is set to true.
* @param args args or {@code null} for none
*/
public ContainerOverride setArgs(java.util.List args) {
this.args = args;
return this;
}
/**
* Optional. Set to True to clear all existing arguments.
* @return value or {@code null} for none
*/
public java.lang.Boolean getClearArgs() {
return clearArgs;
}
/**
* Optional. Set to True to clear all existing arguments.
* @param clearArgs clearArgs or {@code null} for none
*/
public ContainerOverride setClearArgs(java.lang.Boolean clearArgs) {
this.clearArgs = clearArgs;
return this;
}
/**
* List of environment variables to set in the container. All specified environment variables are
* merged with existing environment variables. When the specified environment variables exist,
* these values override any existing values.
* @return value or {@code null} for none
*/
public java.util.List getEnv() {
return env;
}
/**
* List of environment variables to set in the container. All specified environment variables are
* merged with existing environment variables. When the specified environment variables exist,
* these values override any existing values.
* @param env env or {@code null} for none
*/
public ContainerOverride 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 ContainerOverride setName(java.lang.String name) {
this.name = name;
return this;
}
@Override
public ContainerOverride set(String fieldName, Object value) {
return (ContainerOverride) super.set(fieldName, value);
}
@Override
public ContainerOverride clone() {
return (ContainerOverride) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy