Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::FileStoreDataProfile (v1.1.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::FileStoreDataProfile.

The profile for a file store.

  • Cloud Storage: maps 1:1 with a bucket.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#config_snapshot

def config_snapshot() -> ::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot
Returns

#config_snapshot=

def config_snapshot=(value) -> ::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#data_risk_level

def data_risk_level() -> ::Google::Cloud::Dlp::V2::DataRiskLevel
Returns

#data_risk_level=

def data_risk_level=(value) -> ::Google::Cloud::Dlp::V2::DataRiskLevel
Parameter
Returns

#data_source_type

def data_source_type() -> ::Google::Cloud::Dlp::V2::DataSourceType
Returns

#data_source_type=

def data_source_type=(value) -> ::Google::Cloud::Dlp::V2::DataSourceType
Parameter
Returns

#data_storage_locations

def data_storage_locations() -> ::Array<::String>
Returns
  • (::Array<::String>) — For resources that have multiple storage locations, these are those regions. For Cloud Storage this is the list of regions chosen for dual-region storage. file_store_location will normally be the corresponding multi-region for the list of individual locations. The first region is always picked as the processing and storage location for the data profile.

#data_storage_locations=

def data_storage_locations=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — For resources that have multiple storage locations, these are those regions. For Cloud Storage this is the list of regions chosen for dual-region storage. file_store_location will normally be the corresponding multi-region for the list of individual locations. The first region is always picked as the processing and storage location for the data profile.
Returns
  • (::Array<::String>) — For resources that have multiple storage locations, these are those regions. For Cloud Storage this is the list of regions chosen for dual-region storage. file_store_location will normally be the corresponding multi-region for the list of individual locations. The first region is always picked as the processing and storage location for the data profile.

#file_cluster_summaries

def file_cluster_summaries() -> ::Array<::Google::Cloud::Dlp::V2::FileClusterSummary>
Returns

#file_cluster_summaries=

def file_cluster_summaries=(value) -> ::Array<::Google::Cloud::Dlp::V2::FileClusterSummary>
Parameter
Returns

#file_store_info_type_summaries

def file_store_info_type_summaries() -> ::Array<::Google::Cloud::Dlp::V2::FileStoreInfoTypeSummary>
Returns

#file_store_info_type_summaries=

def file_store_info_type_summaries=(value) -> ::Array<::Google::Cloud::Dlp::V2::FileStoreInfoTypeSummary>
Parameter
Returns

#file_store_is_empty

def file_store_is_empty() -> ::Boolean
Returns
  • (::Boolean) — The file store does not have any files.

#file_store_is_empty=

def file_store_is_empty=(value) -> ::Boolean
Parameter
  • value (::Boolean) — The file store does not have any files.
Returns
  • (::Boolean) — The file store does not have any files.

#file_store_location

def file_store_location() -> ::String
Returns
  • (::String) —

    The location of the file store.

    • Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations

#file_store_location=

def file_store_location=(value) -> ::String
Parameter
  • value (::String) —

    The location of the file store.

    • Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations
Returns
  • (::String) —

    The location of the file store.

    • Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations

#file_store_path

def file_store_path() -> ::String
Returns
  • (::String) —

    The file store path.

    • Cloud Storage: gs://{bucket}

#file_store_path=

def file_store_path=(value) -> ::String
Parameter
  • value (::String) —

    The file store path.

    • Cloud Storage: gs://{bucket}
Returns
  • (::String) —

    The file store path.

    • Cloud Storage: gs://{bucket}

#full_resource

def full_resource() -> ::String
Returns
  • (::String) — The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name

#full_resource=

def full_resource=(value) -> ::String
Parameter
  • value (::String) — The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name
Returns
  • (::String) — The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name

#last_modified_time

def last_modified_time() -> ::Google::Protobuf::Timestamp
Returns

#last_modified_time=

def last_modified_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#location_type

def location_type() -> ::String
Returns
  • (::String) — The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.

#location_type=

def location_type=(value) -> ::String
Parameter
  • value (::String) — The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.
Returns
  • (::String) — The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.

#name

def name() -> ::String
Returns
  • (::String) — The name of the profile.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of the profile.
Returns
  • (::String) — The name of the profile.

#profile_last_generated

def profile_last_generated() -> ::Google::Protobuf::Timestamp
Returns

#profile_last_generated=

def profile_last_generated=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#profile_status

def profile_status() -> ::Google::Cloud::Dlp::V2::ProfileStatus
Returns

#profile_status=

def profile_status=(value) -> ::Google::Cloud::Dlp::V2::ProfileStatus
Parameter
Returns

#project_data_profile

def project_data_profile() -> ::String
Returns
  • (::String) — The resource name of the project data profile for this file store.

#project_data_profile=

def project_data_profile=(value) -> ::String
Parameter
  • value (::String) — The resource name of the project data profile for this file store.
Returns
  • (::String) — The resource name of the project data profile for this file store.

#project_id

def project_id() -> ::String
Returns
  • (::String) — The Google Cloud project ID that owns the resource.

#project_id=

def project_id=(value) -> ::String
Parameter
  • value (::String) — The Google Cloud project ID that owns the resource.
Returns
  • (::String) — The Google Cloud project ID that owns the resource.

#resource_attributes

def resource_attributes() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Dlp::V2::Value}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Dlp::V2::Value}) —

    Attributes of the resource being profiled. Currently used attributes:

    • customer_managed_encryption: boolean
      • true: the resource is encrypted with a customer-managed key.
      • false: the resource is encrypted with a provider-managed key.

#resource_attributes=

def resource_attributes=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Dlp::V2::Value}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::Dlp::V2::Value}) —

    Attributes of the resource being profiled. Currently used attributes:

    • customer_managed_encryption: boolean
      • true: the resource is encrypted with a customer-managed key.
      • false: the resource is encrypted with a provider-managed key.
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Dlp::V2::Value}) —

    Attributes of the resource being profiled. Currently used attributes:

    • customer_managed_encryption: boolean
      • true: the resource is encrypted with a customer-managed key.
      • false: the resource is encrypted with a provider-managed key.

#resource_labels

def resource_labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — The labels applied to the resource at the time the profile was generated.

#resource_labels=

def resource_labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — The labels applied to the resource at the time the profile was generated.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — The labels applied to the resource at the time the profile was generated.

#resource_visibility

def resource_visibility() -> ::Google::Cloud::Dlp::V2::ResourceVisibility
Returns

#resource_visibility=

def resource_visibility=(value) -> ::Google::Cloud::Dlp::V2::ResourceVisibility
Parameter
Returns

#sensitivity_score

def sensitivity_score() -> ::Google::Cloud::Dlp::V2::SensitivityScore
Returns

#sensitivity_score=

def sensitivity_score=(value) -> ::Google::Cloud::Dlp::V2::SensitivityScore
Parameter
Returns

#state

def state() -> ::Google::Cloud::Dlp::V2::FileStoreDataProfile::State
Returns

#state=

def state=(value) -> ::Google::Cloud::Dlp::V2::FileStoreDataProfile::State
Parameter
Returns