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

com.google.api.services.checks.v1alpha.model.GoogleChecksReportV1alphaCheck 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.checks.v1alpha.model;

/**
 * A check that was run on your app.
 *
 * 

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 Checks 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 GoogleChecksReportV1alphaCheck extends com.google.api.client.json.GenericJson { /** * Regulations and policies that serve as the legal basis for the check. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List citations; /** * Evidence that substantiates the check result. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleChecksReportV1alphaCheckEvidence evidence; /** * Regions that are impacted by the check. For more info, see * https://google.aip.dev/143#countries-and-regions. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List regionCodes; /** * The urgency or risk level of the check. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String severity; /** * The result after running the check. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String state; /** * Additional information about the check state in relation to past reports. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleChecksReportV1alphaCheckStateMetadata stateMetadata; /** * The type of check that was run. A type will only appear once in a report's list of checks. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * Regulations and policies that serve as the legal basis for the check. * @return value or {@code null} for none */ public java.util.List getCitations() { return citations; } /** * Regulations and policies that serve as the legal basis for the check. * @param citations citations or {@code null} for none */ public GoogleChecksReportV1alphaCheck setCitations(java.util.List citations) { this.citations = citations; return this; } /** * Evidence that substantiates the check result. * @return value or {@code null} for none */ public GoogleChecksReportV1alphaCheckEvidence getEvidence() { return evidence; } /** * Evidence that substantiates the check result. * @param evidence evidence or {@code null} for none */ public GoogleChecksReportV1alphaCheck setEvidence(GoogleChecksReportV1alphaCheckEvidence evidence) { this.evidence = evidence; return this; } /** * Regions that are impacted by the check. For more info, see * https://google.aip.dev/143#countries-and-regions. * @return value or {@code null} for none */ public java.util.List getRegionCodes() { return regionCodes; } /** * Regions that are impacted by the check. For more info, see * https://google.aip.dev/143#countries-and-regions. * @param regionCodes regionCodes or {@code null} for none */ public GoogleChecksReportV1alphaCheck setRegionCodes(java.util.List regionCodes) { this.regionCodes = regionCodes; return this; } /** * The urgency or risk level of the check. * @return value or {@code null} for none */ public java.lang.String getSeverity() { return severity; } /** * The urgency or risk level of the check. * @param severity severity or {@code null} for none */ public GoogleChecksReportV1alphaCheck setSeverity(java.lang.String severity) { this.severity = severity; return this; } /** * The result after running the check. * @return value or {@code null} for none */ public java.lang.String getState() { return state; } /** * The result after running the check. * @param state state or {@code null} for none */ public GoogleChecksReportV1alphaCheck setState(java.lang.String state) { this.state = state; return this; } /** * Additional information about the check state in relation to past reports. * @return value or {@code null} for none */ public GoogleChecksReportV1alphaCheckStateMetadata getStateMetadata() { return stateMetadata; } /** * Additional information about the check state in relation to past reports. * @param stateMetadata stateMetadata or {@code null} for none */ public GoogleChecksReportV1alphaCheck setStateMetadata(GoogleChecksReportV1alphaCheckStateMetadata stateMetadata) { this.stateMetadata = stateMetadata; return this; } /** * The type of check that was run. A type will only appear once in a report's list of checks. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * The type of check that was run. A type will only appear once in a report's list of checks. * @param type type or {@code null} for none */ public GoogleChecksReportV1alphaCheck setType(java.lang.String type) { this.type = type; return this; } @Override public GoogleChecksReportV1alphaCheck set(String fieldName, Object value) { return (GoogleChecksReportV1alphaCheck) super.set(fieldName, value); } @Override public GoogleChecksReportV1alphaCheck clone() { return (GoogleChecksReportV1alphaCheck) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy