google-cloud-phishing_protection-v1beta1 0.6.1 → 0.7.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: 5cbe01fcedc09a6b2f318a6a60e6d9fa627e0d888564c83abda3d51e931c5d61
4
- data.tar.gz: c2dad33d49eacd11ebc13a483300b2ca02e288d2ebb50f8d0eb5279270f5d050
3
+ metadata.gz: 557d20c507c4c0fbb410b9c7641d16e242278698a9fd93c5d6d45008aa003dce
4
+ data.tar.gz: 9f51c78e24b9ce4d263f54765892ee1a8745733b58df48dc8b2c95e7eb9920d5
5
5
  SHA512:
6
- metadata.gz: 83db02be72e790d220470e4d4c1fec6d35b0c49524afa2460268b4613113ca77f846ffad9534c9fe941ed618e35f349164ac194e8f3378e4fb00ee26229d0e02
7
- data.tar.gz: 58098aa969d4d3882df1e906f3269f5f529e096b5b415e745f290fa0b807ff298f5c7323bafe0d9f7970a136fdd4c0c5a57a9d26620b8d1f8cfdfaa10dc72315
6
+ metadata.gz: 7a2622d7b894816c727e482c462e1698ae40356d9a5a961d0c321a2524130f2a291644f7985cc9d864dd0271a7c6ccec81bf4bc3093fd22cf5a8b2292b3d9c67
7
+ data.tar.gz: 195b700c6b141cfb573249c09e905d930f8b74e9ec5530bd70c3855a621b6052f4a17b4f6fc74c8892c1351f308baffb917b387350235e06ae9c56a45b66300e
@@ -140,7 +140,8 @@ module Google
140
140
  credentials: credentials,
141
141
  endpoint: @config.endpoint,
142
142
  channel_args: @config.channel_args,
143
- interceptors: @config.interceptors
143
+ interceptors: @config.interceptors,
144
+ channel_pool_config: @config.channel_pool
144
145
  )
145
146
  end
146
147
 
@@ -359,6 +360,14 @@ module Google
359
360
  end
360
361
  end
361
362
 
363
+ ##
364
+ # Configuration for the channel pool
365
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
366
+ #
367
+ def channel_pool
368
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
369
+ end
370
+
362
371
  ##
363
372
  # Configuration RPC class for the PhishingProtectionService API.
364
373
  #
@@ -173,6 +173,22 @@ module Google
173
173
  # @return [::Google::Cloud::PhishingProtection::V1beta1::ReportPhishingResponse]
174
174
  #
175
175
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
176
+ #
177
+ # @example Basic example
178
+ # require "google/cloud/phishing_protection/v1beta1"
179
+ #
180
+ # # Create a client object. The client can be reused for multiple calls.
181
+ # client = Google::Cloud::PhishingProtection::V1beta1::PhishingProtectionService::Rest::Client.new
182
+ #
183
+ # # Create a request. To set request fields, pass in keyword arguments.
184
+ # request = Google::Cloud::PhishingProtection::V1beta1::ReportPhishingRequest.new
185
+ #
186
+ # # Call the report_phishing method.
187
+ # result = client.report_phishing request
188
+ #
189
+ # # The returned object is of type Google::Cloud::PhishingProtection::V1beta1::ReportPhishingResponse.
190
+ # p result
191
+ #
176
192
  def report_phishing request, options = nil
177
193
  raise ::ArgumentError, "request must be provided" if request.nil?
178
194
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PhishingProtection
23
23
  module V1beta1
24
- VERSION = "0.6.1"
24
+ VERSION = "0.7.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-phishing_protection-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
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: 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
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  - !ruby/object:Gem::Version
212
212
  version: '0'
213
213
  requirements: []
214
- rubygems_version: 3.4.2
214
+ rubygems_version: 3.4.19
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: API Client library for the Phishing Protection V1beta1 API