Skip to content

Commit

Permalink
feat(networkservices): update the api
Browse files Browse the repository at this point in the history
#### networkservices:v1

The following keys were added:
- schemas.Gateway.properties.envoyHeaders.type (Total Keys: 1)
- schemas.GrpcRouteRouteAction.properties.idleTimeout (Total Keys: 2)
- schemas.HttpRouteDestination.properties.requestHeaderModifier.$ref (Total Keys: 1)
- schemas.HttpRouteDestination.properties.responseHeaderModifier.$ref (Total Keys: 1)
- schemas.HttpRouteHttpDirectResponse (Total Keys: 7)
- schemas.HttpRouteRequestMirrorPolicy.properties.mirrorPercent (Total Keys: 2)
- schemas.HttpRouteRouteAction.properties.directResponse.$ref (Total Keys: 1)
- schemas.HttpRouteRouteAction.properties.idleTimeout (Total Keys: 2)
- schemas.Mesh.properties.envoyHeaders.type (Total Keys: 1)
- schemas.TcpRouteRouteAction.properties.idleTimeout (Total Keys: 2)
- schemas.TlsRouteRouteAction.properties.idleTimeout (Total Keys: 2)

#### networkservices:v1beta1

The following keys were added:
- schemas.Gateway.properties.envoyHeaders.type (Total Keys: 1)
- schemas.GrpcRouteRouteAction.properties.idleTimeout (Total Keys: 2)
- schemas.HttpRouteDestination.properties.requestHeaderModifier.$ref (Total Keys: 1)
- schemas.HttpRouteDestination.properties.responseHeaderModifier.$ref (Total Keys: 1)
- schemas.HttpRouteHttpDirectResponse (Total Keys: 7)
- schemas.HttpRouteRequestMirrorPolicy.properties.mirrorPercent (Total Keys: 2)
- schemas.HttpRouteRouteAction.properties.directResponse.$ref (Total Keys: 1)
- schemas.HttpRouteRouteAction.properties.idleTimeout (Total Keys: 2)
- schemas.Mesh.properties.envoyHeaders.type (Total Keys: 1)
- schemas.TcpRouteRouteAction.properties.idleTimeout (Total Keys: 2)
- schemas.TlsRouteRouteAction.properties.idleTimeout (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Jan 4, 2024
1 parent 944aa1f commit 66f5a6b
Show file tree
Hide file tree
Showing 14 changed files with 622 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/dyn/networkservices_v1.projects.locations.gateways.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ <h3>Method Details</h3>
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
&quot;description&quot;: &quot;A String&quot;, # Optional. A free-text description of the resource. Max length 1024 characters.
&quot;envoyHeaders&quot;: &quot;A String&quot;, # Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers may still be injected. By default, envoy will not insert any debug headers.
&quot;gatewaySecurityPolicy&quot;: &quot;A String&quot;, # Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security policy to inbound (VM to Proxy) initiated connections. For example: `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is specific to gateways of type &#x27;SECURE_WEB_GATEWAY&#x27;.
&quot;ipVersion&quot;: &quot;A String&quot;, # Optional. The IP Version that will be used by this gateway. Valid options are IPV4 or IPV6. Default is IPV4.
&quot;labels&quot;: { # Optional. Set of label tags associated with the Gateway resource.
Expand Down Expand Up @@ -234,6 +235,7 @@ <h3>Method Details</h3>
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
&quot;description&quot;: &quot;A String&quot;, # Optional. A free-text description of the resource. Max length 1024 characters.
&quot;envoyHeaders&quot;: &quot;A String&quot;, # Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers may still be injected. By default, envoy will not insert any debug headers.
&quot;gatewaySecurityPolicy&quot;: &quot;A String&quot;, # Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security policy to inbound (VM to Proxy) initiated connections. For example: `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is specific to gateways of type &#x27;SECURE_WEB_GATEWAY&#x27;.
&quot;ipVersion&quot;: &quot;A String&quot;, # Optional. The IP Version that will be used by this gateway. Valid options are IPV4 or IPV6. Default is IPV4.
&quot;labels&quot;: { # Optional. Set of label tags associated with the Gateway resource.
Expand Down Expand Up @@ -328,6 +330,7 @@ <h3>Method Details</h3>
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
&quot;description&quot;: &quot;A String&quot;, # Optional. A free-text description of the resource. Max length 1024 characters.
&quot;envoyHeaders&quot;: &quot;A String&quot;, # Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers may still be injected. By default, envoy will not insert any debug headers.
&quot;gatewaySecurityPolicy&quot;: &quot;A String&quot;, # Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security policy to inbound (VM to Proxy) initiated connections. For example: `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is specific to gateways of type &#x27;SECURE_WEB_GATEWAY&#x27;.
&quot;ipVersion&quot;: &quot;A String&quot;, # Optional. The IP Version that will be used by this gateway. Valid options are IPV4 or IPV6. Default is IPV4.
&quot;labels&quot;: { # Optional. Set of label tags associated with the Gateway resource.
Expand Down Expand Up @@ -385,6 +388,7 @@ <h3>Method Details</h3>
],
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
&quot;description&quot;: &quot;A String&quot;, # Optional. A free-text description of the resource. Max length 1024 characters.
&quot;envoyHeaders&quot;: &quot;A String&quot;, # Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers may still be injected. By default, envoy will not insert any debug headers.
&quot;gatewaySecurityPolicy&quot;: &quot;A String&quot;, # Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security policy to inbound (VM to Proxy) initiated connections. For example: `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is specific to gateways of type &#x27;SECURE_WEB_GATEWAY&#x27;.
&quot;ipVersion&quot;: &quot;A String&quot;, # Optional. The IP Version that will be used by this gateway. Valid options are IPV4 or IPV6. Default is IPV4.
&quot;labels&quot;: { # Optional. Set of label tags associated with the Gateway resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ <h3>Method Details</h3>
&quot;percentage&quot;: 42, # The percentage of traffic on which delay will be injected. The value must be between [0, 100]
},
},
&quot;idleTimeout&quot;: &quot;A String&quot;, # Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, the default idle timeout is 1 hour. If set to 0s, the timeout will be disabled.
&quot;retryPolicy&quot;: { # The specifications for retries. # Optional. Specifies the retry policy associated with this route.
&quot;numRetries&quot;: 42, # Specifies the allowed number of retries. This number must be &gt; 0. If not specified, default to 1.
&quot;retryConditions&quot;: [ # - connect-failure: Router will retry on failures connecting to Backend Services, for example due to connection timeouts. - refused-stream: Router will retry if the backend service resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: Router will retry if the gRPC status code in the response header is set to cancelled - deadline-exceeded: Router will retry if the gRPC status code in the response header is set to deadline-exceeded - resource-exhausted: Router will retry if the gRPC status code in the response header is set to resource-exhausted - unavailable: Router will retry if the gRPC status code in the response header is set to unavailable
Expand Down Expand Up @@ -293,6 +294,7 @@ <h3>Method Details</h3>
&quot;percentage&quot;: 42, # The percentage of traffic on which delay will be injected. The value must be between [0, 100]
},
},
&quot;idleTimeout&quot;: &quot;A String&quot;, # Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, the default idle timeout is 1 hour. If set to 0s, the timeout will be disabled.
&quot;retryPolicy&quot;: { # The specifications for retries. # Optional. Specifies the retry policy associated with this route.
&quot;numRetries&quot;: 42, # Specifies the allowed number of retries. This number must be &gt; 0. If not specified, default to 1.
&quot;retryConditions&quot;: [ # - connect-failure: Router will retry on failures connecting to Backend Services, for example due to connection timeouts. - refused-stream: Router will retry if the backend service resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: Router will retry if the gRPC status code in the response header is set to cancelled - deadline-exceeded: Router will retry if the gRPC status code in the response header is set to deadline-exceeded - resource-exhausted: Router will retry if the gRPC status code in the response header is set to resource-exhausted - unavailable: Router will retry if the gRPC status code in the response header is set to unavailable
Expand Down Expand Up @@ -381,6 +383,7 @@ <h3>Method Details</h3>
&quot;percentage&quot;: 42, # The percentage of traffic on which delay will be injected. The value must be between [0, 100]
},
},
&quot;idleTimeout&quot;: &quot;A String&quot;, # Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, the default idle timeout is 1 hour. If set to 0s, the timeout will be disabled.
&quot;retryPolicy&quot;: { # The specifications for retries. # Optional. Specifies the retry policy associated with this route.
&quot;numRetries&quot;: 42, # Specifies the allowed number of retries. This number must be &gt; 0. If not specified, default to 1.
&quot;retryConditions&quot;: [ # - connect-failure: Router will retry on failures connecting to Backend Services, for example due to connection timeouts. - refused-stream: Router will retry if the backend service resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: Router will retry if the gRPC status code in the response header is set to cancelled - deadline-exceeded: Router will retry if the gRPC status code in the response header is set to deadline-exceeded - resource-exhausted: Router will retry if the gRPC status code in the response header is set to resource-exhausted - unavailable: Router will retry if the gRPC status code in the response header is set to unavailable
Expand Down Expand Up @@ -477,6 +480,7 @@ <h3>Method Details</h3>
&quot;percentage&quot;: 42, # The percentage of traffic on which delay will be injected. The value must be between [0, 100]
},
},
&quot;idleTimeout&quot;: &quot;A String&quot;, # Optional. Specifies the idle timeout for the selected route. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, the default idle timeout is 1 hour. If set to 0s, the timeout will be disabled.
&quot;retryPolicy&quot;: { # The specifications for retries. # Optional. Specifies the retry policy associated with this route.
&quot;numRetries&quot;: 42, # Specifies the allowed number of retries. This number must be &gt; 0. If not specified, default to 1.
&quot;retryConditions&quot;: [ # - connect-failure: Router will retry on failures connecting to Backend Services, for example due to connection timeouts. - refused-stream: Router will retry if the backend service resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: Router will retry if the gRPC status code in the response header is set to cancelled - deadline-exceeded: Router will retry if the gRPC status code in the response header is set to deadline-exceeded - resource-exhausted: Router will retry if the gRPC status code in the response header is set to resource-exhausted - unavailable: Router will retry if the gRPC status code in the response header is set to unavailable
Expand Down

0 comments on commit 66f5a6b

Please sign in to comment.