google-apis-webrisk_v1 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e630e6915a0d839c38b1c0a3879702cbb9c105a6d6f9ddeebc5b2060af63821d
|
4
|
+
data.tar.gz: 22a3edac17c7c05da9f96ff336b520ada486a64fa9f64a86771bb9903356e118
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 393034b81dd936ba87b0ddb9a119f49cf277942a289e3cb1a3193055411f27595a8d7a619862e4d2b2fba065708a70d211c2a3e182e17598fdaef1a7f611430c
|
7
|
+
data.tar.gz: d999509e7f9425038cfefa8206d2d677a58892ccff50406d98f1b425898773f0698ef41a78f8b647bb079ef0dca51c757f5ff886204b088081948b8ef30ad457
|
data/CHANGELOG.md
CHANGED
@@ -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.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210314"
|
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,14 +1,14 @@
|
|
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.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: 2021-03-
|
11
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-webrisk_v1/v0.3.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-webrisk_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|