google-apis-networkservices_v1 0.31.0 → 0.33.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_v1/classes.rb +141 -9
- data/lib/google/apis/networkservices_v1/gem_version.rb +3 -3
- data/lib/google/apis/networkservices_v1/representations.rb +28 -0
- data/lib/google/apis/networkservices_v1/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: d02f8526175d6e7e76655de1332b030680b07059eec8fc59f97754458185465e
|
4
|
+
data.tar.gz: c5c41323f3fe5bc9ce008a7b0f52f9f2a78e431dbb69a91508b70660f6bdab05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd6975cede691decd815d927784bf7af9ec04e8364dba481eda7ae3fecc7dcfcf6e07a8d4126ef91c86b3e1ac6734d4aee8a1c497baa38d4a98b1b52064048fc
|
7
|
+
data.tar.gz: 016eed9018858effe551a97ec75a9970a653acd61e1ecb07422c1847eaa712326434b215d84158225e3acc03b0b57c9618c57e3d215c06325a4f4499ffb9902b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-networkservices_v1
|
2
2
|
|
3
|
+
### v0.33.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231227
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.32.0 (2023-12-17)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20231211
|
11
|
+
|
3
12
|
### v0.31.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
|
@@ -466,6 +488,13 @@ module Google
|
|
466
488
|
# @return [String]
|
467
489
|
attr_accessor :description
|
468
490
|
|
491
|
+
# Optional. Determines if envoy will insert internal debug headers into upstream
|
492
|
+
# requests. Other Envoy headers may still be injected. By default, envoy will
|
493
|
+
# not insert any debug headers.
|
494
|
+
# Corresponds to the JSON property `envoyHeaders`
|
495
|
+
# @return [String]
|
496
|
+
attr_accessor :envoy_headers
|
497
|
+
|
469
498
|
# Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a
|
470
499
|
# server should apply security policy to inbound (VM to Proxy) initiated
|
471
500
|
# connections. For example: `projects/*/locations/*/gatewaySecurityPolicies/swg-
|
@@ -555,6 +584,7 @@ module Google
|
|
555
584
|
@certificate_urls = args[:certificate_urls] if args.key?(:certificate_urls)
|
556
585
|
@create_time = args[:create_time] if args.key?(:create_time)
|
557
586
|
@description = args[:description] if args.key?(:description)
|
587
|
+
@envoy_headers = args[:envoy_headers] if args.key?(:envoy_headers)
|
558
588
|
@gateway_security_policy = args[:gateway_security_policy] if args.key?(:gateway_security_policy)
|
559
589
|
@ip_version = args[:ip_version] if args.key?(:ip_version)
|
560
590
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -921,6 +951,14 @@ module Google
|
|
921
951
|
# @return [Google::Apis::NetworkservicesV1::GrpcRouteFaultInjectionPolicy]
|
922
952
|
attr_accessor :fault_injection_policy
|
923
953
|
|
954
|
+
# Optional. Specifies the idle timeout for the selected route. The idle timeout
|
955
|
+
# is defined as the period in which there are no bytes sent or received on
|
956
|
+
# either the upstream or downstream connection. If not set, the default idle
|
957
|
+
# timeout is 1 hour. If set to 0s, the timeout will be disabled.
|
958
|
+
# Corresponds to the JSON property `idleTimeout`
|
959
|
+
# @return [String]
|
960
|
+
attr_accessor :idle_timeout
|
961
|
+
|
924
962
|
# The specifications for retries.
|
925
963
|
# Corresponds to the JSON property `retryPolicy`
|
926
964
|
# @return [Google::Apis::NetworkservicesV1::GrpcRouteRetryPolicy]
|
@@ -952,6 +990,7 @@ module Google
|
|
952
990
|
def update!(**args)
|
953
991
|
@destinations = args[:destinations] if args.key?(:destinations)
|
954
992
|
@fault_injection_policy = args[:fault_injection_policy] if args.key?(:fault_injection_policy)
|
993
|
+
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
955
994
|
@retry_policy = args[:retry_policy] if args.key?(:retry_policy)
|
956
995
|
@stateful_session_affinity = args[:stateful_session_affinity] if args.key?(:stateful_session_affinity)
|
957
996
|
@timeout = args[:timeout] if args.key?(:timeout)
|
@@ -1212,6 +1251,16 @@ module Google
|
|
1212
1251
|
class HttpRouteDestination
|
1213
1252
|
include Google::Apis::Core::Hashable
|
1214
1253
|
|
1254
|
+
# The specification for modifying HTTP header in HTTP request and HTTP response.
|
1255
|
+
# Corresponds to the JSON property `requestHeaderModifier`
|
1256
|
+
# @return [Google::Apis::NetworkservicesV1::HttpRouteHeaderModifier]
|
1257
|
+
attr_accessor :request_header_modifier
|
1258
|
+
|
1259
|
+
# The specification for modifying HTTP header in HTTP request and HTTP response.
|
1260
|
+
# Corresponds to the JSON property `responseHeaderModifier`
|
1261
|
+
# @return [Google::Apis::NetworkservicesV1::HttpRouteHeaderModifier]
|
1262
|
+
attr_accessor :response_header_modifier
|
1263
|
+
|
1215
1264
|
# The URL of a BackendService to route traffic to.
|
1216
1265
|
# Corresponds to the JSON property `serviceName`
|
1217
1266
|
# @return [String]
|
@@ -1236,6 +1285,8 @@ module Google
|
|
1236
1285
|
|
1237
1286
|
# Update properties of this object
|
1238
1287
|
def update!(**args)
|
1288
|
+
@request_header_modifier = args[:request_header_modifier] if args.key?(:request_header_modifier)
|
1289
|
+
@response_header_modifier = args[:response_header_modifier] if args.key?(:response_header_modifier)
|
1239
1290
|
@service_name = args[:service_name] if args.key?(:service_name)
|
1240
1291
|
@weight = args[:weight] if args.key?(:weight)
|
1241
1292
|
end
|
@@ -1453,6 +1504,39 @@ module Google
|
|
1453
1504
|
end
|
1454
1505
|
end
|
1455
1506
|
|
1507
|
+
# Static HTTP response object to be returned.
|
1508
|
+
class HttpRouteHttpDirectResponse
|
1509
|
+
include Google::Apis::Core::Hashable
|
1510
|
+
|
1511
|
+
# Optional. Response body as bytes. Maximum body size is 4096B.
|
1512
|
+
# Corresponds to the JSON property `bytesBody`
|
1513
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1514
|
+
# @return [String]
|
1515
|
+
attr_accessor :bytes_body
|
1516
|
+
|
1517
|
+
# Required. Status to return as part of HTTP Response. Must be a positive
|
1518
|
+
# integer.
|
1519
|
+
# Corresponds to the JSON property `status`
|
1520
|
+
# @return [Fixnum]
|
1521
|
+
attr_accessor :status
|
1522
|
+
|
1523
|
+
# Optional. Response body as a string. Maximum body length is 1024 characters.
|
1524
|
+
# Corresponds to the JSON property `stringBody`
|
1525
|
+
# @return [String]
|
1526
|
+
attr_accessor :string_body
|
1527
|
+
|
1528
|
+
def initialize(**args)
|
1529
|
+
update!(**args)
|
1530
|
+
end
|
1531
|
+
|
1532
|
+
# Update properties of this object
|
1533
|
+
def update!(**args)
|
1534
|
+
@bytes_body = args[:bytes_body] if args.key?(:bytes_body)
|
1535
|
+
@status = args[:status] if args.key?(:status)
|
1536
|
+
@string_body = args[:string_body] if args.key?(:string_body)
|
1537
|
+
end
|
1538
|
+
end
|
1539
|
+
|
1456
1540
|
# Specifications to match a query parameter in the request.
|
1457
1541
|
class HttpRouteQueryParameterMatch
|
1458
1542
|
include Google::Apis::Core::Hashable
|
@@ -1578,6 +1662,12 @@ module Google
|
|
1578
1662
|
# @return [Google::Apis::NetworkservicesV1::HttpRouteDestination]
|
1579
1663
|
attr_accessor :destination
|
1580
1664
|
|
1665
|
+
# Optional. The percentage of requests to get mirrored to the desired
|
1666
|
+
# destination.
|
1667
|
+
# Corresponds to the JSON property `mirrorPercent`
|
1668
|
+
# @return [Float]
|
1669
|
+
attr_accessor :mirror_percent
|
1670
|
+
|
1581
1671
|
def initialize(**args)
|
1582
1672
|
update!(**args)
|
1583
1673
|
end
|
@@ -1585,6 +1675,7 @@ module Google
|
|
1585
1675
|
# Update properties of this object
|
1586
1676
|
def update!(**args)
|
1587
1677
|
@destination = args[:destination] if args.key?(:destination)
|
1678
|
+
@mirror_percent = args[:mirror_percent] if args.key?(:mirror_percent)
|
1588
1679
|
end
|
1589
1680
|
end
|
1590
1681
|
|
@@ -1645,6 +1736,11 @@ module Google
|
|
1645
1736
|
# @return [Array<Google::Apis::NetworkservicesV1::HttpRouteDestination>]
|
1646
1737
|
attr_accessor :destinations
|
1647
1738
|
|
1739
|
+
# Static HTTP response object to be returned.
|
1740
|
+
# Corresponds to the JSON property `directResponse`
|
1741
|
+
# @return [Google::Apis::NetworkservicesV1::HttpRouteHttpDirectResponse]
|
1742
|
+
attr_accessor :direct_response
|
1743
|
+
|
1648
1744
|
# The specification for fault injection introduced into traffic to test the
|
1649
1745
|
# resiliency of clients to destination service failure. As part of fault
|
1650
1746
|
# injection, when clients send requests to a destination, delays can be
|
@@ -1655,6 +1751,14 @@ module Google
|
|
1655
1751
|
# @return [Google::Apis::NetworkservicesV1::HttpRouteFaultInjectionPolicy]
|
1656
1752
|
attr_accessor :fault_injection_policy
|
1657
1753
|
|
1754
|
+
# Optional. Specifies the idle timeout for the selected route. The idle timeout
|
1755
|
+
# is defined as the period in which there are no bytes sent or received on
|
1756
|
+
# either the upstream or downstream connection. If not set, the default idle
|
1757
|
+
# timeout is 1 hour. If set to 0s, the timeout will be disabled.
|
1758
|
+
# Corresponds to the JSON property `idleTimeout`
|
1759
|
+
# @return [String]
|
1760
|
+
attr_accessor :idle_timeout
|
1761
|
+
|
1658
1762
|
# The specification for redirecting traffic.
|
1659
1763
|
# Corresponds to the JSON property `redirect`
|
1660
1764
|
# @return [Google::Apis::NetworkservicesV1::HttpRouteRedirect]
|
@@ -1715,7 +1819,9 @@ module Google
|
|
1715
1819
|
def update!(**args)
|
1716
1820
|
@cors_policy = args[:cors_policy] if args.key?(:cors_policy)
|
1717
1821
|
@destinations = args[:destinations] if args.key?(:destinations)
|
1822
|
+
@direct_response = args[:direct_response] if args.key?(:direct_response)
|
1718
1823
|
@fault_injection_policy = args[:fault_injection_policy] if args.key?(:fault_injection_policy)
|
1824
|
+
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
1719
1825
|
@redirect = args[:redirect] if args.key?(:redirect)
|
1720
1826
|
@request_header_modifier = args[:request_header_modifier] if args.key?(:request_header_modifier)
|
1721
1827
|
@request_mirror_policy = args[:request_mirror_policy] if args.key?(:request_mirror_policy)
|
@@ -2209,6 +2315,13 @@ module Google
|
|
2209
2315
|
# @return [String]
|
2210
2316
|
attr_accessor :description
|
2211
2317
|
|
2318
|
+
# Optional. Determines if envoy will insert internal debug headers into upstream
|
2319
|
+
# requests. Other Envoy headers may still be injected. By default, envoy will
|
2320
|
+
# not insert any debug headers.
|
2321
|
+
# Corresponds to the JSON property `envoyHeaders`
|
2322
|
+
# @return [String]
|
2323
|
+
attr_accessor :envoy_headers
|
2324
|
+
|
2212
2325
|
# Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to
|
2213
2326
|
# listen on the specified port of localhost (127.0.0.1) address. The SIDECAR
|
2214
2327
|
# proxy will expect all traffic to be redirected to this port regardless of its
|
@@ -2247,6 +2360,7 @@ module Google
|
|
2247
2360
|
def update!(**args)
|
2248
2361
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2249
2362
|
@description = args[:description] if args.key?(:description)
|
2363
|
+
@envoy_headers = args[:envoy_headers] if args.key?(:envoy_headers)
|
2250
2364
|
@interception_port = args[:interception_port] if args.key?(:interception_port)
|
2251
2365
|
@labels = args[:labels] if args.key?(:labels)
|
2252
2366
|
@name = args[:name] if args.key?(:name)
|
@@ -2712,6 +2826,14 @@ module Google
|
|
2712
2826
|
# @return [Array<Google::Apis::NetworkservicesV1::TcpRouteRouteDestination>]
|
2713
2827
|
attr_accessor :destinations
|
2714
2828
|
|
2829
|
+
# Optional. Specifies the idle timeout for the selected route. The idle timeout
|
2830
|
+
# is defined as the period in which there are no bytes sent or received on
|
2831
|
+
# either the upstream or downstream connection. If not set, the default idle
|
2832
|
+
# timeout is 30 seconds. If set to 0s, the timeout will be disabled.
|
2833
|
+
# Corresponds to the JSON property `idleTimeout`
|
2834
|
+
# @return [String]
|
2835
|
+
attr_accessor :idle_timeout
|
2836
|
+
|
2715
2837
|
# Optional. If true, Router will use the destination IP and port of the original
|
2716
2838
|
# connection as the destination of the request. Default is false. Only one of
|
2717
2839
|
# route destinations or original destination can be set.
|
@@ -2727,6 +2849,7 @@ module Google
|
|
2727
2849
|
# Update properties of this object
|
2728
2850
|
def update!(**args)
|
2729
2851
|
@destinations = args[:destinations] if args.key?(:destinations)
|
2852
|
+
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
2730
2853
|
@original_destination = args[:original_destination] if args.key?(:original_destination)
|
2731
2854
|
end
|
2732
2855
|
end
|
@@ -2951,6 +3074,14 @@ module Google
|
|
2951
3074
|
# @return [Array<Google::Apis::NetworkservicesV1::TlsRouteRouteDestination>]
|
2952
3075
|
attr_accessor :destinations
|
2953
3076
|
|
3077
|
+
# Optional. Specifies the idle timeout for the selected route. The idle timeout
|
3078
|
+
# is defined as the period in which there are no bytes sent or received on
|
3079
|
+
# either the upstream or downstream connection. If not set, the default idle
|
3080
|
+
# timeout is 1 hour. If set to 0s, the timeout will be disabled.
|
3081
|
+
# Corresponds to the JSON property `idleTimeout`
|
3082
|
+
# @return [String]
|
3083
|
+
attr_accessor :idle_timeout
|
3084
|
+
|
2954
3085
|
def initialize(**args)
|
2955
3086
|
update!(**args)
|
2956
3087
|
end
|
@@ -2958,6 +3089,7 @@ module Google
|
|
2958
3089
|
# Update properties of this object
|
2959
3090
|
def update!(**args)
|
2960
3091
|
@destinations = args[:destinations] if args.key?(:destinations)
|
3092
|
+
@idle_timeout = args[:idle_timeout] if args.key?(:idle_timeout)
|
2961
3093
|
end
|
2962
3094
|
end
|
2963
3095
|
|
@@ -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.33.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
|
@@ -214,6 +214,12 @@ module Google
|
|
214
214
|
include Google::Apis::Core::JsonObjectSupport
|
215
215
|
end
|
216
216
|
|
217
|
+
class HttpRouteHttpDirectResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
217
223
|
class HttpRouteQueryParameterMatch
|
218
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
225
|
|
@@ -554,6 +560,7 @@ module Google
|
|
554
560
|
collection :certificate_urls, as: 'certificateUrls'
|
555
561
|
property :create_time, as: 'createTime'
|
556
562
|
property :description, as: 'description'
|
563
|
+
property :envoy_headers, as: 'envoyHeaders'
|
557
564
|
property :gateway_security_policy, as: 'gatewaySecurityPolicy'
|
558
565
|
property :ip_version, as: 'ipVersion'
|
559
566
|
hash :labels, as: 'labels'
|
@@ -654,6 +661,7 @@ module Google
|
|
654
661
|
|
655
662
|
property :fault_injection_policy, as: 'faultInjectionPolicy', class: Google::Apis::NetworkservicesV1::GrpcRouteFaultInjectionPolicy, decorator: Google::Apis::NetworkservicesV1::GrpcRouteFaultInjectionPolicy::Representation
|
656
663
|
|
664
|
+
property :idle_timeout, as: 'idleTimeout'
|
657
665
|
property :retry_policy, as: 'retryPolicy', class: Google::Apis::NetworkservicesV1::GrpcRouteRetryPolicy, decorator: Google::Apis::NetworkservicesV1::GrpcRouteRetryPolicy::Representation
|
658
666
|
|
659
667
|
property :stateful_session_affinity, as: 'statefulSessionAffinity', class: Google::Apis::NetworkservicesV1::GrpcRouteStatefulSessionAffinityPolicy, decorator: Google::Apis::NetworkservicesV1::GrpcRouteStatefulSessionAffinityPolicy::Representation
|
@@ -723,6 +731,10 @@ module Google
|
|
723
731
|
class HttpRouteDestination
|
724
732
|
# @private
|
725
733
|
class Representation < Google::Apis::Core::JsonRepresentation
|
734
|
+
property :request_header_modifier, as: 'requestHeaderModifier', class: Google::Apis::NetworkservicesV1::HttpRouteHeaderModifier, decorator: Google::Apis::NetworkservicesV1::HttpRouteHeaderModifier::Representation
|
735
|
+
|
736
|
+
property :response_header_modifier, as: 'responseHeaderModifier', class: Google::Apis::NetworkservicesV1::HttpRouteHeaderModifier, decorator: Google::Apis::NetworkservicesV1::HttpRouteHeaderModifier::Representation
|
737
|
+
|
726
738
|
property :service_name, as: 'serviceName'
|
727
739
|
property :weight, as: 'weight'
|
728
740
|
end
|
@@ -786,6 +798,15 @@ module Google
|
|
786
798
|
end
|
787
799
|
end
|
788
800
|
|
801
|
+
class HttpRouteHttpDirectResponse
|
802
|
+
# @private
|
803
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
804
|
+
property :bytes_body, :base64 => true, as: 'bytesBody'
|
805
|
+
property :status, as: 'status'
|
806
|
+
property :string_body, as: 'stringBody'
|
807
|
+
end
|
808
|
+
end
|
809
|
+
|
789
810
|
class HttpRouteQueryParameterMatch
|
790
811
|
# @private
|
791
812
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -814,6 +835,7 @@ module Google
|
|
814
835
|
class Representation < Google::Apis::Core::JsonRepresentation
|
815
836
|
property :destination, as: 'destination', class: Google::Apis::NetworkservicesV1::HttpRouteDestination, decorator: Google::Apis::NetworkservicesV1::HttpRouteDestination::Representation
|
816
837
|
|
838
|
+
property :mirror_percent, as: 'mirrorPercent'
|
817
839
|
end
|
818
840
|
end
|
819
841
|
|
@@ -833,8 +855,11 @@ module Google
|
|
833
855
|
|
834
856
|
collection :destinations, as: 'destinations', class: Google::Apis::NetworkservicesV1::HttpRouteDestination, decorator: Google::Apis::NetworkservicesV1::HttpRouteDestination::Representation
|
835
857
|
|
858
|
+
property :direct_response, as: 'directResponse', class: Google::Apis::NetworkservicesV1::HttpRouteHttpDirectResponse, decorator: Google::Apis::NetworkservicesV1::HttpRouteHttpDirectResponse::Representation
|
859
|
+
|
836
860
|
property :fault_injection_policy, as: 'faultInjectionPolicy', class: Google::Apis::NetworkservicesV1::HttpRouteFaultInjectionPolicy, decorator: Google::Apis::NetworkservicesV1::HttpRouteFaultInjectionPolicy::Representation
|
837
861
|
|
862
|
+
property :idle_timeout, as: 'idleTimeout'
|
838
863
|
property :redirect, as: 'redirect', class: Google::Apis::NetworkservicesV1::HttpRouteRedirect, decorator: Google::Apis::NetworkservicesV1::HttpRouteRedirect::Representation
|
839
864
|
|
840
865
|
property :request_header_modifier, as: 'requestHeaderModifier', class: Google::Apis::NetworkservicesV1::HttpRouteHeaderModifier, decorator: Google::Apis::NetworkservicesV1::HttpRouteHeaderModifier::Representation
|
@@ -999,6 +1024,7 @@ module Google
|
|
999
1024
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1000
1025
|
property :create_time, as: 'createTime'
|
1001
1026
|
property :description, as: 'description'
|
1027
|
+
property :envoy_headers, as: 'envoyHeaders'
|
1002
1028
|
property :interception_port, as: 'interceptionPort'
|
1003
1029
|
hash :labels, as: 'labels'
|
1004
1030
|
property :name, as: 'name'
|
@@ -1096,6 +1122,7 @@ module Google
|
|
1096
1122
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1097
1123
|
collection :destinations, as: 'destinations', class: Google::Apis::NetworkservicesV1::TcpRouteRouteDestination, decorator: Google::Apis::NetworkservicesV1::TcpRouteRouteDestination::Representation
|
1098
1124
|
|
1125
|
+
property :idle_timeout, as: 'idleTimeout'
|
1099
1126
|
property :original_destination, as: 'originalDestination'
|
1100
1127
|
end
|
1101
1128
|
end
|
@@ -1161,6 +1188,7 @@ module Google
|
|
1161
1188
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1162
1189
|
collection :destinations, as: 'destinations', class: Google::Apis::NetworkservicesV1::TlsRouteRouteDestination, decorator: Google::Apis::NetworkservicesV1::TlsRouteRouteDestination::Representation
|
1163
1190
|
|
1191
|
+
property :idle_timeout, as: 'idleTimeout'
|
1164
1192
|
end
|
1165
1193
|
end
|
1166
1194
|
|
@@ -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_v1',
|
48
50
|
client_version: Google::Apis::NetworkservicesV1::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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.33.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_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.33.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.
|
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 V1
|