google-cloud-dlp-v2 0.7.2 → 0.8.1
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/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/lib/google/cloud/dlp/v2/dlp_service/client.rb +844 -183
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +11 -2
- data/lib/google/privacy/dlp/v2/dlp_services_pb.rb +2 -11
- data/lib/google/privacy/dlp/v2/storage_pb.rb +5 -3
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/privacy/dlp/v2/dlp.rb +62 -32
- data/proto_docs/google/privacy/dlp/v2/storage.rb +19 -11
- metadata +5 -5
| @@ -1,8 +1,6 @@ | |
| 1 1 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 2 | 
             
            # source: google/privacy/dlp/v2/dlp.proto
         | 
| 3 3 |  | 
| 4 | 
            -
            require 'google/protobuf'
         | 
| 5 | 
            -
             | 
| 6 4 | 
             
            require 'google/api/client_pb'
         | 
| 7 5 | 
             
            require 'google/api/field_behavior_pb'
         | 
| 8 6 | 
             
            require 'google/api/resource_pb'
         | 
| @@ -16,6 +14,8 @@ require 'google/type/date_pb' | |
| 16 14 | 
             
            require 'google/type/dayofweek_pb'
         | 
| 17 15 | 
             
            require 'google/type/timeofday_pb'
         | 
| 18 16 | 
             
            require 'google/api/annotations_pb'
         | 
| 17 | 
            +
            require 'google/protobuf'
         | 
| 18 | 
            +
             | 
| 19 19 | 
             
            Google::Protobuf::DescriptorPool.generated_pool.build do
         | 
| 20 20 | 
             
              add_file("google/privacy/dlp/v2/dlp.proto", :syntax => :proto3) do
         | 
| 21 21 | 
             
                add_message "google.privacy.dlp.v2.ExcludeInfoTypes" do
         | 
| @@ -107,6 +107,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 107 107 | 
             
                  map :labels, :string, :string, 10
         | 
| 108 108 | 
             
                  optional :job_create_time, :message, 11, "google.protobuf.Timestamp"
         | 
| 109 109 | 
             
                  optional :job_name, :string, 13
         | 
| 110 | 
            +
                  optional :finding_id, :string, 15
         | 
| 110 111 | 
             
                end
         | 
| 111 112 | 
             
                add_message "google.privacy.dlp.v2.Location" do
         | 
| 112 113 | 
             
                  optional :byte_range, :message, 1, "google.privacy.dlp.v2.Range"
         | 
| @@ -502,6 +503,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 502 503 | 
             
                    optional :crypto_hash_config, :message, 9, "google.privacy.dlp.v2.CryptoHashConfig"
         | 
| 503 504 | 
             
                    optional :date_shift_config, :message, 11, "google.privacy.dlp.v2.DateShiftConfig"
         | 
| 504 505 | 
             
                    optional :crypto_deterministic_config, :message, 12, "google.privacy.dlp.v2.CryptoDeterministicConfig"
         | 
| 506 | 
            +
                    optional :replace_dictionary_config, :message, 13, "google.privacy.dlp.v2.ReplaceDictionaryConfig"
         | 
| 505 507 | 
             
                  end
         | 
| 506 508 | 
             
                end
         | 
| 507 509 | 
             
                add_message "google.privacy.dlp.v2.TimePartConfig" do
         | 
| @@ -527,6 +529,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 527 529 | 
             
                add_message "google.privacy.dlp.v2.ReplaceValueConfig" do
         | 
| 528 530 | 
             
                  optional :new_value, :message, 1, "google.privacy.dlp.v2.Value"
         | 
| 529 531 | 
             
                end
         | 
| 532 | 
            +
                add_message "google.privacy.dlp.v2.ReplaceDictionaryConfig" do
         | 
| 533 | 
            +
                  oneof :type do
         | 
| 534 | 
            +
                    optional :word_list, :message, 1, "google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList"
         | 
| 535 | 
            +
                  end
         | 
| 536 | 
            +
                end
         | 
| 530 537 | 
             
                add_message "google.privacy.dlp.v2.ReplaceWithInfoTypeConfig" do
         | 
| 531 538 | 
             
                end
         | 
| 532 539 | 
             
                add_message "google.privacy.dlp.v2.RedactConfig" do
         | 
| @@ -809,6 +816,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 809 816 | 
             
                  optional :page_size, :int32, 3
         | 
| 810 817 | 
             
                  optional :order_by, :string, 4
         | 
| 811 818 | 
             
                  optional :filter, :string, 5
         | 
| 819 | 
            +
                  optional :type, :enum, 6, "google.privacy.dlp.v2.DlpJobType"
         | 
| 812 820 | 
             
                  optional :location_id, :string, 7
         | 
| 813 821 | 
             
                end
         | 
| 814 822 | 
             
                add_message "google.privacy.dlp.v2.ListJobTriggersResponse" do
         | 
| @@ -1125,6 +1133,7 @@ module Google | |
| 1125 1133 | 
             
                    CryptoHashConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CryptoHashConfig").msgclass
         | 
| 1126 1134 | 
             
                    CryptoDeterministicConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CryptoDeterministicConfig").msgclass
         | 
| 1127 1135 | 
             
                    ReplaceValueConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ReplaceValueConfig").msgclass
         | 
| 1136 | 
            +
                    ReplaceDictionaryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ReplaceDictionaryConfig").msgclass
         | 
| 1128 1137 | 
             
                    ReplaceWithInfoTypeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ReplaceWithInfoTypeConfig").msgclass
         | 
| 1129 1138 | 
             
                    RedactConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RedactConfig").msgclass
         | 
| 1130 1139 | 
             
                    CharsToIgnore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CharsToIgnore").msgclass
         | 
| @@ -35,7 +35,7 @@ module Google | |
| 35 35 | 
             
                      # https://cloud.google.com/dlp/docs/.
         | 
| 36 36 | 
             
                      class Service
         | 
| 37 37 |  | 
| 38 | 
            -
                        include GRPC::GenericService
         | 
| 38 | 
            +
                        include ::GRPC::GenericService
         | 
| 39 39 |  | 
| 40 40 | 
             
                        self.marshal_class_method = :encode
         | 
| 41 41 | 
             
                        self.unmarshal_class_method = :decode
         | 
| @@ -125,9 +125,6 @@ module Google | |
| 125 125 | 
             
                        # Inspect hybrid content and store findings to a trigger. The inspection
         | 
| 126 126 | 
             
                        # will be processed asynchronously. To review the findings monitor the
         | 
| 127 127 | 
             
                        # jobs within the trigger.
         | 
| 128 | 
            -
                        # Early access feature is in a pre-release state and might change or have
         | 
| 129 | 
            -
                        # limited support. For more information, see
         | 
| 130 | 
            -
                        # https://cloud.google.com/products#product-launch-stages.
         | 
| 131 128 | 
             
                        rpc :HybridInspectJobTrigger, ::Google::Cloud::Dlp::V2::HybridInspectJobTriggerRequest, ::Google::Cloud::Dlp::V2::HybridInspectResponse
         | 
| 132 129 | 
             
                        # Gets a job trigger.
         | 
| 133 130 | 
             
                        # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
         | 
| @@ -191,17 +188,11 @@ module Google | |
| 191 188 | 
             
                        # learn more.
         | 
| 192 189 | 
             
                        rpc :DeleteStoredInfoType, ::Google::Cloud::Dlp::V2::DeleteStoredInfoTypeRequest, ::Google::Protobuf::Empty
         | 
| 193 190 | 
             
                        # Inspect hybrid content and store findings to a job.
         | 
| 194 | 
            -
                        # To review the findings inspect the job. Inspection will occur
         | 
| 191 | 
            +
                        # To review the findings, inspect the job. Inspection will occur
         | 
| 195 192 | 
             
                        # asynchronously.
         | 
| 196 | 
            -
                        # Early access feature is in a pre-release state and might change or have
         | 
| 197 | 
            -
                        # limited support. For more information, see
         | 
| 198 | 
            -
                        # https://cloud.google.com/products#product-launch-stages.
         | 
| 199 193 | 
             
                        rpc :HybridInspectDlpJob, ::Google::Cloud::Dlp::V2::HybridInspectDlpJobRequest, ::Google::Cloud::Dlp::V2::HybridInspectResponse
         | 
| 200 194 | 
             
                        # Finish a running hybrid DlpJob. Triggers the finalization steps and running
         | 
| 201 195 | 
             
                        # of any enabled actions that have not yet run.
         | 
| 202 | 
            -
                        # Early access feature is in a pre-release state and might change or have
         | 
| 203 | 
            -
                        # limited support. For more information, see
         | 
| 204 | 
            -
                        # https://cloud.google.com/products#product-launch-stages.
         | 
| 205 196 | 
             
                        rpc :FinishDlpJob, ::Google::Cloud::Dlp::V2::FinishDlpJobRequest, ::Google::Protobuf::Empty
         | 
| 206 197 | 
             
                      end
         | 
| 207 198 |  | 
| @@ -1,15 +1,16 @@ | |
| 1 1 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 2 | 
             
            # source: google/privacy/dlp/v2/storage.proto
         | 
| 3 3 |  | 
| 4 | 
            -
            require 'google/ | 
| 5 | 
            -
             | 
| 4 | 
            +
            require 'google/api/annotations_pb'
         | 
| 6 5 | 
             
            require 'google/api/resource_pb'
         | 
| 7 6 | 
             
            require 'google/protobuf/timestamp_pb'
         | 
| 8 | 
            -
            require 'google/ | 
| 7 | 
            +
            require 'google/protobuf'
         | 
| 8 | 
            +
             | 
| 9 9 | 
             
            Google::Protobuf::DescriptorPool.generated_pool.build do
         | 
| 10 10 | 
             
              add_file("google/privacy/dlp/v2/storage.proto", :syntax => :proto3) do
         | 
| 11 11 | 
             
                add_message "google.privacy.dlp.v2.InfoType" do
         | 
| 12 12 | 
             
                  optional :name, :string, 1
         | 
| 13 | 
            +
                  optional :version, :string, 2
         | 
| 13 14 | 
             
                end
         | 
| 14 15 | 
             
                add_message "google.privacy.dlp.v2.StoredType" do
         | 
| 15 16 | 
             
                  optional :name, :string, 1
         | 
| @@ -115,6 +116,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 115 116 | 
             
                  optional :rows_limit_percent, :int32, 6
         | 
| 116 117 | 
             
                  optional :sample_method, :enum, 4, "google.privacy.dlp.v2.BigQueryOptions.SampleMethod"
         | 
| 117 118 | 
             
                  repeated :excluded_fields, :message, 5, "google.privacy.dlp.v2.FieldId"
         | 
| 119 | 
            +
                  repeated :included_fields, :message, 7, "google.privacy.dlp.v2.FieldId"
         | 
| 118 120 | 
             
                end
         | 
| 119 121 | 
             
                add_enum "google.privacy.dlp.v2.BigQueryOptions.SampleMethod" do
         | 
| 120 122 | 
             
                  value :SAMPLE_METHOD_UNSPECIFIED, 0
         | 
| @@ -33,11 +33,7 @@ module Google | |
| 33 33 | 
             
                #       // For Kubernetes resources, the format is {api group}/{kind}.
         | 
| 34 34 | 
             
                #       option (google.api.resource) = {
         | 
| 35 35 | 
             
                #         type: "pubsub.googleapis.com/Topic"
         | 
| 36 | 
            -
                #          | 
| 37 | 
            -
                #           pattern: "projects/{project}/topics/{topic}"
         | 
| 38 | 
            -
                #           parent_type: "cloudresourcemanager.googleapis.com/Project"
         | 
| 39 | 
            -
                #           parent_name_extractor: "projects/{project}"
         | 
| 40 | 
            -
                #         }
         | 
