google-cloud-dlp 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,12 +29,12 @@ module Google
29
29
  # A reference to a StoredInfoType to use with scanning.
30
30
  # @!attribute [rw] name
31
31
  # @return [String]
32
- # Resource name of the requested +StoredInfoType+, for example
33
- # +organizations/433245324/storedInfoTypes/432452342+ or
34
- # +projects/project-id/storedInfoTypes/432452342+.
32
+ # Resource name of the requested `StoredInfoType`, for example
33
+ # `organizations/433245324/storedInfoTypes/432452342` or
34
+ # `projects/project-id/storedInfoTypes/432452342`.
35
35
  # @!attribute [rw] create_time
36
36
  # @return [Google::Protobuf::Timestamp]
37
- # Timestamp indicating when the version of the +StoredInfoType+ used for
37
+ # Timestamp indicating when the version of the `StoredInfoType` used for
38
38
  # inspection was created. Output-only field, populated by the system.
39
39
  class StoredType; end
40
40
 
@@ -48,7 +48,7 @@ module Google
48
48
  # @return [Google::Privacy::Dlp::V2::Likelihood]
49
49
  # Likelihood to return for this CustomInfoType. This base value can be
50
50
  # altered by a detection rule if the finding meets the criteria specified by
51
- # the rule. Defaults to +VERY_LIKELY+ if not specified.
51
+ # the rule. Defaults to `VERY_LIKELY` if not specified.
52
52
  # @!attribute [rw] dictionary
53
53
  # @return [Google::Privacy::Dlp::V2::CustomInfoType::Dictionary]
54
54
  # A list of phrases to detect as a CustomInfoType.
@@ -61,13 +61,13 @@ module Google
61
61
  # support reversing.
62
62
  # @!attribute [rw] stored_type
63
63
  # @return [Google::Privacy::Dlp::V2::StoredType]
64
- # Load an existing +StoredInfoType+ resource for use in
65
- # +InspectDataSource+. Not currently supported in +InspectContent+.
64
+ # Load an existing `StoredInfoType` resource for use in
65
+ # `InspectDataSource`. Not currently supported in `InspectContent`.
66
66
  # @!attribute [rw] detection_rules
67
67
  # @return [Array<Google::Privacy::Dlp::V2::CustomInfoType::DetectionRule>]
68
68
  # Set of detection rules to apply to all findings of this CustomInfoType.
69
69
  # Rules are applied in order that they are specified. Not supported for the
70
- # +surrogate_type+ CustomInfoType.
70
+ # `surrogate_type` CustomInfoType.
71
71
  class CustomInfoType
72
72
  # Custom information type based on a dictionary of words or phrases. This can
73
73
  # be used to match sensitive information specific to the data, such as a list
@@ -90,8 +90,8 @@ module Google
90
90
  # are treated as whitespace. The
91
91
  # [limits](https://cloud.google.com/dlp/limits) page contains details about
92
92
  # the size limits of dictionaries. For dictionaries that do not fit within
93
- # these constraints, consider using +LargeCustomDictionaryConfig+ in the
94
- # +StoredInfoType+ API.
93
+ # these constraints, consider using `LargeCustomDictionaryConfig` in the
94
+ # `StoredInfoType` API.
95
95
  # @!attribute [rw] word_list
96
96
  # @return [Google::Privacy::Dlp::V2::CustomInfoType::Dictionary::WordList]
97
97
  # List of words or phrases to search for.
@@ -117,17 +117,17 @@ module Google
117
117
 
118
118
  # Message for detecting output from deidentification transformations
119
119
  # such as
120
- # [+CryptoReplaceFfxFpeConfig+](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
120
+ # [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
121
121
  # These types of transformations are
122
122
  # those that perform pseudonymization, thereby producing a "surrogate" as
123
123
  # output. This should be used in conjunction with a field on the
124
- # transformation such as +surrogate_info_type+. This CustomInfoType does
125
- # not support the use of +detection_rules+.
124
+ # transformation such as `surrogate_info_type`. This CustomInfoType does
125
+ # not support the use of `detection_rules`.
126
126
  class SurrogateType; end
127
127
 
128
128
  # Rule for modifying a CustomInfoType to alter behavior under certain
129
129
  # circumstances, depending on the specific details of the rule. Not supported
130
- # for the +surrogate_type+ custom info type.
130
+ # for the `surrogate_type` custom info type.
131
131
  # @!attribute [rw] hotword_rule
132
132
  # @return [Google::Privacy::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule]
133
133
  # Hotword-based detection rule.
@@ -150,13 +150,13 @@ module Google
150
150
  # @!attribute [rw] relative_likelihood
151
151
  # @return [Integer]
152
152
  # Increase or decrease the likelihood by the specified number of
153
- # levels. For example, if a finding would be +POSSIBLE+ without the
154
- # detection rule and +relative_likelihood+ is 1, then it is upgraded to
155
- # +LIKELY+, while a value of -1 would downgrade it to +UNLIKELY+.
156
- # Likelihood may never drop below +VERY_UNLIKELY+ or exceed
157
- # +VERY_LIKELY+, so applying an adjustment of 1 followed by an
158
- # adjustment of -1 when base likelihood is +VERY_LIKELY+ will result in
159
- # a final likelihood of +LIKELY+.
153
+ # levels. For example, if a finding would be `POSSIBLE` without the
154
+ # detection rule and `relative_likelihood` is 1, then it is upgraded to
155
+ # `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`.
156
+ # Likelihood may never drop below `VERY_UNLIKELY` or exceed
157
+ # `VERY_LIKELY`, so applying an adjustment of 1 followed by an
158
+ # adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
159
+ # a final likelihood of `LIKELY`.
160
160
  class LikelihoodAdjustment; end
161
161
 
162
162
  # The rule that adjusts the likelihood of findings within a certain
@@ -248,7 +248,7 @@ module Google
248
248
  # Set of files to scan.
249
249
  # @!attribute [rw] url
250
250
  # @return [String]
251
- # The url, in the format +gs://<bucket>/<path>+. Trailing wildcard in the
251
+ # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
252
252
  # path is allowed.
253
253
  class FileSet; end
254
254
 
@@ -270,7 +270,7 @@ module Google
270
270
  # Message representing a set of files in Cloud Storage.
271
271
  # @!attribute [rw] url
272
272
  # @return [String]
273
- # The url, in the format +gs://<bucket>/<path>+. Trailing wildcard in the
273
+ # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
274
274
  # path is allowed.
275
275
  class CloudStorageFileSet; end
276
276
 
@@ -288,7 +288,7 @@ module Google
288
288
  # @!attribute [rw] identifying_fields
289
289
  # @return [Array<Google::Privacy::Dlp::V2::FieldId>]
290
290
  # References to fields uniquely identifying rows within the table.
291
- # Nested fields in the format, like +person.birthdate.year+, are allowed.
291
+ # Nested fields in the format, like `person.birthdate.year`, are allowed.
292
292
  # @!attribute [rw] rows_limit
293
293
  # @return [Integer]
294
294
  # Max number of rows to scan. If the table has more rows than this value, the
@@ -405,9 +405,9 @@ module Google
405
405
  # @!attribute [rw] kind
406
406
  # @return [String]
407
407
  # The kind of the entity.
408
- # A kind matching regex +__.*__+ is reserved/read-only.
408
+ # A kind matching regex `__.*__` is reserved/read-only.
409
409
  # A kind must not contain more than 1500 bytes when UTF-8 encoded.
410
- # Cannot be +""+.
410
+ # Cannot be `""`.
411
411
  # @!attribute [rw] id
412
412
  # @return [Integer]
413
413
  # The auto-allocated ID of the entity.
@@ -416,9 +416,9 @@ module Google
416
416
  # @!attribute [rw] name
417
417
  # @return [String]
418
418
  # The name of the entity.
419
- # A name matching regex +__.*__+ is reserved/read-only.
419
+ # A name matching regex `__.*__` is reserved/read-only.
420
420
  # A name must not be more than 1500 bytes when UTF-8 encoded.
421
- # Cannot be +""+.
421
+ # Cannot be `""`.
422
422
  class PathElement; end
423
423
  end
424
424
 
@@ -432,8 +432,8 @@ module Google
432
432
  # Message defining the location of a BigQuery table. A table is uniquely
433
433
  # identified by its project_id, dataset_id, and table_name. Within a query
434
434
  # a table is often referenced with a string in the format of:
435
- # +<project_id>:<dataset_id>.<table_id>+ or
436
- # +<project_id>.<dataset_id>.<table_id>+.
435
+ # `<project_id>:<dataset_id>.<table_id>` or
436
+ # `<project_id>.<dataset_id>.<table_id>`.
437
437
  # @!attribute [rw] project_id
438
438
  # @return [String]
439
439
  # The Google Cloud Platform project ID of the project containing the table.
@@ -456,7 +456,7 @@ module Google
456
456
  class BigQueryField; end
457
457
 
458
458
  # An entity in a dataset is a field or set of fields that correspond to a
