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

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

/**
 * IAM Policy analysis result, consisting of one IAM policy binding and derived access control
 * lists.
 *
 * 

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 IamPolicyAnalysisResult extends com.google.api.client.json.GenericJson { /** * The access control lists derived from the iam_binding that match or potentially match resource * and access selectors specified in the request. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List accessControlLists; static { // hack to force ProGuard to consider GoogleCloudAssetV1AccessControlList used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(GoogleCloudAssetV1AccessControlList.class); } /** * The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of * the resource to which the iam_binding policy attaches. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String attachedResourceFullName; /** * Represents whether all analyses on the iam_binding have successfully finished. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean fullyExplored; /** * The IAM policy binding under analysis. * The value may be {@code null}. */ @com.google.api.client.util.Key private Binding iamBinding; /** * The identity list derived from members of the iam_binding that match or potentially match * identity selector specified in the request. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleCloudAssetV1IdentityList identityList; /** * The access control lists derived from the iam_binding that match or potentially match resource * and access selectors specified in the request. * @return value or {@code null} for none */ public java.util.List getAccessControlLists() { return accessControlLists; } /** * The access control lists derived from the iam_binding that match or potentially match resource * and access selectors specified in the request. * @param accessControlLists accessControlLists or {@code null} for none */ public IamPolicyAnalysisResult setAccessControlLists(java.util.List accessControlLists) { this.accessControlLists = accessControlLists; return this; } /** * The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of * the resource to which the iam_binding policy attaches. * @return value or {@code null} for none */ public java.lang.String getAttachedResourceFullName() { return attachedResourceFullName; } /** * The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of * the resource to which the iam_binding policy attaches. * @param attachedResourceFullName attachedResourceFullName or {@code null} for none */ public IamPolicyAnalysisResult setAttachedResourceFullName(java.lang.String attachedResourceFullName) { this.attachedResourceFullName = attachedResourceFullName; return this; } /** * Represents whether all analyses on the iam_binding have successfully finished. * @return value or {@code null} for none */ public java.lang.Boolean getFullyExplored() { return fullyExplored; } /** * Represents whether all analyses on the iam_binding have successfully finished. * @param fullyExplored fullyExplored or {@code null} for none */ public IamPolicyAnalysisResult setFullyExplored(java.lang.Boolean fullyExplored) { this.fullyExplored = fullyExplored; return this; } /** * The IAM policy binding under analysis. * @return value or {@code null} for none */ public Binding getIamBinding() { return iamBinding; } /** * The IAM policy binding under analysis. * @param iamBinding iamBinding or {@code null} for none */ public IamPolicyAnalysisResult setIamBinding(Binding iamBinding) { this.iamBinding = iamBinding; return this; } /** * The identity list derived from members of the iam_binding that match or potentially match * identity selector specified in the request. * @return value or {@code null} for none */ public GoogleCloudAssetV1IdentityList getIdentityList() { return identityList; } /** * The identity list derived from members of the iam_binding that match or potentially match * identity selector specified in the request. * @param identityList identityList or {@code null} for none */ public IamPolicyAnalysisResult setIdentityList(GoogleCloudAssetV1IdentityList identityList) { this.identityList = identityList; return this; } @Override public IamPolicyAnalysisResult set(String fieldName, Object value) { return (IamPolicyAnalysisResult) super.set(fieldName, value); } @Override public IamPolicyAnalysisResult clone() { return (IamPolicyAnalysisResult) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy