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

com.google.api.services.cloudasset.v1.model.IamPolicyAnalysisState Maven / Gradle / Ivy

The 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.cloudasset.v1.model;

/**
 * Represents the detailed state of an entity under analysis, such as a resource, an identity or an
 * access.
 *
 * 

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 Asset 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 IamPolicyAnalysisState extends com.google.api.client.json.GenericJson { /** * The human-readable description of the cause of failure. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String cause; /** * The Google standard error code that best describes the state. For example: - OK means the * analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access * denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been * started in time; * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String code; /** * The human-readable description of the cause of failure. * @return value or {@code null} for none */ public java.lang.String getCause() { return cause; } /** * The human-readable description of the cause of failure. * @param cause cause or {@code null} for none */ public IamPolicyAnalysisState setCause(java.lang.String cause) { this.cause = cause; return this; } /** * The Google standard error code that best describes the state. For example: - OK means the * analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access * denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been * started in time; * @return value or {@code null} for none */ public java.lang.String getCode() { return code; } /** * The Google standard error code that best describes the state. For example: - OK means the * analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access * denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been * started in time; * @param code code or {@code null} for none */ public IamPolicyAnalysisState setCode(java.lang.String code) { this.code = code; return this; } @Override public IamPolicyAnalysisState set(String fieldName, Object value) { return (IamPolicyAnalysisState) super.set(fieldName, value); } @Override public IamPolicyAnalysisState clone() { return (IamPolicyAnalysisState) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy