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

com.google.cloud.securitycenter.v1.AssetOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.62.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * 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
 *
 *     https://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.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/securitycenter/v1/asset.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.securitycenter.v1;

public interface AssetOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.Asset)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The relative resource name of this asset. See:
   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
   * Example:
   * "organizations/{organization_id}/assets/{asset_id}".
   * 
* * string name = 1; * * @return The name. */ java.lang.String getName(); /** * * *
   * The relative resource name of this asset. See:
   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
   * Example:
   * "organizations/{organization_id}/assets/{asset_id}".
   * 
* * string name = 1; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Security Command Center managed properties. These properties are managed by
   * Security Command Center and cannot be modified by the user.
   * 
* * * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; * * * @return Whether the securityCenterProperties field is set. */ boolean hasSecurityCenterProperties(); /** * * *
   * Security Command Center managed properties. These properties are managed by
   * Security Command Center and cannot be modified by the user.
   * 
* * * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; * * * @return The securityCenterProperties. */ com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties getSecurityCenterProperties(); /** * * *
   * Security Command Center managed properties. These properties are managed by
   * Security Command Center and cannot be modified by the user.
   * 
* * * .google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2; * */ com.google.cloud.securitycenter.v1.Asset.SecurityCenterPropertiesOrBuilder getSecurityCenterPropertiesOrBuilder(); /** * * *
   * Resource managed properties. These properties are managed and defined by
   * the Google Cloud resource and cannot be modified by the user.
   * 
* * map<string, .google.protobuf.Value> resource_properties = 7; */ int getResourcePropertiesCount(); /** * * *
   * Resource managed properties. These properties are managed and defined by
   * the Google Cloud resource and cannot be modified by the user.
   * 
* * map<string, .google.protobuf.Value> resource_properties = 7; */ boolean containsResourceProperties(java.lang.String key); /** Use {@link #getResourcePropertiesMap()} instead. */ @java.lang.Deprecated java.util.Map getResourceProperties(); /** * * *
   * Resource managed properties. These properties are managed and defined by
   * the Google Cloud resource and cannot be modified by the user.
   * 
* * map<string, .google.protobuf.Value> resource_properties = 7; */ java.util.Map getResourcePropertiesMap(); /** * * *
   * Resource managed properties. These properties are managed and defined by
   * the Google Cloud resource and cannot be modified by the user.
   * 
* * map<string, .google.protobuf.Value> resource_properties = 7; */ /* nullable */ com.google.protobuf.Value getResourcePropertiesOrDefault( java.lang.String key, /* nullable */ com.google.protobuf.Value defaultValue); /** * * *
   * Resource managed properties. These properties are managed and defined by
   * the Google Cloud resource and cannot be modified by the user.
   * 
* * map<string, .google.protobuf.Value> resource_properties = 7; */ com.google.protobuf.Value getResourcePropertiesOrThrow(java.lang.String key); /** * * *
   * User specified security marks. These marks are entirely managed by the user
   * and come from the SecurityMarks resource that belongs to the asset.
   * 
* * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8; * * @return Whether the securityMarks field is set. */ boolean hasSecurityMarks(); /** * * *
   * User specified security marks. These marks are entirely managed by the user
   * and come from the SecurityMarks resource that belongs to the asset.
   * 
* * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8; * * @return The securityMarks. */ com.google.cloud.securitycenter.v1.SecurityMarks getSecurityMarks(); /** * * *
   * User specified security marks. These marks are entirely managed by the user
   * and come from the SecurityMarks resource that belongs to the asset.
   * 
* * .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8; */ com.google.cloud.securitycenter.v1.SecurityMarksOrBuilder getSecurityMarksOrBuilder(); /** * * *
   * The time at which the asset was created in Security Command Center.
   * 
* * .google.protobuf.Timestamp create_time = 9; * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * * *
   * The time at which the asset was created in Security Command Center.
   * 
* * .google.protobuf.Timestamp create_time = 9; * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** * * *
   * The time at which the asset was created in Security Command Center.
   * 
* * .google.protobuf.Timestamp create_time = 9; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** * * *
   * The time at which the asset was last updated or added in Cloud SCC.
   * 
* * .google.protobuf.Timestamp update_time = 10; * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** * * *
   * The time at which the asset was last updated or added in Cloud SCC.
   * 
* * .google.protobuf.Timestamp update_time = 10; * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** * * *
   * The time at which the asset was last updated or added in Cloud SCC.
   * 
* * .google.protobuf.Timestamp update_time = 10; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** * * *
   * Cloud IAM Policy information associated with the Google Cloud resource
   * described by the Security Command Center asset. This information is managed
   * and defined by the Google Cloud resource and cannot be modified by the
   * user.
   * 
* * .google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11; * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** * * *
   * Cloud IAM Policy information associated with the Google Cloud resource
   * described by the Security Command Center asset. This information is managed
   * and defined by the Google Cloud resource and cannot be modified by the
   * user.
   * 
* * .google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11; * * @return The iamPolicy. */ com.google.cloud.securitycenter.v1.Asset.IamPolicy getIamPolicy(); /** * * *
   * Cloud IAM Policy information associated with the Google Cloud resource
   * described by the Security Command Center asset. This information is managed
   * and defined by the Google Cloud resource and cannot be modified by the
   * user.
   * 
* * .google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11; */ com.google.cloud.securitycenter.v1.Asset.IamPolicyOrBuilder getIamPolicyOrBuilder(); /** * * *
   * The canonical name of the resource. It's either
   * "organizations/{organization_id}/assets/{asset_id}",
   * "folders/{folder_id}/assets/{asset_id}" or
   * "projects/{project_number}/assets/{asset_id}", depending on the closest CRM
   * ancestor of the resource.
   * 
* * string canonical_name = 13; * * @return The canonicalName. */ java.lang.String getCanonicalName(); /** * * *
   * The canonical name of the resource. It's either
   * "organizations/{organization_id}/assets/{asset_id}",
   * "folders/{folder_id}/assets/{asset_id}" or
   * "projects/{project_number}/assets/{asset_id}", depending on the closest CRM
   * ancestor of the resource.
   * 
* * string canonical_name = 13; * * @return The bytes for canonicalName. */ com.google.protobuf.ByteString getCanonicalNameBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy