google-apis-networkservices_v1 0.28.0 → 0.30.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: 7816272ba7eb954c02a0e5910d677560851376bc53b87bc58db616855088535b
4
- data.tar.gz: 3565256c87a67121dcdb98cbd3c66adf74b91ba22da87ed74b3edaf608c4398d
3
+ metadata.gz: 72103dc96aadada332eb46f00293f56dbdf640e33c69fb170779f465304a0912
4
+ data.tar.gz: 0dc2a21cea3edd2a28a1a7ec8986c5bd0243fdaf4be9ff6eaee8db02827d3ec2
5
5
  SHA512:
6
- metadata.gz: 30dae4c70950bfc9117256f58306146f3d585b43da5a7544a40a74ec1cb0966e92cbda9633bec9937b25015ffd1711e4bd156067822b5a7878058e6abdc0ba33
7
- data.tar.gz: e8550627a4655eb6af7c74ed7bc177eae434f70fee2c447a66df74881776c8c5906ba4a2fbb9459eeda91a0718f0338585937343db20d0189ad75a2886844c3d
6
+ metadata.gz: 323836478b4483548d8d80bc3e597708f29631e9621b1ddf51a0b6e851e00c14757988e1aedca289ce5adef3043f8859a1463e4716230b1e0e6ca80499270d50
7
+ data.tar.gz: 559e6c793a4fe2e2383cd4a2d2312cf54d99f5b803464b484728e7ebb50ee2a2b541b45aff752be85c719a8294e19cff39c8c048e6f3b105049b0a50bb52f849
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.29.0 (2023-08-27)
8
+
9
+ * Regenerated from discovery document revision 20230814
10
+
3
11
  ### v0.28.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230807
@@ -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
@@ -2802,6 +2880,11 @@ module Google
2802
2880
  # @return [Array<String>]
2803
2881
  attr_accessor :gateways
2804
2882
 
2883
+ # Optional. Set of label tags associated with the TlsRoute resource.
2884
+ # Corresponds to the JSON property `labels`
2885
+ # @return [Hash<String,String>]
2886
+ attr_accessor :labels
2887
+
2805
2888
  # Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one
2806
2889
  # of the routing rules to route the requests served by the mesh. Each mesh
2807
2890
  # reference should match the pattern: `projects/*/locations/global/meshes/` The
@@ -2842,6 +2925,7 @@ module Google
2842
2925
  @create_time = args[:create_time] if args.key?(:create_time)
2843
2926
  @description = args[:description] if args.key?(:description)
2844
2927
  @gateways = args[:gateways] if args.key?(:gateways)
2928
+ @labels = args[:labels] if args.key?(:labels)
2845
2929
  @meshes = args[:meshes] if args.key?(:meshes)
2846
2930
  @name = args[:name] if args.key?(:name)
2847
2931
  @rules = args[:rules] if args.key?(:rules)
@@ -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.28.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 = "20230807"
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
@@ -1115,6 +1145,7 @@ module Google
1115
1145
  property :create_time, as: 'createTime'
1116
1146
  property :description, as: 'description'
1117
1147
  collection :gateways, as: 'gateways'
1148
+ hash :labels, as: 'labels'
1118
1149
  collection :meshes, as: 'meshes'
1119
1150
  property :name, as: 'name'
1120
1151
  collection :rules, as: 'rules', class: Google::Apis::NetworkservicesV1::TlsRouteRouteRule, decorator: Google::Apis::NetworkservicesV1::TlsRouteRouteRule::Representation
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.28.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-08-20 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.28.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Network Services API V1