| 36 | 
            +
                #         pattern: "projects/{project}/topics/{topic}"
         | 
| 41 37 | 
             
                #       };
         | 
| 42 38 | 
             
                #     }
         | 
| 43 39 | 
             
                #
         | 
| @@ -45,10 +41,7 @@ module Google | |
| 45 41 | 
             
                #
         | 
| 46 42 | 
             
                #     resources:
         | 
| 47 43 | 
             
                #     - type: "pubsub.googleapis.com/Topic"
         | 
| 48 | 
            -
                #        | 
| 49 | 
            -
                #         - pattern: "projects/{project}/topics/{topic}"
         | 
| 50 | 
            -
                #           parent_type: "cloudresourcemanager.googleapis.com/Project"
         | 
| 51 | 
            -
                #           parent_name_extractor: "projects/{project}"
         | 
| 44 | 
            +
                #       pattern: "projects/{project}/topics/{topic}"
         | 
| 52 45 | 
             
                #
         | 
| 53 46 | 
             
                # Sometimes, resources have multiple patterns, typically because they can
         | 
| 54 47 | 
             
                # live under multiple parents.
         | 
| @@ -58,26 +51,10 @@ module Google | |
| 58 51 | 
             
                #     message LogEntry {
         | 
| 59 52 | 
             
                #       option (google.api.resource) = {
         | 
| 60 53 | 
             
                #         type: "logging.googleapis.com/LogEntry"
         | 
| 61 | 
            -
                #          | 
| 62 | 
            -
                # | 
| 63 | 
            -
                # | 
| 64 | 
            -
                # | 
| 65 | 
            -
                #         }
         | 
| 66 | 
            -
                #         name_descriptor: {
         | 
| 67 | 
            -
                #           pattern: "folders/{folder}/logs/{log}"
         | 
| 68 | 
            -
                #           parent_type: "cloudresourcemanager.googleapis.com/Folder"
         | 
| 69 | 
            -
                #           parent_name_extractor: "folders/{folder}"
         | 
| 70 | 
            -
                #         }
         | 
| 71 | 
            -
                #         name_descriptor: {
         | 
| 72 | 
            -
                #           pattern: "organizations/{organization}/logs/{log}"
         | 
| 73 | 
            -
                #           parent_type: "cloudresourcemanager.googleapis.com/Organization"
         | 
| 74 | 
            -
                #           parent_name_extractor: "organizations/{organization}"
         | 
| 75 | 
            -
                #         }
         | 
| 76 | 
            -
                #         name_descriptor: {
         | 
| 77 | 
            -
                #           pattern: "billingAccounts/{billing_account}/logs/{log}"
         | 
| 78 | 
            -
                #           parent_type: "billing.googleapis.com/BillingAccount"
         | 
| 79 | 
            -
                #           parent_name_extractor: "billingAccounts/{billing_account}"
         | 
| 80 | 
            -
                #         }
         | 
| 54 | 
            +
                #         pattern: "projects/{project}/logs/{log}"
         | 
| 55 | 
            +
                #         pattern: "folders/{folder}/logs/{log}"
         | 
| 56 | 
            +
                #         pattern: "organizations/{organization}/logs/{log}"
         | 
| 57 | 
            +
                #         pattern: "billingAccounts/{billing_account}/logs/{log}"
         | 
| 81 58 | 
             
                #       };
         | 
| 82 59 | 
             
                #     }
         | 
| 83 60 | 
             
                #
         | 
| @@ -85,48 +62,10 @@ module Google | |
| 85 62 | 
             
                #
         | 
| 86 63 | 
             
                #     resources:
         | 
| 87 64 | 
             
                #     - type: 'logging.googleapis.com/LogEntry'
         | 
| 88 | 
            -
                #        | 
| 89 | 
            -
                # | 
| 90 | 
            -
                # | 
| 91 | 
            -
                # | 
| 92 | 
            -
                #         - pattern: "folders/{folder}/logs/{log}"
         | 
| 93 | 
            -
                #           parent_type: "cloudresourcemanager.googleapis.com/Folder"
         | 
| 94 | 
            -
                #           parent_name_extractor: "folders/{folder}"
         | 
| 95 | 
            -
                #         - pattern: "organizations/{organization}/logs/{log}"
         | 
| 96 | 
            -
                #           parent_type: "cloudresourcemanager.googleapis.com/Organization"
         | 
| 97 | 
            -
                #           parent_name_extractor: "organizations/{organization}"
         | 
| 98 | 
            -
                #         - pattern: "billingAccounts/{billing_account}/logs/{log}"
         | 
| 99 | 
            -
                #           parent_type: "billing.googleapis.com/BillingAccount"
         | 
| 100 | 
            -
                #           parent_name_extractor: "billingAccounts/{billing_account}"
         | 
| 101 | 
            -
                #
         | 
| 102 | 
            -
                # For flexible resources, the resource name doesn't contain parent names, but
         | 
| 103 | 
            -
                # the resource itself has parents for policy evaluation.
         | 
| 104 | 
            -
                #
         | 
| 105 | 
            -
                # Example:
         | 
| 106 | 
            -
                #
         | 
| 107 | 
            -
                #     message Shelf {
         | 
| 108 | 
            -
                #       option (google.api.resource) = {
         | 
| 109 | 
            -
                #         type: "library.googleapis.com/Shelf"
         | 
| 110 | 
            -
                #         name_descriptor: {
         | 
| 111 | 
            -
                #           pattern: "shelves/{shelf}"
         | 
| 112 | 
            -
                #           parent_type: "cloudresourcemanager.googleapis.com/Project"
         | 
| 113 | 
            -
                #         }
         | 
| 114 | 
            -
                #         name_descriptor: {
         | 
| 115 | 
            -
                #           pattern: "shelves/{shelf}"
         | 
| 116 | 
            -
                #           parent_type: "cloudresourcemanager.googleapis.com/Folder"
         | 
| 117 | 
            -
                #         }
         | 
| 118 | 
            -
                #       };
         | 
| 119 | 
            -
                #     }
         | 
| 120 | 
            -
                #
         | 
| 121 | 
            -
                # The ResourceDescriptor Yaml config will look like:
         | 
| 122 | 
            -
                #
         | 
| 123 | 
            -
                #     resources:
         | 
| 124 | 
            -
                #     - type: 'library.googleapis.com/Shelf'
         | 
| 125 | 
            -
                #       name_descriptor:
         | 
| 126 | 
            -
                #         - pattern: "shelves/{shelf}"
         | 
| 127 | 
            -
                #           parent_type: "cloudresourcemanager.googleapis.com/Project"
         | 
| 128 | 
            -
                #         - pattern: "shelves/{shelf}"
         | 
| 129 | 
            -
                #           parent_type: "cloudresourcemanager.googleapis.com/Folder"
         | 
| 65 | 
            +
                #       pattern: "projects/{project}/logs/{log}"
         | 
| 66 | 
            +
                #       pattern: "folders/{folder}/logs/{log}"
         | 
| 67 | 
            +
                #       pattern: "organizations/{organization}/logs/{log}"
         | 
| 68 | 
            +
                #       pattern: "billingAccounts/{billing_account}/logs/{log}"
         | 
| 130 69 | 
             
                # @!attribute [rw] type
         | 
| 131 70 | 
             
                #   @return [::String]
         | 
| 132 71 | 
             
                #     The resource type. It must be in the format of
         | 
| @@ -130,7 +130,8 @@ module Google | |
| 130 130 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 131 131 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 132 132 |  | 
| 133 | 
            -
                      # Configuration to control the number of findings returned.
         | 
| 133 | 
            +
                      # Configuration to control the number of findings returned. Cannot be set if
         | 
| 134 | 
            +
                      # de-identification is requested.
         | 
| 134 135 | 
             
                      # @!attribute [rw] max_findings_per_item
         | 
| 135 136 | 
             
                      #   @return [::Integer]
         | 
| 136 137 | 
             
                      #     Max number of findings that will be returned for each item scanned.
         | 
| @@ -178,7 +179,9 @@ module Google | |
| 178 179 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 179 180 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 180 181 |  | 
| 181 | 
            -
                      # The type of data being sent for inspection.
         | 
| 182 | 
            +
                      # The type of data being sent for inspection. To learn more, see
         | 
| 183 | 
            +
                      # [Supported file
         | 
| 184 | 
            +
                      # types](https://cloud.google.com/dlp/docs/supported-file-types).
         | 
| 182 185 | 
             
                      module BytesType
         | 
| 183 186 | 
             
                        # Unused
         | 
| 184 187 | 
             
                        BYTES_TYPE_UNSPECIFIED = 0
         | 
| @@ -235,9 +238,9 @@ module Google | |
| 235 238 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 236 239 | 
             
                    end
         | 
| 237 240 |  | 
| 238 | 
            -
                    # Structured content to inspect. Up to 50,000 `Value`s per request allowed.
         | 
| 239 | 
            -
                    #  | 
| 240 | 
            -
                    # learn more.
         | 
| 241 | 
            +
                    # Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
         | 
| 242 | 
            +
                    # https://cloud.google.com/dlp/docs/inspecting-structured-text#inspecting_a_table
         | 
| 243 | 
            +
                    # to learn more.
         | 
| 241 244 | 
             
                    # @!attribute [rw] headers
         | 
| 242 245 | 
             
                    #   @return [::Array<::Google::Cloud::Dlp::V2::FieldId>]
         | 
| 243 246 | 
             
                    #     Headers of the table.
         | 
| @@ -333,6 +336,9 @@ module Google | |
| 333 336 | 
             
                    # @!attribute [rw] job_name
         | 
| 334 337 | 
             
                    #   @return [::String]
         | 
| 335 338 | 
             
                    #     The job that stored the finding.
         | 
| 339 | 
            +
                    # @!attribute [rw] finding_id
         | 
| 340 | 
            +
                    #   @return [::String]
         | 
| 341 | 
            +
                    #     The unique finding id.
         | 
| 336 342 | 
             
                    class Finding
         | 
| 337 343 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 338 344 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -914,7 +920,7 @@ module Google | |
| 914 920 | 
             
                    #     The configuration used for this job.
         | 
| 915 921 | 
             
                    # @!attribute [rw] result
         | 
| 916 922 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::InspectDataSourceDetails::Result]
         | 
| 917 | 
            -
                    #     A summary of the outcome of this  | 
| 923 | 
            +
                    #     A summary of the outcome of this inspection job.
         | 
| 918 924 | 
             
                    class InspectDataSourceDetails
         | 
| 919 925 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 920 926 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -946,9 +952,6 @@ module Google | |
| 946 952 | 
             
                      # @!attribute [rw] hybrid_stats
         | 
| 947 953 | 
             
                      #   @return [::Google::Cloud::Dlp::V2::HybridInspectStatistics]
         | 
| 948 954 | 
             
                      #     Statistics related to the processing of hybrid inspect.
         | 
| 949 | 
            -
                      #     Early access feature is in a pre-release state and might change or have
         | 
| 950 | 
            -
                      #     limited support. For more information, see
         | 
| 951 | 
            -
                      #     https://cloud.google.com/products#product-launch-stages.
         | 
| 952 955 | 
             
                      class Result
         | 
| 953 956 | 
             
                        include ::Google::Protobuf::MessageExts
         | 
| 954 957 | 
             
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -1755,7 +1758,7 @@ module Google | |
| 1755 1758 | 
             
                    # A rule for transforming a value.
         | 
| 1756 1759 | 
             
                    # @!attribute [rw] replace_config
         | 
| 1757 1760 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::ReplaceValueConfig]
         | 
| 1758 | 
            -
                    #     Replace
         | 
| 1761 | 
            +
                    #     Replace with a specified value.
         | 
| 1759 1762 | 
             
                    # @!attribute [rw] redact_config
         | 
| 1760 1763 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::RedactConfig]
         | 
| 1761 1764 | 
             
                    #     Redact
         | 
| @@ -1786,6 +1789,9 @@ module Google | |
| 1786 1789 | 
             
                    # @!attribute [rw] crypto_deterministic_config
         | 
| 1787 1790 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::CryptoDeterministicConfig]
         | 
| 1788 1791 | 
             
                    #     Deterministic Crypto
         | 
| 1792 | 
            +
                    # @!attribute [rw] replace_dictionary_config
         | 
| 1793 | 
            +
                    #   @return [::Google::Cloud::Dlp::V2::ReplaceDictionaryConfig]
         | 
| 1794 | 
            +
                    #     Replace with a value randomly drawn (with replacement) from a dictionary.
         | 
| 1789 1795 | 
             
                    class PrimitiveTransformation
         | 
| 1790 1796 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 1791 1797 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -1845,7 +1851,9 @@ module Google | |
| 1845 1851 | 
             
                    # Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
         | 
| 1846 1852 | 
             
                    # @!attribute [rw] crypto_key
         | 
| 1847 1853 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::CryptoKey]
         | 
| 1848 | 
            -
                    #     The key used by the encryption function.
         | 
| 1854 | 
            +
                    #     The key used by the encryption function. For deterministic encryption
         | 
| 1855 | 
            +
                    #     using AES-SIV, the provided key is internally expanded to 64 bytes prior to
         | 
| 1856 | 
            +
                    #     use.
         | 
| 1849 1857 | 
             
                    # @!attribute [rw] surrogate_info_type
         | 
| 1850 1858 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::InfoType]
         | 
| 1851 1859 | 
             
                    #     The custom info type to annotate the surrogate with.
         | 
| @@ -1914,6 +1922,17 @@ module Google | |
| 1914 1922 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 1915 1923 | 
             
                    end
         | 
| 1916 1924 |  | 
| 1925 | 
            +
                    # Replace each input value with a value randomly selected from the dictionary.
         | 
| 1926 | 
            +
                    # @!attribute [rw] word_list
         | 
| 1927 | 
            +
                    #   @return [::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary::WordList]
         | 
| 1928 | 
            +
                    #     A list of words to select from for random replacement. The
         | 
| 1929 | 
            +
                    #     [limits](https://cloud.google.com/dlp/limits) page contains details about
         | 
| 1930 | 
            +
                    #     the size limits of dictionaries.
         | 
| 1931 | 
            +
                    class ReplaceDictionaryConfig
         | 
| 1932 | 
            +
                      include ::Google::Protobuf::MessageExts
         | 
| 1933 | 
            +
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 1934 | 
            +
                    end
         | 
| 1935 | 
            +
             | 
| 1917 1936 | 
             
                    # Replace each matching finding with the name of the info_type.
         | 
| 1918 1937 | 
             
                    class ReplaceWithInfoTypeConfig
         | 
| 1919 1938 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| @@ -2003,8 +2022,8 @@ module Google | |
| 2003 2022 | 
             
                    # the user for simple bucketing strategies.
         | 
| 2004 2023 | 
             
                    #
         | 
| 2005 2024 | 
             
                    # The transformed value will be a hyphenated string of
         | 
| 2006 | 
            -
                    # \\{lower_bound}-\\{upper_bound},  | 
| 2007 | 
            -
                    # all values that are within this bucket will be replaced with "10-20".
         | 
| 2025 | 
            +
                    # \\{lower_bound}-\\{upper_bound}. For example, if lower_bound = 10 and upper_bound
         | 
| 2026 | 
            +
                    # = 20, all values that are within this bucket will be replaced with "10-20".
         | 
| 2008 2027 | 
             
                    #
         | 
| 2009 2028 | 
             
                    # This can be used on data of type: double, long.
         | 
| 2010 2029 | 
             
                    #
         | 
| @@ -2176,10 +2195,11 @@ module Google | |
| 2176 2195 | 
             
                    end
         | 
| 2177 2196 |  | 
| 2178 2197 | 
             
                    # This is a data encryption key (DEK) (as opposed to
         | 
| 2179 | 
            -
                    # a key encryption key (KEK) stored by  | 
| 2180 | 
            -
                    #  | 
| 2181 | 
            -
                    #  | 
| 2182 | 
            -
                    #  | 
| 2198 | 
            +
                    # a key encryption key (KEK) stored by Cloud Key Management Service
         | 
| 2199 | 
            +
                    # (Cloud KMS).
         | 
| 2200 | 
            +
                    # When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate
         | 
| 2201 | 
            +
                    # IAM policy on the KEK to ensure an attacker cannot
         | 
| 2202 | 
            +
                    # unwrap the DEK.
         | 
| 2183 2203 | 
             
                    # @!attribute [rw] transient
         | 
| 2184 2204 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::TransientCryptoKey]
         | 
| 2185 2205 | 
             
                    #     Transient crypto key
         | 
| @@ -2188,7 +2208,7 @@ module Google | |
| 2188 2208 | 
             
                    #     Unwrapped crypto key
         | 
| 2189 2209 | 
             
                    # @!attribute [rw] kms_wrapped
         | 
| 2190 2210 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::KmsWrappedCryptoKey]
         | 
| 2191 | 
            -
                    #      | 
| 2211 | 
            +
                    #     Key wrapped using Cloud KMS
         | 
| 2192 2212 | 
             
                    class CryptoKey
         | 
| 2193 2213 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 2194 2214 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -2220,10 +2240,16 @@ module Google | |
| 2220 2240 | 
             
                    end
         | 
| 2221 2241 |  | 
| 2222 2242 | 
             
                    # Include to use an existing data crypto key wrapped by KMS.
         | 
| 2223 | 
            -
                    # The wrapped key must be a 128 | 
| 2243 | 
            +
                    # The wrapped key must be a 128-, 192-, or 256-bit key.
         | 
| 2224 2244 | 
             
                    # Authorization requires the following IAM permissions when sending a request
         | 
| 2225 | 
            -
                    # to perform a crypto transformation using a  | 
| 2245 | 
            +
                    # to perform a crypto transformation using a KMS-wrapped crypto key:
         | 
| 2226 2246 | 
             
                    # dlp.kms.encrypt
         | 
| 2247 | 
            +
                    #
         | 
| 2248 | 
            +
                    # For more information, see [Creating a wrapped key]
         | 
| 2249 | 
            +
                    # (https://cloud.google.com/dlp/docs/create-wrapped-key).
         | 
| 2250 | 
            +
                    #
         | 
| 2251 | 
            +
                    # Note: When you use Cloud KMS for cryptographic operations,
         | 
| 2252 | 
            +
                    # [charges apply](https://cloud.google.com/kms/pricing).
         | 
| 2227 2253 | 
             
                    # @!attribute [rw] wrapped_key
         | 
| 2228 2254 | 
             
                    #   @return [::String]
         | 
| 2229 2255 | 
             
                    #     Required. The wrapped data crypto key.
         | 
| @@ -2295,6 +2321,9 @@ module Google | |
| 2295 2321 | 
             
                    # @!attribute [rw] fields
         | 
| 2296 2322 | 
             
                    #   @return [::Array<::Google::Cloud::Dlp::V2::FieldId>]
         | 
| 2297 2323 | 
             
                    #     Required. Input field(s) to apply the transformation to.
         | 
| 2324 | 
            +
                    #     When you have columns that reference their position within a list,
         | 
| 2325 | 
            +
                    #     omit the index from the FieldId. FieldId name matching ignores the index.
         | 
| 2326 | 
            +
                    #     For example, instead of "contact.nums[0].type", use "contact.nums.type".
         | 
| 2298 2327 | 
             
                    # @!attribute [rw] condition
         | 
| 2299 2328 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::RecordCondition]
         | 
| 2300 2329 | 
             
                    #     Only apply the transformation if the condition evaluates to true for the
         | 
| @@ -2489,7 +2518,7 @@ module Google | |
| 2489 2518 | 
             
                      end
         | 
| 2490 2519 | 
             
                    end
         | 
| 2491 2520 |  | 
| 2492 | 
            -
                    # Schedule for  | 
| 2521 | 
            +
                    # Schedule for inspect job triggers.
         | 
| 2493 2522 | 
             
                    # @!attribute [rw] recurrence_period_duration
         | 
| 2494 2523 | 
             
                    #   @return [::Google::Protobuf::Duration]
         | 
| 2495 2524 | 
             
                    #     With this option a job is started a regular periodic basis. For
         | 
| @@ -2566,7 +2595,7 @@ module Google | |
| 2566 2595 | 
             
                    #     Output only. The last update timestamp of an inspectTemplate.
         | 
| 2567 2596 | 
             
                    # @!attribute [rw] deidentify_config
         | 
| 2568 2597 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::DeidentifyConfig]
         | 
| 2569 | 
            -
                    #      | 
| 2598 | 
            +
                    #     The core content of the template.
         | 
| 2570 2599 | 
             
                    class DeidentifyTemplate
         | 
| 2571 2600 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 2572 2601 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -2635,9 +2664,6 @@ module Google | |
| 2635 2664 | 
             
                      # @!attribute [rw] manual
         | 
| 2636 2665 | 
             
                      #   @return [::Google::Cloud::Dlp::V2::Manual]
         | 
| 2637 2666 | 
             
                      #     For use with hybrid jobs. Jobs must be manually created and finished.
         | 
| 2638 | 
            -
                      #     Early access feature is in a pre-release state and might change or have
         | 
| 2639 | 
            -
                      #     limited support. For more information, see
         | 
| 2640 | 
            -
                      #     https://cloud.google.com/products#product-launch-stages.
         | 
| 2641 2667 | 
             
                      class Trigger
         | 
| 2642 2668 | 
             
                        include ::Google::Protobuf::MessageExts
         | 
| 2643 2669 | 
             
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -2730,11 +2756,11 @@ module Google | |
| 2730 2756 | 
             
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 2731 2757 | 
             
                      end
         | 
| 2732 2758 |  | 
| 2733 | 
            -
                      # Publish findings of a DlpJob to  | 
| 2759 | 
            +
                      # Publish findings of a DlpJob to Data Catalog. Labels summarizing the
         | 
| 2734 2760 | 
             
                      # results of the DlpJob will be applied to the entry for the resource scanned
         | 
| 2735 | 
            -
                      # in  | 
| 2761 | 
            +
                      # in Data Catalog. Any labels previously written by another DlpJob will
         | 
| 2736 2762 | 
             
                      # be deleted. InfoType naming patterns are strictly enforced when using this
         | 
| 2737 | 
            -
                      # feature. Note that the findings will be persisted in  | 
| 2763 | 
            +
                      # feature. Note that the findings will be persisted in Data Catalog
         | 
| 2738 2764 | 
             
                      # storage and are governed by Data Catalog service-specific policy, see
         | 
| 2739 2765 | 
             
                      # https://cloud.google.com/terms/service-terms
         | 
| 2740 2766 | 
             
                      # Only a single instance of this action can be specified and only allowed if
         | 
| @@ -3003,10 +3029,11 @@ module Google | |
| 3003 3029 | 
             
                    #         parent=projects/example-project/locations/europe-west3
         | 
| 3004 3030 | 
             
                    # @!attribute [rw] inspect_job
         | 
| 3005 3031 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::InspectJobConfig]
         | 
| 3006 | 
            -
                    #      | 
| 3032 | 
            +
                    #     An inspection job scans a storage repository for InfoTypes.
         | 
| 3007 3033 | 
             
                    # @!attribute [rw] risk_job
         | 
| 3008 3034 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::RiskAnalysisJobConfig]
         | 
| 3009 | 
            -
                    #      | 
| 3035 | 
            +
                    #     A risk analysis job calculates re-identification risk metrics for a
         | 
| 3036 | 
            +
                    #     BigQuery table.
         | 
| 3010 3037 | 
             
                    # @!attribute [rw] job_id
         | 
| 3011 3038 | 
             
                    #   @return [::String]
         | 
| 3012 3039 | 
             
                    #     The job id can contain uppercase and lowercase letters,
         | 
| @@ -3075,7 +3102,7 @@ module Google | |
| 3075 3102 | 
             
                    #     * Restrictions can be combined by `AND` or `OR` logical operators. A
         | 
| 3076 3103 | 
             
                    #     sequence of restrictions implicitly uses `AND`.
         | 
| 3077 3104 | 
             
                    #     * A restriction has the form of `{field} {operator} {value}`.
         | 
| 3078 | 
            -
                    #     * Supported fields/values for inspect  | 
| 3105 | 
            +
                    #     * Supported fields/values for inspect triggers:
         | 
| 3079 3106 | 
             
                    #         - `status` - HEALTHY|PAUSED|CANCELLED
         | 
| 3080 3107 | 
             
                    #         - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
         | 
| 3081 3108 | 
             
                    #         - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
         | 
| @@ -3091,6 +3118,9 @@ module Google | |
| 3091 3118 | 
             
                    #     * last_run_time > \"2017-12-12T00:00:00+00:00\"
         | 
| 3092 3119 | 
             
                    #
         | 
| 3093 3120 | 
             
                    #     The length of this field should be no more than 500 characters.
         | 
| 3121 | 
            +
                    # @!attribute [rw] type
         | 
| 3122 | 
            +
                    #   @return [::Google::Cloud::Dlp::V2::DlpJobType]
         | 
| 3123 | 
            +
                    #     The type of jobs. Will use `DlpJobType.INSPECT` if not set.
         | 
| 3094 3124 | 
             
                    # @!attribute [rw] location_id
         | 
| 3095 3125 | 
             
                    #   @return [::String]
         | 
| 3096 3126 | 
             
                    #     Deprecated. This field has no effect.
         | 
| @@ -3939,7 +3969,7 @@ module Google | |
| 3939 3969 |  | 
| 3940 3970 | 
             
                    # An enum to represent the various types of DLP jobs.
         | 
| 3941 3971 | 
             
                    module DlpJobType
         | 
| 3942 | 
            -
                      #  | 
| 3972 | 
            +
                      # Defaults to INSPECT_JOB.
         | 
| 3943 3973 | 
             
                      DLP_JOB_TYPE_UNSPECIFIED = 0
         | 
| 3944 3974 |  | 
| 3945 3975 | 
             
                      # The job inspected Google Cloud for sensitive data.
         | 
| @@ -29,6 +29,9 @@ module Google | |
| 29 29 | 
             
                    #     at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
         | 
| 30 30 | 
             
                    #     a built-in type.  When sending Cloud DLP results to Data Catalog, infoType
         | 
| 31 31 | 
             
                    #     names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.
         | 
| 32 | 
            +
                    # @!attribute [rw] version
         | 
| 33 | 
            +
                    #   @return [::String]
         | 
| 34 | 
            +
                    #     Optional version name for this InfoType.
         | 
| 32 35 | 
             
                    class InfoType
         | 
| 33 36 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 34 37 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -100,7 +103,7 @@ module Google | |
| 100 103 | 
             
                      # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane)
         | 
| 101 104 | 
             
                      # will be replaced with whitespace when scanning for matches, so the
         | 
| 102 105 | 
             
                      # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
         | 
| 103 | 
            -
                      #  | 
| 106 | 
            +
                      # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane)
         | 
| 104 107 | 
             
                      # surrounding any match must be of a different type than the adjacent
         | 
| 105 108 | 
             
                      # characters within the word, so letters must be next to non-letters and
         | 
| 106 109 | 
             
                      # digits next to non-digits. For example, the dictionary word "jen" will
         | 
| @@ -113,7 +116,7 @@ module Google | |
| 113 116 | 
             
                      # [limits](https://cloud.google.com/dlp/limits) page contains details about
         | 
| 114 117 | 
             
                      # the size limits of dictionaries. For dictionaries that do not fit within
         | 
| 115 118 | 
             
                      # these constraints, consider using `LargeCustomDictionaryConfig` in the
         | 
| 116 | 
            -
                      #  | 
| 119 | 
            +
                      # [limits](https://cloud.google.com/dlp/limits) page contains details about
         | 
| 117 120 | 
             
                      # @!attribute [rw] word_list
         | 
| 118 121 | 
             
                      #   @return [::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary::WordList]
         | 
| 119 122 | 
             
                      #     List of words or phrases to search for.
         | 
| @@ -145,6 +148,7 @@ module Google | |
| 145 148 | 
             
                      #     google/re2 repository on GitHub.
         | 
| 146 149 | 
             
                      # @!attribute [rw] group_indexes
         | 
| 147 150 | 
             
                      #   @return [::Array<::Integer>]
         | 
| 151 | 
            +
                      #     (https://github.com/google/re2/wiki/Syntax) can be found under the
         | 
| 148 152 | 
             
                      #     The index of the submatch to extract as findings. When not
         | 
| 149 153 | 
             
                      #     specified, the entire match is returned. No more than 3 may be included.
         | 
| 150 154 | 
             
                      class Regex
         | 
| @@ -157,7 +161,7 @@ module Google | |
| 157 161 | 
             
                      # [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
         | 
| 158 162 | 
             
                      # These types of transformations are
         | 
| 159 163 | 
             
                      # those that perform pseudonymization, thereby producing a "surrogate" as
         | 
| 160 | 
            -
                      #  | 
| 164 | 
            +
                      # [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
         | 
| 161 165 | 
             
                      # transformation such as `surrogate_info_type`. This CustomInfoType does
         | 
| 162 166 | 
             
                      # not support the use of `detection_rules`.
         | 
| 163 167 | 
             
                      class SurrogateType
         | 
