google-cloud-network_security-v1beta1 0.2.0 → 0.3.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: a13385653b3ace03c0b7bf30382ae31e57b6e48cf668b7b84fd0ebf6b01124d1
4
- data.tar.gz: f9a6c7130deebd7684e787504325525763ecd66bc0e82a8b6c8ed5e4e4be3b9d
3
+ metadata.gz: cfa3eac5e9f90efe418e181b35a16ca8a7b70cfe14d56d57386bd4f65219707c
4
+ data.tar.gz: 4f3e6f9bab137a10135df5ec1eff7f8c2d7e332af73967f1c1f8fa9ded2d3e17
5
5
  SHA512:
6
- metadata.gz: eb29333512d6c1972d937391c2bc189275d0c9a87238c589ef5e633482ab46f33dc1928a781255b1343434381c20996c9d7b95d8513b6bb6b08a43d52586d47e
7
- data.tar.gz: dc8b8abce43b00779e9e0945cab6294d92fdc0c721ca623b0b619369350c79d94b8839d6b5f8bc15016a2c6af3ca6046b7047556193701be3c694895eb197dc2
6
+ metadata.gz: 557895ed41b9149bf3b86b963d6dbddac44349a5837d74cb87982198fb50a1d93ce43e384c209675e43ac8030c33c3a04d2d0c987080914038e633d51797d3ce
7
+ data.tar.gz: ad40882e4497f9a735a1352850c015f22f639d46c00a95283cfc156a1566a8e43bf953b211d5a083c6c2392e30c27acec6771e7bfc36c2cb26a0465b4d3b3420
@@ -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
@@ -143,6 +145,18 @@ module Google
143
145
  config.endpoint = @config.endpoint
144
146
  end
145
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
157
+ config.endpoint = @config.endpoint
158
+ end
159
+
146
160
  @network_security_stub = ::Gapic::ServiceStub.new(
147
161
  ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Stub,
148
162
  credentials: credentials,
@@ -159,6 +173,20 @@ module Google
159
173
  #
160
174
  attr_reader :operations_client
161
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
+
162
190
  # Service calls
163
191
 
164
192
  ##
@@ -567,8 +595,8 @@ module Google
567
595
  # the default parameter values, pass an empty Hash as a request object (see above).
568
596
  #
569
597
  # @param name [::String]
570
- # Required. A name of the AuthorizationPolicy to delete. Must be in the format
571
- # `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/*`.
572
600
  #
573
601
  # @yield [response, operation] Access the result along with the RPC operation
574
602
  # @yieldparam response [::Gapic::Operation]
@@ -850,9 +878,10 @@ module Google
850
878
  # Required. The parent resource of the ServerTlsPolicy. Must be in
851
879
  # the format `projects/*/locations/{location}`.
852
880
  # @param server_tls_policy_id [::String]
853
- # Required. Short name of the ServerTlsPolicy resource to be created. This value should
854
- # be 1-63 characters long, containing only letters, numbers, hyphens, and
855
- # underscores, and should not start with a number. E.g. "server_mtls_policy".
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".
856
885
  # @param server_tls_policy [::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy, ::Hash]
857
886
  # Required. ServerTlsPolicy resource to be created.
858
887
  #
@@ -1330,9 +1359,10 @@ module Google
1330
1359
  # Required. The parent resource of the ClientTlsPolicy. Must be in
1331
1360
  # the format `projects/*/locations/{location}`.
1332
1361
  # @param client_tls_policy_id [::String]
1333
- # Required. Short name of the ClientTlsPolicy resource to be created. This value should
1334
- # be 1-63 characters long, containing only letters, numbers, hyphens, and
1335
- # underscores, and should not start with a number. E.g. "client_mtls_policy".
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".
1336
1366
  # @param client_tls_policy [::Google::Cloud::NetworkSecurity::V1beta1::ClientTlsPolicy, ::Hash]
1337
1367
  # Required. ClientTlsPolicy resource to be created.
1338
1368
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkSecurity
23
23
  module V1beta1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -7,7 +7,6 @@ require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
8
  require 'google/protobuf/field_mask_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
- require 'google/api/annotations_pb'
11
10
 
12
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
12
  add_file("google/cloud/networksecurity/v1beta1/authorization_policy.proto", :syntax => :proto3) do
@@ -8,7 +8,6 @@ require 'google/api/resource_pb'
8
8
  require 'google/cloud/networksecurity/v1beta1/tls_pb'
9
9
  require 'google/protobuf/field_mask_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
- require 'google/api/annotations_pb'
12
11
 
13
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
13
  add_file("google/cloud/networksecurity/v1beta1/client_tls_policy.proto", :syntax => :proto3) do
@@ -5,7 +5,6 @@ require 'google/protobuf'
5
5
 
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/protobuf/timestamp_pb'
8
- require 'google/api/annotations_pb'
9
8
 
10
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
10
  add_file("google/cloud/networksecurity/v1beta1/common.proto", :syntax => :proto3) do
@@ -8,7 +8,6 @@ require 'google/api/resource_pb'
8
8
  require 'google/cloud/networksecurity/v1beta1/tls_pb'
9
9
  require 'google/protobuf/field_mask_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
- require 'google/api/annotations_pb'
12
11
 
13
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
13
  add_file("google/cloud/networksecurity/v1beta1/server_tls_policy.proto", :syntax => :proto3) do
@@ -4,7 +4,6 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'google/api/field_behavior_pb'
7
- require 'google/api/annotations_pb'
8
7
 
9
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
9
  add_file("google/cloud/networksecurity/v1beta1/tls.proto", :syntax => :proto3) do
@@ -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 resource.
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 match in
51
- # order for the action specified in the 'action' field to be taken. A rule is
52
- # a match if there is a matching source and destination. If left blank, the
53
- # action specified in the `action` field will be applied on every request.
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 must match.
62
- # A source is a match if both principals and ip_blocks match. If not set,
63
- # the action specified in the 'action' field will be applied without any
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 destinations
68
- # must match. A destination is a match if a request matches all the
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,19 +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 one
80
- # principal should match. Each peer can be an exact match, or a prefix
81
- # match (example, "namespace/*") or a suffix match (example, //
82
- # */service-account") or a presence match "*". Authorization based on the
83
- # principal name without certificate validation (configured by
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
84
86
  # ServerTlsPolicy resource) is considered insecure.
85
87
  # @!attribute [rw] ip_blocks
86
88
  # @return [::Array<::String>]
87
- # Optional. List of CIDR ranges to match based on source IP address. At least one
88
- # IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g.,
89
- # "1.2.3.0/24") are supported. Authorization based on source IP alone
90
- # should be avoided. The IP addresses of any load balancers or proxies
91
- # should be considered untrusted.
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.
92
94
  class Source
93
95
  include ::Google::Protobuf::MessageExts
94
96
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -97,29 +99,30 @@ module Google
97
99
  # Specification of traffic destination attributes.
98
100
  # @!attribute [rw] hosts
99
101
  # @return [::Array<::String>]
100
- # Required. List of host names to match. Matched against the ":authority" header in
101
- # http requests. At least one host should match. Each host can be an
102
- # exact match, or a prefix match (example "mydomain.*") or a suffix
103
- # match (example // *.myorg.com") or a presence(any) match "*".
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 "*".
104
106
  # @!attribute [rw] ports
105
107
  # @return [::Array<::Integer>]
106
- # Required. List of destination ports to match. At least one port should match.
108
+ # Required. List of destination ports to match. At least one port should
109
+ # match.
107
110
  # @!attribute [rw] methods
108
111
  # @return [::Array<::String>]
109
112
  # Optional. A list of HTTP methods to match. At least one method should
110
113
  # match. Should not be set for gRPC services.
111
114
  # @!attribute [rw] http_header_match
112
115
  # @return [::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy::Rule::Destination::HttpHeaderMatch]
113
- # Optional. Match against key:value pair in http header. Provides a flexible match
114
- # based on HTTP headers, for potentially advanced use cases. At least one
115
- # header should match. Avoid using header matches to make authorization
116
- # decisions unless there is a strong guarantee that requests arrive
117
- # through a trusted client or proxy.
116
+ # Optional. Match against key:value pair in http header. Provides a
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.
118
121
  class Destination
119
122
  include ::Google::Protobuf::MessageExts
120
123
  extend ::Google::Protobuf::MessageExts::ClassMethods
121
124
 
122
- # Specification of HTTP header match atrributes.
125
+ # Specification of HTTP header match attributes.
123
126
  # @!attribute [rw] regex_match
124
127
  # @return [::String]
125
128
  # Required. The value of the header must match the regular expression
@@ -248,8 +251,8 @@ module Google
248
251
  # Request used by the DeleteAuthorizationPolicy method.
249
252
  # @!attribute [rw] name
250
253
  # @return [::String]
251
- # Required. A name of the AuthorizationPolicy to delete. Must be in the format
252
- # `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/*`.
253
256
  class DeleteAuthorizationPolicyRequest
254
257
  include ::Google::Protobuf::MessageExts
255
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 private keys)
50
- # for peer to peer authentication. The presence of this dictates mTLS.
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 certificate to
54
- # validate the server certificate. If empty, client does not validate the
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 value should
121
- # be 1-63 characters long, containing only letters, numbers, hyphens, and
122
- # underscores, and should not start with a number. E.g. "client_mtls_policy".
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 {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
45
- # corresponding to `Code.CANCELLED`.
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.
@@ -48,6 +48,9 @@ module Google
48
48
  # and `mtls_policy` are set, server allows both plain text and mTLS
49
49
  # connections. See documentation of other encryption modes to confirm
50
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.
51
54
  # @!attribute [rw] server_certificate
52
55
  # @return [::Google::Cloud::NetworkSecurity::V1beta1::CertificateProvider]
53
56
  # Defines a mechanism to provision server identity (public and private keys).
@@ -134,9 +137,10 @@ module Google
134
137
  # the format `projects/*/locations/{location}`.
135
138
  # @!attribute [rw] server_tls_policy_id
136
139
  # @return [::String]
137
- # Required. Short name of the ServerTlsPolicy resource to be created. This value should
138
- # be 1-63 characters long, containing only letters, numbers, hyphens, and
139
- # underscores, and should not start with a number. E.g. "server_mtls_policy".
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".
140
144
  # @!attribute [rw] server_tls_policy
141
145
  # @return [::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy]
142
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, and
28
- # should start with unix:”.
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 instance
57
- # configuration. Set to "google_cloud_private_spiffe" to use Certificate
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
@@ -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.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: 2022-07-05 00:00:00.000000000 Z
11
+ date: 2022-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,6 +44,46 @@ 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
@@ -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