459
- # single person. For example, in medical records the +EntityId+ might be a
459
+ # single person. For example, in medical records the `EntityId` might be a
460
460
  # patient identifier, or for financial records it might be an account
461
461
  # identifier. This message is used when generalizations or analysis must take
462
462
  # into account that multiple rows correspond to the same entity.
@@ -15,7 +15,7 @@
15
15
 
16
16
  module Google
17
17
  module Protobuf
18
- # +Any+ contains an arbitrary serialized protocol buffer message along with a
18
+ # `Any` contains an arbitrary serialized protocol buffer message along with a
19
19
  # URL that describes the type of the serialized message.
20
20
  #
21
21
  # Protobuf library provides support to pack/unpack Any values in the form
@@ -69,9 +69,9 @@ module Google
69
69
  #
70
70
  # = JSON
71
71
  #
72
- # The JSON representation of an +Any+ value uses the regular
72
+ # The JSON representation of an `Any` value uses the regular
73
73
  # representation of the deserialized, embedded message, with an
74
- # additional field +@type+ which contains the type URL. Example:
74
+ # additional field `@type` which contains the type URL. Example:
75
75
  #
76
76
  # package google.profile;
77
77
  # message Person {
@@ -87,7 +87,7 @@ module Google
87
87
  #
88
88
  # If the embedded message type is well-known and has a custom JSON
89
89
  # representation, that representation will be embedded adding a field
90
- # +value+ which holds the custom JSON in addition to the +@type+
90
+ # `value` which holds the custom JSON in addition to the `@type`
91
91
  # field. Example (for message {Google::Protobuf::Duration}):
92
92
  #
93
93
  # {
@@ -99,15 +99,15 @@ module Google
99
99
  # A URL/resource name that uniquely identifies the type of the serialized
100
100
  # protocol buffer message. The last segment of the URL's path must represent
101
101
  # the fully qualified name of the type (as in
102
- # +path/google.protobuf.Duration+). The name should be in a canonical form
102
+ # `path/google.protobuf.Duration`). The name should be in a canonical form
103
103
  # (e.g., leading "." is not accepted).
104
104
  #
105
105
  # In practice, teams usually precompile into the binary all types that they
106
106
  # expect it to use in the context of Any. However, for URLs which use the
107
- # scheme +http+, +https+, or no scheme, one can optionally set up a type
107
+ # scheme `http`, `https`, or no scheme, one can optionally set up a type
108
108
  # server that maps type URLs to message definitions as follows:
109
109
  #
110
- # * If no scheme is provided, +https+ is assumed.
110
+ # * If no scheme is provided, `https` is assumed.
111
111
  # * An HTTP GET on the URL must yield a {Google::Protobuf::Type}
112
112
  # value in binary format, or produce an error.
113
113
  # * Applications are allowed to cache lookup results based on the
@@ -120,7 +120,7 @@ module Google
120
120
  # protobuf release, and it is not used for type URLs beginning with
121
121
  # type.googleapis.com.
122
122
  #
123
- # Schemes other than +http+, +https+ (or the empty scheme) might be
123
+ # Schemes other than `http`, `https` (or the empty scheme) might be
124
124
  # used with implementation specific semantics.
125
125
  # @!attribute [rw] value
126
126
  # @return [String]
@@ -82,9 +82,9 @@ module Google
82
82
  # @return [Integer]
83
83
  # Signed fractions of a second at nanosecond resolution of the span
84
84
  # of time. Durations less than one second are represented with a 0
85
- # +seconds+ field and a positive or negative +nanos+ field. For durations
86
- # of one second or more, a non-zero value for the +nanos+ field must be
87
- # of the same sign as the +seconds+ field. Must be from -999,999,999
85
+ # `seconds` field and a positive or negative `nanos` field. For durations
86
+ # of one second or more, a non-zero value for the `nanos` field must be
87
+ # of the same sign as the `seconds` field. Must be from -999,999,999
88
88
  # to +999,999,999 inclusive.
89
89
  class Duration; end
90
90
  end
@@ -23,7 +23,7 @@ module Google
23
23
  # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
24
24
  # }
25
25
  #
26
- # The JSON representation for +Empty+ is empty JSON object +{}+.
26
+ # The JSON representation for `Empty` is empty JSON object `{}`.
27
27
  class Empty; end
28
28
  end
29
29
  end
@@ -15,14 +15,14 @@
15
15
 
16
16
  module Google
17
17
  module Protobuf
18
- # +FieldMask+ represents a set of symbolic field paths, for example:
18
+ # `FieldMask` represents a set of symbolic field paths, for example:
19
19
  #
20
20
  # paths: "f.a"
