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 ConfigMapEnvSourceArgs(val localObjectReference: Output<LocalObjectReferenceArgs>? = null, val name: Output<String>? = null, val optional: Output<Boolean>? = null) : ConvertibleToJava<ConfigMapEnvSourceArgs>

Not supported by Cloud Run. ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.

Link copied to clipboard
data class ConfigMapKeySelectorArgs(val key: Output<String>, val localObjectReference: Output<LocalObjectReferenceArgs>? = null, val name: Output<String>, val optional: Output<Boolean>? = null) : ConvertibleToJava<ConfigMapKeySelectorArgs>

Not supported by Cloud Run.

Link copied to clipboard
data class ConfigMapVolumeSourceArgs(val defaultMode: Output<Int>? = null, val items: Output<List<KeyToPathArgs>>? = null, val name: Output<String>? = null, val optional: Output<Boolean>? = null) : ConvertibleToJava<ConfigMapVolumeSourceArgs>

Not supported by Cloud Run. Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths.

Link copied to clipboard
data class ContainerArgs(val args: Output<List<String>>? = null, val command: Output<List<String>>? = null, val env: Output<List<EnvVarArgs>>? = null, val envFrom: Output<List<EnvFromSourceArgs>>? = null, val image: Output<String>, val imagePullPolicy: Output<String>? = null, val livenessProbe: Output<ProbeArgs>? = null, val name: Output<String>? = null, val ports: Output<List<ContainerPortArgs>>? = null, val readinessProbe: Output<ProbeArgs>? = null, val resources: Output<ResourceRequirementsArgs>? = null, val securityContext: Output<SecurityContextArgs>? = null, val startupProbe: Output<ProbeArgs>? = null, val terminationMessagePath: Output<String>? = null, val terminationMessagePolicy: Output<String>? = null, val volumeMounts: Output<List<VolumeMountArgs>>? = null, val workingDir: Output<String>? = null) : ConvertibleToJava<ContainerArgs>

A single application container. This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments may be supplied by the system to the container at runtime.

Link copied to clipboard
Link copied to clipboard
data class ContainerPortArgs(val containerPort: Output<Int>? = null, val name: Output<String>? = null, val protocol: Output<String>? = null) : ConvertibleToJava<ContainerPortArgs>

ContainerPort represents a network port in a single container.

Link copied to clipboard
Link copied to clipboard
data class DomainMappingSpecArgs(val certificateMode: Output<DomainMappingSpecCertificateMode>? = null, val forceOverride: Output<Boolean>? = null, val routeName: Output<String>? = null) : ConvertibleToJava<DomainMappingSpecArgs>

The desired state of the Domain Mapping.

Link copied to clipboard
data class EmptyDirVolumeSourceArgs(val medium: Output<String>? = null, val sizeLimit: Output<String>? = null) : ConvertibleToJava<EmptyDirVolumeSourceArgs>

Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).

Link copied to clipboard
data class EnvFromSourceArgs(val configMapRef: Output<ConfigMapEnvSourceArgs>? = null, val prefix: Output<String>? = null, val secretRef: Output<SecretEnvSourceArgs>? = null) : ConvertibleToJava<EnvFromSourceArgs>

Not supported by Cloud Run. EnvFromSource represents the source of a set of ConfigMaps

Link copied to clipboard
Link copied to clipboard
data class EnvVarArgs(val name: Output<String>, val value: Output<String>? = null, val valueFrom: Output<EnvVarSourceArgs>? = null) : ConvertibleToJava<EnvVarArgs>

EnvVar represents an environment variable present in a Container.

Link copied to clipboard

Builder for EnvVarArgs.

Link copied to clipboard
data class EnvVarSourceArgs(val configMapKeyRef: Output<ConfigMapKeySelectorArgs>? = null, val secretKeyRef: Output<SecretKeySelectorArgs>? = null) : ConvertibleToJava<EnvVarSourceArgs>

EnvVarSource represents a source for the value of an EnvVar.

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

Not supported by Cloud Run. ExecAction describes a "run in container" action.

Link copied to clipboard
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 GetDomainMappingPlainArgs(val domainmappingId: String, val location: String, val project: String? = null) : ConvertibleToJava<GetDomainMappingPlainArgs>
Link copied to clipboard
data class GetJobIamPolicyPlainArgs(val jobId: String, val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetJobIamPolicyPlainArgs>
Link copied to clipboard
data class GetJobPlainArgs(val jobId: String, val namespaceId: String) : ConvertibleToJava<GetJobPlainArgs>
Link copied to clipboard
Link copied to clipboard
data class GetServiceIamPolicyPlainArgs(val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null, val serviceId: String) : ConvertibleToJava<GetServiceIamPolicyPlainArgs>
Link copied to clipboard
data class GetServicePlainArgs(val location: String, val project: String? = null, val serviceId: String) : ConvertibleToJava<GetServicePlainArgs>
Link copied to clipboard
data class GRPCActionArgs(val port: Output<Int>? = null, val service: Output<String>? = null) : ConvertibleToJava<GRPCActionArgs>

GRPCAction describes an action involving a GRPC port.

Link copied to clipboard
Link copied to clipboard
data class HTTPGetActionArgs(val host: Output<String>? = null, val httpHeaders: Output<List<HTTPHeaderArgs>>? = null, val path: Output<String>? = null, val port: Output<Int>? = null, val scheme: Output<String>? = null) : ConvertibleToJava<HTTPGetActionArgs>

HTTPGetAction describes an action based on HTTP Get requests.

Link copied to clipboard
Link copied to clipboard
data class HTTPHeaderArgs(val name: Output<String>, val value: Output<String>? = null) : ConvertibleToJava<HTTPHeaderArgs>

HTTPHeader describes a custom header to be used in HTTP probes

Link copied to clipboard
Link copied to clipboard
data class KeyToPathArgs(val key: Output<String>? = null, val mode: Output<Int>? = null, val path: Output<String>? = null) : ConvertibleToJava<KeyToPathArgs>

Maps a string key to a path within a volume.

Link copied to clipboard
Link copied to clipboard
data class LocalObjectReferenceArgs(val name: Output<String>? = null) : ConvertibleToJava<LocalObjectReferenceArgs>

Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.

Link copied to clipboard
data class ObjectMetaArgs(val annotations: Output<Map<String, String>>? = null, val clusterName: Output<String>? = null, val creationTimestamp: Output<String>? = null, val deletionGracePeriodSeconds: Output<Int>? = null, val deletionTimestamp: Output<String>? = null, val finalizers: Output<List<String>>? = null, val generateName: Output<String>? = null, val generation: Output<Int>? = null, val labels: Output<Map<String, String>>? = null, val name: Output<String>, val namespace: Output<String>, val ownerReferences: Output<List<OwnerReferenceArgs>>? = null, val resourceVersion: Output<String>? = null, val selfLink: Output<String>? = null, val uid: Output<String>? = null) : ConvertibleToJava<ObjectMetaArgs>

k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

Link copied to clipboard
Link copied to clipboard
data class OwnerReferenceArgs(val apiVersion: Output<String>? = null, val blockOwnerDeletion: Output<Boolean>? = null, val controller: Output<Boolean>? = null, val kind: Output<String>? = null, val name: Output<String>? = null, val uid: Output<String>? = null) : ConvertibleToJava<OwnerReferenceArgs>

This is not supported or used by Cloud Run.

Link copied to clipboard
Link copied to clipboard
data class ProbeArgs(val exec: Output<ExecActionArgs>? = null, val failureThreshold: Output<Int>? = null, val grpc: Output<GRPCActionArgs>? = null, val httpGet: Output<HTTPGetActionArgs>? = null, val initialDelaySeconds: Output<Int>? = null, val periodSeconds: Output<Int>? = null, val successThreshold: Output<Int>? = null, val tcpSocket: Output<TCPSocketActionArgs>? = null, val timeoutSeconds: Output<Int>? = null) : ConvertibleToJava<ProbeArgs>

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

Link copied to clipboard

Builder for ProbeArgs.

Link copied to clipboard
data class ResourceRequirementsArgs(val limits: Output<Map<String, String>>? = null, val requests: Output<Map<String, String>>? = null) : ConvertibleToJava<ResourceRequirementsArgs>

ResourceRequirements describes the compute resource requirements.

Link copied to clipboard
data class RevisionSpecArgs(val containerConcurrency: Output<Int>? = null, val containers: Output<List<ContainerArgs>>? = null, val enableServiceLinks: Output<Boolean>? = null, val imagePullSecrets: Output<List<LocalObjectReferenceArgs>>? = null, val serviceAccountName: Output<String>? = null, val timeoutSeconds: Output<Int>? = null, val volumes: Output<List<VolumeArgs>>? = null) : ConvertibleToJava<RevisionSpecArgs>

RevisionSpec holds the desired state of the Revision (from the client).

Link copied to clipboard
Link copied to clipboard
data class RevisionTemplateArgs(val metadata: Output<ObjectMetaArgs>? = null, val spec: Output<RevisionSpecArgs>? = null) : ConvertibleToJava<RevisionTemplateArgs>

RevisionTemplateSpec describes the data a revision should have when created from a template.

Link copied to clipboard
data class SecretEnvSourceArgs(val localObjectReference: Output<LocalObjectReferenceArgs>? = null, val name: Output<String>? = null, val optional: Output<Boolean>? = null) : ConvertibleToJava<SecretEnvSourceArgs>

Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.

Link copied to clipboard
data class SecretKeySelectorArgs(val key: Output<String>, val localObjectReference: Output<LocalObjectReferenceArgs>? = null, val name: Output<String>? = null, val optional: Output<Boolean>? = null) : ConvertibleToJava<SecretKeySelectorArgs>

SecretKeySelector selects a key of a Secret.

Link copied to clipboard
data class SecretVolumeSourceArgs(val defaultMode: Output<Int>? = null, val items: Output<List<KeyToPathArgs>>? = null, val optional: Output<Boolean>? = null, val secretName: Output<String>? = null) : ConvertibleToJava<SecretVolumeSourceArgs>

A volume representing a secret stored in Google Secret Manager. The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name. The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names.

Link copied to clipboard
data class SecurityContextArgs(val runAsUser: Output<Int>? = null) : ConvertibleToJava<SecurityContextArgs>

Not supported by Cloud Run. SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.

Link copied to clipboard
data class ServiceSpecArgs(val template: Output<RevisionTemplateArgs>? = null, val traffic: Output<List<TrafficTargetArgs>>? = null) : ConvertibleToJava<ServiceSpecArgs>

ServiceSpec holds the desired state of the Route (from the client), which is used to manipulate the underlying Route and Configuration(s).

Link copied to clipboard
Link copied to clipboard
data class TCPSocketActionArgs(val host: Output<String>? = null, val port: Output<Int>? = null) : ConvertibleToJava<TCPSocketActionArgs>

TCPSocketAction describes an action based on opening a socket

Link copied to clipboard
data class TrafficTargetArgs(val configurationName: Output<String>? = null, val latestRevision: Output<Boolean>? = null, val percent: Output<Int>? = null, val revisionName: Output<String>? = null, val tag: Output<String>? = null) : ConvertibleToJava<TrafficTargetArgs>

TrafficTarget holds a single entry of the routing table for a Route.

Link copied to clipboard
Link copied to clipboard
data class VolumeArgs(val configMap: Output<ConfigMapVolumeSourceArgs>? = null, val emptyDir: Output<EmptyDirVolumeSourceArgs>? = null, val name: Output<String>? = null, val secret: Output<SecretVolumeSourceArgs>? = null) : ConvertibleToJava<VolumeArgs>

Volume represents a named volume in a container.

Link copied to clipboard

Builder for VolumeArgs.

Link copied to clipboard
data class VolumeMountArgs(val mountPath: Output<String>, val name: Output<String>, val readOnly: Output<Boolean>? = null, val subPath: Output<String>? = null) : ConvertibleToJava<VolumeMountArgs>

VolumeMount describes a mounting of a Volume within a container.

Link copied to clipboard