google-apis-checks_v1alpha 0.4.0 → 0.5.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 704b2515bd8c049174fe6d6f923cfd92a96a154cc9a65d08b9256fc942a91355
|
4
|
+
data.tar.gz: c5e2db9f2c1dae181c5d385db1b9f4276254f12cd7af20fb2869793feaff1d5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 455c6ad54f0540e0906f95d8409e9d0b39f0001b61bec2dad3dffbda2c0c85cf0887816078a832b7fa5137a8c4bd5852c8dfc41029144176744bdf6451f9d974
|
7
|
+
data.tar.gz: 79a49591a4e25f4e57708b927acd8fbc7966da577ad386510ebcf9ca734785ab15925f8c7f5eeb45b1631ce7f0dee3550155dcc661ab9799bb11a4553d01777a
|
data/CHANGELOG.md
CHANGED
@@ -22,77 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ChecksV1alpha
|
24
24
|
|
25
|
-
# Request for the AnalyzePrivacyPolicy method.
|
26
|
-
class AnalyzePrivacyPolicyRequest
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# The HTML content of the privacy policy. This is useful if you'd like to manage
|
30
|
-
# the crawling and rendering of the privacy policy.
|
31
|
-
# Corresponds to the JSON property `privacyPolicyPageContent`
|
32
|
-
# @return [String]
|
33
|
-
attr_accessor :privacy_policy_page_content
|
34
|
-
|
35
|
-
# The URI that points to the web page for the privacy policy.
|
36
|
-
# Corresponds to the JSON property `privacyPolicyUri`
|
37
|
-
# @return [String]
|
38
|
-
attr_accessor :privacy_policy_uri
|
39
|
-
|
40
|
-
def initialize(**args)
|
41
|
-
update!(**args)
|
42
|
-
end
|
43
|
-
|
44
|
-
# Update properties of this object
|
45
|
-
def update!(**args)
|
46
|
-
@privacy_policy_page_content = args[:privacy_policy_page_content] if args.key?(:privacy_policy_page_content)
|
47
|
-
@privacy_policy_uri = args[:privacy_policy_uri] if args.key?(:privacy_policy_uri)
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
|
-
# Response containing the analyzed privacy policy for the AnalyzePrivacyPolicy
|
52
|
-
# method.
|
53
|
-
class AnalyzePrivacyPolicyResponse
|
54
|
-
include Google::Apis::Core::Hashable
|
55
|
-
|
56
|
-
# A list of detected purposes in the privacy policy.
|
57
|
-
# Corresponds to the JSON property `dataPurposeAnnotations`
|
58
|
-
# @return [Array<Google::Apis::ChecksV1alpha::PolicyPurposeOfUseAnnotation>]
|
59
|
-
attr_accessor :data_purpose_annotations
|
60
|
-
|
61
|
-
# A list of detected data types in the privacy policy.
|
62
|
-
# Corresponds to the JSON property `dataTypeAnnotations`
|
63
|
-
# @return [Array<Google::Apis::ChecksV1alpha::PolicyDataTypeAnnotation>]
|
64
|
-
attr_accessor :data_type_annotations
|
65
|
-
|
66
|
-
# HTML content for the privacy policy page. The byte offsets in each annotated
|
67
|
-
# section will match this content.
|
68
|
-
# Corresponds to the JSON property `htmlContent`
|
69
|
-
# @return [String]
|
70
|
-
attr_accessor :html_content
|
71
|
-
|
72
|
-
# Information about the date when the privacy policy was last updated.
|
73
|
-
# Corresponds to the JSON property `lastUpdatedDateInfo`
|
74
|
-
# @return [Google::Apis::ChecksV1alpha::LastUpdatedDate]
|
75
|
-
attr_accessor :last_updated_date_info
|
76
|
-
|
77
|
-
# A list of detected topics in the privacy policy.
|
78
|
-
# Corresponds to the JSON property `sectionAnnotations`
|
79
|
-
# @return [Array<Google::Apis::ChecksV1alpha::PolicySectionAnnotation>]
|
80
|
-
attr_accessor :section_annotations
|
81
|
-
|
82
|
-
def initialize(**args)
|
83
|
-
update!(**args)
|
84
|
-
end
|
85
|
-
|
86
|
-
# Update properties of this object
|
87
|
-
def update!(**args)
|
88
|
-
@data_purpose_annotations = args[:data_purpose_annotations] if args.key?(:data_purpose_annotations)
|
89
|
-
@data_type_annotations = args[:data_type_annotations] if args.key?(:data_type_annotations)
|
90
|
-
@html_content = args[:html_content] if args.key?(:html_content)
|
91
|
-
@last_updated_date_info = args[:last_updated_date_info] if args.key?(:last_updated_date_info)
|
92
|
-
@section_annotations = args[:section_annotations] if args.key?(:section_annotations)
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
25
|
# The request message for Operations.CancelOperation.
|
97
26
|
class CancelOperationRequest
|
98
27
|
include Google::Apis::Core::Hashable
|
@@ -106,47 +35,6 @@ module Google
|
|
106
35
|
end
|
107
36
|
end
|
108
37
|
|
109
|
-
# Represents a whole or partial calendar date, such as a birthday. The time of
|
110
|
-
# day and time zone are either specified elsewhere or are insignificant. The
|
111
|
-
# date is relative to the Gregorian Calendar. This can represent one of the
|
112
|
-
# following: * A full date, with non-zero year, month, and day values. * A month
|
113
|
-
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
114
|
-
# with a zero month and a zero day. * A year and month, with a zero day (for
|
115
|
-
# example, a credit card expiration date). Related types: * google.type.
|
116
|
-
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
117
|
-
class Date
|
118
|
-
include Google::Apis::Core::Hashable
|
119
|
-
|
120
|
-
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
121
|
-
# specify a year by itself or a year and month where the day isn't significant.
|
122
|
-
# Corresponds to the JSON property `day`
|
123
|
-
# @return [Fixnum]
|
124
|
-
attr_accessor :day
|
125
|
-
|
126
|
-
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
127
|
-
# and day.
|
128
|
-
# Corresponds to the JSON property `month`
|
129
|
-
# @return [Fixnum]
|
130
|
-
attr_accessor :month
|
131
|
-
|
132
|
-
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
133
|
-
# year.
|
134
|
-
# Corresponds to the JSON property `year`
|
135
|
-
# @return [Fixnum]
|
136
|
-
attr_accessor :year
|
137
|
-
|
138
|
-
def initialize(**args)
|
139
|
-
update!(**args)
|
140
|
-
end
|
141
|
-
|
142
|
-
# Update properties of this object
|
143
|
-
def update!(**args)
|
144
|
-
@day = args[:day] if args.key?(:day)
|
145
|
-
@month = args[:month] if args.key?(:month)
|
146
|
-
@year = args[:year] if args.key?(:year)
|
147
|
-
end
|
148
|
-
end
|
149
|
-
|
150
38
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
151
39
|
# messages in your APIs. A typical example is to use it as the request or the
|
152
40
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -163,26 +51,6 @@ module Google
|
|
163
51
|
end
|
164
52
|
end
|
165
53
|
|
166
|
-
# Response containing the analyzed privacy policy for the FindPrivacyPolicy
|
167
|
-
# method.
|
168
|
-
class FindPrivacyPolicyResponse
|
169
|
-
include Google::Apis::Core::Hashable
|
170
|
-
|
171
|
-
# Resource name of the PrivacyPolicy that was found.
|
172
|
-
# Corresponds to the JSON property `privacyPolicy`
|
173
|
-
# @return [String]
|
174
|
-
attr_accessor :privacy_policy
|
175
|
-
|
176
|
-
def initialize(**args)
|
177
|
-
update!(**args)
|
178
|
-
end
|
179
|
-
|
180
|
-
# Update properties of this object
|
181
|
-
def update!(**args)
|
182
|
-
@privacy_policy = args[:privacy_policy] if args.key?(:privacy_policy)
|
183
|
-
end
|
184
|
-
end
|
185
|
-
|
186
54
|
# Represents an app in Checks.
|
187
55
|
class GoogleChecksAccountV1alphaApp
|
188
56
|
include Google::Apis::Core::Hashable
|
@@ -1242,52 +1110,6 @@ module Google
|
|
1242
1110
|
end
|
1243
1111
|
end
|
1244
1112
|
|
1245
|
-
# Information about the date when the privacy policy was last updated.
|
1246
|
-
class LastUpdatedDate
|
1247
|
-
include Google::Apis::Core::Hashable
|
1248
|
-
|
1249
|
-
# Byte offsets for the end of the date text inside the full text.
|
1250
|
-
# Corresponds to the JSON property `endOffset`
|
1251
|
-
# @return [Fixnum]
|
1252
|
-
attr_accessor :end_offset
|
1253
|
-
|
1254
|
-
# Represents a whole or partial calendar date, such as a birthday. The time of
|
1255
|
-
# day and time zone are either specified elsewhere or are insignificant. The
|
1256
|
-
# date is relative to the Gregorian Calendar. This can represent one of the
|
1257
|
-
# following: * A full date, with non-zero year, month, and day values. * A month
|
1258
|
-
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
1259
|
-
# with a zero month and a zero day. * A year and month, with a zero day (for
|
1260
|
-
# example, a credit card expiration date). Related types: * google.type.
|
1261
|
-
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
1262
|
-
# Corresponds to the JSON property `lastUpdatedDate`
|
1263
|
-
# @return [Google::Apis::ChecksV1alpha::Date]
|
1264
|
-
attr_accessor :last_updated_date
|
1265
|
-
|
1266
|
-
# Byte offsets for the start of the date text inside the full text.
|
1267
|
-
# Corresponds to the JSON property `startOffset`
|
1268
|
-
# @return [Fixnum]
|
1269
|
-
attr_accessor :start_offset
|
1270
|
-
|
1271
|
-
# The bytes of actual text content in the section. Note: - This will correspond
|
1272
|
-
# to the whole sentence that includes the date. - This field might contain HTML
|
1273
|
-
# and it is not sanitized.
|
1274
|
-
# Corresponds to the JSON property `textContent`
|
1275
|
-
# @return [String]
|
1276
|
-
attr_accessor :text_content
|
1277
|
-
|
1278
|
-
def initialize(**args)
|
1279
|
-
update!(**args)
|
1280
|
-
end
|
1281
|
-
|
1282
|
-
# Update properties of this object
|
1283
|
-
def update!(**args)
|
1284
|
-
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
1285
|
-
@last_updated_date = args[:last_updated_date] if args.key?(:last_updated_date)
|
1286
|
-
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
1287
|
-
@text_content = args[:text_content] if args.key?(:text_content)
|
1288
|
-
end
|
1289
|
-
end
|
1290
|
-
|
1291
1113
|
# The response message for Operations.ListOperations.
|
1292
1114
|
class ListOperationsResponse
|
1293
1115
|
include Google::Apis::Core::Hashable
|
@@ -1375,141 +1197,6 @@ module Google
|
|
1375
1197
|
end
|
1376
1198
|
end
|
1377
1199
|
|
1378
|
-
#
|
1379
|
-
class PolicyDataTypeAnnotation
|
1380
|
-
include Google::Apis::Core::Hashable
|
1381
|
-
|
1382
|
-
# Type of the data mentioned in the policy.
|
1383
|
-
# Corresponds to the JSON property `dataType`
|
1384
|
-
# @return [String]
|
1385
|
-
attr_accessor :data_type
|
1386
|
-
|
1387
|
-
# Byte offsets for the end of the data type sentence inside the full text.
|
1388
|
-
# Corresponds to the JSON property `endOffset`
|
1389
|
-
# @return [Fixnum]
|
1390
|
-
attr_accessor :end_offset
|
1391
|
-
|
1392
|
-
# Score given by the model representing how confident it was regarding this `
|
1393
|
-
# text_content` being of `data_type`.
|
1394
|
-
# Corresponds to the JSON property `score`
|
1395
|
-
# @return [Float]
|
1396
|
-
attr_accessor :score
|
1397
|
-
|
1398
|
-
# Byte offsets for the start of the data type sentence inside the full text.
|
1399
|
-
# Corresponds to the JSON property `startOffset`
|
1400
|
-
# @return [Fixnum]
|
1401
|
-
attr_accessor :start_offset
|
1402
|
-
|
1403
|
-
# Actual text content in the section. This makes it much easier to consume the
|
1404
|
-
# information. NOTE: This field might contain HTML and does not guarantee a
|
1405
|
-
# SafeHtml security contract go/safehtmltypecontracts#safehtml.
|
1406
|
-
# Corresponds to the JSON property `textContent`
|
1407
|
-
# @return [String]
|
1408
|
-
attr_accessor :text_content
|
1409
|
-
|
1410
|
-
def initialize(**args)
|
1411
|
-
update!(**args)
|
1412
|
-
end
|
1413
|
-
|
1414
|
-
# Update properties of this object
|
1415
|
-
def update!(**args)
|
1416
|
-
@data_type = args[:data_type] if args.key?(:data_type)
|
1417
|
-
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
1418
|
-
@score = args[:score] if args.key?(:score)
|
1419
|
-
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
1420
|
-
@text_content = args[:text_content] if args.key?(:text_content)
|
1421
|
-
end
|
1422
|
-
end
|
1423
|
-
|
1424
|
-
#
|
1425
|
-
class PolicyPurposeOfUseAnnotation
|
1426
|
-
include Google::Apis::Core::Hashable
|
1427
|
-
|
1428
|
-
# Byte offsets for the end of the purpose of use sentence inside the full text.
|
1429
|
-
# Corresponds to the JSON property `endOffset`
|
1430
|
-
# @return [Fixnum]
|
1431
|
-
attr_accessor :end_offset
|
1432
|
-
|
1433
|
-
# Purpose of use mentioned in the policy.
|
1434
|
-
# Corresponds to the JSON property `purposeOfUse`
|
1435
|
-
# @return [String]
|
1436
|
-
attr_accessor :purpose_of_use
|
1437
|
-
|
1438
|
-
# Score given by the model representing how confident it was regarding this `
|
1439
|
-
# text_content` being of `purpose_of_use`.
|
1440
|
-
# Corresponds to the JSON property `score`
|
1441
|
-
# @return [Float]
|
1442
|
-
attr_accessor :score
|
1443
|
-
|
1444
|
-
# Byte offsets for the start of the purpose of use sentence inside the full text.
|
1445
|
-
# Corresponds to the JSON property `startOffset`
|
1446
|
-
# @return [Fixnum]
|
1447
|
-
attr_accessor :start_offset
|
1448
|
-
|
1449
|
-
# The bytes of actual text content in the sentence that mentions the purpose of
|
1450
|
-
# use. This makes it much easier to consume the information.
|
1451
|
-
# Corresponds to the JSON property `textContent`
|
1452
|
-
# @return [String]
|
1453
|
-
attr_accessor :text_content
|
1454
|
-
|
1455
|
-
def initialize(**args)
|
1456
|
-
update!(**args)
|
1457
|
-
end
|
1458
|
-
|
1459
|
-
# Update properties of this object
|
1460
|
-
def update!(**args)
|
1461
|
-
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
1462
|
-
@purpose_of_use = args[:purpose_of_use] if args.key?(:purpose_of_use)
|
1463
|
-
@score = args[:score] if args.key?(:score)
|
1464
|
-
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
1465
|
-
@text_content = args[:text_content] if args.key?(:text_content)
|
1466
|
-
end
|
1467
|
-
end
|
1468
|
-
|
1469
|
-
#
|
1470
|
-
class PolicySectionAnnotation
|
1471
|
-
include Google::Apis::Core::Hashable
|
1472
|
-
|
1473
|
-
# Byte offsets for the end of the section inside the full text.
|
1474
|
-
# Corresponds to the JSON property `endOffset`
|
1475
|
-
# @return [Fixnum]
|
1476
|
-
attr_accessor :end_offset
|
1477
|
-
|
1478
|
-
# Score given by the model representing how confident it was regarding this `
|
1479
|
-
# text_content` being of `section_type`.
|
1480
|
-
# Corresponds to the JSON property `score`
|
1481
|
-
# @return [Float]
|
1482
|
-
attr_accessor :score
|
1483
|
-
|
1484
|
-
# Detected type of the high-level topic in the policy.
|
1485
|
-
# Corresponds to the JSON property `sectionType`
|
1486
|
-
# @return [String]
|
1487
|
-
attr_accessor :section_type
|
1488
|
-
|
1489
|
-
# Byte offsets for the start of the section inside the full text.
|
1490
|
-
# Corresponds to the JSON property `startOffset`
|
1491
|
-
# @return [Fixnum]
|
1492
|
-
attr_accessor :start_offset
|
1493
|
-
|
1494
|
-
# Actual text content in the section.
|
1495
|
-
# Corresponds to the JSON property `textContent`
|
1496
|
-
# @return [String]
|
1497
|
-
attr_accessor :text_content
|
1498
|
-
|
1499
|
-
def initialize(**args)
|
1500
|
-
update!(**args)
|
1501
|
-
end
|
1502
|
-
|
1503
|
-
# Update properties of this object
|
1504
|
-
def update!(**args)
|
1505
|
-
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
1506
|
-
@score = args[:score] if args.key?(:score)
|
1507
|
-
@section_type = args[:section_type] if args.key?(:section_type)
|
1508
|
-
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
1509
|
-
@text_content = args[:text_content] if args.key?(:text_content)
|
1510
|
-
end
|
1511
|
-
end
|
1512
|
-
|
1513
1200
|
# The `Status` type defines a logical error model that is suitable for different
|
1514
1201
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1515
1202
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ChecksV1alpha
|
18
18
|
# Version of the google-apis-checks_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230907"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,42 +22,18 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ChecksV1alpha
|
24
24
|
|
25
|
-
class AnalyzePrivacyPolicyRequest
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
|
-
class AnalyzePrivacyPolicyResponse
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
25
|
class CancelOperationRequest
|
38
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
27
|
|
40
28
|
include Google::Apis::Core::JsonObjectSupport
|
41
29
|
end
|
42
30
|
|
43
|
-
class Date
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
31
|
class Empty
|
50
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
33
|
|
52
34
|
include Google::Apis::Core::JsonObjectSupport
|
53
35
|
end
|
54
36
|
|
55
|
-
class FindPrivacyPolicyResponse
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
37
|
class GoogleChecksAccountV1alphaApp
|
62
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
39
|
|
@@ -298,12 +274,6 @@ module Google
|
|
298
274
|
include Google::Apis::Core::JsonObjectSupport
|
299
275
|
end
|
300
276
|
|
301
|
-
class LastUpdatedDate
|
302
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
-
|
304
|
-
include Google::Apis::Core::JsonObjectSupport
|
305
|
-
end
|
306
|
-
|
307
277
|
class ListOperationsResponse
|
308
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
279
|
|
@@ -316,24 +286,6 @@ module Google
|
|
316
286
|
include Google::Apis::Core::JsonObjectSupport
|
317
287
|
end
|
318
288
|
|
319
|
-
class PolicyDataTypeAnnotation
|
320
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
-
|
322
|
-
include Google::Apis::Core::JsonObjectSupport
|
323
|
-
end
|
324
|
-
|
325
|
-
class PolicyPurposeOfUseAnnotation
|
326
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
-
|
328
|
-
include Google::Apis::Core::JsonObjectSupport
|
329
|
-
end
|
330
|
-
|
331
|
-
class PolicySectionAnnotation
|
332
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
-
|
334
|
-
include Google::Apis::Core::JsonObjectSupport
|
335
|
-
end
|
336
|
-
|
337
289
|
class Status
|
338
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
291
|
|
@@ -346,57 +298,18 @@ module Google
|
|
346
298
|
include Google::Apis::Core::JsonObjectSupport
|
347
299
|
end
|
348
300
|
|
349
|
-
class AnalyzePrivacyPolicyRequest
|
350
|
-
# @private
|
351
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
-
property :privacy_policy_page_content, as: 'privacyPolicyPageContent'
|
353
|
-
property :privacy_policy_uri, as: 'privacyPolicyUri'
|
354
|
-
end
|
355
|
-
end
|
356
|
-
|
357
|
-
class AnalyzePrivacyPolicyResponse
|
358
|
-
# @private
|
359
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
360
|
-
collection :data_purpose_annotations, as: 'dataPurposeAnnotations', class: Google::Apis::ChecksV1alpha::PolicyPurposeOfUseAnnotation, decorator: Google::Apis::ChecksV1alpha::PolicyPurposeOfUseAnnotation::Representation
|
361
|
-
|
362
|
-
collection :data_type_annotations, as: 'dataTypeAnnotations', class: Google::Apis::ChecksV1alpha::PolicyDataTypeAnnotation, decorator: Google::Apis::ChecksV1alpha::PolicyDataTypeAnnotation::Representation
|
363
|
-
|
364
|
-
property :html_content, as: 'htmlContent'
|
365
|
-
property :last_updated_date_info, as: 'lastUpdatedDateInfo', class: Google::Apis::ChecksV1alpha::LastUpdatedDate, decorator: Google::Apis::ChecksV1alpha::LastUpdatedDate::Representation
|
366
|
-
|
367
|
-
collection :section_annotations, as: 'sectionAnnotations', class: Google::Apis::ChecksV1alpha::PolicySectionAnnotation, decorator: Google::Apis::ChecksV1alpha::PolicySectionAnnotation::Representation
|
368
|
-
|
369
|
-
end
|
370
|
-
end
|
371
|
-
|
372
301
|
class CancelOperationRequest
|
373
302
|
# @private
|
374
303
|
class Representation < Google::Apis::Core::JsonRepresentation
|
375
304
|
end
|
376
305
|
end
|
377
306
|
|
378
|
-
class Date
|
379
|
-
# @private
|
380
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
381
|
-
property :day, as: 'day'
|
382
|
-
property :month, as: 'month'
|
383
|
-
property :year, as: 'year'
|
384
|
-
end
|
385
|
-
end
|
386
|
-
|
387
307
|
class Empty
|
388
308
|
# @private
|
389
309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
390
310
|
end
|
391
311
|
end
|
392
312
|
|
393
|
-
class FindPrivacyPolicyResponse
|
394
|
-
# @private
|
395
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
396
|
-
property :privacy_policy, as: 'privacyPolicy'
|
397
|
-
end
|
398
|
-
end
|
399
|
-
|
400
313
|
class GoogleChecksAccountV1alphaApp
|
401
314
|
# @private
|
402
315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -777,17 +690,6 @@ module Google
|
|
777
690
|
end
|
778
691
|
end
|
779
692
|
|
780
|
-
class LastUpdatedDate
|
781
|
-
# @private
|
782
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
783
|
-
property :end_offset, :numeric_string => true, as: 'endOffset'
|
784
|
-
property :last_updated_date, as: 'lastUpdatedDate', class: Google::Apis::ChecksV1alpha::Date, decorator: Google::Apis::ChecksV1alpha::Date::Representation
|
785
|
-
|
786
|
-
property :start_offset, :numeric_string => true, as: 'startOffset'
|
787
|
-
property :text_content, as: 'textContent'
|
788
|
-
end
|
789
|
-
end
|
790
|
-
|
791
693
|
class ListOperationsResponse
|
792
694
|
# @private
|
793
695
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -809,39 +711,6 @@ module Google
|
|
809
711
|
end
|
810
712
|
end
|
811
713
|
|
812
|
-
class PolicyDataTypeAnnotation
|
813
|
-
# @private
|
814
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
815
|
-
property :data_type, as: 'dataType'
|
816
|
-
property :end_offset, :numeric_string => true, as: 'endOffset'
|
817
|
-
property :score, as: 'score'
|
818
|
-
property :start_offset, :numeric_string => true, as: 'startOffset'
|
819
|
-
property :text_content, as: 'textContent'
|
820
|
-
end
|
821
|
-
end
|
822
|
-
|
823
|
-
class PolicyPurposeOfUseAnnotation
|
824
|
-
# @private
|
825
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
826
|
-
property :end_offset, :numeric_string => true, as: 'endOffset'
|
827
|
-
property :purpose_of_use, as: 'purposeOfUse'
|
828
|
-
property :score, as: 'score'
|
829
|
-
property :start_offset, :numeric_string => true, as: 'startOffset'
|
830
|
-
property :text_content, as: 'textContent'
|
831
|
-
end
|
832
|
-
end
|
833
|
-
|
834
|
-
class PolicySectionAnnotation
|
835
|
-
# @private
|
836
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
837
|
-
property :end_offset, :numeric_string => true, as: 'endOffset'
|
838
|
-
property :score, as: 'score'
|
839
|
-
property :section_type, as: 'sectionType'
|
840
|
-
property :start_offset, :numeric_string => true, as: 'startOffset'
|
841
|
-
property :text_content, as: 'textContent'
|
842
|
-
end
|
843
|
-
end
|
844
|
-
|
845
714
|
class Status
|
846
715
|
# @private
|
847
716
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -449,220 +449,6 @@ module Google
|
|
449
449
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
450
450
|
execute_or_queue_command(command, &block)
|
451
451
|
end
|
452
|
-
|
453
|
-
# Performs a synchronous analysis of a privacy policy, where the policy content
|
454
|
-
# is mapped to privacy categories, data types, and purposes.
|
455
|
-
# @param [Google::Apis::ChecksV1alpha::AnalyzePrivacyPolicyRequest] analyze_privacy_policy_request_object
|
456
|
-
# @param [String] fields
|
457
|
-
# Selector specifying which fields to include in a partial response.
|
458
|
-
# @param [String] quota_user
|
459
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
460
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
461
|
-
# @param [Google::Apis::RequestOptions] options
|
462
|
-
# Request-specific options
|
463
|
-
#
|
464
|
-
# @yield [result, err] Result & error if block supplied
|
465
|
-
# @yieldparam result [Google::Apis::ChecksV1alpha::AnalyzePrivacyPolicyResponse] parsed result object
|
466
|
-
# @yieldparam err [StandardError] error object if request failed
|
467
|
-
#
|
468
|
-
# @return [Google::Apis::ChecksV1alpha::AnalyzePrivacyPolicyResponse]
|
469
|
-
#
|
470
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
471
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
472
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
473
|
-
def analyze_privacypolicy_privacy_policy(analyze_privacy_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
474
|
-
command = make_simple_command(:post, 'v1alpha/privacypolicy:analyze', options)
|
475
|
-
command.request_representation = Google::Apis::ChecksV1alpha::AnalyzePrivacyPolicyRequest::Representation
|
476
|
-
command.request_object = analyze_privacy_policy_request_object
|
477
|
-
command.response_representation = Google::Apis::ChecksV1alpha::AnalyzePrivacyPolicyResponse::Representation
|
478
|
-
command.response_class = Google::Apis::ChecksV1alpha::AnalyzePrivacyPolicyResponse
|
479
|
-
command.query['fields'] = fields unless fields.nil?
|
480
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
481
|
-
execute_or_queue_command(command, &block)
|
482
|
-
end
|
483
|
-
|
484
|
-
# Starts asynchronous cancellation on a long-running operation. The server makes
|
485
|
-
# a best effort to cancel the operation, but success is not guaranteed. If the
|
486
|
-
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
487
|
-
# Clients can use Operations.GetOperation or other methods to check whether the
|
488
|
-
# cancellation succeeded or whether the operation completed despite cancellation.
|
489
|
-
# On successful cancellation, the operation is not deleted; instead, it becomes
|
490
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
491
|
-
# corresponding to `Code.CANCELLED`.
|
492
|
-
# @param [String] name
|
493
|
-
# The name of the operation resource to be cancelled.
|
494
|
-
# @param [String] fields
|
495
|
-
# Selector specifying which fields to include in a partial response.
|
496
|
-
# @param [String] quota_user
|
497
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
498
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
499
|
-
# @param [Google::Apis::RequestOptions] options
|
500
|
-
# Request-specific options
|
501
|
-
#
|
502
|
-
# @yield [result, err] Result & error if block supplied
|
503
|
-
# @yieldparam result [Google::Apis::ChecksV1alpha::Empty] parsed result object
|
504
|
-
# @yieldparam err [StandardError] error object if request failed
|
505
|
-
#
|
506
|
-
# @return [Google::Apis::ChecksV1alpha::Empty]
|
507
|
-
#
|
508
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
509
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
510
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
511
|
-
def cancel_project_privacypolicy_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
512
|
-
command = make_simple_command(:post, 'v1alpha/{+name}:cancel', options)
|
513
|
-
command.response_representation = Google::Apis::ChecksV1alpha::Empty::Representation
|
514
|
-
command.response_class = Google::Apis::ChecksV1alpha::Empty
|
515
|
-
command.params['name'] = name unless name.nil?
|
516
|
-
command.query['fields'] = fields unless fields.nil?
|
517
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
518
|
-
execute_or_queue_command(command, &block)
|
519
|
-
end
|
520
|
-
|
521
|
-
# Deletes a long-running operation. This method indicates that the client is no
|
522
|
-
# longer interested in the operation result. It does not cancel the operation.
|
523
|
-
# If the server doesn't support this method, it returns `google.rpc.Code.
|
524
|
-
# UNIMPLEMENTED`.
|
525
|
-
# @param [String] name
|
526
|
-
# The name of the operation resource to be deleted.
|
527
|
-
# @param [String] fields
|
528
|
-
# Selector specifying which fields to include in a partial response.
|
529
|
-
# @param [String] quota_user
|
530
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
531
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
532
|
-
# @param [Google::Apis::RequestOptions] options
|
533
|
-
# Request-specific options
|
534
|
-
#
|
535
|
-
# @yield [result, err] Result & error if block supplied
|
536
|
-
# @yieldparam result [Google::Apis::ChecksV1alpha::Empty] parsed result object
|
537
|
-
# @yieldparam err [StandardError] error object if request failed
|
538
|
-
#
|
539
|
-
# @return [Google::Apis::ChecksV1alpha::Empty]
|
540
|
-
#
|
541
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
542
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
543
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
544
|
-
def delete_project_privacypolicy_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
545
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
546
|
-
command.response_representation = Google::Apis::ChecksV1alpha::Empty::Representation
|
547
|
-
command.response_class = Google::Apis::ChecksV1alpha::Empty
|
548
|
-
command.params['name'] = name unless name.nil?
|
549
|
-
command.query['fields'] = fields unless fields.nil?
|
550
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
551
|
-
execute_or_queue_command(command, &block)
|
552
|
-
end
|
553
|
-
|
554
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
555
|
-
# to poll the operation result at intervals as recommended by the API service.
|
556
|
-
# @param [String] name
|
557
|
-
# The name of the operation resource.
|
558
|
-
# @param [String] fields
|
559
|
-
# Selector specifying which fields to include in a partial response.
|
560
|
-
# @param [String] quota_user
|
561
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
562
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
563
|
-
# @param [Google::Apis::RequestOptions] options
|
564
|
-
# Request-specific options
|
565
|
-
#
|
566
|
-
# @yield [result, err] Result & error if block supplied
|
567
|
-
# @yieldparam result [Google::Apis::ChecksV1alpha::Operation] parsed result object
|
568
|
-
# @yieldparam err [StandardError] error object if request failed
|
569
|
-
#
|
570
|
-
# @return [Google::Apis::ChecksV1alpha::Operation]
|
571
|
-
#
|
572
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
573
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
574
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
575
|
-
def get_project_privacypolicy_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
576
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
577
|
-
command.response_representation = Google::Apis::ChecksV1alpha::Operation::Representation
|
578
|
-
command.response_class = Google::Apis::ChecksV1alpha::Operation
|
579
|
-
command.params['name'] = name unless name.nil?
|
580
|
-
command.query['fields'] = fields unless fields.nil?
|
581
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
582
|
-
execute_or_queue_command(command, &block)
|
583
|
-
end
|
584
|
-
|
585
|
-
# Lists operations that match the specified filter in the request. If the server
|
586
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
587
|
-
# @param [String] name
|
588
|
-
# The name of the operation's parent resource.
|
589
|
-
# @param [String] filter
|
590
|
-
# The standard list filter.
|
591
|
-
# @param [Fixnum] page_size
|
592
|
-
# The standard list page size.
|
593
|
-
# @param [String] page_token
|
594
|
-
# The standard list page token.
|
595
|
-
# @param [String] fields
|
596
|
-
# Selector specifying which fields to include in a partial response.
|
597
|
-
# @param [String] quota_user
|
598
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
599
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
600
|
-
# @param [Google::Apis::RequestOptions] options
|
601
|
-
# Request-specific options
|
602
|
-
#
|
603
|
-
# @yield [result, err] Result & error if block supplied
|
604
|
-
# @yieldparam result [Google::Apis::ChecksV1alpha::ListOperationsResponse] parsed result object
|
605
|
-
# @yieldparam err [StandardError] error object if request failed
|
606
|
-
#
|
607
|
-
# @return [Google::Apis::ChecksV1alpha::ListOperationsResponse]
|
608
|
-
#
|
609
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
610
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
611
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
612
|
-
def list_project_privacypolicy_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
613
|
-
command = make_simple_command(:get, 'v1alpha/{+name}/privacypolicy/operations', options)
|
614
|
-
command.response_representation = Google::Apis::ChecksV1alpha::ListOperationsResponse::Representation
|
615
|
-
command.response_class = Google::Apis::ChecksV1alpha::ListOperationsResponse
|
616
|
-
command.params['name'] = name unless name.nil?
|
617
|
-
command.query['filter'] = filter unless filter.nil?
|
618
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
619
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
620
|
-
command.query['fields'] = fields unless fields.nil?
|
621
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
622
|
-
execute_or_queue_command(command, &block)
|
623
|
-
end
|
624
|
-
|
625
|
-
# Waits until the specified long-running operation is done or reaches at most a
|
626
|
-
# specified timeout, returning the latest state. If the operation is already
|
627
|
-
# done, the latest state is immediately returned. If the timeout specified is
|
628
|
-
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
629
|
-
# the server does not support this method, it returns `google.rpc.Code.
|
630
|
-
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
631
|
-
# the latest state before the specified timeout (including immediately), meaning
|
632
|
-
# even an immediate response is no guarantee that the operation is done.
|
633
|
-
# @param [String] name
|
634
|
-
# The name of the operation resource to wait on.
|
635
|
-
# @param [String] timeout
|
636
|
-
# The maximum duration to wait before timing out. If left blank, the wait will
|
637
|
-
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
638
|
-
# context deadline is also specified, the shorter one will be used.
|
639
|
-
# @param [String] fields
|
640
|
-
# Selector specifying which fields to include in a partial response.
|
641
|
-
# @param [String] quota_user
|
642
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
643
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
644
|
-
# @param [Google::Apis::RequestOptions] options
|
645
|
-
# Request-specific options
|
646
|
-
#
|
647
|
-
# @yield [result, err] Result & error if block supplied
|
648
|
-
# @yieldparam result [Google::Apis::ChecksV1alpha::Operation] parsed result object
|
649
|
-
# @yieldparam err [StandardError] error object if request failed
|
650
|
-
#
|
651
|
-
# @return [Google::Apis::ChecksV1alpha::Operation]
|
652
|
-
#
|
653
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
654
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
655
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
656
|
-
def wait_project_privacypolicy_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
657
|
-
command = make_simple_command(:post, 'v1alpha/{+name}:wait', options)
|
658
|
-
command.response_representation = Google::Apis::ChecksV1alpha::Operation::Representation
|
659
|
-
command.response_class = Google::Apis::ChecksV1alpha::Operation
|
660
|
-
command.params['name'] = name unless name.nil?
|
661
|
-
command.query['timeout'] = timeout unless timeout.nil?
|
662
|
-
command.query['fields'] = fields unless fields.nil?
|
663
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
664
|
-
execute_or_queue_command(command, &block)
|
665
|
-
end
|
666
452
|
|
667
453
|
protected
|
668
454
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-checks_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-checks_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-checks_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-checks_v1alpha/v0.5.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-checks_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|