21
21
  # paths: "f.b.d"
22
22
  #
23
- # Here +f+ represents a field in some root message, +a+ and +b+
24
- # fields in the message found in +f+, and +d+ a field found in the
25
- # message in +f.b+.
23
+ # Here `f` represents a field in some root message, `a` and `b`
24
+ # fields in the message found in `f`, and `d` a field found in the
25
+ # message in `f.b`.
26
26
  #
27
27
  # Field masks are used to specify a subset of fields that should be
28
28
  # returned by a get operation or modified by an update operation.
@@ -85,7 +85,7 @@ module Google
85
85
  #
86
86
  # If a repeated field is specified for an update operation, the existing
87
87
  # repeated values in the target resource will be overwritten by the new values.
88
- # Note that a repeated field is only allowed in the last position of a +paths+
88
+ # Note that a repeated field is only allowed in the last position of a `paths`
89
89
  # string.
90
90
  #
91
91
  # If a sub-message is specified in the last position of the field mask for an
@@ -177,7 +177,7 @@ module Google
177
177
  # string address = 2;
178
178
  # }
179
179
  #
180
- # In proto a field mask for +Profile+ may look as such:
180
+ # In proto a field mask for `Profile` may look as such:
181
181
  #
182
182
  # mask {
183
183
  # paths: "user.display_name"
@@ -221,7 +221,7 @@ module Google
221
221
  #
222
222
  # The implementation of any API method which has a FieldMask type field in the
223
223
  # request should verify the included field paths, and return an
224
- # +INVALID_ARGUMENT+ error if any path is duplicated or unmappable.
224
+ # `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
225
225
  # @!attribute [rw] paths
226
226
  # @return [Array<String>]
227
227
  # The set of field mask paths.
@@ -29,13 +29,13 @@ module Google
29
29
  #
30
30
  # = Examples
31
31
  #
32
- # Example 1: Compute Timestamp from POSIX +time()+.
32
+ # Example 1: Compute Timestamp from POSIX `time()`.
33
33
  #
34
34
  # Timestamp timestamp;
35
35
  # timestamp.set_seconds(time(NULL));
36
36
  # timestamp.set_nanos(0);
37
37
  #
38
- # Example 2: Compute Timestamp from POSIX +gettimeofday()+.
38
+ # Example 2: Compute Timestamp from POSIX `gettimeofday()`.
39
39
  #
40
40
  # struct timeval tv;
41
41
  # gettimeofday(&tv, NULL);
@@ -44,7 +44,7 @@ module Google
44
44
  # timestamp.set_seconds(tv.tv_sec);
45
45
  # timestamp.set_nanos(tv.tv_usec * 1000);
46
46
  #
47
- # Example 3: Compute Timestamp from Win32 +GetSystemTimeAsFileTime()+.
47
+ # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
48
48
  #
49
49
  # FILETIME ft;
50
50
  # GetSystemTimeAsFileTime(&ft);
@@ -56,7 +56,7 @@ module Google
56
56
  # timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
57
57
  # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
58
58
  #
59
- # Example 4: Compute Timestamp from Java +System.currentTimeMillis()+.
59
+ # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
60
60
  #
61
61
  # long millis = System.currentTimeMillis();
62
62
  #
@@ -87,10 +87,10 @@ module Google
87
87
  #
88
88
  # In JavaScript, one can convert a Date object to this format using the
89
89
  # standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
90
- # method. In Python, a standard +datetime.datetime+ object can be converted
91
- # to this format using [+strftime+](https://docs.python.org/2/library/time.html#time.strftime)
90
+ # method. In Python, a standard `datetime.datetime` object can be converted
91
+ # to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
92
92
  # with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
93
- # can use the Joda Time's [+ISODateTimeFormat.dateTime()+](
93
+ # can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
94
94
  # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
95
95
  # ) to obtain a formatter capable of generating timestamps in this format.
96
96
  # @!attribute [rw] seconds
@@ -15,7 +15,7 @@
15
15
 
16
16
  module Google
17
17
  module Rpc
18
- # The +Status+ type defines a logical error model that is suitable for different
18
+ # The `Status` type defines a logical error model that is suitable for different
19
19
  # programming environments, including REST APIs and RPC APIs. It is used by
20
20
  # [gRPC](https://github.com/grpc). The error model is designed to be:
21
21
  #
@@ -24,7 +24,7 @@ module Google
24
24
  #
25
25
  # = Overview
26
26
  #
27
- # The +Status+ message contains three pieces of data: error code, error message,
27
+ # The `Status` message contains three pieces of data: error code, error message,
28
28
  # and error details. The error code should be an enum value of
