google-cloud-network_security-v1beta1 0.13.1 → 0.14.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: 12d34cb813d62bfb27b36ea78dce6fe9900f5785798bfe39ef018c2ea9586e67
4
- data.tar.gz: 3a4535c5cbf9ee86f02d7a70555880b9a6f577722c33c5b003216437e0987fdd
3
+ metadata.gz: 350559ed6a9414ec95c3b9f63b904cc744e9bbd278610c711a314c4a6915a0bb
4
+ data.tar.gz: 266be4c0632456207969b52a6d8cf1019946a8e613b37a094db8237fd4022278
5
5
  SHA512:
6
- metadata.gz: d8af57c306338e9f66a9589af9d3df347fcbab99db354c6f4cb9c4b1be71f2d1328967b25f75969ee604c21dcc575ca30e9031fb32ce5586358bc734783e376d
7
- data.tar.gz: 4f1945141c36e944cc965ca89ca971113660b364f8cbe84994e3b7eefd9c8c9963319adf655649c537d92bf6f5b8935b1b5f8f1a4ef5af0eb81cdc919f0000ae
6
+ metadata.gz: 9eae1a08ec97095203495f64f56c89735567b10820b8a20ef6d21c57f6809fd01dce80065b9122e42c3f9645007529bca9e76468d31686e3868eddd96dd8253d
7
+ data.tar.gz: 5e30bcca1263854592deb931f04aa1569ced7d0295799e998915272f26aa6ae243cdbc3dd8f793445012135e3e69e52634e43d7c56b4247f68fe16f1387d32c5
data/AUTHENTICATION.md CHANGED
@@ -56,7 +56,7 @@ To configure a credentials file for an individual client initialization:
56
56
  ```ruby
57
57
  require "google/cloud/network_security/v1beta1"
58
58
 
59
- client = ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Client.new do |config|
59
+ client = ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorService::Client.new do |config|
60
60
  config.credentials = "path/to/credentialfile.json"
61
61
  end
62
62
  ```
@@ -66,11 +66,11 @@ To configure a credentials file globally for all clients:
66
66
  ```ruby
67
67
  require "google/cloud/network_security/v1beta1"
68
68
 
69
- ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Client.configure do |config|
69
+ ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorService::Client.configure do |config|
70
70
  config.credentials = "path/to/credentialfile.json"
71
71
  end
72
72
 
73
- client = ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Client.new
73
+ client = ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorService::Client.new
74
74
  ```
75
75
 
76
76
  ### Environment Variables
@@ -100,7 +100,7 @@ require "google/cloud/network_security/v1beta1"
100
100
 
101
101
  ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
102
102
 
103
- client = ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Client.new
103
+ client = ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorService::Client.new
104
104
  ```
105
105
 
106
106
  ### Local ADC file
data/README.md CHANGED
@@ -32,9 +32,9 @@ In order to use this library, you first need to go through the following steps:
32
32
  ```ruby
33
33
  require "google/cloud/network_security/v1beta1"
34
34
 
35
- client = ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Client.new
36
- request = ::Google::Cloud::NetworkSecurity::V1beta1::ListAuthorizationPoliciesRequest.new # (request fields as keyword arguments...)
37
- response = client.list_authorization_policies request
35
+ client = ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorService::Client.new
36
+ request = ::Google::Cloud::NetworkSecurity::V1beta1::ListDnsThreatDetectorsRequest.new # (request fields as keyword arguments...)
37
+ response = client.list_dns_threat_detectors request
38
38
  ```
39
39
 
40
40
  View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-network_security-v1beta1/latest)
@@ -75,7 +75,7 @@ constructing a client object. For example:
75
75
  require "google/cloud/network_security/v1beta1"
76
76
  require "logger"
77
77
 
78
- client = ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Client.new do |config|
78
+ client = ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorService::Client.new do |config|
79
79
  config.logger = Logger.new "my-app.log"
80
80
  end
81
81
  ```
@@ -25,7 +25,7 @@ module Google
25
25
  # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
26
26
  #
27
27
  # require "google/cloud/network_security/v1beta1/rest"
28
- # client = ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Rest::Client.new
28
+ # client = ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorService::Rest::Client.new
29
29
  #
30
30
  module V1beta1
31
31
  ##