google-apis-webrisk_v1 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37351bb941a4ca7df108b08bc9ef0a054d651418eb0b655e2aeeeb625cd514d3
4
- data.tar.gz: 465f73604c5c223794d2c6e13d6c724e6b38114d467f209ea2bc3407b1f7b808
3
+ metadata.gz: e630e6915a0d839c38b1c0a3879702cbb9c105a6d6f9ddeebc5b2060af63821d
4
+ data.tar.gz: 22a3edac17c7c05da9f96ff336b520ada486a64fa9f64a86771bb9903356e118
5
5
  SHA512:
6
- metadata.gz: 834d3b60aa14a0300b9ff06c7190fbd838665e12cf790f00d5643e736fe80408f421b5b6685bdba9a0e118d1dd36708a8ba29ce740503ded272acafb94d4b239
7
- data.tar.gz: 99e207ba0557a3c45e308008059f8d825390ecfbd5af8cd3eb077342c64a487347865470a0aa7312f5e5e3ba50a3efd7b72fc145d163df531e6310e23d0aaf22
6
+ metadata.gz: 393034b81dd936ba87b0ddb9a119f49cf277942a289e3cb1a3193055411f27595a8d7a619862e4d2b2fba065708a70d211c2a3e182e17598fdaef1a7f611430c
7
+ data.tar.gz: d999509e7f9425038cfefa8206d2d677a58892ccff50406d98f1b425898773f0698ef41a78f8b647bb079ef0dca51c757f5ff886204b088081948b8ef30ad457
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-webrisk_v1
2
2
 
3
+ ### v0.3.0 (2021-03-16)
4
+
5
+ * Regenerated from discovery document revision 20210314
6
+ * Regenerated using generator version 0.2.0
7
+
3
8
  ### v0.2.0 (2021-03-04)
4
9
 
5
10
  * Unspecified changes
@@ -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.2.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.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210220"
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 cancel_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
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 delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
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 get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
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 list_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}', 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.2.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-08 00:00:00.000000000 Z
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.2.0
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: []