google-apis-dlp_v2 0.108.0 → 0.109.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 +4 -0
- data/lib/google/apis/dlp_v2/classes.rb +118 -0
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +61 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cff1d77a6caff9dd84faaa74a73e7a6679961567ce691584b5b2a1a9108522dd
|
|
4
|
+
data.tar.gz: 9ca3c0ee57957a968586910a32bdf3221cf966078443747b6c958b2e2686510a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 229983ba163ef2dfd06db49998c1b9bdb2eb4b011220d51598ccdf5b6e8e50470ad45862972872f8613d2737a8ef03d097ea1615cc54b7d60315c12c8feb1570
|
|
7
|
+
data.tar.gz: fd3ff5bcc60de801e8e9827e042335e52d669f8295f391e43992f3a22c788b15a258b577bf58865321fa5bd9f0e7c45e8be7dec20397e116948640d5887b491d
|
data/CHANGELOG.md
CHANGED
|
@@ -291,6 +291,19 @@ module Google
|
|
|
291
291
|
end
|
|
292
292
|
end
|
|
293
293
|
|
|
294
|
+
# If set, indicates that the finding applies to all messages in the conversation.
|
|
295
|
+
class GooglePrivacyDlpV2AllMessages
|
|
296
|
+
include Google::Apis::Core::Hashable
|
|
297
|
+
|
|
298
|
+
def initialize(**args)
|
|
299
|
+
update!(**args)
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# Update properties of this object
|
|
303
|
+
def update!(**args)
|
|
304
|
+
end
|
|
305
|
+
end
|
|
306
|
+
|
|
294
307
|
# Catch-all for all other tables not specified by other filters. Should always
|
|
295
308
|
# be last, except for single-table configurations, which will only have a
|
|
296
309
|
# TableReference target.
|
|
@@ -1950,6 +1963,12 @@ module Google
|
|
|
1950
1963
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentMetadata]
|
|
1951
1964
|
attr_accessor :content_metadata
|
|
1952
1965
|
|
|
1966
|
+
# Complete conversation or slice of a conversation. It is assumed that all
|
|
1967
|
+
# included messages are contiguous and ordered in chronological order.
|
|
1968
|
+
# Corresponds to the JSON property `conversation`
|
|
1969
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Conversation]
|
|
1970
|
+
attr_accessor :conversation
|
|
1971
|
+
|
|
1953
1972
|
# Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
|
|
1954
1973
|
# https://cloud.google.com/sensitive-data-protection/docs/inspecting-structured-
|
|
1955
1974
|
# text#inspecting_a_table to learn more.
|
|
@@ -1970,6 +1989,7 @@ module Google
|
|
|
1970
1989
|
def update!(**args)
|
|
1971
1990
|
@byte_item = args[:byte_item] if args.key?(:byte_item)
|
|
1972
1991
|
@content_metadata = args[:content_metadata] if args.key?(:content_metadata)
|
|
1992
|
+
@conversation = args[:conversation] if args.key?(:conversation)
|
|
1973
1993
|
@table = args[:table] if args.key?(:table)
|
|
1974
1994
|
@value = args[:value] if args.key?(:value)
|
|
1975
1995
|
end
|
|
@@ -2003,6 +2023,11 @@ module Google
|
|
|
2003
2023
|
# @return [String]
|
|
2004
2024
|
attr_accessor :container_version
|
|
2005
2025
|
|
|
2026
|
+
# Location within a conversation.
|
|
2027
|
+
# Corresponds to the JSON property `conversationLocation`
|
|
2028
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ConversationLocation]
|
|
2029
|
+
attr_accessor :conversation_location
|
|
2030
|
+
|
|
2006
2031
|
# Location of a finding within a document.
|
|
2007
2032
|
# Corresponds to the JSON property `documentLocation`
|
|
2008
2033
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentLocation]
|
|
@@ -2032,6 +2057,7 @@ module Google
|
|
|
2032
2057
|
@container_name = args[:container_name] if args.key?(:container_name)
|
|
2033
2058
|
@container_timestamp = args[:container_timestamp] if args.key?(:container_timestamp)
|
|
2034
2059
|
@container_version = args[:container_version] if args.key?(:container_version)
|
|
2060
|
+
@conversation_location = args[:conversation_location] if args.key?(:conversation_location)
|
|
2035
2061
|
@document_location = args[:document_location] if args.key?(:document_location)
|
|
2036
2062
|
@image_location = args[:image_location] if args.key?(:image_location)
|
|
2037
2063
|
@metadata_location = args[:metadata_location] if args.key?(:metadata_location)
|
|
@@ -2058,6 +2084,87 @@ module Google
|
|
|
2058
2084
|
end
|
|
2059
2085
|
end
|
|
2060
2086
|
|
|
2087
|
+
# Complete conversation or slice of a conversation. It is assumed that all
|
|
2088
|
+
# included messages are contiguous and ordered in chronological order.
|
|
2089
|
+
class GooglePrivacyDlpV2Conversation
|
|
2090
|
+
include Google::Apis::Core::Hashable
|
|
2091
|
+
|
|
2092
|
+
# Messages exchanged within this conversation. The maximum number of messages
|
|
2093
|
+
# allowed is 50k. The order of the messages is assumed to be chronological and
|
|
2094
|
+
# will be used to index findings in the response.
|
|
2095
|
+
# Corresponds to the JSON property `messages`
|
|
2096
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ConversationMessage>]
|
|
2097
|
+
attr_accessor :messages
|
|
2098
|
+
|
|
2099
|
+
def initialize(**args)
|
|
2100
|
+
update!(**args)
|
|
2101
|
+
end
|
|
2102
|
+
|
|
2103
|
+
# Update properties of this object
|
|
2104
|
+
def update!(**args)
|
|
2105
|
+
@messages = args[:messages] if args.key?(:messages)
|
|
2106
|
+
end
|
|
2107
|
+
end
|
|
2108
|
+
|
|
2109
|
+
# Location within a conversation.
|
|
2110
|
+
class GooglePrivacyDlpV2ConversationLocation
|
|
2111
|
+
include Google::Apis::Core::Hashable
|
|
2112
|
+
|
|
2113
|
+
# If set, indicates that the finding applies to all messages in the conversation.
|
|
2114
|
+
# Corresponds to the JSON property `allMessages`
|
|
2115
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AllMessages]
|
|
2116
|
+
attr_accessor :all_messages
|
|
2117
|
+
|
|
2118
|
+
# Matches an index of a message in the conversation provided in the request.
|
|
2119
|
+
# Corresponds to the JSON property `messageIndex`
|
|
2120
|
+
# @return [Fixnum]
|
|
2121
|
+
attr_accessor :message_index
|
|
2122
|
+
|
|
2123
|
+
def initialize(**args)
|
|
2124
|
+
update!(**args)
|
|
2125
|
+
end
|
|
2126
|
+
|
|
2127
|
+
# Update properties of this object
|
|
2128
|
+
def update!(**args)
|
|
2129
|
+
@all_messages = args[:all_messages] if args.key?(:all_messages)
|
|
2130
|
+
@message_index = args[:message_index] if args.key?(:message_index)
|
|
2131
|
+
end
|
|
2132
|
+
end
|
|
2133
|
+
|
|
2134
|
+
# Single message in a conversation.
|
|
2135
|
+
class GooglePrivacyDlpV2ConversationMessage
|
|
2136
|
+
include Google::Apis::Core::Hashable
|
|
2137
|
+
|
|
2138
|
+
# The contents of this message.
|
|
2139
|
+
# Corresponds to the JSON property `content`
|
|
2140
|
+
# @return [String]
|
|
2141
|
+
attr_accessor :content
|
|
2142
|
+
|
|
2143
|
+
# The type of message.
|
|
2144
|
+
# Corresponds to the JSON property `messageType`
|
|
2145
|
+
# @return [String]
|
|
2146
|
+
attr_accessor :message_type
|
|
2147
|
+
|
|
2148
|
+
# Optional. The identifier of the participant. For example 'test-user' or '
|
|
2149
|
+
# gemini'. The participant ID can contain lowercase letters, numbers, and
|
|
2150
|
+
# hyphens; that is, it must match the regular expression: `^[a-z]([a-z0-9-]`0,61`
|
|
2151
|
+
# [a-z0-9])?$`. The maximum length is 63 characters.
|
|
2152
|
+
# Corresponds to the JSON property `participantId`
|
|
2153
|
+
# @return [String]
|
|
2154
|
+
attr_accessor :participant_id
|
|
2155
|
+
|
|
2156
|
+
def initialize(**args)
|
|
2157
|
+
update!(**args)
|
|
2158
|
+
end
|
|
2159
|
+
|
|
2160
|
+
# Update properties of this object
|
|
2161
|
+
def update!(**args)
|
|
2162
|
+
@content = args[:content] if args.key?(:content)
|
|
2163
|
+
@message_type = args[:message_type] if args.key?(:message_type)
|
|
2164
|
+
@participant_id = args[:participant_id] if args.key?(:participant_id)
|
|
2165
|
+
end
|
|
2166
|
+
end
|
|
2167
|
+
|
|
2061
2168
|
# Request message for CreateConnection.
|
|
2062
2169
|
class GooglePrivacyDlpV2CreateConnectionRequest
|
|
2063
2170
|
include Google::Apis::Core::Hashable
|
|
@@ -6757,6 +6864,16 @@ module Google
|
|
|
6757
6864
|
class GooglePrivacyDlpV2InspectTemplate
|
|
6758
6865
|
include Google::Apis::Core::Hashable
|
|
6759
6866
|
|
|
6867
|
+
# Optional. Enables the use of [limited-availability built-in infoTypes](https://
|
|
6868
|
+
# docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#
|
|
6869
|
+
# limited-availability-infotypes) in inspect_config. These infoTypes are
|
|
6870
|
+
# supported only in specific regions and can cause scanning errors if used
|
|
6871
|
+
# elsewhere.
|
|
6872
|
+
# Corresponds to the JSON property `allowLimitedAvailabilityInfoTypes`
|
|
6873
|
+
# @return [Boolean]
|
|
6874
|
+
attr_accessor :allow_limited_availability_info_types
|
|
6875
|
+
alias_method :allow_limited_availability_info_types?, :allow_limited_availability_info_types
|
|
6876
|
+
|
|
6760
6877
|
# Output only. The creation timestamp of an inspectTemplate.
|
|
6761
6878
|
# Corresponds to the JSON property `createTime`
|
|
6762
6879
|
# @return [String]
|
|
@@ -6796,6 +6913,7 @@ module Google
|
|
|
6796
6913
|
|
|
6797
6914
|
# Update properties of this object
|
|
6798
6915
|
def update!(**args)
|
|
6916
|
+
@allow_limited_availability_info_types = args[:allow_limited_availability_info_types] if args.key?(:allow_limited_availability_info_types)
|
|
6799
6917
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
6800
6918
|
@description = args[:description] if args.key?(:description)
|
|
6801
6919
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DlpV2
|
|
18
18
|
# Version of the google-apis-dlp_v2 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.109.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260516"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -64,6 +64,12 @@ module Google
|
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
class GooglePrivacyDlpV2AllMessages
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
67
73
|
class GooglePrivacyDlpV2AllOtherBigQueryTables
|
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
75
|
|
|
@@ -364,6 +370,24 @@ module Google
|
|
|
364
370
|
include Google::Apis::Core::JsonObjectSupport
|
|
365
371
|
end
|
|
366
372
|
|
|
373
|
+
class GooglePrivacyDlpV2Conversation
|
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
|
+
|
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
class GooglePrivacyDlpV2ConversationLocation
|
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
|
+
|
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
class GooglePrivacyDlpV2ConversationMessage
|
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
|
+
|
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
389
|
+
end
|
|
390
|
+
|
|
367
391
|
class GooglePrivacyDlpV2CreateConnectionRequest
|
|
368
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
369
393
|
|
|
@@ -2227,6 +2251,12 @@ module Google
|
|
|
2227
2251
|
end
|
|
2228
2252
|
end
|
|
2229
2253
|
|
|
2254
|
+
class GooglePrivacyDlpV2AllMessages
|
|
2255
|
+
# @private
|
|
2256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2257
|
+
end
|
|
2258
|
+
end
|
|
2259
|
+
|
|
2230
2260
|
class GooglePrivacyDlpV2AllOtherBigQueryTables
|
|
2231
2261
|
# @private
|
|
2232
2262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2707,6 +2737,8 @@ module Google
|
|
|
2707
2737
|
|
|
2708
2738
|
property :content_metadata, as: 'contentMetadata', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ContentMetadata, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ContentMetadata::Representation
|
|
2709
2739
|
|
|
2740
|
+
property :conversation, as: 'conversation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Conversation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Conversation::Representation
|
|
2741
|
+
|
|
2710
2742
|
property :table, as: 'table', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Table, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Table::Representation
|
|
2711
2743
|
|
|
2712
2744
|
property :value, as: 'value'
|
|
@@ -2719,6 +2751,8 @@ module Google
|
|
|
2719
2751
|
property :container_name, as: 'containerName'
|
|
2720
2752
|
property :container_timestamp, as: 'containerTimestamp'
|
|
2721
2753
|
property :container_version, as: 'containerVersion'
|
|
2754
|
+
property :conversation_location, as: 'conversationLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ConversationLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ConversationLocation::Representation
|
|
2755
|
+
|
|
2722
2756
|
property :document_location, as: 'documentLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentLocation::Representation
|
|
2723
2757
|
|
|
2724
2758
|
property :image_location, as: 'imageLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageLocation::Representation
|
|
@@ -2738,6 +2772,32 @@ module Google
|
|
|
2738
2772
|
end
|
|
2739
2773
|
end
|
|
2740
2774
|
|
|
2775
|
+
class GooglePrivacyDlpV2Conversation
|
|
2776
|
+
# @private
|
|
2777
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2778
|
+
collection :messages, as: 'messages', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ConversationMessage, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ConversationMessage::Representation
|
|
2779
|
+
|
|
2780
|
+
end
|
|
2781
|
+
end
|
|
2782
|
+
|
|
2783
|
+
class GooglePrivacyDlpV2ConversationLocation
|
|
2784
|
+
# @private
|
|
2785
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2786
|
+
property :all_messages, as: 'allMessages', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AllMessages, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AllMessages::Representation
|
|
2787
|
+
|
|
2788
|
+
property :message_index, as: 'messageIndex'
|
|
2789
|
+
end
|
|
2790
|
+
end
|
|
2791
|
+
|
|
2792
|
+
class GooglePrivacyDlpV2ConversationMessage
|
|
2793
|
+
# @private
|
|
2794
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2795
|
+
property :content, as: 'content'
|
|
2796
|
+
property :message_type, as: 'messageType'
|
|
2797
|
+
property :participant_id, as: 'participantId'
|
|
2798
|
+
end
|
|
2799
|
+
end
|
|
2800
|
+
|
|
2741
2801
|
class GooglePrivacyDlpV2CreateConnectionRequest
|
|
2742
2802
|
# @private
|
|
2743
2803
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4129,6 +4189,7 @@ module Google
|
|
|
4129
4189
|
class GooglePrivacyDlpV2InspectTemplate
|
|
4130
4190
|
# @private
|
|
4131
4191
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4192
|
+
property :allow_limited_availability_info_types, as: 'allowLimitedAvailabilityInfoTypes'
|
|
4132
4193
|
property :create_time, as: 'createTime'
|
|
4133
4194
|
property :description, as: 'description'
|
|
4134
4195
|
property :display_name, as: 'displayName'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-dlp_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.109.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.109.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|