google-cloud-ids-v1 0.4.0 → 0.5.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: 76a77a5063b189dddab5b8c76983d0cc5c6e9c15522a68e729f82ded7625e1ac
4
- data.tar.gz: d9f87027b159ca9e5e2bd4c3b328d08de6320032fd7acf28b531e6993dadc5a0
3
+ metadata.gz: 4c8746aee84c78d7e82267fb1363b1cdc5573f48bdb4ef7155f88c510aaa3837
4
+ data.tar.gz: 19b3993ee8a3643b31e108c9489c24085d05303471ead73703aed3e26289beee
5
5
  SHA512:
6
- metadata.gz: c6b90bc7e6b031e94d91270dcdafea6122796b0fbdd680b78ab14c1fafaebcaeb239491673089d343850a08deaa96c1ddb6a10da497e3ef610bfbc32a4d81e1c
7
- data.tar.gz: 7ffd60dd4b87203762f3e2218f4688fcfd0d9428e0e4280b77ae9c50648fef2ad137b52ba55249d5aa87bff9116437f22acf993e5af360657216ff46401b5930
6
+ metadata.gz: 6d21e81cf98ca025b0df67a6dc583b7b5b3d61900b0f99ace46759a4b72a3738791609434b347e472fdd6aeeb069d23d0e2f9c782e96f54ff39a8c467957742c
7
+ data.tar.gz: b2a2082dbe3979f996f2ab4a508eaa8077c305da54092af4a4a6a2b76d4ab1769edf4e7c82038427e08d3f0ec80dd619284bf4509541780351c4cd48f774597d
@@ -158,7 +158,8 @@ module Google
158
158
  credentials: credentials,
159
159
  endpoint: @config.endpoint,
160
160
  channel_args: @config.channel_args,
161
- interceptors: @config.interceptors
161
+ interceptors: @config.interceptors,
162
+ channel_pool_config: @config.channel_pool
162
163
  )
163
164
  end
164
165
 
@@ -704,6 +705,14 @@ module Google
704
705
  end
705
706
  end
706
707
 
708
+ ##
709
+ # Configuration for the channel pool
710
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
711
+ #
712
+ def channel_pool
713
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
714
+ end
715
+
707
716
  ##
708
717
  # Configuration RPC class for the IDS API.
709
718
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -701,6 +702,14 @@ module Google
701
702
  end
702
703
  end
703
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
704
713
  ##
705
714
  # Configuration RPC class for the Operations API.
706
715
  #
@@ -204,6 +204,26 @@ module Google
204
204
  # @return [::Google::Cloud::IDS::V1::ListEndpointsResponse]
205
205
  #
206
206
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
207
+ #
208
+ # @example Basic example
209
+ # require "google/cloud/ids/v1"
210
+ #
211
+ # # Create a client object. The client can be reused for multiple calls.
212
+ # client = Google::Cloud::IDS::V1::IDS::Rest::Client.new
213
+ #
214
+ # # Create a request. To set request fields, pass in keyword arguments.
215
+ # request = Google::Cloud::IDS::V1::ListEndpointsRequest.new
216
+ #
217
+ # # Call the list_endpoints method.
218
+ # result = client.list_endpoints request
219
+ #
220
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
221
+ # # over elements, and API calls will be issued to fetch pages as needed.
222
+ # result.each do |item|
223
+ # # Each element is of type ::Google::Cloud::IDS::V1::Endpoint.
224
+ # p item
225
+ # end
226
+ #
207
227
  def list_endpoints request, options = nil
208
228
  raise ::ArgumentError, "request must be provided" if request.nil?
209
229
 
@@ -267,6 +287,22 @@ module Google
267
287
  # @return [::Google::Cloud::IDS::V1::Endpoint]
268
288
  #
269
289
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
290
+ #
291
+ # @example Basic example
292
+ # require "google/cloud/ids/v1"
293
+ #
294
+ # # Create a client object. The client can be reused for multiple calls.
295
+ # client = Google::Cloud::IDS::V1::IDS::Rest::Client.new
296
+ #
297
+ # # Create a request. To set request fields, pass in keyword arguments.
298
+ # request = Google::Cloud::IDS::V1::GetEndpointRequest.new
299
+ #
300
+ # # Call the get_endpoint method.
301
+ # result = client.get_endpoint request
302
+ #
303
+ # # The returned object is of type Google::Cloud::IDS::V1::Endpoint.
304
+ # p result
305
+ #
270
306
  def get_endpoint request, options = nil
271
307
  raise ::ArgumentError, "request must be provided" if request.nil?
272
308
 
@@ -352,6 +388,29 @@ module Google
352
388
  # @return [::Gapic::Operation]
353
389
  #
354
390
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
391
+ #
392
+ # @example Basic example
393
+ # require "google/cloud/ids/v1"
394
+ #
395
+ # # Create a client object. The client can be reused for multiple calls.
396
+ # client = Google::Cloud::IDS::V1::IDS::Rest::Client.new
397
+ #
398
+ # # Create a request. To set request fields, pass in keyword arguments.
399
+ # request = Google::Cloud::IDS::V1::CreateEndpointRequest.new
400
+ #
401
+ # # Call the create_endpoint method.
402
+ # result = client.create_endpoint request
403
+ #
404
+ # # The returned object is of type Gapic::Operation. You can use it to
405
+ # # check the status of an operation, cancel it, or wait for results.
406
+ # # Here is how to wait for a response.
407
+ # result.wait_until_done! timeout: 60
408
+ # if result.response?
409
+ # p result.response
410
+ # else
411
+ # puts "No response received."
412
+ # end
413
+ #
355
414
  def create_endpoint request, options = nil
356
415
  raise ::ArgumentError, "request must be provided" if request.nil?
357
416
 
@@ -429,6 +488,29 @@ module Google
429
488
  # @return [::Gapic::Operation]
430
489
  #
431
490
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
491
+ #
492
+ # @example Basic example
493
+ # require "google/cloud/ids/v1"
494
+ #
495
+ # # Create a client object. The client can be reused for multiple calls.
496
+ # client = Google::Cloud::IDS::V1::IDS::Rest::Client.new
497
+ #
498
+ # # Create a request. To set request fields, pass in keyword arguments.
499
+ # request = Google::Cloud::IDS::V1::DeleteEndpointRequest.new
500
+ #
501
+ # # Call the delete_endpoint method.
502
+ # result = client.delete_endpoint request
503
+ #
504
+ # # The returned object is of type Gapic::Operation. You can use it to
505
+ # # check the status of an operation, cancel it, or wait for results.
506
+ # # Here is how to wait for a response.
507
+ # result.wait_until_done! timeout: 60
508
+ # if result.response?
509
+ # p result.response
510
+ # else
511
+ # puts "No response received."
512
+ # end
513
+ #
432
514
  def delete_endpoint request, options = nil
433
515
  raise ::ArgumentError, "request must be provided" if request.nil?
434
516
 
@@ -136,6 +136,26 @@ module Google
136
136
  # @return [::Gapic::Operation]
137
137
  #
138
138
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
139
+ #
140
+ # @example Basic example
141
+ # require "google/longrunning"
142
+ #
143
+ # # Create a client object. The client can be reused for multiple calls.
144
+ # client = Google::Longrunning::Operations::Rest::Client.new
145
+ #
146
+ # # Create a request. To set request fields, pass in keyword arguments.
147
+ # request = Google::Longrunning::ListOperationsRequest.new
148
+ #
149
+ # # Call the list_operations method.
150
+ # result = client.list_operations request
151
+ #
152
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
153
+ # # over elements, and API calls will be issued to fetch pages as needed.
154
+ # result.each do |item|
155
+ # # Each element is of type ::Google::Longrunning::Operation.
156
+ # p item
157
+ # end
158
+ #
139
159
  def list_operations request, options = nil
140
160
  raise ::ArgumentError, "request must be provided" if request.nil?
141
161
 
@@ -201,6 +221,29 @@ module Google
201
221
  # @return [::Gapic::Operation]
202
222
  #
203
223
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
224
+ #
225
+ # @example Basic example
226
+ # require "google/longrunning"
227
+ #
228
+ # # Create a client object. The client can be reused for multiple calls.
229
+ # client = Google::Longrunning::Operations::Rest::Client.new
230
+ #
231
+ # # Create a request. To set request fields, pass in keyword arguments.
232
+ # request = Google::Longrunning::GetOperationRequest.new
233
+ #
234
+ # # Call the get_operation method.
235
+ # result = client.get_operation request
236
+ #
237
+ # # The returned object is of type Gapic::Operation. You can use it to
238
+ # # check the status of an operation, cancel it, or wait for results.
239
+ # # Here is how to wait for a response.
240
+ # result.wait_until_done! timeout: 60
241
+ # if result.response?
242
+ # p result.response
243
+ # else
244
+ # puts "No response received."
245
+ # end
246
+ #
204
247
  def get_operation request, options = nil
205
248
  raise ::ArgumentError, "request must be provided" if request.nil?
206
249
 
@@ -267,6 +310,22 @@ module Google
267
310
  # @return [::Google::Protobuf::Empty]
268
311
  #
269
312
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
313
+ #
314
+ # @example Basic example
315
+ # require "google/longrunning"
316
+ #
317
+ # # Create a client object. The client can be reused for multiple calls.
318
+ # client = Google::Longrunning::Operations::Rest::Client.new
319
+ #
320
+ # # Create a request. To set request fields, pass in keyword arguments.
321
+ # request = Google::Longrunning::DeleteOperationRequest.new
322
+ #
323
+ # # Call the delete_operation method.
324
+ # result = client.delete_operation request
325
+ #
326
+ # # The returned object is of type Google::Protobuf::Empty.
327
+ # p result
328
+ #
270
329
  def delete_operation request, options = nil
271
330
  raise ::ArgumentError, "request must be provided" if request.nil?
272
331
 
@@ -338,6 +397,22 @@ module Google
338
397
  # @return [::Google::Protobuf::Empty]
339
398
  #
340
399
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
400
+ #
401
+ # @example Basic example
402
+ # require "google/longrunning"
403
+ #
404
+ # # Create a client object. The client can be reused for multiple calls.
405
+ # client = Google::Longrunning::Operations::Rest::Client.new
406
+ #
407
+ # # Create a request. To set request fields, pass in keyword arguments.
408
+ # request = Google::Longrunning::CancelOperationRequest.new
409
+ #
410
+ # # Call the cancel_operation method.
411
+ # result = client.cancel_operation request
412
+ #
413
+ # # The returned object is of type Google::Protobuf::Empty.
414
+ # p result
415
+ #
341
416
  def cancel_operation request, options = nil
342
417
  raise ::ArgumentError, "request must be provided" if request.nil?
343
418
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module IDS
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-ids-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  - !ruby/object:Gem::Version
221
221
  version: '0'
222
222
  requirements: []
223
- rubygems_version: 3.4.2
223
+ rubygems_version: 3.4.19
224
224
  signing_key:
225
225
  specification_version: 4
226
226
  summary: Cloud IDS (Cloud Intrusion Detection System) detects malware, spyware, command-and-control