com.google.api.services.run.v2.model.GoogleCloudRunV2RunJobRequest 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.v2.model;
/**
* Request message to create a new Execution of a Job.
*
* 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 GoogleCloudRunV2RunJobRequest extends com.google.api.client.json.GenericJson {
/**
* A system-generated fingerprint for this version of the resource. May be used to detect
* modification conflict during updates.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String etag;
/**
* Overrides specification for a given execution of a job. If provided, overrides will be applied
* to update the execution or task spec.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudRunV2Overrides overrides;
/**
* Indicates that the request should be validated without actually deleting any resources.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean validateOnly;
/**
* A system-generated fingerprint for this version of the resource. May be used to detect
* modification conflict during updates.
* @return value or {@code null} for none
*/
public java.lang.String getEtag() {
return etag;
}
/**
* A system-generated fingerprint for this version of the resource. May be used to detect
* modification conflict during updates.
* @param etag etag or {@code null} for none
*/
public GoogleCloudRunV2RunJobRequest setEtag(java.lang.String etag) {
this.etag = etag;
return this;
}
/**
* Overrides specification for a given execution of a job. If provided, overrides will be applied
* to update the execution or task spec.
* @return value or {@code null} for none
*/
public GoogleCloudRunV2Overrides getOverrides() {
return overrides;
}
/**
* Overrides specification for a given execution of a job. If provided, overrides will be applied
* to update the execution or task spec.
* @param overrides overrides or {@code null} for none
*/
public GoogleCloudRunV2RunJobRequest setOverrides(GoogleCloudRunV2Overrides overrides) {
this.overrides = overrides;
return this;
}
/**
* Indicates that the request should be validated without actually deleting any resources.
* @return value or {@code null} for none
*/
public java.lang.Boolean getValidateOnly() {
return validateOnly;
}
/**
* Indicates that the request should be validated without actually deleting any resources.
* @param validateOnly validateOnly or {@code null} for none
*/
public GoogleCloudRunV2RunJobRequest setValidateOnly(java.lang.Boolean validateOnly) {
this.validateOnly = validateOnly;
return this;
}
@Override
public GoogleCloudRunV2RunJobRequest set(String fieldName, Object value) {
return (GoogleCloudRunV2RunJobRequest) super.set(fieldName, value);
}
@Override
public GoogleCloudRunV2RunJobRequest clone() {
return (GoogleCloudRunV2RunJobRequest) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy