google-apis-webrisk_v1 0.2.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/webrisk_v1.rb +1 -1
- data/lib/google/apis/webrisk_v1/classes.rb +31 -0
- data/lib/google/apis/webrisk_v1/gem_version.rb +3 -3
- data/lib/google/apis/webrisk_v1/representations.rb +15 -0
- data/lib/google/apis/webrisk_v1/service.rb +5 -5
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c028704f2c1cf9a82ed557df1c963cd5abbc9b5178be8da7e2d442a1453155d5
|
4
|
+
data.tar.gz: 7495b1fd977e0ed919e1202fae817e6ef063e6d6829b4b5ccc7560e8a3c95576
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e93b6c8251a92466c381d5451daca618364c6d25303111d3a5568c81cabb51499a8dbeacd222b65e9e2c0edb20ca0e53ddf9e1e8070c95a9acab19b37cbb3216
|
7
|
+
data.tar.gz: e63df5b11517f17c31053e94fc4cf68afc4e4113cba1df3ec8e072434a576ad185eabb00777869dcc370a039be8e1a806ad7aa1d6927412f600a410654571caa
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-webrisk_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-06-29)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.4.0
|
6
|
+
|
7
|
+
### v0.6.0 (2021-06-24)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.3.0
|
10
|
+
|
11
|
+
### v0.5.0 (2021-05-20)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
15
|
+
### v0.4.0 (2021-03-23)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210319
|
18
|
+
|
19
|
+
### v0.3.0 (2021-03-16)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210314
|
22
|
+
* Regenerated using generator version 0.2.0
|
23
|
+
|
3
24
|
### v0.2.0 (2021-03-04)
|
4
25
|
|
5
26
|
* Unspecified changes
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
#
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
@@ -328,6 +328,37 @@ module Google
|
|
328
328
|
end
|
329
329
|
end
|
330
330
|
|
331
|
+
# Metadata for the Submit URI long-running operation.
|
332
|
+
class GoogleCloudWebriskV1SubmitUriMetadata
|
333
|
+
include Google::Apis::Core::Hashable
|
334
|
+
|
335
|
+
# Creation time of the operation.
|
336
|
+
# Corresponds to the JSON property `createTime`
|
337
|
+
# @return [String]
|
338
|
+
attr_accessor :create_time
|
339
|
+
|
340
|
+
# The state of the operation.
|
341
|
+
# Corresponds to the JSON property `state`
|
342
|
+
# @return [String]
|
343
|
+
attr_accessor :state
|
344
|
+
|
345
|
+
# Latest update time of the operation.
|
346
|
+
# Corresponds to the JSON property `updateTime`
|
347
|
+
# @return [String]
|
348
|
+
attr_accessor :update_time
|
349
|
+
|
350
|
+
def initialize(**args)
|
351
|
+
update!(**args)
|
352
|
+
end
|
353
|
+
|
354
|
+
# Update properties of this object
|
355
|
+
def update!(**args)
|
356
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
357
|
+
@state = args[:state] if args.key?(:state)
|
358
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
331
362
|
# Request to send a potentially malicious URI to WebRisk.
|
332
363
|
class GoogleCloudWebriskV1SubmitUriRequest
|
333
364
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module WebriskV1
|
18
18
|
# Version of the google-apis-webrisk_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210319"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class GoogleCloudWebriskV1SubmitUriMetadata
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class GoogleCloudWebriskV1SubmitUriRequest
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -219,6 +225,15 @@ module Google
|
|
219
225
|
end
|
220
226
|
end
|
221
227
|
|
228
|
+
class GoogleCloudWebriskV1SubmitUriMetadata
|
229
|
+
# @private
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
231
|
+
property :create_time, as: 'createTime'
|
232
|
+
property :state, as: 'state'
|
233
|
+
property :update_time, as: 'updateTime'
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
222
237
|
class GoogleCloudWebriskV1SubmitUriRequest
|
223
238
|
# @private
|
224
239
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -116,7 +116,7 @@ module Google
|
|
116
116
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
117
117
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
118
118
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
119
|
-
def
|
119
|
+
def cancel_project_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
120
120
|
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
121
121
|
command.request_representation = Google::Apis::WebriskV1::GoogleLongrunningCancelOperationRequest::Representation
|
122
122
|
command.request_object = google_longrunning_cancel_operation_request_object
|
@@ -151,7 +151,7 @@ module Google
|
|
151
151
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
152
152
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
153
153
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
154
|
-
def
|
154
|
+
def delete_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
155
155
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
156
156
|
command.response_representation = Google::Apis::WebriskV1::GoogleProtobufEmpty::Representation
|
157
157
|
command.response_class = Google::Apis::WebriskV1::GoogleProtobufEmpty
|
@@ -182,7 +182,7 @@ module Google
|
|
182
182
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
183
183
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
184
184
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
185
|
-
def
|
185
|
+
def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
186
186
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
187
187
|
command.response_representation = Google::Apis::WebriskV1::GoogleLongrunningOperation::Representation
|
188
188
|
command.response_class = Google::Apis::WebriskV1::GoogleLongrunningOperation
|
@@ -225,8 +225,8 @@ module Google
|
|
225
225
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
226
226
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
227
227
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
228
|
-
def
|
229
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
228
|
+
def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
229
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
230
230
|
command.response_representation = Google::Apis::WebriskV1::GoogleLongrunningListOperationsResponse::Representation
|
231
231
|
command.response_class = Google::Apis::WebriskV1::GoogleLongrunningListOperationsResponse
|
232
232
|
command.params['name'] = name unless name.nil?
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-webrisk_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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: 2021-
|
11
|
+
date: 2021-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Web Risk API V1. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-webrisk_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-webrisk_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-webrisk_v1/v0.7.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-webrisk_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Web Risk API V1
|