google-apis-dlp_v2 0.66.0 → 0.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dlp_v2/classes.rb +355 -12
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +132 -0
- data/lib/google/apis/dlp_v2/service.rb +447 -49
- metadata +3 -3
| @@ -670,12 +670,42 @@ module Google | |
| 670 670 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 671 671 | 
             
                  end
         | 
| 672 672 |  | 
| 673 | 
            +
                  class GooglePrivacyDlpV2FileClusterSummary
         | 
| 674 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 675 | 
            +
                  
         | 
| 676 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 677 | 
            +
                  end
         | 
| 678 | 
            +
                  
         | 
| 679 | 
            +
                  class GooglePrivacyDlpV2FileClusterType
         | 
| 680 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 681 | 
            +
                  
         | 
| 682 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 683 | 
            +
                  end
         | 
| 684 | 
            +
                  
         | 
| 685 | 
            +
                  class GooglePrivacyDlpV2FileExtensionInfo
         | 
| 686 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 687 | 
            +
                  
         | 
| 688 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 689 | 
            +
                  end
         | 
| 690 | 
            +
                  
         | 
| 673 691 | 
             
                  class GooglePrivacyDlpV2FileSet
         | 
| 674 692 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 675 693 |  | 
| 676 694 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 677 695 | 
             
                  end
         | 
| 678 696 |  | 
| 697 | 
            +
                  class GooglePrivacyDlpV2FileStoreDataProfile
         | 
| 698 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 699 | 
            +
                  
         | 
| 700 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 701 | 
            +
                  end
         | 
| 702 | 
            +
                  
         | 
| 703 | 
            +
                  class GooglePrivacyDlpV2FileStoreInfoTypeSummary
         | 
| 704 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 705 | 
            +
                  
         | 
| 706 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 707 | 
            +
                  end
         | 
| 708 | 
            +
                  
         | 
| 679 709 | 
             
                  class GooglePrivacyDlpV2Finding
         | 
| 680 710 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 681 711 |  | 
| @@ -1036,6 +1066,12 @@ module Google | |
| 1036 1066 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 1037 1067 | 
             
                  end
         | 
| 1038 1068 |  | 
| 1069 | 
            +
                  class GooglePrivacyDlpV2ListFileStoreDataProfilesResponse
         | 
| 1070 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 1071 | 
            +
                  
         | 
| 1072 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 1073 | 
            +
                  end
         | 
| 1074 | 
            +
                  
         | 
| 1039 1075 | 
             
                  class GooglePrivacyDlpV2ListInfoTypesResponse
         | 
| 1040 1076 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 1041 1077 |  | 
| @@ -2300,6 +2336,8 @@ module Google | |
| 2300 2336 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 2301 2337 | 
             
                      property :column_profile, as: 'columnProfile', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile::Representation
         | 
| 2302 2338 |  | 
| 2339 | 
            +
                      property :file_store_profile, as: 'fileStoreProfile', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile::Representation
         | 
| 2340 | 
            +
                  
         | 
| 2303 2341 | 
             
                      property :table_profile, as: 'tableProfile', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile::Representation
         | 
| 2304 2342 |  | 
| 2305 2343 | 
             
                    end
         | 
| @@ -2351,6 +2389,8 @@ module Google | |
| 2351 2389 | 
             
                    # @private
         | 
| 2352 2390 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 2353 2391 | 
             
                      property :event, as: 'event'
         | 
| 2392 | 
            +
                      property :file_store_profile, as: 'fileStoreProfile', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile::Representation
         | 
| 2393 | 
            +
                  
         | 
| 2354 2394 | 
             
                      property :profile, as: 'profile', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile::Representation
         | 
| 2355 2395 |  | 
| 2356 2396 | 
             
                    end
         | 
| @@ -2758,6 +2798,7 @@ module Google | |
| 2758 2798 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 2759 2799 | 
             
                      property :details, as: 'details', class: Google::Apis::DlpV2::GoogleRpcStatus, decorator: Google::Apis::DlpV2::GoogleRpcStatus::Representation
         | 
| 2760 2800 |  | 
| 2801 | 
            +
                      property :extra_info, as: 'extraInfo'
         | 
| 2761 2802 | 
             
                      collection :timestamps, as: 'timestamps'
         | 
| 2762 2803 | 
             
                    end
         | 
| 2763 2804 | 
             
                  end
         | 