| @@ -339,6 +343,7 @@ module Google | |
| 339 343 | 
             
                    #     under the google/re2 repository on GitHub.
         | 
| 340 344 | 
             
                    # @!attribute [rw] exclude_regex
         | 
| 341 345 | 
             
                    #   @return [::Array<::String>]
         | 
| 346 | 
            +
                    #     [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
         | 
| 342 347 | 
             
                    #     A list of regular expressions matching file paths to exclude. All files in
         | 
| 343 348 | 
             
                    #     the bucket that match at least one of these regular expressions will be
         | 
| 344 349 | 
             
                    #     excluded from the scan.
         | 
| @@ -361,12 +366,14 @@ module Google | |
| 361 366 | 
             
                    #     Max number of bytes to scan from a file. If a scanned file's size is bigger
         | 
| 362 367 | 
             
                    #     than this value then the rest of the bytes are omitted. Only one
         | 
| 363 368 | 
             
                    #     of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.
         | 
| 369 | 
            +
                    #     Cannot be set if de-identification is requested.
         | 
| 364 370 | 
             
                    # @!attribute [rw] bytes_limit_per_file_percent
         | 
| 365 371 | 
             
                    #   @return [::Integer]
         | 
| 366 372 | 
             
                    #     Max percentage of bytes to scan from a file. The rest are omitted. The
         | 
| 367 373 | 
             
                    #     number of bytes scanned is rounded down. Must be between 0 and 100,
         | 
| 368 374 | 
             
                    #     inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one
         | 
| 369 375 | 
             
                    #     of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.
         | 
| 376 | 
            +
                    #     Cannot be set if de-identification is requested.
         | 
| 370 377 | 
             
                    # @!attribute [rw] file_types
         | 
| 371 378 | 
             
                    #   @return [::Array<::Google::Cloud::Dlp::V2::FileType>]
         | 
| 372 379 | 
             
                    #     List of file type groups to include in the scan.
         | 
| @@ -474,6 +481,9 @@ module Google | |
| 474 481 | 
             
                    #   @return [::Array<::Google::Cloud::Dlp::V2::FieldId>]
         | 
| 475 482 | 
             
                    #     References to fields excluded from scanning. This allows you to skip
         | 
| 476 483 | 
             
                    #     inspection of entire columns which you know have no findings.
         | 
| 484 | 
            +
                    # @!attribute [rw] included_fields
         | 
| 485 | 
            +
                    #   @return [::Array<::Google::Cloud::Dlp::V2::FieldId>]
         | 
| 486 | 
            +
                    #     Limit scanning only to these fields.
         | 
| 477 487 | 
             
                    class BigQueryOptions
         | 
| 478 488 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 479 489 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -507,9 +517,6 @@ module Google | |
| 507 517 | 
             
                    # @!attribute [rw] hybrid_options
         | 
| 508 518 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::HybridOptions]
         | 
| 509 519 | 
             
                    #     Hybrid inspection options.
         | 
| 510 | 
            -
                    #     Early access feature is in a pre-release state and might change or have
         | 
| 511 | 
            -
                    #     limited support. For more information, see
         | 
| 512 | 
            -
                    #     https://cloud.google.com/products#product-launch-stages.
         | 
| 513 520 | 
             
                    # @!attribute [rw] timespan_config
         | 
| 514 521 | 
             
                    #   @return [::Google::Cloud::Dlp::V2::StorageConfig::TimespanConfig]
         | 
| 515 522 | 
             
                    class StorageConfig
         | 
| @@ -787,11 +794,12 @@ module Google | |
| 787 794 | 
             
                      BINARY_FILE = 1
         | 
| 788 795 |  | 
| 789 796 | 
             
                      # Included file extensions:
         | 
| 790 | 
            -
                      #   asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, | 
| 791 | 
            -
                      #    | 
| 792 | 
            -
                      #    | 
| 793 | 
            -
                      #   rb, rbw, rs, rc, scala, sh, sql,  | 
| 794 | 
            -
                      #    | 
| 797 | 
            +
                      #   asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart,
         | 
| 798 | 
            +
                      #   dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm,
         | 
| 799 | 
            +
                      #   mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht,
         | 
| 800 | 
            +
                      #   properties, py, pyw, rb, rbw, rs, rss,  rc, scala, sh, sql, swift, tex,
         | 
| 801 | 
            +
                      #   shtml, shtm, xhtml, lhs, ics, ini, java, js, json, kix, kml, ocaml, md,
         | 
| 802 | 
            +
                      #   txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml.
         | 
| 795 803 | 
             
                      TEXT_FILE = 2
         | 
| 796 804 |  | 
| 797 805 | 
             
                      # Included file extensions:
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-cloud-dlp-v2
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.8.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2022-01-11 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: gapic-common
         | 
| @@ -16,7 +16,7 @@ dependencies: | |
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - ">="
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: '0. | 
| 19 | 
            +
                    version: '0.7'
         | 
| 20 20 | 
             
                - - "<"
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 22 | 
             
                    version: 2.a
         | 
| @@ -26,7 +26,7 @@ dependencies: | |
| 26 26 | 
             
                requirements:
         | 
| 27 27 | 
             
                - - ">="
         | 
| 28 28 | 
             
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            -
                    version: '0. | 
| 29 | 
            +
                    version: '0.7'
         | 
| 30 30 | 
             
                - - "<"
         | 
| 31 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 32 | 
             
                    version: 2.a
         | 
| @@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 212 212 | 
             
                - !ruby/object:Gem::Version
         | 
| 213 213 | 
             
                  version: '0'
         | 
| 214 214 | 
             
            requirements: []
         | 
| 215 | 
            -
            rubygems_version: 3. | 
| 215 | 
            +
            rubygems_version: 3.3.4
         | 
| 216 216 | 
             
            signing_key: 
         | 
| 217 217 | 
             
            specification_version: 4
         | 
| 218 218 | 
             
            summary: API Client library for the Cloud Data Loss Prevention (DLP) V2 API
         |