google-cloud-network_services-v1 1.1.0 → 2.0.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: 536050129599ba0de47a0fd0d6c151ac1932727043aa263dc65a62779f4d20bd
4
- data.tar.gz: 97609f13c3dfaf3dd24e6c3c3b72c14554a3c90eb86ebecd4ccfb4e6697151bc
3
+ metadata.gz: 195dbe81eed0e033fd530e40eda832f0f449bf4295f0743065663430d8fbca88
4
+ data.tar.gz: 22ca605b3c76348ad3598ffb9ce9cde66655081496c48910236d6804a97ae5ac
5
5
  SHA512:
6
- metadata.gz: 0a08a8308c155c8ce831bd094b703ce42ff0a1499df0a1188a04f79cf996e52636f5ed06b41fd64b4a84df96359f029e4ea18ee0cd48a4da37f3a80c27a0eba3
7
- data.tar.gz: d01d5f7a45fb088b05614fe92d329c0c892f5502561796191c1ba2180858ba9842605fda98ea209141e361dea572d8a7d27bb9e3e256dbe45393238df48ffdc3
6
+ metadata.gz: 19f5aea9d8c57fb0513dd49ed27ce48656fa1e0103c2e8a5ebf7521749fd0ff5324c415f6181d53b030c74843fefba9656444b3021b11b13de9ddc0f3d3d3af6
7
+ data.tar.gz: c7da6593a92a0c71c8a6c3cfcc5fca5d5b15b93b85021fec2d0739d345970edb7529871114c2c2f5bb5b82e61e7993d8cd5810a7f8c4b62ecef44876e7741c6e
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1330,6 +1330,13 @@ module Google
1330
1330
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1331
1331
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1332
1332
  # * (`nil`) indicating no credentials
1333
+ #
1334
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1335
+ # external source for authentication to Google Cloud, you must validate it before
1336
+ # providing it to a Google API client library. Providing an unvalidated credential
1337
+ # configuration to Google APIs can compromise the security of your systems and data.
1338
+ # For more information, refer to [Validate credential configurations from external
1339
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1333
1340
  # @return [::Object]
1334
1341
  # @!attribute [rw] scope
1335
1342
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -258,10 +258,10 @@ module Google
258
258
  # @param order_by [::String]
259
259
  # Optional. Hint for how to order the results.
260
260
  # @yield [result, operation] Access the result along with the TransportOperation object
261
- # @yieldparam result [::Google::Cloud::NetworkServices::V1::ListLbTrafficExtensionsResponse]
261
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::NetworkServices::V1::LbTrafficExtension>]
262
262
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
263
263
  #
264
- # @return [::Google::Cloud::NetworkServices::V1::ListLbTrafficExtensionsResponse]
264
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::NetworkServices::V1::LbTrafficExtension>]
265
265
  #
266
266
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
267
267
  #
@@ -313,7 +313,9 @@ module Google
313
313
  retry_policy: @config.retry_policy
314
314
 
315
315
  @dep_service_stub.list_lb_traffic_extensions request, options do |result, operation|
316
+ result = ::Gapic::Rest::PagedEnumerable.new @dep_service_stub, :list_lb_traffic_extensions, "lb_traffic_extensions", request, result, options
316
317
  yield result, operation if block_given?
318
+ throw :response, result
317
319
  end
318
320
  rescue ::Gapic::Rest::Error => e
319
321
  raise ::Google::Cloud::Error.from_error(e)
@@ -749,10 +751,10 @@ module Google
749
751
  # @param order_by [::String]
750
752
  # Optional. Hint for how to order the results.
751
753
  # @yield [result, operation] Access the result along with the TransportOperation object
752
- # @yieldparam result [::Google::Cloud::NetworkServices::V1::ListLbRouteExtensionsResponse]
754
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::NetworkServices::V1::LbRouteExtension>]
753
755
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
754
756
  #
755
- # @return [::Google::Cloud::NetworkServices::V1::ListLbRouteExtensionsResponse]
757
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::NetworkServices::V1::LbRouteExtension>]
756
758
  #
757
759
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
758
760
  #
@@ -804,7 +806,9 @@ module Google
804
806
  retry_policy: @config.retry_policy
805
807
 
806
808
  @dep_service_stub.list_lb_route_extensions request, options do |result, operation|
809
+ result = ::Gapic::Rest::PagedEnumerable.new @dep_service_stub, :list_lb_route_extensions, "lb_route_extensions", request, result, options
807
810
  yield result, operation if block_given?
811
+ throw :response, result
808
812
  end
809
813
  rescue ::Gapic::Rest::Error => e
810
814
  raise ::Google::Cloud::Error.from_error(e)
@@ -1249,6 +1253,13 @@ module Google
1249
1253
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1250
1254
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1251
1255
  # * (`nil`) indicating no credentials
1256
+ #
1257
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1258
+ # external source for authentication to Google Cloud, you must validate it before
1259
+ # providing it to a Google API client library. Providing an unvalidated credential
1260
+ # configuration to Google APIs can compromise the security of your systems and data.
1261
+ # For more information, refer to [Validate credential configurations from external
1262
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1252
1263
  # @return [::Object]
1253
1264
  # @!attribute [rw] scope
1254
1265
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -4001,6 +4001,13 @@ module Google
4001
4001
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
4002
4002
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4003
4003
  # * (`nil`) indicating no credentials
4004
+ #
4005
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
4006
+ # external source for authentication to Google Cloud, you must validate it before
4007
+ # providing it to a Google API client library. Providing an unvalidated credential
4008
+ # configuration to Google APIs can compromise the security of your systems and data.
4009
+ # For more information, refer to [Validate credential configurations from external
4010
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
4004
4011
  # @return [::Object]
4005
4012
  # @!attribute [rw] scope
4006
4013
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -3721,6 +3721,13 @@ module Google
3721
3721
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3722
3722
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3723
3723
  # * (`nil`) indicating no credentials
3724
+ #
3725
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3726
+ # external source for authentication to Google Cloud, you must validate it before
3727
+ # providing it to a Google API client library. Providing an unvalidated credential
3728
+ # configuration to Google APIs can compromise the security of your systems and data.
3729
+ # For more information, refer to [Validate credential configurations from external
3730
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3724
3731
  # @return [::Object]
3725
3732
  # @!attribute [rw] scope
3726
3733
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkServices
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "2.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -100,25 +100,37 @@ module Google
100
100
  # @return [::String]
101
101
  # The value of the header should match exactly the content of
102
102
  # exact_match.
103
+ #
104
+ # Note: The following fields are mutually exclusive: `exact_match`, `regex_match`, `prefix_match`, `present_match`, `suffix_match`, `range_match`. If a field in that set is populated, all other fields in the set will automatically be cleared.
103
105
  # @!attribute [rw] regex_match
104
106
  # @return [::String]
105
107
  # The value of the header must match the regular expression specified in
106
108
  # regex_match. For regular expression grammar, please see:
107
109
  # https://github.com/google/re2/wiki/Syntax
110
+ #
111
+ # Note: The following fields are mutually exclusive: `regex_match`, `exact_match`, `prefix_match`, `present_match`, `suffix_match`, `range_match`. If a field in that set is populated, all other fields in the set will automatically be cleared.
108
112
  # @!attribute [rw] prefix_match
109
113
  # @return [::String]
110
114
  # The value of the header must start with the contents of prefix_match.
115
+ #
116
+ # Note: The following fields are mutually exclusive: `prefix_match`, `exact_match`, `regex_match`, `present_match`, `suffix_match`, `range_match`. If a field in that set is populated, all other fields in the set will automatically be cleared.
111
117
  # @!attribute [rw] present_match
112
118
  # @return [::Boolean]
113
119
  # A header with header_name must exist. The match takes place whether or
114
120
  # not the header has a value.
121
+ #
122
+ # Note: The following fields are mutually exclusive: `present_match`, `exact_match`, `regex_match`, `prefix_match`, `suffix_match`, `range_match`. If a field in that set is populated, all other fields in the set will automatically be cleared.
115
123
  # @!attribute [rw] suffix_match
116
124
  # @return [::String]
117
125
  # The value of the header must end with the contents of suffix_match.
126
+ #
127
+ # Note: The following fields are mutually exclusive: `suffix_match`, `exact_match`, `regex_match`, `prefix_match`, `present_match`, `range_match`. If a field in that set is populated, all other fields in the set will automatically be cleared.
118
128
  # @!attribute [rw] range_match
119
129
  # @return [::Google::Cloud::NetworkServices::V1::HttpRoute::HeaderMatch::IntegerRange]
120
130
  # If specified, the rule will match if the request header value is within
121
131
  # the range.
132
+ #
133
+ # Note: The following fields are mutually exclusive: `range_match`, `exact_match`, `regex_match`, `prefix_match`, `present_match`, `suffix_match`. If a field in that set is populated, all other fields in the set will automatically be cleared.
122
134
  # @!attribute [rw] header
123
135
  # @return [::String]
124
136
  # The name of the HTTP header to match against.
@@ -150,6 +162,8 @@ module Google
150
162
  # exact_match.
151
163
  #
152
164
  # Only one of exact_match, regex_match, or present_match must be set.
165
+ #
166
+ # Note: The following fields are mutually exclusive: `exact_match`, `regex_match`, `present_match`. If a field in that set is populated, all other fields in the set will automatically be cleared.
153
167
  # @!attribute [rw] regex_match
154
168
  # @return [::String]
155
169
  # The value of the query parameter must match the regular expression
@@ -157,6 +171,8 @@ module Google
157
171
  # https://github.com/google/re2/wiki/Syntax
158
172
  #
159
173
  # Only one of exact_match, regex_match, or present_match must be set.
174
+ #
175
+ # Note: The following fields are mutually exclusive: `regex_match`, `exact_match`, `present_match`. If a field in that set is populated, all other fields in the set will automatically be cleared.
160
176
  # @!attribute [rw] present_match
161
177
  # @return [::Boolean]
162
178
  # Specifies that the QueryParameterMatcher matches if request contains
@@ -164,6 +180,8 @@ module Google
164
180
  # not.
165
181
  #
166
182
  # Only one of exact_match, regex_match, or present_match must be set.
183
+ #
184
+ # Note: The following fields are mutually exclusive: `present_match`, `exact_match`, `regex_match`. If a field in that set is populated, all other fields in the set will automatically be cleared.
167
185
  # @!attribute [rw] query_parameter
168
186
  # @return [::String]
169
187
  # The name of the query parameter to match.
@@ -181,6 +199,8 @@ module Google
181
199
  #
182
200
  # Only one of full_path_match, prefix_match, or regex_match should be
183
201
  # used.
202
+ #
203
+ # Note: The following fields are mutually exclusive: `full_path_match`, `prefix_match`, `regex_match`. If a field in that set is populated, all other fields in the set will automatically be cleared.
184
204
  # @!attribute [rw] prefix_match
185
205
  # @return [::String]
186
206
  # The HTTP request path value must begin with specified prefix_match.
@@ -188,6 +208,8 @@ module Google
188
208
  #
189
209
  # Only one of full_path_match, prefix_match, or regex_match should be
190
210
  # used.
211
+ #
212
+ # Note: The following fields are mutually exclusive: `prefix_match`, `full_path_match`, `regex_match`. If a field in that set is populated, all other fields in the set will automatically be cleared.
191
213
  # @!attribute [rw] regex_match
192
214
  # @return [::String]
193
215
  # The HTTP request path value must satisfy the regular expression
@@ -197,6 +219,8 @@ module Google
197
219
  #
198
220
  # Only one of full_path_match, prefix_match, or regex_match should be
199
221
  # used.
222
+ #
223
+ # Note: The following fields are mutually exclusive: `regex_match`, `full_path_match`, `prefix_match`. If a field in that set is populated, all other fields in the set will automatically be cleared.
200
224
  # @!attribute [rw] ignore_case
201
225
  # @return [::Boolean]
202
226
  # Specifies if prefix_match and full_path_match matches are case sensitive.
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-network_services-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -162,7 +161,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
162
161
  licenses:
163
162
  - Apache-2.0
164
163
  metadata: {}
165
- post_install_message:
166
164
  rdoc_options: []
167
165
  require_paths:
168
166
  - lib
@@ -170,15 +168,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
170
168
  requirements:
171
169
  - - ">="
172
170
  - !ruby/object:Gem::Version
173
- version: '2.7'
171
+ version: '3.0'
174
172
  required_rubygems_version: !ruby/object:Gem::Requirement
175
173
  requirements:
176
174
  - - ">="
177
175
  - !ruby/object:Gem::Version
178
176
  version: '0'
179
177
  requirements: []
180
- rubygems_version: 3.5.23
181
- signing_key:
178
+ rubygems_version: 3.6.3
182
179
  specification_version: 4
183
180
  summary: API Client library for the Network Services V1 API
184
181
  test_files: []