google-cloud-network_security-v1beta1 0.1.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +11 -6
- data/lib/google/cloud/network_security/v1beta1/network_security/client.rb +43 -8
- data/lib/google/cloud/network_security/v1beta1/network_security/operations.rb +3 -0
- data/lib/google/cloud/network_security/v1beta1/network_security.rb +4 -0
- data/lib/google/cloud/network_security/v1beta1/version.rb +1 -1
- data/lib/google/cloud/network_security/v1beta1.rb +2 -0
- data/lib/google/cloud/networksecurity/v1beta1/authorization_policy_pb.rb +2 -2
- data/lib/google/cloud/networksecurity/v1beta1/client_tls_policy_pb.rb +2 -2
- data/lib/google/cloud/networksecurity/v1beta1/common_pb.rb +2 -2
- data/lib/google/cloud/networksecurity/v1beta1/network_security_pb.rb +2 -1
- data/lib/google/cloud/networksecurity/v1beta1/network_security_services_pb.rb +3 -0
- data/lib/google/cloud/networksecurity/v1beta1/server_tls_policy_pb.rb +2 -2
- data/lib/google/cloud/networksecurity/v1beta1/tls_pb.rb +2 -2
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/networksecurity/v1beta1/authorization_policy.rb +40 -29
- data/proto_docs/google/cloud/networksecurity/v1beta1/client_tls_policy.rb +10 -8
- data/proto_docs/google/cloud/networksecurity/v1beta1/common.rb +3 -2
- data/proto_docs/google/cloud/networksecurity/v1beta1/server_tls_policy.rb +20 -15
- data/proto_docs/google/cloud/networksecurity/v1beta1/tls.rb +5 -5
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +53 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfa3eac5e9f90efe418e181b35a16ca8a7b70cfe14d56d57386bd4f65219707c
|
4
|
+
data.tar.gz: 4f3e6f9bab137a10135df5ec1eff7f8c2d7e332af73967f1c1f8fa9ded2d3e17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 557895ed41b9149bf3b86b963d6dbddac44349a5837d74cb87982198fb50a1d93ce43e384c209675e43ac8030c33c3a04d2d0c987080914038e633d51797d3ce
|
7
|
+
data.tar.gz: ad40882e4497f9a735a1352850c015f22f639d46c00a95283cfc156a1566a8e43bf953b211d5a083c6c2392e30c27acec6771e7bfc36c2cb26a0465b4d3b3420
|
data/.yardopts
CHANGED
data/AUTHENTICATION.md
CHANGED
@@ -118,15 +118,6 @@ To configure your system for this, simply:
|
|
118
118
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
119
119
|
*should* only be used during development.
|
120
120
|
|
121
|
-
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
|
122
|
-
[dev-console]: https://console.cloud.google.com/project
|
123
|
-
|
124
|
-
[enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
|
125
|
-
|
126
|
-
[create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
|
127
|
-
[create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
|
128
|
-
[reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
|
129
|
-
|
130
121
|
## Creating a Service Account
|
131
122
|
|
132
123
|
Google Cloud requires **Service Account Credentials** to
|
@@ -137,31 +128,22 @@ If you are not running this client within
|
|
137
128
|
[Google Cloud Platform environments](#google-cloud-platform-environments), you
|
138
129
|
need a Google Developers service account.
|
139
130
|
|
140
|
-
1. Visit the [Google
|
131
|
+
1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
|
141
132
|
2. Create a new project or click on an existing project.
|
142
|
-
3. Activate the
|
133
|
+
3. Activate the menu in the upper left and select **APIs & Services**. From
|
143
134
|
here, you will enable the APIs that your application requires.
|
144
135
|
|
145
|
-
![Enable the APIs that your application requires][enable-apis]
|
146
|
-
|
147
136
|
*Note: You may need to enable billing in order to use these services.*
|
148
137
|
|
149
138
|
4. Select **Credentials** from the side navigation.
|
150
139
|
|
151
|
-
|
152
|
-
|
153
|
-
![Create a new service account][create-new-service-account]
|
154
|
-
|
155
|
-
![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
|
156
|
-
|
157
|
-
Find the "Add credentials" drop down and select "Service account" to be
|
158
|
-
guided through downloading a new JSON key file.
|
140
|
+
Find the "Create credentials" drop down near the top of the page, and select
|
141
|
+
"Service account" to be guided through downloading a new JSON key file.
|
159
142
|
|
160
143
|
If you want to re-use an existing service account, you can easily generate a
|
161
|
-
new key file. Just select the account you wish to re-use,
|
162
|
-
|
163
|
-
|
164
|
-
![Re-use an existing service account][reuse-service-account]
|
144
|
+
new key file. Just select the account you wish to re-use, click the pencil
|
145
|
+
tool on the right side to edit the service account, select the **Keys** tab,
|
146
|
+
and then select **Add Key**.
|
165
147
|
|
166
148
|
The key file you download will be used by this library to authenticate API
|
167
149
|
requests and should be stored in a secure location.
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::NetworkSecurity::V1beta1::ListAuthorizationPoliciesRe
|
|
37
37
|
response = client.list_authorization_policies request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-network_security-v1beta1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/traffic-director/docs/reference/network-security/rest/)
|
@@ -69,16 +69,21 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
75
80
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life.
|
79
|
-
|
80
|
-
|
81
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
82
87
|
|
83
88
|
## Which client should I use?
|
84
89
|
|
@@ -18,6 +18,8 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/networksecurity/v1beta1/network_security_pb"
|
21
|
+
require "google/cloud/location"
|
22
|
+
require "google/iam/v1"
|
21
23
|
|
22
24
|
module Google
|
23
25
|
module Cloud
|
@@ -27,6 +29,10 @@ module Google
|
|
27
29
|
##
|
28
30
|
# Client for the NetworkSecurity service.
|
29
31
|
#
|
32
|
+
# Network Security API provides resources to configure authentication and
|
33
|
+
# authorization policies. Refer to per API resource documentation for more
|
34
|
+
# information.
|
35
|
+
#
|
30
36
|
class Client
|
31
37
|
include Paths
|
32
38
|
|
@@ -135,6 +141,19 @@ module Google
|
|
135
141
|
|
136
142
|
@operations_client = Operations.new do |config|
|
137
143
|
config.credentials = credentials
|
144
|
+
config.quota_project = @quota_project_id
|
145
|
+
config.endpoint = @config.endpoint
|
146
|
+
end
|
147
|
+
|
148
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
149
|
+
config.credentials = credentials
|
150
|
+
config.quota_project = @quota_project_id
|
151
|
+
config.endpoint = @config.endpoint
|
152
|
+
end
|
153
|
+
|
154
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
155
|
+
config.credentials = credentials
|
156
|
+
config.quota_project = @quota_project_id
|
138
157
|
config.endpoint = @config.endpoint
|
139
158
|
end
|
140
159
|
|
@@ -154,6 +173,20 @@ module Google
|
|
154
173
|
#
|
155
174
|
attr_reader :operations_client
|
156
175
|
|
176
|
+
##
|
177
|
+
# Get the associated client for mix-in of the Locations.
|
178
|
+
#
|
179
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
180
|
+
#
|
181
|
+
attr_reader :location_client
|
182
|
+
|
183
|
+
##
|
184
|
+
# Get the associated client for mix-in of the IAMPolicy.
|
185
|
+
#
|
186
|
+
# @return [Google::Iam::V1::IAMPolicy::Client]
|
187
|
+
#
|
188
|
+
attr_reader :iam_policy_client
|
189
|
+
|
157
190
|
# Service calls
|
158
191
|
|
159
192
|
##
|
@@ -562,8 +595,8 @@ module Google
|
|
562
595
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
563
596
|
#
|
564
597
|
# @param name [::String]
|
565
|
-
# Required. A name of the AuthorizationPolicy to delete. Must be in the
|
566
|
-
# `projects/{project}/locations/{location}/authorizationPolicies/*`.
|
598
|
+
# Required. A name of the AuthorizationPolicy to delete. Must be in the
|
599
|
+
# format `projects/{project}/locations/{location}/authorizationPolicies/*`.
|
567
600
|
#
|
568
601
|
# @yield [response, operation] Access the result along with the RPC operation
|
569
602
|
# @yieldparam response [::Gapic::Operation]
|
@@ -845,9 +878,10 @@ module Google
|
|
845
878
|
# Required. The parent resource of the ServerTlsPolicy. Must be in
|
846
879
|
# the format `projects/*/locations/{location}`.
|
847
880
|
# @param server_tls_policy_id [::String]
|
848
|
-
# Required. Short name of the ServerTlsPolicy resource to be created. This
|
849
|
-
# be 1-63 characters long, containing only letters, numbers,
|
850
|
-
# underscores, and should not start with a number. E.g.
|
881
|
+
# Required. Short name of the ServerTlsPolicy resource to be created. This
|
882
|
+
# value should be 1-63 characters long, containing only letters, numbers,
|
883
|
+
# hyphens, and underscores, and should not start with a number. E.g.
|
884
|
+
# "server_mtls_policy".
|
851
885
|
# @param server_tls_policy [::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy, ::Hash]
|
852
886
|
# Required. ServerTlsPolicy resource to be created.
|
853
887
|
#
|
@@ -1325,9 +1359,10 @@ module Google
|
|
1325
1359
|
# Required. The parent resource of the ClientTlsPolicy. Must be in
|
1326
1360
|
# the format `projects/*/locations/{location}`.
|
1327
1361
|
# @param client_tls_policy_id [::String]
|
1328
|
-
# Required. Short name of the ClientTlsPolicy resource to be created. This
|
1329
|
-
# be 1-63 characters long, containing only letters, numbers,
|
1330
|
-
# underscores, and should not start with a number. E.g.
|
1362
|
+
# Required. Short name of the ClientTlsPolicy resource to be created. This
|
1363
|
+
# value should be 1-63 characters long, containing only letters, numbers,
|
1364
|
+
# hyphens, and underscores, and should not start with a number. E.g.
|
1365
|
+
# "client_mtls_policy".
|
1331
1366
|
# @param client_tls_policy [::Google::Cloud::NetworkSecurity::V1beta1::ClientTlsPolicy, ::Hash]
|
1332
1367
|
# Required. ClientTlsPolicy resource to be created.
|
1333
1368
|
#
|
@@ -32,6 +32,10 @@ module Google
|
|
32
32
|
module NetworkSecurity
|
33
33
|
module V1beta1
|
34
34
|
##
|
35
|
+
# Network Security API provides resources to configure authentication and
|
36
|
+
# authorization policies. Refer to per API resource documentation for more
|
37
|
+
# information.
|
38
|
+
#
|
35
39
|
# To load this service and instantiate a client:
|
36
40
|
#
|
37
41
|
# require "google/cloud/network_security/v1beta1/network_security"
|
@@ -25,6 +25,8 @@ module Google
|
|
25
25
|
##
|
26
26
|
# To load this package, including all its services, and instantiate a client:
|
27
27
|
#
|
28
|
+
# @example
|
29
|
+
#
|
28
30
|
# require "google/cloud/network_security/v1beta1"
|
29
31
|
# client = ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Client.new
|
30
32
|
#
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/networksecurity/v1beta1/authorization_policy.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
8
|
require 'google/protobuf/field_mask_pb'
|
7
9
|
require 'google/protobuf/timestamp_pb'
|
8
|
-
require 'google/api/annotations_pb'
|
9
|
-
require 'google/protobuf'
|
10
10
|
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_file("google/cloud/networksecurity/v1beta1/authorization_policy.proto", :syntax => :proto3) do
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/networksecurity/v1beta1/client_tls_policy.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
8
|
require 'google/cloud/networksecurity/v1beta1/tls_pb'
|
7
9
|
require 'google/protobuf/field_mask_pb'
|
8
10
|
require 'google/protobuf/timestamp_pb'
|
9
|
-
require 'google/api/annotations_pb'
|
10
|
-
require 'google/protobuf'
|
11
11
|
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
13
|
add_file("google/cloud/networksecurity/v1beta1/client_tls_policy.proto", :syntax => :proto3) do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/networksecurity/v1beta1/common.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/protobuf/timestamp_pb'
|
6
|
-
require 'google/api/annotations_pb'
|
7
|
-
require 'google/protobuf'
|
8
8
|
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/networksecurity/v1beta1/common.proto", :syntax => :proto3) do
|
@@ -1,13 +1,14 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/networksecurity/v1beta1/network_security.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/cloud/networksecurity/v1beta1/authorization_policy_pb'
|
7
9
|
require 'google/cloud/networksecurity/v1beta1/client_tls_policy_pb'
|
8
10
|
require 'google/cloud/networksecurity/v1beta1/server_tls_policy_pb'
|
9
11
|
require 'google/longrunning/operations_pb'
|
10
|
-
require 'google/protobuf'
|
11
12
|
|
12
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
14
|
add_file("google/cloud/networksecurity/v1beta1/network_security.proto", :syntax => :proto3) do
|
@@ -24,6 +24,9 @@ module Google
|
|
24
24
|
module NetworkSecurity
|
25
25
|
module V1beta1
|
26
26
|
module NetworkSecurity
|
27
|
+
# Network Security API provides resources to configure authentication and
|
28
|
+
# authorization policies. Refer to per API resource documentation for more
|
29
|
+
# information.
|
27
30
|
class Service
|
28
31
|
|
29
32
|
include ::GRPC::GenericService
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/networksecurity/v1beta1/server_tls_policy.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
8
|
require 'google/cloud/networksecurity/v1beta1/tls_pb'
|
7
9
|
require 'google/protobuf/field_mask_pb'
|
8
10
|
require 'google/protobuf/timestamp_pb'
|
9
|
-
require 'google/api/annotations_pb'
|
10
|
-
require 'google/protobuf'
|
11
11
|
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
13
|
add_file("google/cloud/networksecurity/v1beta1/server_tls_policy.proto", :syntax => :proto3) do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/networksecurity/v1beta1/tls.proto
|
3
3
|
|
4
|
-
require 'google/api/field_behavior_pb'
|
5
|
-
require 'google/api/annotations_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/networksecurity/v1beta1/tls.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.networksecurity.v1beta1.GrpcEndpoint" do
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
@@ -40,17 +40,19 @@ module Google
|
|
40
40
|
# Output only. The timestamp when the resource was updated.
|
41
41
|
# @!attribute [rw] labels
|
42
42
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
43
|
-
# Optional. Set of label tags associated with the AuthorizationPolicy
|
43
|
+
# Optional. Set of label tags associated with the AuthorizationPolicy
|
44
|
+
# resource.
|
44
45
|
# @!attribute [rw] action
|
45
46
|
# @return [::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy::Action]
|
46
47
|
# Required. The action to take when a rule match is found. Possible values
|
47
48
|
# are "ALLOW" or "DENY".
|
48
49
|
# @!attribute [rw] rules
|
49
50
|
# @return [::Array<::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy::Rule>]
|
50
|
-
# Optional. List of rules to match. Note that at least one of the rules must
|
51
|
-
# order for the action specified in the 'action' field to be taken.
|
52
|
-
# a match if there is a matching source and destination. If left
|
53
|
-
# action specified in the `action` field will be applied on every
|
51
|
+
# Optional. List of rules to match. Note that at least one of the rules must
|
52
|
+
# match in order for the action specified in the 'action' field to be taken.
|
53
|
+
# A rule is a match if there is a matching source and destination. If left
|
54
|
+
# blank, the action specified in the `action` field will be applied on every
|
55
|
+
# request.
|
54
56
|
class AuthorizationPolicy
|
55
57
|
include ::Google::Protobuf::MessageExts
|
56
58
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -58,15 +60,15 @@ module Google
|
|
58
60
|
# Specification of rules.
|
59
61
|
# @!attribute [rw] sources
|
60
62
|
# @return [::Array<::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy::Rule::Source>]
|
61
|
-
# Optional. List of attributes for the traffic source. All of the sources
|
62
|
-
# A source is a match if both principals and ip_blocks match.
|
63
|
-
# the action specified in the 'action' field will be applied
|
64
|
-
# rule checks for the source.
|
63
|
+
# Optional. List of attributes for the traffic source. All of the sources
|
64
|
+
# must match. A source is a match if both principals and ip_blocks match.
|
65
|
+
# If not set, the action specified in the 'action' field will be applied
|
66
|
+
# without any rule checks for the source.
|
65
67
|
# @!attribute [rw] destinations
|
66
68
|
# @return [::Array<::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy::Rule::Destination>]
|
67
|
-
# Optional. List of attributes for the traffic destination. All of the
|
68
|
-
# must match. A destination is a match if a request matches
|
69
|
-
# specified hosts, ports, methods and headers. If not set, the
|
69
|
+
# Optional. List of attributes for the traffic destination. All of the
|
70
|
+
# destinations must match. A destination is a match if a request matches
|
71
|
+
# all the specified hosts, ports, methods and headers. If not set, the
|
70
72
|
# action specified in the 'action' field will be applied without any rule
|
71
73
|
# checks for the destination.
|
72
74
|
class Rule
|
@@ -76,15 +78,19 @@ module Google
|
|
76
78
|
# Specification of traffic source attributes.
|
77
79
|
# @!attribute [rw] principals
|
78
80
|
# @return [::Array<::String>]
|
79
|
-
# Optional. List of peer identities to match for authorization. At least
|
80
|
-
# principal should match. Each peer can be an exact match, or a
|
81
|
-
# match (example, "namespace/*") or a suffix match (example,
|
82
|
-
# */service-account") or a presence match "*".
|
81
|
+
# Optional. List of peer identities to match for authorization. At least
|
82
|
+
# one principal should match. Each peer can be an exact match, or a
|
83
|
+
# prefix match (example, "namespace/*") or a suffix match (example,
|
84
|
+
# "*/service-account") or a presence match "*". Authorization based on
|
85
|
+
# the principal name without certificate validation (configured by
|
86
|
+
# ServerTlsPolicy resource) is considered insecure.
|
83
87
|
# @!attribute [rw] ip_blocks
|
84
88
|
# @return [::Array<::String>]
|
85
|
-
# Optional. List of CIDR ranges to match based on source IP address. At
|
86
|
-
# IP block should match. Single IP (e.g., "1.2.3.4") and CIDR
|
87
|
-
# "1.2.3.0/24") are supported.
|
89
|
+
# Optional. List of CIDR ranges to match based on source IP address. At
|
90
|
+
# least one IP block should match. Single IP (e.g., "1.2.3.4") and CIDR
|
91
|
+
# (e.g., "1.2.3.0/24") are supported. Authorization based on source IP
|
92
|
+
# alone should be avoided. The IP addresses of any load balancers or
|
93
|
+
# proxies should be considered untrusted.
|
88
94
|
class Source
|
89
95
|
include ::Google::Protobuf::MessageExts
|
90
96
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -93,13 +99,14 @@ module Google
|
|
93
99
|
# Specification of traffic destination attributes.
|
94
100
|
# @!attribute [rw] hosts
|
95
101
|
# @return [::Array<::String>]
|
96
|
-
# Required. List of host names to match. Matched against
|
97
|
-
# http requests. At least one host should match. Each host can
|
98
|
-
# exact match, or a prefix match (example "mydomain.*") or a suffix
|
99
|
-
# match (example
|
102
|
+
# Required. List of host names to match. Matched against the ":authority"
|
103
|
+
# header in http requests. At least one host should match. Each host can
|
104
|
+
# be an exact match, or a prefix match (example "mydomain.*") or a suffix
|
105
|
+
# match (example "*.myorg.com") or a presence (any) match "*".
|
100
106
|
# @!attribute [rw] ports
|
101
107
|
# @return [::Array<::Integer>]
|
102
|
-
# Required. List of destination ports to match. At least one port should
|
108
|
+
# Required. List of destination ports to match. At least one port should
|
109
|
+
# match.
|
103
110
|
# @!attribute [rw] methods
|
104
111
|
# @return [::Array<::String>]
|
105
112
|
# Optional. A list of HTTP methods to match. At least one method should
|
@@ -107,13 +114,15 @@ module Google
|
|
107
114
|
# @!attribute [rw] http_header_match
|
108
115
|
# @return [::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy::Rule::Destination::HttpHeaderMatch]
|
109
116
|
# Optional. Match against key:value pair in http header. Provides a
|
110
|
-
# flexible match based on HTTP headers, for potentially
|
111
|
-
#
|
117
|
+
# flexible match based on HTTP headers, for potentially advanced use
|
118
|
+
# cases. At least one header should match. Avoid using header matches to
|
119
|
+
# make authorization decisions unless there is a strong guarantee that
|
120
|
+
# requests arrive through a trusted client or proxy.
|
112
121
|
class Destination
|
113
122
|
include ::Google::Protobuf::MessageExts
|
114
123
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
124
|
|
116
|
-
# Specification of HTTP header match
|
125
|
+
# Specification of HTTP header match attributes.
|
117
126
|
# @!attribute [rw] regex_match
|
118
127
|
# @return [::String]
|
119
128
|
# Required. The value of the header must match the regular expression
|
@@ -154,6 +163,8 @@ module Google
|
|
154
163
|
ALLOW = 1
|
155
164
|
|
156
165
|
# Deny access.
|
166
|
+
# Deny rules should be avoided unless they are used to provide a default
|
167
|
+
# "deny all" fallback.
|
157
168
|
DENY = 2
|
158
169
|
end
|
159
170
|
end
|
@@ -240,8 +251,8 @@ module Google
|
|
240
251
|
# Request used by the DeleteAuthorizationPolicy method.
|
241
252
|
# @!attribute [rw] name
|
242
253
|
# @return [::String]
|
243
|
-
# Required. A name of the AuthorizationPolicy to delete. Must be in the
|
244
|
-
# `projects/{project}/locations/{location}/authorizationPolicies/*`.
|
254
|
+
# Required. A name of the AuthorizationPolicy to delete. Must be in the
|
255
|
+
# format `projects/{project}/locations/{location}/authorizationPolicies/*`.
|
245
256
|
class DeleteAuthorizationPolicyRequest
|
246
257
|
include ::Google::Protobuf::MessageExts
|
247
258
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -46,13 +46,14 @@ module Google
|
|
46
46
|
# handshake. E.g: "secure.example.com".
|
47
47
|
# @!attribute [rw] client_certificate
|
48
48
|
# @return [::Google::Cloud::NetworkSecurity::V1beta1::CertificateProvider]
|
49
|
-
# Optional. Defines a mechanism to provision client identity (public and
|
50
|
-
# for peer to peer authentication. The presence of this
|
49
|
+
# Optional. Defines a mechanism to provision client identity (public and
|
50
|
+
# private keys) for peer to peer authentication. The presence of this
|
51
|
+
# dictates mTLS.
|
51
52
|
# @!attribute [rw] server_validation_ca
|
52
53
|
# @return [::Array<::Google::Cloud::NetworkSecurity::V1beta1::ValidationCA>]
|
53
|
-
# Optional. Defines the mechanism to obtain the Certificate Authority
|
54
|
-
# validate the server certificate. If empty, client does not
|
55
|
-
# server certificate.
|
54
|
+
# Optional. Defines the mechanism to obtain the Certificate Authority
|
55
|
+
# certificate to validate the server certificate. If empty, client does not
|
56
|
+
# validate the server certificate.
|
56
57
|
class ClientTlsPolicy
|
57
58
|
include ::Google::Protobuf::MessageExts
|
58
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -117,9 +118,10 @@ module Google
|
|
117
118
|
# the format `projects/*/locations/{location}`.
|
118
119
|
# @!attribute [rw] client_tls_policy_id
|
119
120
|
# @return [::String]
|
120
|
-
# Required. Short name of the ClientTlsPolicy resource to be created. This
|
121
|
-
# be 1-63 characters long, containing only letters, numbers,
|
122
|
-
# underscores, and should not start with a number. E.g.
|
121
|
+
# Required. Short name of the ClientTlsPolicy resource to be created. This
|
122
|
+
# value should be 1-63 characters long, containing only letters, numbers,
|
123
|
+
# hyphens, and underscores, and should not start with a number. E.g.
|
124
|
+
# "client_mtls_policy".
|
123
125
|
# @!attribute [rw] client_tls_policy
|
124
126
|
# @return [::Google::Cloud::NetworkSecurity::V1beta1::ClientTlsPolicy]
|
125
127
|
# Required. ClientTlsPolicy resource to be created.
|
@@ -41,8 +41,9 @@ module Google
|
|
41
41
|
# @return [::Boolean]
|
42
42
|
# Output only. Identifies whether the user has requested cancellation
|
43
43
|
# of the operation. Operations that have successfully been cancelled
|
44
|
-
# have [Operation.error][] value with a
|
45
|
-
# corresponding to
|
44
|
+
# have [Operation.error][] value with a
|
45
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
46
|
+
# `Code.CANCELLED`.
|
46
47
|
# @!attribute [r] api_version
|
47
48
|
# @return [::String]
|
48
49
|
# Output only. API version used to start the operation.
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
|
31
31
|
# @!attribute [rw] description
|
32
32
|
# @return [::String]
|
33
|
-
#
|
33
|
+
# Free-text description of the resource.
|
34
34
|
# @!attribute [r] create_time
|
35
35
|
# @return [::Google::Protobuf::Timestamp]
|
36
36
|
# Output only. The timestamp when the resource was created.
|
@@ -39,26 +39,30 @@ module Google
|
|
39
39
|
# Output only. The timestamp when the resource was updated.
|
40
40
|
# @!attribute [rw] labels
|
41
41
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
42
|
-
#
|
42
|
+
# Set of label tags associated with the resource.
|
43
43
|
# @!attribute [rw] allow_open
|
44
44
|
# @return [::Boolean]
|
45
|
-
#
|
45
|
+
# Determines if server allows plaintext connections. If set to true, server
|
46
46
|
# allows plain text connections. By default, it is set to false. This setting
|
47
|
-
# is not exclusive of other encryption modes. For example, if allow_open
|
48
|
-
# mtls_policy are set, server allows both plain text and mTLS
|
49
|
-
# See documentation of other encryption modes to confirm
|
47
|
+
# is not exclusive of other encryption modes. For example, if `allow_open`
|
48
|
+
# and `mtls_policy` are set, server allows both plain text and mTLS
|
49
|
+
# connections. See documentation of other encryption modes to confirm
|
50
|
+
# compatibility.
|
51
|
+
#
|
52
|
+
# Consider using it if you wish to upgrade in place your deployment to TLS
|
53
|
+
# while having mixed TLS and non-TLS traffic reaching port :80.
|
50
54
|
# @!attribute [rw] server_certificate
|
51
55
|
# @return [::Google::Cloud::NetworkSecurity::V1beta1::CertificateProvider]
|
52
|
-
#
|
53
|
-
# Cannot be combined with allow_open as a permissive mode that allows both
|
56
|
+
# Defines a mechanism to provision server identity (public and private keys).
|
57
|
+
# Cannot be combined with `allow_open` as a permissive mode that allows both
|
54
58
|
# plain text and TLS is not supported.
|
55
59
|
# @!attribute [rw] mtls_policy
|
56
60
|
# @return [::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy::MTLSPolicy]
|
57
|
-
#
|
61
|
+
# Defines a mechanism to provision peer validation certificates for peer to
|
58
62
|
# peer authentication (Mutual TLS - mTLS). If not specified, client
|
59
63
|
# certificate will not be requested. The connection is treated as TLS and not
|
60
|
-
# mTLS. If allow_open and mtls_policy are set, server allows both plain
|
61
|
-
# and mTLS connections.
|
64
|
+
# mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
|
65
|
+
# text and mTLS connections.
|
62
66
|
class ServerTlsPolicy
|
63
67
|
include ::Google::Protobuf::MessageExts
|
64
68
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -66,7 +70,7 @@ module Google
|
|
66
70
|
# Specification of the MTLSPolicy.
|
67
71
|
# @!attribute [rw] client_validation_ca
|
68
72
|
# @return [::Array<::Google::Cloud::NetworkSecurity::V1beta1::ValidationCA>]
|
69
|
-
#
|
73
|
+
# Defines the mechanism to obtain the Certificate Authority certificate to
|
70
74
|
# validate the client certificate.
|
71
75
|
class MTLSPolicy
|
72
76
|
include ::Google::Protobuf::MessageExts
|
@@ -133,9 +137,10 @@ module Google
|
|
133
137
|
# the format `projects/*/locations/{location}`.
|
134
138
|
# @!attribute [rw] server_tls_policy_id
|
135
139
|
# @return [::String]
|
136
|
-
# Required. Short name of the ServerTlsPolicy resource to be created. This
|
137
|
-
# be 1-63 characters long, containing only letters, numbers,
|
138
|
-
# underscores, and should not start with a number. E.g.
|
140
|
+
# Required. Short name of the ServerTlsPolicy resource to be created. This
|
141
|
+
# value should be 1-63 characters long, containing only letters, numbers,
|
142
|
+
# hyphens, and underscores, and should not start with a number. E.g.
|
143
|
+
# "server_mtls_policy".
|
139
144
|
# @!attribute [rw] server_tls_policy
|
140
145
|
# @return [::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy]
|
141
146
|
# Required. ServerTlsPolicy resource to be created.
|
@@ -24,8 +24,8 @@ module Google
|
|
24
24
|
# Specification of the GRPC Endpoint.
|
25
25
|
# @!attribute [rw] target_uri
|
26
26
|
# @return [::String]
|
27
|
-
# Required. The target URI of the gRPC endpoint. Only UDS path is supported,
|
28
|
-
# should start with
|
27
|
+
# Required. The target URI of the gRPC endpoint. Only UDS path is supported,
|
28
|
+
# and should start with "unix:".
|
29
29
|
class GrpcEndpoint
|
30
30
|
include ::Google::Protobuf::MessageExts
|
31
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -53,9 +53,9 @@ module Google
|
|
53
53
|
# message to locate and load the CertificateProvider instance configuration.
|
54
54
|
# @!attribute [rw] plugin_instance
|
55
55
|
# @return [::String]
|
56
|
-
# Required. Plugin instance name, used to locate and load CertificateProvider
|
57
|
-
# configuration. Set to "google_cloud_private_spiffe" to use
|
58
|
-
# Authority Service certificate provider instance.
|
56
|
+
# Required. Plugin instance name, used to locate and load CertificateProvider
|
57
|
+
# instance configuration. Set to "google_cloud_private_spiffe" to use
|
58
|
+
# Certificate Authority Service certificate provider instance.
|
59
59
|
class CertificateProviderInstance
|
60
60
|
include ::Google::Protobuf::MessageExts
|
61
61
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
22
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
23
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
24
|
+
# are documented at https://github.com/google/cel-spec.
|
25
|
+
#
|
26
|
+
# Example (Comparison):
|
27
|
+
#
|
28
|
+
# title: "Summary size limit"
|
29
|
+
# description: "Determines if a summary is less than 100 chars"
|
30
|
+
# expression: "document.summary.size() < 100"
|
31
|
+
#
|
32
|
+
# Example (Equality):
|
33
|
+
#
|
34
|
+
# title: "Requestor is owner"
|
35
|
+
# description: "Determines if requestor is the document owner"
|
36
|
+
# expression: "document.owner == request.auth.claims.email"
|
37
|
+
#
|
38
|
+
# Example (Logic):
|
39
|
+
#
|
40
|
+
# title: "Public documents"
|
41
|
+
# description: "Determine whether the document should be publicly visible"
|
42
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
43
|
+
#
|
44
|
+
# Example (Data Manipulation):
|
45
|
+
#
|
46
|
+
# title: "Notification string"
|
47
|
+
# description: "Create a notification string with a timestamp."
|
48
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
49
|
+
#
|
50
|
+
# The exact variables and functions that may be referenced within an expression
|
51
|
+
# are determined by the service that evaluates it. See the service
|
52
|
+
# documentation for additional information.
|
53
|
+
# @!attribute [rw] expression
|
54
|
+
# @return [::String]
|
55
|
+
# Textual representation of an expression in Common Expression Language
|
56
|
+
# syntax.
|
57
|
+
# @!attribute [rw] title
|
58
|
+
# @return [::String]
|
59
|
+
# Optional. Title for the expression, i.e. a short string describing
|
60
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
61
|
+
# expression.
|
62
|
+
# @!attribute [rw] description
|
63
|
+
# @return [::String]
|
64
|
+
# Optional. Description of the expression. This is a longer text which
|
65
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
66
|
+
# @!attribute [rw] location
|
67
|
+
# @return [::String]
|
68
|
+
# Optional. String indicating the location of the expression for error
|
69
|
+
# reporting, e.g. a file name and a position in the file.
|
70
|
+
class Expr
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-network_security-v1beta1
|
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:
|
11
|
+
date: 2022-07-28 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
|
+
version: '0.10'
|
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.
|
29
|
+
version: '0.10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -44,34 +44,74 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.0'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: google-iam-v1
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0.0'
|
74
|
+
- - "<"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.a
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0.0'
|
84
|
+
- - "<"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 2.a
|
47
87
|
- !ruby/object:Gem::Dependency
|
48
88
|
name: google-style
|
49
89
|
requirement: !ruby/object:Gem::Requirement
|
50
90
|
requirements:
|
51
91
|
- - "~>"
|
52
92
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
93
|
+
version: 1.26.1
|
54
94
|
type: :development
|
55
95
|
prerelease: false
|
56
96
|
version_requirements: !ruby/object:Gem::Requirement
|
57
97
|
requirements:
|
58
98
|
- - "~>"
|
59
99
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
100
|
+
version: 1.26.1
|
61
101
|
- !ruby/object:Gem::Dependency
|
62
102
|
name: minitest
|
63
103
|
requirement: !ruby/object:Gem::Requirement
|
64
104
|
requirements:
|
65
105
|
- - "~>"
|
66
106
|
- !ruby/object:Gem::Version
|
67
|
-
version: '5.
|
107
|
+
version: '5.16'
|
68
108
|
type: :development
|
69
109
|
prerelease: false
|
70
110
|
version_requirements: !ruby/object:Gem::Requirement
|
71
111
|
requirements:
|
72
112
|
- - "~>"
|
73
113
|
- !ruby/object:Gem::Version
|
74
|
-
version: '5.
|
114
|
+
version: '5.16'
|
75
115
|
- !ruby/object:Gem::Dependency
|
76
116
|
name: minitest-focus
|
77
117
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +146,14 @@ dependencies:
|
|
106
146
|
requirements:
|
107
147
|
- - ">="
|
108
148
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
149
|
+
version: '13.0'
|
110
150
|
type: :development
|
111
151
|
prerelease: false
|
112
152
|
version_requirements: !ruby/object:Gem::Requirement
|
113
153
|
requirements:
|
114
154
|
- - ">="
|
115
155
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
156
|
+
version: '13.0'
|
117
157
|
- !ruby/object:Gem::Dependency
|
118
158
|
name: redcarpet
|
119
159
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,6 +239,7 @@ files:
|
|
199
239
|
- proto_docs/google/protobuf/field_mask.rb
|
200
240
|
- proto_docs/google/protobuf/timestamp.rb
|
201
241
|
- proto_docs/google/rpc/status.rb
|
242
|
+
- proto_docs/google/type/expr.rb
|
202
243
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
203
244
|
licenses:
|
204
245
|
- Apache-2.0
|
@@ -211,14 +252,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
211
252
|
requirements:
|
212
253
|
- - ">="
|
213
254
|
- !ruby/object:Gem::Version
|
214
|
-
version: '2.
|
255
|
+
version: '2.6'
|
215
256
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
257
|
requirements:
|
217
258
|
- - ">="
|
218
259
|
- !ruby/object:Gem::Version
|
219
260
|
version: '0'
|
220
261
|
requirements: []
|
221
|
-
rubygems_version: 3.
|
262
|
+
rubygems_version: 3.3.14
|
222
263
|
signing_key:
|
223
264
|
specification_version: 4
|
224
265
|
summary: API Client library for the Network Security V1beta1 API
|