google-apis-networkservices_v1 0.29.0 → 0.30.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: 5ab87ffb7ae46e3e23e90e48cd7f5a4c18c88e34cf0c7c0ce3dbda47b3a69674
4
- data.tar.gz: ad3615f72011a7c4d44493fe5359ebadbb240379112e07fed0a58304d57d22fd
3
+ metadata.gz: 72103dc96aadada332eb46f00293f56dbdf640e33c69fb170779f465304a0912
4
+ data.tar.gz: 0dc2a21cea3edd2a28a1a7ec8986c5bd0243fdaf4be9ff6eaee8db02827d3ec2
5
5
  SHA512:
6
- metadata.gz: db08023248722aebf4884b7743831a5db940038f5c9d6ea3b58d0dd060b6192246f5ec696a25235ff0f084029e29cd6386591155788d0d825191c340cdc4c6c0
7
- data.tar.gz: 97ee7b57d9c78dc1728e7cdac7ad88d20e7d57d891e47612c44b2089f33a6d9fe5a1281343e2a096a8392824c8be6ba73d5f1d3797997e5374b3be59dd2c5b75
6
+ metadata.gz: 323836478b4483548d8d80bc3e597708f29631e9621b1ddf51a0b6e851e00c14757988e1aedca289ce5adef3043f8859a1463e4716230b1e0e6ca80499270d50
7
+ data.tar.gz: 559e6c793a4fe2e2383cd4a2d2312cf54d99f5b803464b484728e7ebb50ee2a2b541b45aff752be85c719a8294e19cff39c8c048e6f3b105049b0a50bb52f849
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networkservices_v1
2
2
 
3
+ ### v0.30.0 (2023-10-01)
4
+
5
+ * Regenerated from discovery document revision 20230926
6
+
3
7
  ### v0.29.0 (2023-08-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20230814
@@ -919,6 +919,17 @@ module Google
919
919
  # @return [Google::Apis::NetworkservicesV1::GrpcRouteRetryPolicy]
920
920
  attr_accessor :retry_policy
921
921
 
922
+ # The specification for cookie-based stateful session affinity where the date
923
+ # plane supplies a “session cookie” with the name "GSSA" which encodes a
924
+ # specific destination host and each request containing that cookie will be
925
+ # directed to that host as long as the destination host remains up and healthy.
926
+ # The gRPC proxyless mesh library or sidecar proxy will manage the session
927
+ # cookie but the client application code is responsible for copying the cookie
928
+ # from each RPC in the session to the next.
929
+ # Corresponds to the JSON property `statefulSessionAffinity`
930
+ # @return [Google::Apis::NetworkservicesV1::GrpcRouteStatefulSessionAffinityPolicy]
931
+ attr_accessor :stateful_session_affinity
932
+
922
933
  # Optional. Specifies the timeout for selected route. Timeout is computed from
923
934
  # the time the request has been fully processed (i.e. end of stream) up until
924
935
  # the response has been completely processed. Timeout includes all retries.
@@ -935,6 +946,7 @@ module Google
935
946
  @destinations = args[:destinations] if args.key?(:destinations)
936
947
  @fault_injection_policy = args[:fault_injection_policy] if args.key?(:fault_injection_policy)
937
948
  @retry_policy = args[:retry_policy] if args.key?(:retry_policy)
949
+ @stateful_session_affinity = args[:stateful_session_affinity] if args.key?(:stateful_session_affinity)
938
950
  @timeout = args[:timeout] if args.key?(:timeout)
939
951
  end
940
952
  end
@@ -993,6 +1005,33 @@ module Google
993
1005
  end
994
1006
  end
995
1007
 
1008
+ # The specification for cookie-based stateful session affinity where the date
1009
+ # plane supplies a “session cookie” with the name "GSSA" which encodes a
1010
+ # specific destination host and each request containing that cookie will be
1011
+ # directed to that host as long as the destination host remains up and healthy.
1012
+ # The gRPC proxyless mesh library or sidecar proxy will manage the session
1013
+ # cookie but the client application code is responsible for copying the cookie
1014
+ # from each RPC in the session to the next.
1015
+ class GrpcRouteStatefulSessionAffinityPolicy
1016
+ include Google::Apis::Core::Hashable
1017
+
1018
+ # Required. The cookie TTL value for the Set-Cookie header generated by the data
1019
+ # plane. The lifetime of the cookie may be set to a value from 1 to 86400
1020
+ # seconds (24 hours) inclusive.
1021
+ # Corresponds to the JSON property `cookieTtl`
1022
+ # @return [String]
1023
+ attr_accessor :cookie_ttl
1024
+
1025
+ def initialize(**args)
1026
+ update!(**args)
1027
+ end
1028
+
1029
+ # Update properties of this object
1030
+ def update!(**args)
1031
+ @cookie_ttl = args[:cookie_ttl] if args.key?(:cookie_ttl)
1032
+ end
1033
+ end
1034
+
996
1035
  # HttpRoute is the resource defining how HTTP traffic should be routed by a Mesh
997
1036
  # or Gateway resource.
998
1037
  class HttpRoute
@@ -1637,6 +1676,17 @@ module Google
1637
1676
  # @return [Google::Apis::NetworkservicesV1::HttpRouteRetryPolicy]
1638
1677
  attr_accessor :retry_policy
1639
1678
 