| @@ -2833,6 +2874,41 @@ module Google | |
| 2833 2874 | 
             
                    end
         | 
| 2834 2875 | 
             
                  end
         | 
| 2835 2876 |  | 
| 2877 | 
            +
                  class GooglePrivacyDlpV2FileClusterSummary
         | 
| 2878 | 
            +
                    # @private
         | 
| 2879 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 2880 | 
            +
                      property :data_risk_level, as: 'dataRiskLevel', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel::Representation
         | 
| 2881 | 
            +
                  
         | 
| 2882 | 
            +
                      collection :errors, as: 'errors', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Error, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Error::Representation
         | 
| 2883 | 
            +
                  
         | 
| 2884 | 
            +
                      property :file_cluster_type, as: 'fileClusterType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileClusterType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileClusterType::Representation
         | 
| 2885 | 
            +
                  
         | 
| 2886 | 
            +
                      collection :file_extensions_scanned, as: 'fileExtensionsScanned', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileExtensionInfo, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileExtensionInfo::Representation
         | 
| 2887 | 
            +
                  
         | 
| 2888 | 
            +
                      collection :file_extensions_seen, as: 'fileExtensionsSeen', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileExtensionInfo, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileExtensionInfo::Representation
         | 
| 2889 | 
            +
                  
         | 
| 2890 | 
            +
                      collection :file_store_info_type_summaries, as: 'fileStoreInfoTypeSummaries', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreInfoTypeSummary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreInfoTypeSummary::Representation
         | 
| 2891 | 
            +
                  
         | 
| 2892 | 
            +
                      property :no_files_exist, as: 'noFilesExist'
         | 
| 2893 | 
            +
                      property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
         | 
| 2894 | 
            +
                  
         | 
| 2895 | 
            +
                    end
         | 
| 2896 | 
            +
                  end
         | 
| 2897 | 
            +
                  
         | 
| 2898 | 
            +
                  class GooglePrivacyDlpV2FileClusterType
         | 
| 2899 | 
            +
                    # @private
         | 
| 2900 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 2901 | 
            +
                      property :cluster, as: 'cluster'
         | 
| 2902 | 
            +
                    end
         | 
| 2903 | 
            +
                  end
         | 
| 2904 | 
            +
                  
         | 
| 2905 | 
            +
                  class GooglePrivacyDlpV2FileExtensionInfo
         | 
| 2906 | 
            +
                    # @private
         | 
| 2907 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 2908 | 
            +
                      property :file_extension, as: 'fileExtension'
         | 
| 2909 | 
            +
                    end
         | 
| 2910 | 
            +
                  end
         | 
| 2911 | 
            +
                  
         | 
| 2836 2912 | 
             
                  class GooglePrivacyDlpV2FileSet
         | 
| 2837 2913 | 
             
                    # @private
         | 
| 2838 2914 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -2842,6 +2918,51 @@ module Google | |
| 2842 2918 | 
             
                    end
         | 
| 2843 2919 | 
             
                  end
         | 
| 2844 2920 |  | 
| 2921 | 
            +
                  class GooglePrivacyDlpV2FileStoreDataProfile
         | 
| 2922 | 
            +
                    # @private
         | 
| 2923 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 2924 | 
            +
                      property :config_snapshot, as: 'configSnapshot', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileConfigSnapshot, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileConfigSnapshot::Representation
         | 
| 2925 | 
            +
                  
         | 
| 2926 | 
            +
                      property :create_time, as: 'createTime'
         | 
| 2927 | 
            +
                      property :data_risk_level, as: 'dataRiskLevel', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel::Representation
         | 
| 2928 | 
            +
                  
         | 
| 2929 | 
            +
                      property :data_source_type, as: 'dataSourceType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType::Representation
         | 
| 2930 | 
            +
                  
         | 
| 2931 | 
            +
                      collection :data_storage_locations, as: 'dataStorageLocations'
         | 
| 2932 | 
            +
                      collection :file_cluster_summaries, as: 'fileClusterSummaries', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileClusterSummary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileClusterSummary::Representation
         | 
| 2933 | 
            +
                  
         | 
| 2934 | 
            +
                      collection :file_store_info_type_summaries, as: 'fileStoreInfoTypeSummaries', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreInfoTypeSummary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreInfoTypeSummary::Representation
         | 
| 2935 | 
            +
                  
         | 
| 2936 | 
            +
                      property :file_store_is_empty, as: 'fileStoreIsEmpty'
         | 
