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

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

/**
 * The Google Cloud resources governed by the organization policies of the
 * AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
 *
 * 

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 GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource extends com.google.api.client.json.GenericJson { /** * The asset type of the * AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name Example: * `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset Inventory Supported Asset * Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for all supported * asset types. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String assetType; /** * The effective tags on this resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List effectiveTags; static { // hack to force ProGuard to consider EffectiveTagDetails 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(EffectiveTagDetails.class); } /** * The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This * field is available when the resource belongs (directly or cascadingly) to one or more folders. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List folders; /** * The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) * of the Google Cloud resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String fullResourceName; /** * The organization that this resource belongs to, in the format of * organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs * (directly or cascadingly) to an organization. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String organization; /** * The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) * of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String parent; /** * The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This * field is available when the resource belongs to a project. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String project; /** * The asset type of the * AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name Example: * `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset Inventory Supported Asset * Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for all supported * asset types. * @return value or {@code null} for none */ public java.lang.String getAssetType() { return assetType; } /** * The asset type of the * AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name Example: * `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset Inventory Supported Asset * Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for all supported * asset types. * @param assetType assetType or {@code null} for none */ public GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource setAssetType(java.lang.String assetType) { this.assetType = assetType; return this; } /** * The effective tags on this resource. * @return value or {@code null} for none */ public java.util.List getEffectiveTags() { return effectiveTags; } /** * The effective tags on this resource. * @param effectiveTags effectiveTags or {@code null} for none */ public GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource setEffectiveTags(java.util.List effectiveTags) { this.effectiveTags = effectiveTags; return this; } /** * The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This * field is available when the resource belongs (directly or cascadingly) to one or more folders. * @return value or {@code null} for none */ public java.util.List getFolders() { return folders; } /** * The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This * field is available when the resource belongs (directly or cascadingly) to one or more folders. * @param folders folders or {@code null} for none */ public GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource setFolders(java.util.List folders) { this.folders = folders; return this; } /** * The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) * of the Google Cloud resource. * @return value or {@code null} for none */ public java.lang.String getFullResourceName() { return fullResourceName; } /** * The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) * of the Google Cloud resource. * @param fullResourceName fullResourceName or {@code null} for none */ public GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource setFullResourceName(java.lang.String fullResourceName) { this.fullResourceName = fullResourceName; return this; } /** * The organization that this resource belongs to, in the format of * organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs * (directly or cascadingly) to an organization. * @return value or {@code null} for none */ public java.lang.String getOrganization() { return organization; } /** * The organization that this resource belongs to, in the format of * organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs * (directly or cascadingly) to an organization. * @param organization organization or {@code null} for none */ public GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource setOrganization(java.lang.String organization) { this.organization = organization; return this; } /** * The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) * of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name. * @return value or {@code null} for none */ public java.lang.String getParent() { return parent; } /** * The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) * of the parent of AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name. * @param parent parent or {@code null} for none */ public GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource setParent(java.lang.String parent) { this.parent = parent; return this; } /** * The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This * field is available when the resource belongs to a project. * @return value or {@code null} for none */ public java.lang.String getProject() { return project; } /** * The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This * field is available when the resource belongs to a project. * @param project project or {@code null} for none */ public GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource setProject(java.lang.String project) { this.project = project; return this; } @Override public GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource set(String fieldName, Object value) { return (GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource) super.set(fieldName, value); } @Override public GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource clone() { return (GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy