google-apis-webrisk_v1 0.1.0 → 0.6.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 +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c600fe4eb63358664b48d25dce688a96b28a41b14bef904babf8aeec7b16c36c
|
4
|
+
data.tar.gz: 9ef3e89294d9e328cda6cbfe540885778e905c77b3bb338887a18d84b36bc6de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c56b30f9a6b8bf54d70bac57eb4a24afc27368af9b99b6a08d960f10dc6cdb234925e2157a9e29623337b890452d224c250007a5117ee1cca13bc514579374fa
|
7
|
+
data.tar.gz: c4d44ee6ca3ef74a2351e956c85ab7f17eb167774631a5981309622fad8f8a93d08246eb5929d3b872ce689ac8e4ec50a2a060b5a6b8352933ecfab784c93918
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-webrisk_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.3.0
|
6
|
+
|
7
|
+
### v0.5.0 (2021-05-20)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.4.0 (2021-03-23)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210319
|
14
|
+
|
15
|
+
### v0.3.0 (2021-03-16)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210314
|
18
|
+
* Regenerated using generator version 0.2.0
|
19
|
+
|
20
|
+
### v0.2.0 (2021-03-04)
|
21
|
+
|
22
|
+
* Unspecified changes
|
23
|
+
|
3
24
|
### v0.1.0 (2021-02-24)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210220
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.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.6.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-06-28 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.3'
|
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.3'
|
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.6.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: []
|
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
68
|
requirements:
|
63
69
|
- - ">="
|
64
70
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
71
|
+
version: '2.5'
|
66
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
73
|
requirements:
|
68
74
|
- - ">="
|
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
|