Storage Insights V1 API - Class Google::Cloud::StorageInsights::V1::DatasetConfig (v1.2.0)

Reference documentation and code samples for the Storage Insights V1 API class Google::Cloud::StorageInsights::V1::DatasetConfig.

Message describing the dataset configuration properties. For more information, see Dataset configuration properties.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cloud_storage_object_path

def cloud_storage_object_path() -> ::String
Returns
  • (::String) — Input only. Cloud Storage object path containing a list of project or folder numbers to include in the dataset; it cannot contain a mix of project and folders.

    The object must be a text file where each line has one of the following entries:

    • Project number, formatted as projects/{project_number}, for example, projects/1234567890.
    • Folder identifier, formatted as folders/{folder_number}, for example, folders/9876543210. Path must be in the format gs://{bucket_name}/{object_name}.

    Note: The following fields are mutually exclusive: cloud_storage_object_path, source_projects, source_folders, organization_scope. If a field in that set is populated, all other fields in the set will automatically be cleared.

#cloud_storage_object_path=

def cloud_storage_object_path=(value) -> ::String
Parameter
  • value (::String) — Input only. Cloud Storage object path containing a list of project or folder numbers to include in the dataset; it cannot contain a mix of project and folders.

    The object must be a text file where each line has one of the following entries:

    • Project number, formatted as projects/{project_number}, for example, projects/1234567890.
    • Folder identifier, formatted as folders/{folder_number}, for example, folders/9876543210. Path must be in the format gs://{bucket_name}/{object_name}.

    Note: The following fields are mutually exclusive: cloud_storage_object_path, source_projects, source_folders, organization_scope. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Input only. Cloud Storage object path containing a list of project or folder numbers to include in the dataset; it cannot contain a mix of project and folders.

    The object must be a text file where each line has one of the following entries:

    • Project number, formatted as projects/{project_number}, for example, projects/1234567890.
    • Folder identifier, formatted as folders/{folder_number}, for example, folders/9876543210. Path must be in the format gs://{bucket_name}/{object_name}.

    Note: The following fields are mutually exclusive: cloud_storage_object_path, source_projects, source_folders, organization_scope. If a field in that set is populated, all other fields in the set will automatically be cleared.

#create_time

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

#dataset_config_state

def dataset_config_state() -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::ConfigState
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. A user-provided description for the dataset configuration.

    Maximum length: 256 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. A user-provided description for the dataset configuration.

    Maximum length: 256 characters.

Returns
  • (::String) — Optional. A user-provided description for the dataset configuration.

    Maximum length: 256 characters.

#exclude_cloud_storage_buckets

def exclude_cloud_storage_buckets() -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets
Returns

#exclude_cloud_storage_buckets=

def exclude_cloud_storage_buckets=(value) -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets
Parameter
Returns

#exclude_cloud_storage_locations

def exclude_cloud_storage_locations() -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageLocations
Returns

#exclude_cloud_storage_locations=

def exclude_cloud_storage_locations=(value) -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageLocations
Parameter
Returns

#identity

def identity() -> ::Google::Cloud::StorageInsights::V1::Identity
Returns

#identity=

def identity=(value) -> ::Google::Cloud::StorageInsights::V1::Identity
Parameter
Returns

#include_cloud_storage_buckets

def include_cloud_storage_buckets() -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets
Returns

#include_cloud_storage_buckets=

def include_cloud_storage_buckets=(value) -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets
Parameter
Returns

#include_cloud_storage_locations

def include_cloud_storage_locations() -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageLocations
Returns

#include_cloud_storage_locations=

def include_cloud_storage_locations=(value) -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageLocations
Parameter
Returns

#include_newly_created_buckets

def include_newly_created_buckets() -> ::Boolean
Returns
  • (::Boolean) — If set to true, the request includes all the newly created buckets in the dataset that meet the inclusion and exclusion rules.

#include_newly_created_buckets=

def include_newly_created_buckets=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set to true, the request includes all the newly created buckets in the dataset that meet the inclusion and exclusion rules.
Returns
  • (::Boolean) — If set to true, the request includes all the newly created buckets in the dataset that meet the inclusion and exclusion rules.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs
def link() -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::Link
Returns
def link=(value) -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::Link
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Identifier. name of resource

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. name of resource
Returns
  • (::String) — Identifier. name of resource

#organization_number