29
29
  # {Google::Rpc::Code}, but it may accept additional error codes if needed. The
30
30
  # error message should be a developer-facing English message that helps
@@ -32,40 +32,40 @@ module Google
32
32
  # error message is needed, put the localized message in the error details or
33
33
  # localize it in the client. The optional error details may contain arbitrary
34
34
  # information about the error. There is a predefined set of error detail types
35
- # in the package +google.rpc+ that can be used for common error conditions.
35
+ # in the package `google.rpc` that can be used for common error conditions.
36
36
  #
37
37
  # = Language mapping
38
38
  #
39
- # The +Status+ message is the logical representation of the error model, but it
40
- # is not necessarily the actual wire format. When the +Status+ message is
39
+ # The `Status` message is the logical representation of the error model, but it
40
+ # is not necessarily the actual wire format. When the `Status` message is
41
41
  # exposed in different client libraries and different wire protocols, it can be
42
42
  # mapped differently. For example, it will likely be mapped to some exceptions
43
43
  # in Java, but more likely mapped to some error codes in C.
44
44
  #
45
45
  # = Other uses
46
46
  #
47
- # The error model and the +Status+ message can be used in a variety of
47
+ # The error model and the `Status` message can be used in a variety of
48
48
  # environments, either with or without APIs, to provide a
49
49
  # consistent developer experience across different environments.
50
50
  #
51
51
  # Example uses of this error model include:
52
52
  #
53
53
  # * Partial errors. If a service needs to return partial errors to the client,
54
- # it may embed the +Status+ in the normal response to indicate the partial
54
+ # it may embed the `Status` in the normal response to indicate the partial
55
55
  # errors.
56
56
  #
57
57
  # * Workflow errors. A typical workflow has multiple steps. Each step may
58
- # have a +Status+ message for error reporting.
58
+ # have a `Status` message for error reporting.
59
59
  #
60
60
  # * Batch operations. If a client uses batch request and batch response, the
61
- # +Status+ message should be used directly inside batch response, one for
61
+ # `Status` message should be used directly inside batch response, one for
62
62
  # each error sub-response.
63
63
  #
64
64
  # * Asynchronous operations. If an API call embeds asynchronous operation
65
65
  # results in its response, the status of those operations should be
66
- # represented directly using the +Status+ message.
66
+ # represented directly using the `Status` message.
67
67
  #
68
- # * Logging. If some API errors are stored in logs, the message +Status+ could
68
+ # * Logging. If some API errors are stored in logs, the message `Status` could
69
69
  # be used directly after any stripping needed for security/privacy reasons.
70
70
  # @!attribute [rw] code
71
71
  # @return [Integer]
@@ -21,7 +21,7 @@ module Google
21
21
  # represent a year and month where the day is not significant, e.g. credit card
22
22
  # expiration date. The year may be 0 to represent a month and day independent
23
23
  # of year, e.g. anniversary date. Related types are {Google::Type::TimeOfDay}
24
- # and +google.protobuf.Timestamp+.
24
+ # and `google.protobuf.Timestamp`.
25
25
  # @!attribute [rw] year
26
26
  # @return [Integer]
27
27
  # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
@@ -17,7 +17,7 @@ module Google
17
17
  module Type
18
18
  # Represents a time of day. The date and time zone are either not significant
19
19
  # or are specified elsewhere. An API may chose to allow leap seconds. Related
20
- # types are {Google::Type::Date} and +google.protobuf.Timestamp+.
20
+ # types are {Google::Type::Date} and `google.protobuf.Timestamp`.
21
21
  # @!attribute [rw] hours
22
22
  # @return [Integer]
23
23
  # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dlp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-10 00:00:00.000000000 Z
11
+ date: 2018-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -119,11 +119,10 @@ files:
119
119
  - lib/google/cloud/dlp/v2/doc/google/rpc/status.rb
120
120
  - lib/google/cloud/dlp/v2/doc/google/type/date.rb
121
121
  - lib/google/cloud/dlp/v2/doc/google/type/timeofday.rb
122
- - lib/google/cloud/dlp/v2/doc/overview.rb
123
122
  - lib/google/privacy/dlp/v2/dlp_pb.rb
124
123
  - lib/google/privacy/dlp/v2/dlp_services_pb.rb
125
124
  - lib/google/privacy/dlp/v2/storage_pb.rb
126
- homepage: https://github.com/GoogleCloudPlatform/google-cloud-ruby/tree/master/google-cloud-dlp
125
+ homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-dlp
127
126
  licenses:
128
127
  - Apache-2.0
129
128
  metadata: {}