google-apis-networkservices_v1beta1 0.32.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/networkservices_v1beta1/classes.rb +141 -9
- data/lib/google/apis/networkservices_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/networkservices_v1beta1/representations.rb +28 -0
- data/lib/google/apis/networkservices_v1beta1/service.rb +3 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bb33fed49318ef8cb51cc814938cdd3e26d8904514f96f046c1e6ac43221c2f
|
4
|
+
data.tar.gz: 5a6c36fb5d17e0f4af7ec64095b25ffdea93f185aa25992727e6eabf38b012e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e308824de8aebf080e3aef4b5818e08db7bd86ee8b03a8cf83cff2b739ed48a0aec438e6b7bb3a0a4694a64cccee9867be0748443aea70a36ffcd74348df38f
|
7
|
+
data.tar.gz: ddee8cb6567401836fffa9412cb60ac16c55c0c06bc7e8d574cca43071d215020cad79951efc48d77910bb1659601bd7da38a96c395861bdea36fb636e688473
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-networkservices_v1beta1
|
2
2
|
|
3
|
+
### v0.34.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231227
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.33.0 (2023-12-17)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20231211
|
11
|
+
|
3
12
|
### v0.32.0 (2023-12-10)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20231129
|
@@ -132,21 +132,43 @@ module Google
|
|
132
132
|
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
133
133
|
# email address that represents a Google group. For example, `admins@example.com`
|
134
134
|
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
135
|
-
# users of that domain. For example, `google.com` or `example.com`. * `
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
135
|
+
# users of that domain. For example, `google.com` or `example.com`. * `principal:
|
136
|
+
# //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
|
137
|
+
# subject_attribute_value``: A single identity in a workforce identity pool. * `
|
138
|
+
# principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
|
139
|
+
# group/`group_id``: All workforce identities in a group. * `principalSet://iam.
|
140
|
+
# googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
|
141
|
+
# attribute_name`/`attribute_value``: All workforce identities with a specific
|
142
|
+
# attribute value. * `principalSet://iam.googleapis.com/locations/global/
|
143
|
+
# workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
|
144
|
+
# principal://iam.googleapis.com/projects/`project_number`/locations/global/
|
145
|
+
# workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
|
146
|
+
# identity in a workload identity pool. * `principalSet://iam.googleapis.com/
|
147
|
+
# projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
|
148
|
+
# group/`group_id``: A workload identity pool group. * `principalSet://iam.
|
149
|
+
# googleapis.com/projects/`project_number`/locations/global/
|
150
|
+
# workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
|
151
|
+
# All identities in a workload identity pool with a certain attribute. * `
|
152
|
+
# principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
|
153
|
+
# workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
|
154
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
155
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
156
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
157
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
158
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
159
|
+
# address (plus unique identifier) representing a service account that has been
|
160
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
143
161
|
# 123456789012345678901`. If the service account is undeleted, this value
|
144
162
|
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
145
163
|
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
146
164
|
# An email address (plus unique identifier) representing a Google group that has
|
147
165
|
# been recently deleted. For example, `admins@example.com?uid=
|
148
166
|
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
149
|
-
# group:`emailid`` and the recovered group retains the role in the binding.
|
167
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
168
|
+
# deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
|
169
|
+
# pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
|
170
|
+
# workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
|
171
|
+
# locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
|
150
172
|
# Corresponds to the JSON property `members`
|
151
173
|
# @return [Array<String>]
|
152
174
|
attr_accessor :members
|
@@ -541,6 +563,13 @@ module Google
|
|
541
563
|
# @return [String]
|
542
564
|
attr_accessor :description
|
543
565
|
|
566
|
+
# Optional. Determines if envoy will insert internal debug headers into upstream
|
567
|
+
# requests. Other Envoy headers may still be injected. By default, envoy will
|
568
|
+
# not insert any debug headers.
|
569
|
+
# Corresponds to the JSON property `envoyHeaders`
|
570
|
+
# @return [String]
|
571
|
+
attr_accessor :envoy_headers
|
572
|
+
|
544
573
|
# Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a
|
545
574
|
# server should apply security policy to inbound (VM to Proxy) initiated
|
546
575
|
# connections. For example: `projects/*/locations/*/gatewaySecurityPolicies/swg-
|
@@ -630,6 +659,7 @@ module Google
|
|
630
659
|
@certificate_urls = args[:certificate_urls] if args.key?(:certificate_urls)
|
631
660
|
@create_time = args[:create_time] if args.key?(:create_time)
|
632
661
|
@description = args[:description] if args.key?(:description)
|
662
|
+
@envoy_headers = args[:envoy_headers] if args.key?(:envoy_headers)
|
633
663
|
@gateway_security_policy = args[:gateway_security_policy] if args.key?(:gateway_security_policy)
|
634
664
|
@ip_version = args[:ip_version] if args.key?(:ip_version)
|
635
665
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -996,6 +1026,14 @@ module Google
|
|
996
1026
|
# @return [Google::Apis::NetworkservicesV1beta1::GrpcRouteFaultInjectionPolicy]
|
997
1027
|
attr_accessor :fault_injection_policy
|
998
1028
|
|
1029
|
+
# Optional. Specifies the idle timeout for the selected route. The idle timeout
|
1030
|
+
# is defined as the period in which there are no bytes sent or received on
|
1031
|
+
# either the upstream or downstream connection. If not set, the default idle
|
1032
|
+
# timeout is 1 hour. If set to 0s, the timeout will be disabled.
|
1033
|
+
# Corresponds to the JSON property `idleTimeout`
|
1034
|
+
# @return [String]
|
1035
|
+
attr_accessor :idle_timeout
|
1036
|
+
|
999
1037
|
# The specifications for retries.
|
1000
1038
|
# Corresponds to the JSON property `retryPolicy`
|
1001
1039
|
# @return [Google::Apis::NetworkservicesV1beta1::GrpcRouteRetryPolicy]
|
@@ -1027,6 +1065,7 @@ module Google
|
|
1027
1065
|
def update!(**args)
|
1028
1066
|
@destinations = args[:destinations] if args.key?(:destinations)
|
1029
1067
|
@fault_injection_policy = args[:fault_injection_policy] if args.key?(:fault_injection_policy)
|
1068
|
+
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
1030
1069
|
@retry_policy = args[:retry_policy] if args.key?(:retry_policy)
|
1031
1070
|
@stateful_session_affinity = args[:stateful_session_affinity] if args.key?(:stateful_session_affinity)
|
1032
1071
|
@timeout = args[:timeout] if args.key?(:timeout)
|
@@ -1287,6 +1326,16 @@ module Google
|
|
1287
1326
|
class HttpRouteDestination
|
1288
1327
|
include Google::Apis::Core::Hashable
|
1289
1328
|
|
1329
|
+
# The specification for modifying HTTP header in HTTP request and HTTP response.
|
1330
|
+
# Corresponds to the JSON property `requestHeaderModifier`
|
1331
|
+
# @return [Google::Apis::NetworkservicesV1beta1::HttpRouteHeaderModifier]
|
1332
|
+
attr_accessor :request_header_modifier
|
1333
|
+
|
1334
|
+
# The specification for modifying HTTP header in HTTP request and HTTP response.
|
1335
|
+
# Corresponds to the JSON property `responseHeaderModifier`
|
1336
|
+
# @return [Google::Apis::NetworkservicesV1beta1::HttpRouteHeaderModifier]
|
1337
|
+
attr_accessor :response_header_modifier
|
1338
|
+
|
1290
1339
|
# The URL of a BackendService to route traffic to.
|
1291
1340
|
# Corresponds to the JSON property `serviceName`
|
1292
1341
|
# @return [String]
|
@@ -1311,6 +1360,8 @@ module Google
|
|
1311
1360
|
|
1312
1361
|
# Update properties of this object
|
1313
1362
|
def update!(**args)
|
1363
|
+
@request_header_modifier = args[:request_header_modifier] if args.key?(:request_header_modifier)
|
1364
|
+
@response_header_modifier = args[:response_header_modifier] if args.key?(:response_header_modifier)
|
1314
1365
|
@service_name = args[:service_name] if args.key?(:service_name)
|
1315
1366
|
@weight = args[:weight] if args.key?(:weight)
|
1316
1367
|
end
|
@@ -1528,6 +1579,39 @@ module Google
|
|
1528
1579
|
end
|
1529
1580
|
end
|
1530
1581
|
|
1582
|
+
# Static HTTP response object to be returned.
|
1583
|
+
class HttpRouteHttpDirectResponse
|
1584
|
+
include Google::Apis::Core::Hashable
|
1585
|
+
|
1586
|
+
# Optional. Response body as bytes. Maximum body size is 4096B.
|
1587
|
+
# Corresponds to the JSON property `bytesBody`
|
1588
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1589
|
+
# @return [String]
|
1590
|
+
attr_accessor :bytes_body
|
1591
|
+
|
1592
|
+
# Required. Status to return as part of HTTP Response. Must be a positive
|
1593
|
+
# integer.
|
1594
|
+
# Corresponds to the JSON property `status`
|
1595
|
+
# @return [Fixnum]
|
1596
|
+
attr_accessor :status
|
1597
|
+
|
1598
|
+
# Optional. Response body as a string. Maximum body length is 1024 characters.
|
1599
|
+
# Corresponds to the JSON property `stringBody`
|
1600
|
+
# @return [String]
|
1601
|
+
attr_accessor :string_body
|
1602
|
+
|
1603
|
+
def initialize(**args)
|
1604
|
+
update!(**args)
|
1605
|
+
end
|
1606
|
+
|
1607
|
+
# Update properties of this object
|
1608
|
+
def update!(**args)
|
1609
|
+
@bytes_body = args[:bytes_body] if args.key?(:bytes_body)
|
1610
|
+
@status = args[:status] if args.key?(:status)
|
1611
|
+
@string_body = args[:string_body] if args.key?(:string_body)
|
1612
|
+
end
|
1613
|
+
end
|
1614
|
+
|
1531
1615
|
# Specifications to match a query parameter in the request.
|
1532
1616
|
class HttpRouteQueryParameterMatch
|
1533
1617
|
include Google::Apis::Core::Hashable
|
@@ -1653,6 +1737,12 @@ module Google
|
|
1653
1737
|
# @return [Google::Apis::NetworkservicesV1beta1::HttpRouteDestination]
|
1654
1738
|
attr_accessor :destination
|
1655
1739
|
|
1740
|
+
# Optional. The percentage of requests to get mirrored to the desired
|
1741
|
+
# destination.
|
1742
|
+
# Corresponds to the JSON property `mirrorPercent`
|
1743
|
+
# @return [Float]
|
1744
|
+
attr_accessor :mirror_percent
|
1745
|
+
|
1656
1746
|
def initialize(**args)
|
1657
1747
|
update!(**args)
|
1658
1748
|
end
|
@@ -1660,6 +1750,7 @@ module Google
|
|
1660
1750
|
# Update properties of this object
|
1661
1751
|
def update!(**args)
|
1662
1752
|
@destination = args[:destination] if args.key?(:destination)
|
1753
|
+
@mirror_percent = args[:mirror_percent] if args.key?(:mirror_percent)
|
1663
1754
|
end
|
1664
1755
|
end
|
1665
1756
|
|
@@ -1720,6 +1811,11 @@ module Google
|
|
1720
1811
|
# @return [Array<Google::Apis::NetworkservicesV1beta1::HttpRouteDestination>]
|
1721
1812
|
attr_accessor :destinations
|
1722
1813
|
|
1814
|
+
# Static HTTP response object to be returned.
|
1815
|
+
# Corresponds to the JSON property `directResponse`
|
1816
|
+
# @return [Google::Apis::NetworkservicesV1beta1::HttpRouteHttpDirectResponse]
|
1817
|
+
attr_accessor :direct_response
|
1818
|
+
|
1723
1819
|
# The specification for fault injection introduced into traffic to test the
|
1724
1820
|
# resiliency of clients to destination service failure. As part of fault
|
1725
1821
|
# injection, when clients send requests to a destination, delays can be
|
@@ -1730,6 +1826,14 @@ module Google
|
|
1730
1826
|
# @return [Google::Apis::NetworkservicesV1beta1::HttpRouteFaultInjectionPolicy]
|
1731
1827
|
attr_accessor :fault_injection_policy
|
1732
1828
|
|
1829
|
+
# Optional. Specifies the idle timeout for the selected route. The idle timeout
|
1830
|
+
# is defined as the period in which there are no bytes sent or received on
|
1831
|
+
# either the upstream or downstream connection. If not set, the default idle
|
1832
|
+
# timeout is 1 hour. If set to 0s, the timeout will be disabled.
|
1833
|
+
# Corresponds to the JSON property `idleTimeout`
|
1834
|
+
# @return [String]
|
1835
|
+
attr_accessor :idle_timeout
|
1836
|
+
|
1733
1837
|
# The specification for redirecting traffic.
|
1734
1838
|
# Corresponds to the JSON property `redirect`
|
1735
1839
|
# @return [Google::Apis::NetworkservicesV1beta1::HttpRouteRedirect]
|
@@ -1790,7 +1894,9 @@ module Google
|
|
1790
1894
|
def update!(**args)
|
1791
1895
|
@cors_policy = args[:cors_policy] if args.key?(:cors_policy)
|
1792
1896
|
@destinations = args[:destinations] if args.key?(:destinations)
|
1897
|
+
@direct_response = args[:direct_response] if args.key?(:direct_response)
|
1793
1898
|
@fault_injection_policy = args[:fault_injection_policy] if args.key?(:fault_injection_policy)
|
1899
|
+
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
1794
1900
|
@redirect = args[:redirect] if args.key?(:redirect)
|
1795
1901
|
@request_header_modifier = args[:request_header_modifier] if args.key?(:request_header_modifier)
|
1796
1902
|
@request_mirror_policy = args[:request_mirror_policy] if args.key?(:request_mirror_policy)
|
@@ -2527,6 +2633,13 @@ module Google
|
|
2527
2633
|
# @return [String]
|
2528
2634
|
attr_accessor :description
|
2529
2635
|
|
2636
|
+
# Optional. Determines if envoy will insert internal debug headers into upstream
|
2637
|
+
# requests. Other Envoy headers may still be injected. By default, envoy will
|
2638
|
+
# not insert any debug headers.
|
2639
|
+
# Corresponds to the JSON property `envoyHeaders`
|
2640
|
+
# @return [String]
|
2641
|
+
attr_accessor :envoy_headers
|
2642
|
+
|
2530
2643
|
# Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to
|
2531
2644
|
# listen on the specified port of localhost (127.0.0.1) address. The SIDECAR
|
2532
2645
|
# proxy will expect all traffic to be redirected to this port regardless of its
|
@@ -2565,6 +2678,7 @@ module Google
|
|
2565
2678
|
def update!(**args)
|
2566
2679
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2567
2680
|
@description = args[:description] if args.key?(:description)
|
2681
|
+
@envoy_headers = args[:envoy_headers] if args.key?(:envoy_headers)
|
2568
2682
|
@interception_port = args[:interception_port] if args.key?(:interception_port)
|
2569
2683
|
@labels = args[:labels] if args.key?(:labels)
|
2570
2684
|
@name = args[:name] if args.key?(:name)
|
@@ -3210,6 +3324,14 @@ module Google
|
|
3210
3324
|
# @return [Array<Google::Apis::NetworkservicesV1beta1::TcpRouteRouteDestination>]
|
3211
3325
|
attr_accessor :destinations
|
3212
3326
|
|
3327
|
+
# Optional. Specifies the idle timeout for the selected route. The idle timeout
|
3328
|
+
# is defined as the period in which there are no bytes sent or received on
|
3329
|
+
# either the upstream or downstream connection. If not set, the default idle
|
3330
|
+
# timeout is 30 seconds. If set to 0s, the timeout will be disabled.
|
3331
|
+
# Corresponds to the JSON property `idleTimeout`
|
3332
|
+
# @return [String]
|
3333
|
+
attr_accessor :idle_timeout
|
3334
|
+
|
3213
3335
|
# Optional. If true, Router will use the destination IP and port of the original
|
3214
3336
|
# connection as the destination of the request. Default is false. Only one of
|
3215
3337
|
# route destinations or original destination can be set.
|
@@ -3225,6 +3347,7 @@ module Google
|
|
3225
3347
|
# Update properties of this object
|
3226
3348
|
def update!(**args)
|
3227
3349
|
@destinations = args[:destinations] if args.key?(:destinations)
|
3350
|
+
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
3228
3351
|
@original_destination = args[:original_destination] if args.key?(:original_destination)
|
3229
3352
|
end
|
3230
3353
|
end
|
@@ -3449,6 +3572,14 @@ module Google
|
|
3449
3572
|
# @return [Array<Google::Apis::NetworkservicesV1beta1::TlsRouteRouteDestination>]
|
3450
3573
|
attr_accessor :destinations
|
3451
3574
|
|
3575
|
+
# Optional. Specifies the idle timeout for the selected route. The idle timeout
|
3576
|
+
# is defined as the period in which there are no bytes sent or received on
|
3577
|
+
# either the upstream or downstream connection. If not set, the default idle
|
3578
|
+
# timeout is 1 hour. If set to 0s, the timeout will be disabled.
|
3579
|
+
# Corresponds to the JSON property `idleTimeout`
|
3580
|
+
# @return [String]
|
3581
|
+
attr_accessor :idle_timeout
|
3582
|
+
|
3452
3583
|
def initialize(**args)
|
3453
3584
|
update!(**args)
|
3454
3585
|
end
|
@@ -3456,6 +3587,7 @@ module Google
|
|
3456
3587
|
# Update properties of this object
|
3457
3588
|
def update!(**args)
|
3458
3589
|
@destinations = args[:destinations] if args.key?(:destinations)
|
3590
|
+
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
3459
3591
|
end
|
3460
3592
|
end
|
3461
3593
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkservicesV1beta1
|
18
18
|
# Version of the google-apis-networkservices_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.34.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231227"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -220,6 +220,12 @@ module Google
|
|
220
220
|
include Google::Apis::Core::JsonObjectSupport
|
221
221
|
end
|
222
222
|
|
223
|
+
class HttpRouteHttpDirectResponse
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
223
229
|
class HttpRouteQueryParameterMatch
|
224
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
231
|
|
@@ -634,6 +640,7 @@ module Google
|
|
634
640
|
collection :certificate_urls, as: 'certificateUrls'
|
635
641
|
property :create_time, as: 'createTime'
|
636
642
|
property :description, as: 'description'
|
643
|
+
property :envoy_headers, as: 'envoyHeaders'
|
637
644
|
property :gateway_security_policy, as: 'gatewaySecurityPolicy'
|
638
645
|
property :ip_version, as: 'ipVersion'
|
639
646
|
hash :labels, as: 'labels'
|
@@ -734,6 +741,7 @@ module Google
|
|
734
741
|
|
735
742
|
property :fault_injection_policy, as: 'faultInjectionPolicy', class: Google::Apis::NetworkservicesV1beta1::GrpcRouteFaultInjectionPolicy, decorator: Google::Apis::NetworkservicesV1beta1::GrpcRouteFaultInjectionPolicy::Representation
|
736
743
|
|
744
|
+
property :idle_timeout, as: 'idleTimeout'
|
737
745
|
property :retry_policy, as: 'retryPolicy', class: Google::Apis::NetworkservicesV1beta1::GrpcRouteRetryPolicy, decorator: Google::Apis::NetworkservicesV1beta1::GrpcRouteRetryPolicy::Representation
|
738
746
|
|
739
747
|
property :stateful_session_affinity, as: 'statefulSessionAffinity', class: Google::Apis::NetworkservicesV1beta1::GrpcRouteStatefulSessionAffinityPolicy, decorator: Google::Apis::NetworkservicesV1beta1::GrpcRouteStatefulSessionAffinityPolicy::Representation
|
@@ -803,6 +811,10 @@ module Google
|
|
803
811
|
class HttpRouteDestination
|
804
812
|
# @private
|
805
813
|
class Representation < Google::Apis::Core::JsonRepresentation
|
814
|
+
property :request_header_modifier, as: 'requestHeaderModifier', class: Google::Apis::NetworkservicesV1beta1::HttpRouteHeaderModifier, decorator: Google::Apis::NetworkservicesV1beta1::HttpRouteHeaderModifier::Representation
|
815
|
+
|
816
|
+
property :response_header_modifier, as: 'responseHeaderModifier', class: Google::Apis::NetworkservicesV1beta1::HttpRouteHeaderModifier, decorator: Google::Apis::NetworkservicesV1beta1::HttpRouteHeaderModifier::Representation
|
817
|
+
|
806
818
|
property :service_name, as: 'serviceName'
|
807
819
|
property :weight, as: 'weight'
|
808
820
|
end
|
@@ -866,6 +878,15 @@ module Google
|
|
866
878
|
end
|
867
879
|
end
|
868
880
|
|
881
|
+
class HttpRouteHttpDirectResponse
|
882
|
+
# @private
|
883
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
884
|
+
property :bytes_body, :base64 => true, as: 'bytesBody'
|
885
|
+
property :status, as: 'status'
|
886
|
+
property :string_body, as: 'stringBody'
|
887
|
+
end
|
888
|
+
end
|
889
|
+
|
869
890
|
class HttpRouteQueryParameterMatch
|
870
891
|
# @private
|
871
892
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -894,6 +915,7 @@ module Google
|
|
894
915
|
class Representation < Google::Apis::Core::JsonRepresentation
|
895
916
|
property :destination, as: 'destination', class: Google::Apis::NetworkservicesV1beta1::HttpRouteDestination, decorator: Google::Apis::NetworkservicesV1beta1::HttpRouteDestination::Representation
|
896
917
|
|
918
|
+
property :mirror_percent, as: 'mirrorPercent'
|
897
919
|
end
|
898
920
|
end
|
899
921
|
|
@@ -913,8 +935,11 @@ module Google
|
|
913
935
|
|
914
936
|
collection :destinations, as: 'destinations', class: Google::Apis::NetworkservicesV1beta1::HttpRouteDestination, decorator: Google::Apis::NetworkservicesV1beta1::HttpRouteDestination::Representation
|
915
937
|
|
938
|
+
property :direct_response, as: 'directResponse', class: Google::Apis::NetworkservicesV1beta1::HttpRouteHttpDirectResponse, decorator: Google::Apis::NetworkservicesV1beta1::HttpRouteHttpDirectResponse::Representation
|
939
|
+
|
916
940
|
property :fault_injection_policy, as: 'faultInjectionPolicy', class: Google::Apis::NetworkservicesV1beta1::HttpRouteFaultInjectionPolicy, decorator: Google::Apis::NetworkservicesV1beta1::HttpRouteFaultInjectionPolicy::Representation
|
917
941
|
|
942
|
+
property :idle_timeout, as: 'idleTimeout'
|
918
943
|
property :redirect, as: 'redirect', class: Google::Apis::NetworkservicesV1beta1::HttpRouteRedirect, decorator: Google::Apis::NetworkservicesV1beta1::HttpRouteRedirect::Representation
|
919
944
|
|
920
945
|
property :request_header_modifier, as: 'requestHeaderModifier', class: Google::Apis::NetworkservicesV1beta1::HttpRouteHeaderModifier, decorator: Google::Apis::NetworkservicesV1beta1::HttpRouteHeaderModifier::Representation
|
@@ -1138,6 +1163,7 @@ module Google
|
|
1138
1163
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1139
1164
|
property :create_time, as: 'createTime'
|
1140
1165
|
property :description, as: 'description'
|
1166
|
+
property :envoy_headers, as: 'envoyHeaders'
|
1141
1167
|
property :interception_port, as: 'interceptionPort'
|
1142
1168
|
hash :labels, as: 'labels'
|
1143
1169
|
property :name, as: 'name'
|
@@ -1282,6 +1308,7 @@ module Google
|
|
1282
1308
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1283
1309
|
collection :destinations, as: 'destinations', class: Google::Apis::NetworkservicesV1beta1::TcpRouteRouteDestination, decorator: Google::Apis::NetworkservicesV1beta1::TcpRouteRouteDestination::Representation
|
1284
1310
|
|
1311
|
+
property :idle_timeout, as: 'idleTimeout'
|
1285
1312
|
property :original_destination, as: 'originalDestination'
|
1286
1313
|
end
|
1287
1314
|
end
|
@@ -1347,6 +1374,7 @@ module Google
|
|
1347
1374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1348
1375
|
collection :destinations, as: 'destinations', class: Google::Apis::NetworkservicesV1beta1::TlsRouteRouteDestination, decorator: Google::Apis::NetworkservicesV1beta1::TlsRouteRouteDestination::Representation
|
1349
1376
|
|
1377
|
+
property :idle_timeout, as: 'idleTimeout'
|
1350
1378
|
end
|
1351
1379
|
end
|
1352
1380
|
|
@@ -32,6 +32,8 @@ module Google
|
|
32
32
|
#
|
33
33
|
# @see https://cloud.google.com/networking
|
34
34
|
class NetworkServicesService < Google::Apis::Core::BaseService
|
35
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://networkservices.$UNIVERSE_DOMAIN$/"
|
36
|
+
|
35
37
|
# @return [String]
|
36
38
|
# API key. Your API key identifies your project and provides you with API access,
|
37
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -43,7 +45,7 @@ module Google
|
|
43
45
|
attr_accessor :quota_user
|
44
46
|
|
45
47
|
def initialize
|
46
|
-
super(
|
48
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
47
49
|
client_name: 'google-apis-networkservices_v1beta1',
|
48
50
|
client_version: Google::Apis::NetworkservicesV1beta1::GEM_VERSION)
|
49
51
|
@batch_path = 'batch'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkservices_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.34.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:
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.34.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1beta1
|
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.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Network Services API V1beta1
|