def organization_number() -> ::Integer
Returns
  • (::Integer) — Optional. Organization resource ID that the source projects should belong to. Projects that do not belong to the provided organization are not considered when creating the dataset.

#organization_number=

def organization_number=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Organization resource ID that the source projects should belong to. Projects that do not belong to the provided organization are not considered when creating the dataset.
Returns
  • (::Integer) — Optional. Organization resource ID that the source projects should belong to. Projects that do not belong to the provided organization are not considered when creating the dataset.

#organization_scope

def organization_scope() -> ::Boolean
Returns
  • (::Boolean) — Defines the options for providing a source organization for the dataset.

    Note: The following fields are mutually exclusive: organization_scope, source_projects, source_folders, cloud_storage_object_path. If a field in that set is populated, all other fields in the set will automatically be cleared.

#organization_scope=

def organization_scope=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Defines the options for providing a source organization for the dataset.

    Note: The following fields are mutually exclusive: organization_scope, source_projects, source_folders, cloud_storage_object_path. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Boolean) — Defines the options for providing a source organization for the dataset.

    Note: The following fields are mutually exclusive: organization_scope, source_projects, source_folders, cloud_storage_object_path. If a field in that set is populated, all other fields in the set will automatically be cleared.

#retention_period_days

def retention_period_days() -> ::Integer
Returns
  • (::Integer) — Number of days of history that must be retained.

#retention_period_days=

def retention_period_days=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of days of history that must be retained.
Returns
  • (::Integer) — Number of days of history that must be retained.

#skip_verification_and_ingest

def skip_verification_and_ingest() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set to false, then all the permission checks must be successful before the system can start ingesting data. This field can only be updated before the system ingests data for the first time. Any attempt to modify the field after data ingestion starts results in an error.

#skip_verification_and_ingest=

def skip_verification_and_ingest=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set to false, then all the permission checks must be successful before the system can start ingesting data. This field can only be updated before the system ingests data for the first time. Any attempt to modify the field after data ingestion starts results in an error.
Returns
  • (::Boolean) — Optional. If set to false, then all the permission checks must be successful before the system can start ingesting data. This field can only be updated before the system ingests data for the first time. Any attempt to modify the field after data ingestion starts results in an error.

#source_folders

def source_folders() -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::SourceFolders
Returns
  • (::Google::Cloud::StorageInsights::V1::DatasetConfig::SourceFolders) — Defines the options for providing source folders for the dataset.

    Note: The following fields are mutually exclusive: source_folders, source_projects, organization_scope, cloud_storage_object_path. If a field in that set is populated, all other fields in the set will automatically be cleared.

#source_folders=

def source_folders=(value) -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::SourceFolders
Parameter
  • value (::Google::Cloud::StorageInsights::V1::DatasetConfig::SourceFolders) — Defines the options for providing source folders for the dataset.

    Note: The following fields are mutually exclusive: source_folders, source_projects, organization_scope, cloud_storage_object_path. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::StorageInsights::V1::DatasetConfig::SourceFolders) — Defines the options for providing source folders for the dataset.

    Note: The following fields are mutually exclusive: source_folders, source_projects, organization_scope, cloud_storage_object_path. If a field in that set is populated, all other fields in the set will automatically be cleared.

#source_projects

def source_projects() -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::SourceProjects
Returns
  • (::Google::Cloud::StorageInsights::V1::DatasetConfig::SourceProjects) — Defines the options for providing source projects for the dataset.

    Note: The following fields are mutually exclusive: source_projects, source_folders, organization_scope, cloud_storage_object_path. If a field in that set is populated, all other fields in the set will automatically be cleared.

#source_projects=

def source_projects=(value) -> ::Google::Cloud::StorageInsights::V1::DatasetConfig::SourceProjects
Parameter
  • value (::Google::Cloud::StorageInsights::V1::DatasetConfig::SourceProjects) — Defines the options for providing source projects for the dataset.

    Note: The following fields are mutually exclusive: source_projects, source_folders, organization_scope, cloud_storage_object_path. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::StorageInsights::V1::DatasetConfig::SourceProjects) — Defines the options for providing source projects for the dataset.

    Note: The following fields are mutually exclusive: source_projects, source_folders, organization_scope, cloud_storage_object_path. If a field in that set is populated, all other fields in the set will automatically be cleared.

#status

def status() -> ::Google::Rpc::Status
Returns

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. System generated unique identifier for the resource.

#update_time

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