Interface Asset.SecurityCenterPropertiesOrBuilder

    • Method Detail

      • getResourceName

        String getResourceName()
         Immutable. The full resource name of the Google Cloud resource this asset
         represents. This field is immutable after create time. See:
         https://cloud.google.com/apis/design/resource_names#full_resource_name
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The resourceName.
      • getResourceNameBytes

        com.google.protobuf.ByteString getResourceNameBytes()
         Immutable. The full resource name of the Google Cloud resource this asset
         represents. This field is immutable after create time. See:
         https://cloud.google.com/apis/design/resource_names#full_resource_name
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The bytes for resourceName.
      • getResourceType

        String getResourceType()
         The type of the Google Cloud resource. Examples include: APPLICATION,
         PROJECT, and ORGANIZATION. This is a case insensitive field defined by
         Security Command Center and/or the producer of the resource and is
         immutable after create time.
         
        string resource_type = 2;
        Returns:
        The resourceType.
      • getResourceTypeBytes

        com.google.protobuf.ByteString getResourceTypeBytes()
         The type of the Google Cloud resource. Examples include: APPLICATION,
         PROJECT, and ORGANIZATION. This is a case insensitive field defined by
         Security Command Center and/or the producer of the resource and is
         immutable after create time.
         
        string resource_type = 2;
        Returns:
        The bytes for resourceType.
      • getResourceParent

        String getResourceParent()
         The full resource name of the immediate parent of the resource. See:
         https://cloud.google.com/apis/design/resource_names#full_resource_name
         
        string resource_parent = 3;
        Returns:
        The resourceParent.
      • getResourceParentBytes

        com.google.protobuf.ByteString getResourceParentBytes()
         The full resource name of the immediate parent of the resource. See:
         https://cloud.google.com/apis/design/resource_names#full_resource_name
         
        string resource_parent = 3;
        Returns:
        The bytes for resourceParent.
      • getResourceProject

        String getResourceProject()
         The full resource name of the project the resource belongs to. See:
         https://cloud.google.com/apis/design/resource_names#full_resource_name
         
        string resource_project = 4;
        Returns:
        The resourceProject.
      • getResourceProjectBytes

        com.google.protobuf.ByteString getResourceProjectBytes()
         The full resource name of the project the resource belongs to. See:
         https://cloud.google.com/apis/design/resource_names#full_resource_name
         
        string resource_project = 4;
        Returns:
        The bytes for resourceProject.
      • getResourceOwnersList

        List<String> getResourceOwnersList()
         Owners of the Google Cloud resource.
         
        repeated string resource_owners = 5;
        Returns:
        A list containing the resourceOwners.
      • getResourceOwnersCount

        int getResourceOwnersCount()
         Owners of the Google Cloud resource.
         
        repeated string resource_owners = 5;
        Returns:
        The count of resourceOwners.
      • getResourceOwners

        String getResourceOwners​(int index)
         Owners of the Google Cloud resource.
         
        repeated string resource_owners = 5;
        Parameters:
        index - The index of the element to return.
        Returns:
        The resourceOwners at the given index.
      • getResourceOwnersBytes

        com.google.protobuf.ByteString getResourceOwnersBytes​(int index)
         Owners of the Google Cloud resource.
         
        repeated string resource_owners = 5;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the resourceOwners at the given index.