1679
+ # The specification for cookie-based stateful session affinity where the date
1680
+ # plane supplies a “session cookie” with the name "GSSA" which encodes a
1681
+ # specific destination host and each request containing that cookie will be
1682
+ # directed to that host as long as the destination host remains up and healthy.
1683
+ # The gRPC proxyless mesh library or sidecar proxy will manage the session
1684
+ # cookie but the client application code is responsible for copying the cookie
1685
+ # from each RPC in the session to the next.
1686
+ # Corresponds to the JSON property `statefulSessionAffinity`
1687
+ # @return [Google::Apis::NetworkservicesV1::HttpRouteStatefulSessionAffinityPolicy]
1688
+ attr_accessor :stateful_session_affinity
1689
+
1640
1690
  # Specifies the timeout for selected route. Timeout is computed from the time
1641
1691
  # the request has been fully processed (i.e. end of stream) up until the
1642
1692
  # response has been completely processed. Timeout includes all retries.
@@ -1664,6 +1714,7 @@ module Google
1664
1714
  @request_mirror_policy = args[:request_mirror_policy] if args.key?(:request_mirror_policy)
1665
1715
  @response_header_modifier = args[:response_header_modifier] if args.key?(:response_header_modifier)
1666
1716
  @retry_policy = args[:retry_policy] if args.key?(:retry_policy)
1717
+ @stateful_session_affinity = args[:stateful_session_affinity] if args.key?(:stateful_session_affinity)
1667
1718
  @timeout = args[:timeout] if args.key?(:timeout)
1668
1719
  @url_rewrite = args[:url_rewrite] if args.key?(:url_rewrite)
1669
1720
  end
@@ -1761,6 +1812,33 @@ module Google
1761
1812
  end
1762
1813
  end
1763
1814
 
1815
+ # The specification for cookie-based stateful session affinity where the date
1816
+ # plane supplies a “session cookie” with the name "GSSA" which encodes a
1817
+ # specific destination host and each request containing that cookie will be
1818
+ # directed to that host as long as the destination host remains up and healthy.
1819
+ # The gRPC proxyless mesh library or sidecar proxy will manage the session
1820
+ # cookie but the client application code is responsible for copying the cookie
1821
+ # from each RPC in the session to the next.
1822
+ class HttpRouteStatefulSessionAffinityPolicy
1823
+ include Google::Apis::Core::Hashable
1824
+
1825
+ # Required. The cookie TTL value for the Set-Cookie header generated by the data
1826
+ # plane. The lifetime of the cookie may be set to a value from 1 to 86400
1827
+ # seconds (24 hours) inclusive.
1828
+ # Corresponds to the JSON property `cookieTtl`
1829
+ # @return [String]
1830
+ attr_accessor :cookie_ttl
1831
+
1832
+ def initialize(**args)
1833
+ update!(**args)
1834
+ end
1835
+
1836
+ # Update properties of this object
1837
+ def update!(**args)
1838
+ @cookie_ttl = args[:cookie_ttl] if args.key?(:cookie_ttl)
1839
+ end
1840
+ end
1841
+
1764
1842
  # The specification for modifying the URL of the request, prior to forwarding
1765
1843
  # the request to the destination.
1766
1844
  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.29.0"
19
+ GEM_VERSION = "0.30.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 = "20230814"
25
+ REVISION = "20230926"
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
 
@@ -643,6 +655,8 @@ module Google
643
655
 
644
656
  property :retry_policy, as: 'retryPolicy', class: Google::Apis::NetworkservicesV1::GrpcRouteRetryPolicy, decorator: Google::Apis::NetworkservicesV1::GrpcRouteRetryPolicy::Representation
645
657
 
658
+ property :stateful_session_affinity, as: 'statefulSessionAffinity', class: Google::Apis::NetworkservicesV1::GrpcRouteStatefulSessionAffinityPolicy, decorator: Google::Apis::NetworkservicesV1::GrpcRouteStatefulSessionAffinityPolicy::Representation
659
+
646
660
  property :timeout, as: 'timeout'
647
661
  end
648
662
  end
@@ -667,6 +681,13 @@ module Google
667
681
  end
668
682
  end
669
683
 
684
+ class GrpcRouteStatefulSessionAffinityPolicy
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ property :cookie_ttl, as: 'cookieTtl'
688
+ end
689
+ end
690
+
670
691
  class HttpRoute
671
692
  # @private
672
693
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -823,6 +844,8 @@ module Google
823
844
 
824
845
  property :retry_policy, as: 'retryPolicy', class: Google::Apis::NetworkservicesV1::HttpRouteRetryPolicy, decorator: Google::Apis::NetworkservicesV1::HttpRouteRetryPolicy::Representation
825
846
 
847
+ property :stateful_session_affinity, as: 'statefulSessionAffinity', class: Google::Apis::NetworkservicesV1::HttpRouteStatefulSessionAffinityPolicy, decorator: Google::Apis::NetworkservicesV1::HttpRouteStatefulSessionAffinityPolicy::Representation
848
+
826
849
  property :timeout, as: 'timeout'
827
850
  property :url_rewrite, as: 'urlRewrite', class: Google::Apis::NetworkservicesV1::HttpRouteUrlRewrite, decorator: Google::Apis::NetworkservicesV1::HttpRouteUrlRewrite::Representation
828
851
 
@@ -853,6 +876,13 @@ module Google
853
876
  end
854
877
  end
855
878
 
879
+ class HttpRouteStatefulSessionAffinityPolicy
880
+ # @private
881
+ class Representation < Google::Apis::Core::JsonRepresentation
882
+ property :cookie_ttl, as: 'cookieTtl'
883
+ end
884
+ end
885
+
856
886
  class HttpRouteUrlRewrite
857
887
  # @private
858
888
  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.29.0
4
+ version: 0.30.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-09-03 00:00:00.000000000 Z
11
+ date: 2023-10-01 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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1/v0.30.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: []