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

com.google.api.services.run.v1.model.GoogleCloudRunV1Condition 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.v1.model;

/**
 * Conditions show the status of reconciliation progress on a given resource. Most resource use a
 * top-level condition type "Ready" or "Completed" to show overall status with other conditions to
 * checkpoint each stage of reconciliation. Note that if metadata.Generation does not equal
 * status.ObservedGeneration, the conditions shown may not be relevant for the current spec.
 *
 * 

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 GoogleCloudRunV1Condition extends com.google.api.client.json.GenericJson { /** * Optional. Last time the condition transitioned from one status to another. * The value may be {@code null}. */ @com.google.api.client.util.Key private String lastTransitionTime; /** * Optional. Human readable message indicating details about the current status. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String message; /** * Optional. One-word CamelCase reason for the condition's last transition. These are intended to * be stable, unique values which the client may use to trigger error handling logic, whereas * messages which may be changed later by the server. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String reason; /** * Optional. How to interpret this condition. One of Error, Warning, or Info. Conditions of * severity Info do not contribute to resource readiness. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String severity; /** * Status of the condition, one of True, False, Unknown. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String status; /** * type is used to communicate the status of the reconciliation process. Types common to all * resources include: * "Ready" or "Completed": True when the Resource is ready. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * Optional. Last time the condition transitioned from one status to another. * @return value or {@code null} for none */ public String getLastTransitionTime() { return lastTransitionTime; } /** * Optional. Last time the condition transitioned from one status to another. * @param lastTransitionTime lastTransitionTime or {@code null} for none */ public GoogleCloudRunV1Condition setLastTransitionTime(String lastTransitionTime) { this.lastTransitionTime = lastTransitionTime; return this; } /** * Optional. Human readable message indicating details about the current status. * @return value or {@code null} for none */ public java.lang.String getMessage() { return message; } /** * Optional. Human readable message indicating details about the current status. * @param message message or {@code null} for none */ public GoogleCloudRunV1Condition setMessage(java.lang.String message) { this.message = message; return this; } /** * Optional. One-word CamelCase reason for the condition's last transition. These are intended to * be stable, unique values which the client may use to trigger error handling logic, whereas * messages which may be changed later by the server. * @return value or {@code null} for none */ public java.lang.String getReason() { return reason; } /** * Optional. One-word CamelCase reason for the condition's last transition. These are intended to * be stable, unique values which the client may use to trigger error handling logic, whereas * messages which may be changed later by the server. * @param reason reason or {@code null} for none */ public GoogleCloudRunV1Condition setReason(java.lang.String reason) { this.reason = reason; return this; } /** * Optional. How to interpret this condition. One of Error, Warning, or Info. Conditions of * severity Info do not contribute to resource readiness. * @return value or {@code null} for none */ public java.lang.String getSeverity() { return severity; } /** * Optional. How to interpret this condition. One of Error, Warning, or Info. Conditions of * severity Info do not contribute to resource readiness. * @param severity severity or {@code null} for none */ public GoogleCloudRunV1Condition setSeverity(java.lang.String severity) { this.severity = severity; return this; } /** * Status of the condition, one of True, False, Unknown. * @return value or {@code null} for none */ public java.lang.String getStatus() { return status; } /** * Status of the condition, one of True, False, Unknown. * @param status status or {@code null} for none */ public GoogleCloudRunV1Condition setStatus(java.lang.String status) { this.status = status; return this; } /** * type is used to communicate the status of the reconciliation process. Types common to all * resources include: * "Ready" or "Completed": True when the Resource is ready. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * type is used to communicate the status of the reconciliation process. Types common to all * resources include: * "Ready" or "Completed": True when the Resource is ready. * @param type type or {@code null} for none */ public GoogleCloudRunV1Condition setType(java.lang.String type) { this.type = type; return this; } @Override public GoogleCloudRunV1Condition set(String fieldName, Object value) { return (GoogleCloudRunV1Condition) super.set(fieldName, value); } @Override public GoogleCloudRunV1Condition clone() { return (GoogleCloudRunV1Condition) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy