com.google.api.services.cloudasset.v1.model.AnalyzeIamPolicyResponse 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;
/**
* A response message for AssetService.AnalyzeIamPolicy.
*
* 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 AnalyzeIamPolicyResponse extends com.google.api.client.json.GenericJson {
/**
* Represents whether all entries in the main_analysis and service_account_impersonation_analysis
* have been fully explored to answer the query in the request.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean fullyExplored;
/**
* The main analysis that matches the original request.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private IamPolicyAnalysis mainAnalysis;
/**
* The service account impersonation analysis if
* IamPolicyAnalysisQuery.Options.analyze_service_account_impersonation is enabled.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List serviceAccountImpersonationAnalysis;
/**
* Represents whether all entries in the main_analysis and service_account_impersonation_analysis
* have been fully explored to answer the query in the request.
* @return value or {@code null} for none
*/
public java.lang.Boolean getFullyExplored() {
return fullyExplored;
}
/**
* Represents whether all entries in the main_analysis and service_account_impersonation_analysis
* have been fully explored to answer the query in the request.
* @param fullyExplored fullyExplored or {@code null} for none
*/
public AnalyzeIamPolicyResponse setFullyExplored(java.lang.Boolean fullyExplored) {
this.fullyExplored = fullyExplored;
return this;
}
/**
* The main analysis that matches the original request.
* @return value or {@code null} for none
*/
public IamPolicyAnalysis getMainAnalysis() {
return mainAnalysis;
}
/**
* The main analysis that matches the original request.
* @param mainAnalysis mainAnalysis or {@code null} for none
*/
public AnalyzeIamPolicyResponse setMainAnalysis(IamPolicyAnalysis mainAnalysis) {
this.mainAnalysis = mainAnalysis;
return this;
}
/**
* The service account impersonation analysis if
* IamPolicyAnalysisQuery.Options.analyze_service_account_impersonation is enabled.
* @return value or {@code null} for none
*/
public java.util.List getServiceAccountImpersonationAnalysis() {
return serviceAccountImpersonationAnalysis;
}
/**
* The service account impersonation analysis if
* IamPolicyAnalysisQuery.Options.analyze_service_account_impersonation is enabled.
* @param serviceAccountImpersonationAnalysis serviceAccountImpersonationAnalysis or {@code null} for none
*/
public AnalyzeIamPolicyResponse setServiceAccountImpersonationAnalysis(java.util.List serviceAccountImpersonationAnalysis) {
this.serviceAccountImpersonationAnalysis = serviceAccountImpersonationAnalysis;
return this;
}
@Override
public AnalyzeIamPolicyResponse set(String fieldName, Object value) {
return (AnalyzeIamPolicyResponse) super.set(fieldName, value);
}
@Override
public AnalyzeIamPolicyResponse clone() {
return (AnalyzeIamPolicyResponse) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy