google-apis-networkservices_v1 0.29.0 → 0.31.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1370f5aedf31f75e2c744501891f071040f50ec9e1af65386a1dd2769c74df22
|
4
|
+
data.tar.gz: 4a8f7f9f79d0a616043ff7f71d98b6667318afa094b8f74b50b9ba548d0a529c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 212d6a1cb0df7c0d0342f2b8a6a349754931028054cb356ab1d44f08ca370d943cd9874900ca250be6e984ab85e4f0c9119ab4cf5897e3c0e355f7ee11557a99
|
7
|
+
data.tar.gz: 9888bc4ba4607700cad5291715e2c4ad6e03bb3b609186ae27ceef8b924f513f1e5d1ae554d3ac4b57e4c3d77bf49158ad3549043caddc5c3e35894f3f4a68f5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networkservices_v1
|
2
2
|
|
3
|
+
### v0.31.0 (2023-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231129
|
6
|
+
|
7
|
+
### v0.30.0 (2023-10-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230926
|
10
|
+
|
3
11
|
### v0.29.0 (2023-08-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230814
|
@@ -437,7 +437,7 @@ module Google
|
|
437
437
|
# Gateway represents the configuration for a proxy, typically a load balancer.
|
438
438
|
# It captures the ip:port over which the services are exposed by the proxy,
|
439
439
|
# along with any policy configurations. Routes have reference to to Gateways to
|
440
|
-
# dictate how requests should be routed by this Gateway.
|
440
|
+
# dictate how requests should be routed by this Gateway. Next id: 29
|
441
441
|
class Gateway
|
442
442
|
include Google::Apis::Core::Hashable
|
443
443
|
|
@@ -474,6 +474,12 @@ module Google
|
|
474
474
|
# @return [String]
|
475
475
|
attr_accessor :gateway_security_policy
|
476
476
|
|
477
|
+
# Optional. The IP Version that will be used by this gateway. Valid options are
|
478
|
+
# IPV4 or IPV6. Default is IPV4.
|
479
|
+
# Corresponds to the JSON property `ipVersion`
|
480
|
+
# @return [String]
|
481
|
+
attr_accessor :ip_version
|
482
|
+
|
477
483
|
# Optional. Set of label tags associated with the Gateway resource.
|
478
484
|
# Corresponds to the JSON property `labels`
|
479
485
|
# @return [Hash<String,String>]
|
@@ -550,6 +556,7 @@ module Google
|
|
550
556
|
@create_time = args[:create_time] if args.key?(:create_time)
|
551
557
|
@description = args[:description] if args.key?(:description)
|
552
558
|
@gateway_security_policy = args[:gateway_security_policy] if args.key?(:gateway_security_policy)
|
559
|
+
@ip_version = args[:ip_version] if args.key?(:ip_version)
|
553
560
|
@labels = args[:labels] if args.key?(:labels)
|
554
561
|
@name = args[:name] if args.key?(:name)
|
555
562
|
@network = args[:network] if args.key?(:network)
|
@@ -919,6 +926,17 @@ module Google
|
|
919
926
|
# @return [Google::Apis::NetworkservicesV1::GrpcRouteRetryPolicy]
|
920
927
|
attr_accessor :retry_policy
|
921
928
|
|
929
|
+
# The specification for cookie-based stateful session affinity where the date
|
930
|
+
# plane supplies a “session cookie” with the name "GSSA" which encodes a
|
931
|
+
# specific destination host and each request containing that cookie will be
|
932
|
+
# directed to that host as long as the destination host remains up and healthy.
|
933
|
+
# The gRPC proxyless mesh library or sidecar proxy will manage the session
|
934
|
+
# cookie but the client application code is responsible for copying the cookie
|
935
|
+
# from each RPC in the session to the next.
|
936
|
+
# Corresponds to the JSON property `statefulSessionAffinity`
|
937
|
+
# @return [Google::Apis::NetworkservicesV1::GrpcRouteStatefulSessionAffinityPolicy]
|
938
|
+
attr_accessor :stateful_session_affinity
|
939
|
+
|
922
940
|
# Optional. Specifies the timeout for selected route. Timeout is computed from
|
923
941
|
# the time the request has been fully processed (i.e. end of stream) up until
|
924
942
|
# the response has been completely processed. Timeout includes all retries.
|
@@ -935,6 +953,7 @@ module Google
|
|
935
953
|
@destinations = args[:destinations] if args.key?(:destinations)
|
936
954
|
@fault_injection_policy = args[:fault_injection_policy] if args.key?(:fault_injection_policy)
|
937
955
|
@retry_policy = args[:retry_policy] if args.key?(:retry_policy)
|
956
|
+
@stateful_session_affinity = args[:stateful_session_affinity] if args.key?(:stateful_session_affinity)
|
938
957
|
@timeout = args[:timeout] if args.key?(:timeout)
|
939
958
|
end
|
940
959
|
end
|
@@ -993,6 +1012,33 @@ module Google
|
|
993
1012
|
end
|
994
1013
|
end
|
995
1014
|
|
1015
|
+
# The specification for cookie-based stateful session affinity where the date
|
1016
|
+
# plane supplies a “session cookie” with the name "GSSA" which encodes a
|
1017
|
+
# specific destination host and each request containing that cookie will be
|
1018
|
+
# directed to that host as long as the destination host remains up and healthy.
|
1019
|
+
# The gRPC proxyless mesh library or sidecar proxy will manage the session
|
1020
|
+
# cookie but the client application code is responsible for copying the cookie
|
1021
|
+
# from each RPC in the session to the next.
|
1022
|
+
class GrpcRouteStatefulSessionAffinityPolicy
|
1023
|
+
include Google::Apis::Core::Hashable
|
1024
|
+
|
1025
|
+
# Required. The cookie TTL value for the Set-Cookie header generated by the data
|
1026
|
+
# plane. The lifetime of the cookie may be set to a value from 1 to 86400
|
1027
|
+
# seconds (24 hours) inclusive.
|
1028
|
+
# Corresponds to the JSON property `cookieTtl`
|
1029
|
+
# @return [String]
|
1030
|
+
attr_accessor :cookie_ttl
|
1031
|
+
|
1032
|
+
def initialize(**args)
|
1033
|
+
update!(**args)
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
# Update properties of this object
|
1037
|
+
def update!(**args)
|
1038
|
+
@cookie_ttl = args[:cookie_ttl] if args.key?(:cookie_ttl)
|
1039
|
+
end
|
1040
|
+
end
|
1041
|
+
|
996
1042
|
# HttpRoute is the resource defining how HTTP traffic should be routed by a Mesh
|
997
1043
|
# or Gateway resource.
|
998
1044
|
class HttpRoute
|
@@ -1637,6 +1683,17 @@ module Google
|
|
1637
1683
|
# @return [Google::Apis::NetworkservicesV1::HttpRouteRetryPolicy]
|
1638
1684
|
attr_accessor :retry_policy
|
1639
1685
|
|
1686
|
+
# The specification for cookie-based stateful session affinity where the date
|
1687
|
+
# plane supplies a “session cookie” with the name "GSSA" which encodes a
|
1688
|
+
# specific destination host and each request containing that cookie will be
|
1689
|
+
# directed to that host as long as the destination host remains up and healthy.
|
1690
|
+
# The gRPC proxyless mesh library or sidecar proxy will manage the session
|
1691
|
+
# cookie but the client application code is responsible for copying the cookie
|
1692
|
+
# from each RPC in the session to the next.
|
1693
|
+
# Corresponds to the JSON property `statefulSessionAffinity`
|
1694
|
+
# @return [Google::Apis::NetworkservicesV1::HttpRouteStatefulSessionAffinityPolicy]
|
1695
|
+
attr_accessor :stateful_session_affinity
|
1696
|
+
|
1640
1697
|
# Specifies the timeout for selected route. Timeout is computed from the time
|
1641
1698
|
# the request has been fully processed (i.e. end of stream) up until the
|
1642
1699
|
# response has been completely processed. Timeout includes all retries.
|
@@ -1664,6 +1721,7 @@ module Google
|
|
1664
1721
|
@request_mirror_policy = args[:request_mirror_policy] if args.key?(:request_mirror_policy)
|
1665
1722
|
@response_header_modifier = args[:response_header_modifier] if args.key?(:response_header_modifier)
|
1666
1723
|
@retry_policy = args[:retry_policy] if args.key?(:retry_policy)
|
1724
|
+
@stateful_session_affinity = args[:stateful_session_affinity] if args.key?(:stateful_session_affinity)
|
1667
1725
|
@timeout = args[:timeout] if args.key?(:timeout)
|
1668
1726
|
@url_rewrite = args[:url_rewrite] if args.key?(:url_rewrite)
|
1669
1727
|
end
|
@@ -1761,6 +1819,33 @@ module Google
|
|
1761
1819
|
end
|
1762
1820
|
end
|
1763
1821
|
|
1822
|
+
# The specification for cookie-based stateful session affinity where the date
|
1823
|
+
# plane supplies a “session cookie” with the name "GSSA" which encodes a
|
1824
|
+
# specific destination host and each request containing that cookie will be
|
1825
|
+
# directed to that host as long as the destination host remains up and healthy.
|
1826
|
+
# The gRPC proxyless mesh library or sidecar proxy will manage the session
|
1827
|
+
# cookie but the client application code is responsible for copying the cookie
|
1828
|
+
# from each RPC in the session to the next.
|
1829
|
+
class HttpRouteStatefulSessionAffinityPolicy
|
1830
|
+
include Google::Apis::Core::Hashable
|
1831
|
+
|
1832
|
+
# Required. The cookie TTL value for the Set-Cookie header generated by the data
|
1833
|
+
# plane. The lifetime of the cookie may be set to a value from 1 to 86400
|
1834
|
+
# seconds (24 hours) inclusive.
|
1835
|
+
# Corresponds to the JSON property `cookieTtl`
|
1836
|
+
# @return [String]
|
1837
|
+
attr_accessor :cookie_ttl
|
1838
|
+
|
1839
|
+
def initialize(**args)
|
1840
|
+
update!(**args)
|
1841
|
+
end
|
1842
|
+
|
1843
|
+
# Update properties of this object
|
1844
|
+
def update!(**args)
|
1845
|
+
@cookie_ttl = args[:cookie_ttl] if args.key?(:cookie_ttl)
|
1846
|
+
end
|
1847
|
+
end
|
1848
|
+
|
1764
1849
|
# The specification for modifying the URL of the request, prior to forwarding
|
1765
1850
|
# the request to the destination.
|
1766
1851
|
class HttpRouteUrlRewrite
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkservicesV1
|
18
18
|
# Version of the google-apis-networkservices_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -154,6 +154,12 @@ module Google
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
155
155
|
end
|
156
156
|
|
157
|
+
class GrpcRouteStatefulSessionAffinityPolicy
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
157
163
|
class HttpRoute
|
158
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
165
|
|
@@ -250,6 +256,12 @@ module Google
|
|
250
256
|
include Google::Apis::Core::JsonObjectSupport
|
251
257
|
end
|
252
258
|
|
259
|
+
class HttpRouteStatefulSessionAffinityPolicy
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
253
265
|
class HttpRouteUrlRewrite
|
254
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
267
|
|
@@ -543,6 +555,7 @@ module Google
|
|
543
555
|
property :create_time, as: 'createTime'
|
544
556
|
property :description, as: 'description'
|
545
557
|
property :gateway_security_policy, as: 'gatewaySecurityPolicy'
|
558
|
+
property :ip_version, as: 'ipVersion'
|
546
559
|
hash :labels, as: 'labels'
|
547
560
|
property :name, as: 'name'
|
548
561
|
property :network, as: 'network'
|
@@ -643,6 +656,8 @@ module Google
|
|
643
656
|
|
644
657
|
property :retry_policy, as: 'retryPolicy', class: Google::Apis::NetworkservicesV1::GrpcRouteRetryPolicy, decorator: Google::Apis::NetworkservicesV1::GrpcRouteRetryPolicy::Representation
|
645
658
|
|
659
|
+
property :stateful_session_affinity, as: 'statefulSessionAffinity', class: Google::Apis::NetworkservicesV1::GrpcRouteStatefulSessionAffinityPolicy, decorator: Google::Apis::NetworkservicesV1::GrpcRouteStatefulSessionAffinityPolicy::Representation
|
660
|
+
|
646
661
|
property :timeout, as: 'timeout'
|
647
662
|
end
|
648
663
|
end
|
@@ -667,6 +682,13 @@ module Google
|
|
667
682
|
end
|
668
683
|
end
|
669
684
|
|
685
|
+
class GrpcRouteStatefulSessionAffinityPolicy
|
686
|
+
# @private
|
687
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
688
|
+
property :cookie_ttl, as: 'cookieTtl'
|
689
|
+
end
|
690
|
+
end
|
691
|
+
|
670
692
|
class HttpRoute
|
671
693
|
# @private
|
672
694
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -823,6 +845,8 @@ module Google
|
|
823
845
|
|
824
846
|
property :retry_policy, as: 'retryPolicy', class: Google::Apis::NetworkservicesV1::HttpRouteRetryPolicy, decorator: Google::Apis::NetworkservicesV1::HttpRouteRetryPolicy::Representation
|
825
847
|
|
848
|
+
property :stateful_session_affinity, as: 'statefulSessionAffinity', class: Google::Apis::NetworkservicesV1::HttpRouteStatefulSessionAffinityPolicy, decorator: Google::Apis::NetworkservicesV1::HttpRouteStatefulSessionAffinityPolicy::Representation
|
849
|
+
|
826
850
|
property :timeout, as: 'timeout'
|
827
851
|
property :url_rewrite, as: 'urlRewrite', class: Google::Apis::NetworkservicesV1::HttpRouteUrlRewrite, decorator: Google::Apis::NetworkservicesV1::HttpRouteUrlRewrite::Representation
|
828
852
|
|
@@ -853,6 +877,13 @@ module Google
|
|
853
877
|
end
|
854
878
|
end
|
855
879
|
|
880
|
+
class HttpRouteStatefulSessionAffinityPolicy
|
881
|
+
# @private
|
882
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
883
|
+
property :cookie_ttl, as: 'cookieTtl'
|
884
|
+
end
|
885
|
+
end
|
886
|
+
|
856
887
|
class HttpRouteUrlRewrite
|
857
888
|
# @private
|
858
889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkservices_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1/v0.31.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|