Class: Google::Cloud::StorageInsights::V1::DatasetConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/storageinsights/v1/storageinsights.rb

Overview

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

Defined Under Namespace

Modules: ConfigState Classes: BucketErrors, CloudStorageBuckets, CloudStorageLocations, LabelsEntry, Link, ProjectErrors, SourceFolders, SourceProjects, ValidationErrorsBeforeIngestion

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_storage_object_path::String

Returns 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.



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The UTC time at which the dataset configuration was created. This is auto-populated.

Returns:



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#dataset_config_state::Google::Cloud::StorageInsights::V1::DatasetConfig::ConfigState (readonly)

Returns Output only. State of the datasetConfig.

Returns:



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#description::String

Returns 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.



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#exclude_cloud_storage_buckets::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets

Returns Note: The following fields are mutually exclusive: exclude_cloud_storage_buckets, include_cloud_storage_buckets. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#exclude_cloud_storage_locations::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageLocations

Returns Note: The following fields are mutually exclusive: exclude_cloud_storage_locations, include_cloud_storage_locations. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#identity::Google::Cloud::StorageInsights::V1::Identity

Returns Identity used by this datasetConfig.

Returns:



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#include_cloud_storage_buckets::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets

Returns Note: The following fields are mutually exclusive: include_cloud_storage_buckets, exclude_cloud_storage_buckets. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#include_cloud_storage_locations::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageLocations

Returns Note: The following fields are mutually exclusive: include_cloud_storage_locations, exclude_cloud_storage_locations. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#include_newly_created_buckets::Boolean

Returns 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.



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Labels as key value pairs.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Labels as key value pairs



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

Returns Details of the linked dataset.

Returns:



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#name::String

Returns Identifier. name of resource.

Returns:

  • (::String)

    Identifier. name of resource



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#organization_number::Integer

Returns 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.



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#organization_scope::Boolean

Returns 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.



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#retention_period_days::Integer

Returns Number of days of history that must be retained.

Returns:

  • (::Integer)

    Number of days of history that must be retained.



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#skip_verification_and_ingest::Boolean

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns 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.



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#source_folders::Google::Cloud::StorageInsights::V1::DatasetConfig::SourceFolders

Returns 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.



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#source_projects::Google::Cloud::StorageInsights::V1::DatasetConfig::SourceProjects

Returns 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.



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#status::Google::Rpc::Status (readonly)

Returns Output only. Status of the datasetConfig.

Returns:



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#uid::String (readonly)

Returns Output only. System generated unique identifier for the resource.

Returns:

  • (::String)

    Output only. System generated unique identifier for the resource.



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The UTC time at which the dataset configuration was last updated. This is auto-populated.

Returns:



561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
# File 'proto_docs/google/cloud/storageinsights/v1/storageinsights.rb', line 561

class DatasetConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Collection of project numbers
  # @!attribute [rw] project_numbers
  #   @return [::Array<::Integer>]
  class SourceProjects
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies a set of folders to include in the dataset
  # @!attribute [rw] folder_numbers
  #   @return [::Array<::Integer>]
  #     Optional. The list of folder numbers to include in the dataset.
  class SourceFolders
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage locations.
  # @!attribute [rw] locations
  #   @return [::Array<::String>]
  class CloudStorageLocations
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Collection of Cloud Storage buckets.
  # @!attribute [rw] cloud_storage_buckets
  #   @return [::Array<::Google::Cloud::StorageInsights::V1::DatasetConfig::CloudStorageBuckets::CloudStorageBucket>]
  class CloudStorageBuckets
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Defines the bucket by its name or a regex pattern to match buckets.
    # @!attribute [rw] bucket_name
    #   @return [::String]
    #     Cloud Storage bucket name.
    #
    #     Note: The following fields are mutually exclusive: `bucket_name`, `bucket_prefix_regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    # @!attribute [rw] bucket_prefix_regex
    #   @return [::String]
    #     A regex pattern for bucket names matching the regex. Regex should
    #     follow the syntax specified in `google/re2` on GitHub.
    #
    #     Note: The following fields are mutually exclusive: `bucket_prefix_regex`, `bucket_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
    class CloudStorageBucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Defines the details about the linked dataset.
  # @!attribute [r] dataset
  #   @return [::String]
  #     Output only. Dataset name for linked dataset.
  # @!attribute [r] linked
  #   @return [::Boolean]
  #     Output only. State of the linked dataset.
  class Link
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the bucket level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated buckets.
  # @!attribute [rw] permission_denied_count
  #   @return [::Integer]
  #     Optional. Count of buckets with permission denied errors.
  # @!attribute [rw] permission_denied_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that have permission denied.
  # @!attribute [rw] non_management_hub_entitled_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of buckets that encountered internal errors during the
  #     validation process. These buckets are automatically retried in subsequent
  #     validation attempts.
  # @!attribute [rw] non_storage_intelligence_entitled_count
  #   @return [::Integer]
  #     Optional. Count of buckets that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_bucket_ids
  #   @return [::Array<::String>]
  #     Optional. Subset of bucket names that are not subscribed to Storage
  #     Intelligence.
  class BucketErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Provides a summary of the project level error statistics.
  # @!attribute [rw] validated_count
  #   @return [::Integer]
  #     Optional. Count of successfully validated projects.
  # @!attribute [rw] outside_org_error_count
  #   @return [::Integer]
  #     Optional. Count of projects which are not in the same organization.
  # @!attribute [rw] outside_org_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers which are not in the same
  #     organization.
  # @!attribute [rw] non_management_hub_entitled_error_count
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_management_hub_entitled_project_numbers
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_error_count
  #   @return [::Integer]
  #     Optional. Count of projects that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] non_storage_intelligence_entitled_project_numbers
  #   @return [::Array<::Integer>]
  #     Optional. Subset of project numbers that are not subscribed to Storage
  #     Intelligence.
  # @!attribute [rw] internal_error_count
  #   @return [::Integer]
  #     Optional. Number of projects that encountered internal errors during
  #     validation and are automatically retried.
  # @!attribute [rw] destination_project_org_error
  #   @return [::Boolean]
  #     Optional. Indicates if the destination project resides within the same
  #     organization as the source project.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_org_error`, `destination_project_check_has_internal_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] destination_project_check_has_internal_error
  #   @return [::Boolean]
  #     Optional. Indicates whether the destination project check failed due to
  #     an internal error. If `true`, the system automatically retries the
  #     check.
  #
  #     Note: The following fields are mutually exclusive: `destination_project_check_has_internal_error`, `destination_project_org_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ProjectErrors
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Summary of validation errors that occurred during the verification phase.
  # @!attribute [rw] bucket_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::BucketErrors]
  #     Optional. Provides a summary of the bucket level error stats.
  # @!attribute [rw] project_errors
  #   @return [::Google::Cloud::StorageInsights::V1::DatasetConfig::ProjectErrors]
  #     Optional. Provides a summary of the project level error stats.
  class ValidationErrorsBeforeIngestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the configuration.
  module ConfigState
    # Unspecified state.
    CONFIG_STATE_UNSPECIFIED = 0

    # Active configuration indicates that the configuration is
    # actively ingesting data.
    CONFIG_STATE_ACTIVE = 1

    # In this state, the configuration is being verified for various
    # permissions.
    CONFIG_STATE_VERIFICATION_IN_PROGRESS = 2

    # Configuration is created and further processing needs to happen.
    CONFIG_STATE_CREATED = 3

    # Configuration is under processing
    CONFIG_STATE_PROCESSING = 4
  end
end