
com.google.api.services.cloudasset.v1.model.IamPolicyAnalysis 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.cloudasset.v1.model;
/**
* An analysis message to group the query and results.
*
* 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 IamPolicyAnalysis extends com.google.api.client.json.GenericJson {
/**
* The analysis query.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private IamPolicyAnalysisQuery analysisQuery;
/**
* A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is
* found.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List analysisResults;
/**
* Represents whether all entries in the analysis_results have been fully explored to answer the
* query.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean fullyExplored;
/**
* A list of non-critical errors happened during the query handling.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List nonCriticalErrors;
/**
* The analysis query.
* @return value or {@code null} for none
*/
public IamPolicyAnalysisQuery getAnalysisQuery() {
return analysisQuery;
}
/**
* The analysis query.
* @param analysisQuery analysisQuery or {@code null} for none
*/
public IamPolicyAnalysis setAnalysisQuery(IamPolicyAnalysisQuery analysisQuery) {
this.analysisQuery = analysisQuery;
return this;
}
/**
* A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is
* found.
* @return value or {@code null} for none
*/
public java.util.List getAnalysisResults() {
return analysisResults;
}
/**
* A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is
* found.
* @param analysisResults analysisResults or {@code null} for none
*/
public IamPolicyAnalysis setAnalysisResults(java.util.List analysisResults) {
this.analysisResults = analysisResults;
return this;
}
/**
* Represents whether all entries in the analysis_results have been fully explored to answer the
* query.
* @return value or {@code null} for none
*/
public java.lang.Boolean getFullyExplored() {
return fullyExplored;
}
/**
* Represents whether all entries in the analysis_results have been fully explored to answer the
* query.
* @param fullyExplored fullyExplored or {@code null} for none
*/
public IamPolicyAnalysis setFullyExplored(java.lang.Boolean fullyExplored) {
this.fullyExplored = fullyExplored;
return this;
}
/**
* A list of non-critical errors happened during the query handling.
* @return value or {@code null} for none
*/
public java.util.List getNonCriticalErrors() {
return nonCriticalErrors;
}
/**
* A list of non-critical errors happened during the query handling.
* @param nonCriticalErrors nonCriticalErrors or {@code null} for none
*/
public IamPolicyAnalysis setNonCriticalErrors(java.util.List nonCriticalErrors) {
this.nonCriticalErrors = nonCriticalErrors;
return this;
}
@Override
public IamPolicyAnalysis set(String fieldName, Object value) {
return (IamPolicyAnalysis) super.set(fieldName, value);
}
@Override
public IamPolicyAnalysis clone() {
return (IamPolicyAnalysis) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy