Package-level declarations

Types

Link copied to clipboard
data class AuditConfigArgs(val auditLogConfigs: Output<List<AuditLogConfigArgs>>? = null, val service: Output<String>? = null) : ConvertibleToJava<AuditConfigArgs>

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": "user:aliya@example.com" } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.

Link copied to clipboard
Link copied to clipboard
data class AuditLogConfigArgs(val exemptedMembers: Output<List<String>>? = null, val logType: Output<AuditLogConfigLogType>? = null) : ConvertibleToJava<AuditLogConfigArgs>

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

Link copied to clipboard
Link copied to clipboard
data class BindingArgs(val condition: Output<ExprArgs>? = null, val members: Output<List<String>>? = null, val role: Output<String>? = null) : ConvertibleToJava<BindingArgs>

Associates members, or principals, with a role.

Link copied to clipboard
Link copied to clipboard
data class EndpointMatcherArgs(val metadataLabelMatcher: Output<EndpointMatcherMetadataLabelMatcherArgs>? = null) : ConvertibleToJava<EndpointMatcherArgs>

A definition of a matcher that selects endpoints to which the policies should be applied.

Link copied to clipboard
data class EndpointMatcherMetadataLabelMatcherArgs(val metadataLabelMatchCriteria: Output<EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteria>? = null, val metadataLabels: Output<List<EndpointMatcherMetadataLabelMatcherMetadataLabelsArgs>>? = null) : ConvertibleToJava<EndpointMatcherMetadataLabelMatcherArgs>

The matcher that is based on node metadata presented by xDS clients.

data class EndpointMatcherMetadataLabelMatcherMetadataLabelsArgs(val labelName: Output<String>, val labelValue: Output<String>) : ConvertibleToJava<EndpointMatcherMetadataLabelMatcherMetadataLabelsArgs>

Defines a name-pair value for a single label.

Link copied to clipboard
data class ExprArgs(val description: Output<String>? = null, val expression: Output<String>? = null, val location: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<ExprArgs>

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

Link copied to clipboard

Builder for ExprArgs.

Link copied to clipboard
data class GetEdgeCacheKeysetIamPolicyPlainArgs(val edgeCacheKeysetId: String, val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetEdgeCacheKeysetIamPolicyPlainArgs>
Link copied to clipboard
data class GetEdgeCacheOriginIamPolicyPlainArgs(val edgeCacheOriginId: String, val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetEdgeCacheOriginIamPolicyPlainArgs>
Link copied to clipboard
data class GetEdgeCacheServiceIamPolicyPlainArgs(val edgeCacheServiceId: String, val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetEdgeCacheServiceIamPolicyPlainArgs>
Link copied to clipboard
data class GetEndpointPolicyIamPolicyPlainArgs(val endpointPolicyId: String, val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetEndpointPolicyIamPolicyPlainArgs>
Link copied to clipboard
data class GetEndpointPolicyPlainArgs(val endpointPolicyId: String, val location: String, val project: String? = null) : ConvertibleToJava<GetEndpointPolicyPlainArgs>
Link copied to clipboard
data class GetGatewayIamPolicyPlainArgs(val gatewayId: String, val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetGatewayIamPolicyPlainArgs>
Link copied to clipboard
data class GetGatewayPlainArgs(val gatewayId: String, val location: String, val project: String? = null) : ConvertibleToJava<GetGatewayPlainArgs>
Link copied to clipboard
data class GetGrpcRoutePlainArgs(val grpcRouteId: String, val location: String, val project: String? = null) : ConvertibleToJava<GetGrpcRoutePlainArgs>
Link copied to clipboard
data class GetHttpRoutePlainArgs(val httpRouteId: String, val location: String, val project: String? = null) : ConvertibleToJava<GetHttpRoutePlainArgs>
Link copied to clipboard
data class GetMeshIamPolicyPlainArgs(val location: String, val meshId: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetMeshIamPolicyPlainArgs>
Link copied to clipboard
data class GetMeshPlainArgs(val location: String, val meshId: String, val project: String? = null) : ConvertibleToJava<GetMeshPlainArgs>
Link copied to clipboard
Link copied to clipboard
data class GetServiceBindingIamPolicyPlainArgs(val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null, val serviceBindingId: String) : ConvertibleToJava<GetServiceBindingIamPolicyPlainArgs>
Link copied to clipboard
data class GetServiceBindingPlainArgs(val location: String, val project: String? = null, val serviceBindingId: String) : ConvertibleToJava<GetServiceBindingPlainArgs>
Link copied to clipboard
data class GetTcpRoutePlainArgs(val location: String, val project: String? = null, val tcpRouteId: String) : ConvertibleToJava<GetTcpRoutePlainArgs>
Link copied to clipboard
data class GetTlsRoutePlainArgs(val location: String, val project: String? = null, val tlsRouteId: String) : ConvertibleToJava<GetTlsRoutePlainArgs>
Link copied to clipboard
data class GrpcRouteDestinationArgs(val serviceName: Output<String>, val weight: Output<Int>? = null) : ConvertibleToJava<GrpcRouteDestinationArgs>

The destination to which traffic will be routed.

Link copied to clipboard
data class GrpcRouteFaultInjectionPolicyAbortArgs(val httpStatus: Output<Int>? = null, val percentage: Output<Int>? = null) : ConvertibleToJava<GrpcRouteFaultInjectionPolicyAbortArgs>

Specification of how client requests are aborted as part of fault injection before being sent to a destination.

Link copied to clipboard
data class GrpcRouteFaultInjectionPolicyArgs(val abort: Output<GrpcRouteFaultInjectionPolicyAbortArgs>? = null, val delay: Output<GrpcRouteFaultInjectionPolicyDelayArgs>? = null) : ConvertibleToJava<GrpcRouteFaultInjectionPolicyArgs>

The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

Link copied to clipboard
data class GrpcRouteFaultInjectionPolicyDelayArgs(val fixedDelay: Output<String>? = null, val percentage: Output<Int>? = null) : ConvertibleToJava<GrpcRouteFaultInjectionPolicyDelayArgs>

Specification of how client requests are delayed as part of fault injection before being sent to a destination.

Link copied to clipboard
data class GrpcRouteHeaderMatchArgs(val key: Output<String>, val type: Output<GrpcRouteHeaderMatchType>? = null, val value: Output<String>) : ConvertibleToJava<GrpcRouteHeaderMatchArgs>

A match against a collection of headers.

Link copied to clipboard
data class GrpcRouteMethodMatchArgs(val caseSensitive: Output<Boolean>? = null, val grpcMethod: Output<String>, val grpcService: Output<String>, val type: Output<GrpcRouteMethodMatchType>? = null) : ConvertibleToJava<GrpcRouteMethodMatchArgs>

Specifies a match against a method.

Link copied to clipboard
data class GrpcRouteRetryPolicyArgs(val numRetries: Output<Int>? = null, val retryConditions: Output<List<String>>? = null) : ConvertibleToJava<GrpcRouteRetryPolicyArgs>

The specifications for retries.

Link copied to clipboard
data class GrpcRouteRouteActionArgs(val destinations: Output<List<GrpcRouteDestinationArgs>>? = null, val faultInjectionPolicy: Output<GrpcRouteFaultInjectionPolicyArgs>? = null, val retryPolicy: Output<GrpcRouteRetryPolicyArgs>? = null, val timeout: Output<String>? = null) : ConvertibleToJava<GrpcRouteRouteActionArgs>

Specifies how to route matched traffic.

Link copied to clipboard
data class GrpcRouteRouteMatchArgs(val headers: Output<List<GrpcRouteHeaderMatchArgs>>? = null, val method: Output<GrpcRouteMethodMatchArgs>? = null) : ConvertibleToJava<GrpcRouteRouteMatchArgs>

Criteria for matching traffic. A RouteMatch will be considered to match when all supplied fields match.

Link copied to clipboard
data class GrpcRouteRouteRuleArgs(val action: Output<GrpcRouteRouteActionArgs>, val matches: Output<List<GrpcRouteRouteMatchArgs>>? = null) : ConvertibleToJava<GrpcRouteRouteRuleArgs>

Describes how to route traffic.

Link copied to clipboard
data class HttpRouteCorsPolicyArgs(val allowCredentials: Output<Boolean>? = null, val allowHeaders: Output<List<String>>? = null, val allowMethods: Output<List<String>>? = null, val allowOriginRegexes: Output<List<String>>? = null, val allowOrigins: Output<List<String>>? = null, val disabled: Output<Boolean>? = null, val exposeHeaders: Output<List<String>>? = null, val maxAge: Output<String>? = null) : ConvertibleToJava<HttpRouteCorsPolicyArgs>

The Specification for allowing client side cross-origin requests.

Link copied to clipboard
data class HttpRouteDestinationArgs(val serviceName: Output<String>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<HttpRouteDestinationArgs>

Specifications of a destination to which the request should be routed to.

Link copied to clipboard
data class HttpRouteFaultInjectionPolicyAbortArgs(val httpStatus: Output<Int>? = null, val percentage: Output<Int>? = null) : ConvertibleToJava<HttpRouteFaultInjectionPolicyAbortArgs>

Specification of how client requests are aborted as part of fault injection before being sent to a destination.

Link copied to clipboard
data class HttpRouteFaultInjectionPolicyArgs(val abort: Output<HttpRouteFaultInjectionPolicyAbortArgs>? = null, val delay: Output<HttpRouteFaultInjectionPolicyDelayArgs>? = null) : ConvertibleToJava<HttpRouteFaultInjectionPolicyArgs>

The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced by client proxy on a percentage of requests before sending those requests to the destination service. Similarly requests can be aborted by client proxy for a percentage of requests.

Link copied to clipboard
data class HttpRouteFaultInjectionPolicyDelayArgs(val fixedDelay: Output<String>? = null, val percentage: Output<Int>? = null) : ConvertibleToJava<HttpRouteFaultInjectionPolicyDelayArgs>

Specification of how client requests are delayed as part of fault injection before being sent to a destination.

Link copied to clipboard
data class HttpRouteHeaderMatchArgs(val exactMatch: Output<String>? = null, val header: Output<String>? = null, val invertMatch: Output<Boolean>? = null, val prefixMatch: Output<String>? = null, val presentMatch: Output<Boolean>? = null, val rangeMatch: Output<HttpRouteHeaderMatchIntegerRangeArgs>? = null, val regexMatch: Output<String>? = null, val suffixMatch: Output<String>? = null) : ConvertibleToJava<HttpRouteHeaderMatchArgs>

Specifies how to select a route rule based on HTTP request headers.

Link copied to clipboard
data class HttpRouteHeaderMatchIntegerRangeArgs(val end: Output<Int>? = null, val start: Output<Int>? = null) : ConvertibleToJava<HttpRouteHeaderMatchIntegerRangeArgs>

Represents an integer value range.

Link copied to clipboard
data class HttpRouteHeaderModifierArgs(val add: Output<Map<String, String>>? = null, val remove: Output<List<String>>? = null, val set: Output<Map<String, String>>? = null) : ConvertibleToJava<HttpRouteHeaderModifierArgs>

The specification for modifying HTTP header in HTTP request and HTTP response.

Link copied to clipboard
data class HttpRouteQueryParameterMatchArgs(val exactMatch: Output<String>? = null, val presentMatch: Output<Boolean>? = null, val queryParameter: Output<String>? = null, val regexMatch: Output<String>? = null) : ConvertibleToJava<HttpRouteQueryParameterMatchArgs>

Specifications to match a query parameter in the request.

Link copied to clipboard
data class HttpRouteRedirectArgs(val hostRedirect: Output<String>? = null, val httpsRedirect: Output<Boolean>? = null, val pathRedirect: Output<String>? = null, val portRedirect: Output<Int>? = null, val prefixRewrite: Output<String>? = null, val responseCode: Output<HttpRouteRedirectResponseCode>? = null, val stripQuery: Output<Boolean>? = null) : ConvertibleToJava<HttpRouteRedirectArgs>

The specification for redirecting traffic.

Link copied to clipboard
data class HttpRouteRequestMirrorPolicyArgs(val destination: Output<HttpRouteDestinationArgs>? = null) : ConvertibleToJava<HttpRouteRequestMirrorPolicyArgs>

Specifies the policy on how requests are shadowed to a separate mirrored destination service. The proxy does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.

Link copied to clipboard
data class HttpRouteRetryPolicyArgs(val numRetries: Output<Int>? = null, val perTryTimeout: Output<String>? = null, val retryConditions: Output<List<String>>? = null) : ConvertibleToJava<HttpRouteRetryPolicyArgs>

The specifications for retries.

Link copied to clipboard
data class HttpRouteRouteActionArgs(val corsPolicy: Output<HttpRouteCorsPolicyArgs>? = null, val destinations: Output<List<HttpRouteDestinationArgs>>? = null, val faultInjectionPolicy: Output<HttpRouteFaultInjectionPolicyArgs>? = null, val redirect: Output<HttpRouteRedirectArgs>? = null, val requestHeaderModifier: Output<HttpRouteHeaderModifierArgs>? = null, val requestMirrorPolicy: Output<HttpRouteRequestMirrorPolicyArgs>? = null, val responseHeaderModifier: Output<HttpRouteHeaderModifierArgs>? = null, val retryPolicy: Output<HttpRouteRetryPolicyArgs>? = null, val timeout: Output<String>? = null, val urlRewrite: Output<HttpRouteURLRewriteArgs>? = null) : ConvertibleToJava<HttpRouteRouteActionArgs>

The specifications for routing traffic and applying associated policies.

Link copied to clipboard
data class HttpRouteRouteMatchArgs(val fullPathMatch: Output<String>? = null, val headers: Output<List<HttpRouteHeaderMatchArgs>>? = null, val ignoreCase: Output<Boolean>? = null, val prefixMatch: Output<String>? = null, val queryParameters: Output<List<HttpRouteQueryParameterMatchArgs>>? = null, val regexMatch: Output<String>? = null) : ConvertibleToJava<HttpRouteRouteMatchArgs>

RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will match if ALL type of matches are matched.

Link copied to clipboard
data class HttpRouteRouteRuleArgs(val action: Output<HttpRouteRouteActionArgs>? = null, val matches: Output<List<HttpRouteRouteMatchArgs>>? = null) : ConvertibleToJava<HttpRouteRouteRuleArgs>

Specifies how to match traffic and how to route traffic when traffic is matched.

Link copied to clipboard
data class HttpRouteURLRewriteArgs(val hostRewrite: Output<String>? = null, val pathPrefixRewrite: Output<String>? = null) : ConvertibleToJava<HttpRouteURLRewriteArgs>

The specification for modifying the URL of the request, prior to forwarding the request to the destination.

Link copied to clipboard
data class TcpRouteRouteActionArgs(val destinations: Output<List<TcpRouteRouteDestinationArgs>>? = null, val originalDestination: Output<Boolean>? = null) : ConvertibleToJava<TcpRouteRouteActionArgs>

The specifications for routing traffic and applying associated policies.

Link copied to clipboard
data class TcpRouteRouteDestinationArgs(val serviceName: Output<String>, val weight: Output<Int>? = null) : ConvertibleToJava<TcpRouteRouteDestinationArgs>

Describe the destination for traffic to be routed to.

Link copied to clipboard
data class TcpRouteRouteMatchArgs(val address: Output<String>, val port: Output<String>) : ConvertibleToJava<TcpRouteRouteMatchArgs>

RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.

Link copied to clipboard
data class TcpRouteRouteRuleArgs(val action: Output<TcpRouteRouteActionArgs>, val matches: Output<List<TcpRouteRouteMatchArgs>>? = null) : ConvertibleToJava<TcpRouteRouteRuleArgs>

Specifies how to match traffic and how to route traffic when traffic is matched.

Link copied to clipboard
data class TlsRouteRouteActionArgs(val destinations: Output<List<TlsRouteRouteDestinationArgs>>) : ConvertibleToJava<TlsRouteRouteActionArgs>

The specifications for routing traffic and applying associated policies.

Link copied to clipboard
data class TlsRouteRouteDestinationArgs(val serviceName: Output<String>, val weight: Output<Int>? = null) : ConvertibleToJava<TlsRouteRouteDestinationArgs>

Describe the destination for traffic to be routed to.

Link copied to clipboard
data class TlsRouteRouteMatchArgs(val alpn: Output<List<String>>? = null, val sniHost: Output<List<String>>? = null) : ConvertibleToJava<TlsRouteRouteMatchArgs>

RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.

Link copied to clipboard
data class TlsRouteRouteRuleArgs(val action: Output<TlsRouteRouteActionArgs>, val matches: Output<List<TlsRouteRouteMatchArgs>>) : ConvertibleToJava<TlsRouteRouteRuleArgs>

Specifies how to match traffic and how to route traffic when traffic is matched.

Link copied to clipboard
data class TrafficPortSelectorArgs(val ports: Output<List<String>>? = null) : ConvertibleToJava<TrafficPortSelectorArgs>

Specification of a port-based selector.