| 2937 | 
            +
                      property :file_store_location, as: 'fileStoreLocation'
         | 
| 2938 | 
            +
                      property :file_store_path, as: 'fileStorePath'
         | 
| 2939 | 
            +
                      property :full_resource, as: 'fullResource'
         | 
| 2940 | 
            +
                      property :last_modified_time, as: 'lastModifiedTime'
         | 
| 2941 | 
            +
                      property :location_type, as: 'locationType'
         | 
| 2942 | 
            +
                      property :name, as: 'name'
         | 
| 2943 | 
            +
                      property :profile_last_generated, as: 'profileLastGenerated'
         | 
| 2944 | 
            +
                      property :profile_status, as: 'profileStatus', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus::Representation
         | 
| 2945 | 
            +
                  
         | 
| 2946 | 
            +
                      property :project_data_profile, as: 'projectDataProfile'
         | 
| 2947 | 
            +
                      property :project_id, as: 'projectId'
         | 
| 2948 | 
            +
                      hash :resource_attributes, as: 'resourceAttributes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Value, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Value::Representation
         | 
| 2949 | 
            +
                  
         | 
| 2950 | 
            +
                      hash :resource_labels, as: 'resourceLabels'
         | 
| 2951 | 
            +
                      property :resource_visibility, as: 'resourceVisibility'
         | 
| 2952 | 
            +
                      property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
         | 
| 2953 | 
            +
                  
         | 
| 2954 | 
            +
                      property :state, as: 'state'
         | 
| 2955 | 
            +
                    end
         | 
| 2956 | 
            +
                  end
         | 
| 2957 | 
            +
                  
         | 
| 2958 | 
            +
                  class GooglePrivacyDlpV2FileStoreInfoTypeSummary
         | 
| 2959 | 
            +
                    # @private
         | 
| 2960 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 2961 | 
            +
                      property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
         | 
| 2962 | 
            +
                  
         | 
| 2963 | 
            +
                    end
         | 
| 2964 | 
            +
                  end
         | 
| 2965 | 
            +
                  
         | 
| 2845 2966 | 
             
                  class GooglePrivacyDlpV2Finding
         | 
| 2846 2967 | 
             
                    # @private
         | 
| 2847 2968 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -3452,6 +3573,15 @@ module Google | |
| 3452 3573 | 
             
                    end
         | 
| 3453 3574 | 
             
                  end
         | 
| 3454 3575 |  | 
| 3576 | 
            +
                  class GooglePrivacyDlpV2ListFileStoreDataProfilesResponse
         | 
| 3577 | 
            +
                    # @private
         | 
| 3578 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 3579 | 
            +
                      collection :file_store_data_profiles, as: 'fileStoreDataProfiles', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile::Representation
         | 
| 3580 | 
            +
                  
         | 
| 3581 | 
            +
                      property :next_page_token, as: 'nextPageToken'
         | 
| 3582 | 
            +
                    end
         | 
| 3583 | 
            +
                  end
         | 
| 3584 | 
            +
                  
         | 
| 3455 3585 | 
             
                  class GooglePrivacyDlpV2ListInfoTypesResponse
         | 
| 3456 3586 | 
             
                    # @private
         | 
| 3457 3587 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -3669,6 +3799,7 @@ module Google | |
| 3669 3799 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 3670 3800 | 
             
                      property :data_risk_level, as: 'dataRiskLevel', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel::Representation
         | 
| 3671 3801 |  | 
| 3802 | 
            +
                      property :file_store_data_profile_count, :numeric_string => true, as: 'fileStoreDataProfileCount'
         | 
| 3672 3803 | 
             
                      property :name, as: 'name'
         | 
| 3673 3804 | 
             
                      property :profile_last_generated, as: 'profileLastGenerated'
         | 
| 3674 3805 | 
             
                      property :profile_status, as: 'profileStatus', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus::Representation
         | 
| @@ -3676,6 +3807,7 @@ module Google | |
| 3676 3807 | 
             
                      property :project_id, as: 'projectId'
         | 
| 3677 3808 | 
             
                      property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
         | 
| 3678 3809 |  | 
| 3810 | 
            +
                      property :table_data_profile_count, :numeric_string => true, as: 'tableDataProfileCount'
         | 
| 3679 3811 | 
             
                    end
         | 
| 3680 3812 | 
             
                  end
         | 
| 3681 3813 |  |