google-apis-checks_v1alpha 0.2.0 → 0.3.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/checks_v1alpha/classes.rb +26 -51
- data/lib/google/apis/checks_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/checks_v1alpha/representations.rb +13 -17
- data/lib/google/apis/checks_v1alpha/service.rb +0 -60
- data/lib/google/apis/checks_v1alpha.rb +0 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37d0af86ae56cf9773adcdf8c9a6fb775c2ee37670226d24d0ca28487fab950f
|
4
|
+
data.tar.gz: 8f0b7732cedd9568cd56f4cdec25c67da08b41681c5560180ab271eadf6c4bb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26a2e1a4f84692a95954fb99cdf84f6851f48d0394082ffa4077e1598b02feb18d027570404ae33c72b4db486d2f48f40eaf9fc86f0329666e7a29d80eef1a25
|
7
|
+
data.tar.gz: f9f7e0002f91d4c9f374fc4d562c794e2c16b45e9d11ae090ee360e8d2de3e539b8d91f361483db764ae798c043a9b057752ed984360533755cdb497021c1536
|
data/CHANGELOG.md
CHANGED
@@ -162,6 +162,25 @@ module Google
|
|
162
162
|
end
|
163
163
|
end
|
164
164
|
|
165
|
+
# Operation response for `FindPrivacyPolicy`.
|
166
|
+
class FindPrivacyPolicyResponse
|
167
|
+
include Google::Apis::Core::Hashable
|
168
|
+
|
169
|
+
# Resource name of the PrivacyPolicy that was found.
|
170
|
+
# Corresponds to the JSON property `privacyPolicy`
|
171
|
+
# @return [String]
|
172
|
+
attr_accessor :privacy_policy
|
173
|
+
|
174
|
+
def initialize(**args)
|
175
|
+
update!(**args)
|
176
|
+
end
|
177
|
+
|
178
|
+
# Update properties of this object
|
179
|
+
def update!(**args)
|
180
|
+
@privacy_policy = args[:privacy_policy] if args.key?(:privacy_policy)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
165
184
|
# Information about the date when the privacy policy was last updated.
|
166
185
|
class LastUpdatedDate
|
167
186
|
include Google::Apis::Core::Hashable
|
@@ -270,13 +289,13 @@ module Google
|
|
270
289
|
# @return [String]
|
271
290
|
attr_accessor :name
|
272
291
|
|
273
|
-
# The normal response of the operation
|
274
|
-
#
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
#
|
279
|
-
#
|
292
|
+
# The normal, successful response of the operation. If the original method
|
293
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
294
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
295
|
+
# response should be the resource. For other methods, the response should have
|
296
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
297
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
298
|
+
# `TakeSnapshotResponse`.
|
280
299
|
# Corresponds to the JSON property `response`
|
281
300
|
# @return [Hash<String,Object>]
|
282
301
|
attr_accessor :response
|
@@ -434,50 +453,6 @@ module Google
|
|
434
453
|
end
|
435
454
|
end
|
436
455
|
|
437
|
-
# Privacy policy.
|
438
|
-
class PrivacyPolicy
|
439
|
-
include Google::Apis::Core::Hashable
|
440
|
-
|
441
|
-
# HTML content for the privacy policy page.
|
442
|
-
# Corresponds to the JSON property `htmlContent`
|
443
|
-
# @return [String]
|
444
|
-
attr_accessor :html_content
|
445
|
-
|
446
|
-
# Resource name. Example: projects/123/privacyPolicies/456
|
447
|
-
# Corresponds to the JSON property `name`
|
448
|
-
# @return [String]
|
449
|
-
attr_accessor :name
|
450
|
-
|
451
|
-
# URI of the privacy policy corresponding to this resource.
|
452
|
-
# Corresponds to the JSON property `privacyPolicyUri`
|
453
|
-
# @return [String]
|
454
|
-
attr_accessor :privacy_policy_uri
|
455
|
-
|
456
|
-
# Confidence that the privacy policy URI is indeed from a privacy policy.
|
457
|
-
# Corresponds to the JSON property `score`
|
458
|
-
# @return [Float]
|
459
|
-
attr_accessor :score
|
460
|
-
|
461
|
-
# URI of the original website used to find this privacy policy. Only populated
|
462
|
-
# for resources created by the FindPrivacyPolicy API.
|
463
|
-
# Corresponds to the JSON property `websiteUri`
|
464
|
-
# @return [String]
|
465
|
-
attr_accessor :website_uri
|
466
|
-
|
467
|
-
def initialize(**args)
|
468
|
-
update!(**args)
|
469
|
-
end
|
470
|
-
|
471
|
-
# Update properties of this object
|
472
|
-
def update!(**args)
|
473
|
-
@html_content = args[:html_content] if args.key?(:html_content)
|
474
|
-
@name = args[:name] if args.key?(:name)
|
475
|
-
@privacy_policy_uri = args[:privacy_policy_uri] if args.key?(:privacy_policy_uri)
|
476
|
-
@score = args[:score] if args.key?(:score)
|
477
|
-
@website_uri = args[:website_uri] if args.key?(:website_uri)
|
478
|
-
end
|
479
|
-
end
|
480
|
-
|
481
456
|
# The `Status` type defines a logical error model that is suitable for different
|
482
457
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
483
458
|
# 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.3.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 = "20230801"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class FindPrivacyPolicyResponse
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class LastUpdatedDate
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -88,12 +94,6 @@ module Google
|
|
88
94
|
include Google::Apis::Core::JsonObjectSupport
|
89
95
|
end
|
90
96
|
|
91
|
-
class PrivacyPolicy
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
97
|
class Status
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
99
|
|
@@ -150,6 +150,13 @@ module Google
|
|
150
150
|
end
|
151
151
|
end
|
152
152
|
|
153
|
+
class FindPrivacyPolicyResponse
|
154
|
+
# @private
|
155
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
156
|
+
property :privacy_policy, as: 'privacyPolicy'
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
153
160
|
class LastUpdatedDate
|
154
161
|
# @private
|
155
162
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -215,17 +222,6 @@ module Google
|
|
215
222
|
end
|
216
223
|
end
|
217
224
|
|
218
|
-
class PrivacyPolicy
|
219
|
-
# @private
|
220
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
221
|
-
property :html_content, as: 'htmlContent'
|
222
|
-
property :name, as: 'name'
|
223
|
-
property :privacy_policy_uri, as: 'privacyPolicyUri'
|
224
|
-
property :score, as: 'score'
|
225
|
-
property :website_uri, as: 'websiteUri'
|
226
|
-
end
|
227
|
-
end
|
228
|
-
|
229
225
|
class Status
|
230
226
|
# @private
|
231
227
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -264,66 +264,6 @@ module Google
|
|
264
264
|
execute_or_queue_command(command, &block)
|
265
265
|
end
|
266
266
|
|
267
|
-
# Deletes a privacy policy.
|
268
|
-
# @param [String] name
|
269
|
-
# Required. Resource name of the privacy policy.
|
270
|
-
# @param [String] fields
|
271
|
-
# Selector specifying which fields to include in a partial response.
|
272
|
-
# @param [String] quota_user
|
273
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
274
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
275
|
-
# @param [Google::Apis::RequestOptions] options
|
276
|
-
# Request-specific options
|
277
|
-
#
|
278
|
-
# @yield [result, err] Result & error if block supplied
|
279
|
-
# @yieldparam result [Google::Apis::ChecksV1alpha::Empty] parsed result object
|
280
|
-
# @yieldparam err [StandardError] error object if request failed
|
281
|
-
#
|
282
|
-
# @return [Google::Apis::ChecksV1alpha::Empty]
|
283
|
-
#
|
284
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
285
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
286
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
287
|
-
def delete_project_privacy_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
288
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
289
|
-
command.response_representation = Google::Apis::ChecksV1alpha::Empty::Representation
|
290
|
-
command.response_class = Google::Apis::ChecksV1alpha::Empty
|
291
|
-
command.params['name'] = name unless name.nil?
|
292
|
-
command.query['fields'] = fields unless fields.nil?
|
293
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
294
|
-
execute_or_queue_command(command, &block)
|
295
|
-
end
|
296
|
-
|
297
|
-
# Gets a privacy policy.
|
298
|
-
# @param [String] name
|
299
|
-
# Required. Resource name of the privacy policy.
|
300
|
-
# @param [String] fields
|
301
|
-
# Selector specifying which fields to include in a partial response.
|
302
|
-
# @param [String] quota_user
|
303
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
304
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
305
|
-
# @param [Google::Apis::RequestOptions] options
|
306
|
-
# Request-specific options
|
307
|
-
#
|
308
|
-
# @yield [result, err] Result & error if block supplied
|
309
|
-
# @yieldparam result [Google::Apis::ChecksV1alpha::PrivacyPolicy] parsed result object
|
310
|
-
# @yieldparam err [StandardError] error object if request failed
|
311
|
-
#
|
312
|
-
# @return [Google::Apis::ChecksV1alpha::PrivacyPolicy]
|
313
|
-
#
|
314
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
315
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
316
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
317
|
-
def get_project_privacy_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
318
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
319
|
-
command.response_representation = Google::Apis::ChecksV1alpha::PrivacyPolicy::Representation
|
320
|
-
command.response_class = Google::Apis::ChecksV1alpha::PrivacyPolicy
|
321
|
-
command.params['name'] = name unless name.nil?
|
322
|
-
command.query['fields'] = fields unless fields.nil?
|
323
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
324
|
-
execute_or_queue_command(command, &block)
|
325
|
-
end
|
326
|
-
|
327
267
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
328
268
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
329
269
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -29,9 +29,6 @@ module Google
|
|
29
29
|
# Version of the Checks API this client connects to.
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1alpha'
|
32
|
-
|
33
|
-
# Test scope for access to the Zoo service
|
34
|
-
AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo'
|
35
32
|
end
|
36
33
|
end
|
37
34
|
end
|
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.3.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-
|
11
|
+
date: 2023-08-06 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.3.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: []
|