Package-level declarations

Types

Link copied to clipboard
data class GetJobIamPolicyResult(val auditConfigs: List<GoogleIamV1AuditConfigResponse>, val bindings: List<GoogleIamV1BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetJobResult(val annotations: Map<String, String>, val binaryAuthorization: GoogleCloudRunV2BinaryAuthorizationResponse, val client: String, val clientVersion: String, val conditions: List<GoogleCloudRunV2ConditionResponse>, val createTime: String, val creator: String, val deleteTime: String, val etag: String, val executionCount: Int, val expireTime: String, val generation: String, val labels: Map<String, String>, val lastModifier: String, val latestCreatedExecution: GoogleCloudRunV2ExecutionReferenceResponse, val launchStage: String, val name: String, val observedGeneration: String, val reconciling: Boolean, val satisfiesPzs: Boolean, val template: GoogleCloudRunV2ExecutionTemplateResponse, val terminalCondition: GoogleCloudRunV2ConditionResponse, val uid: String, val updateTime: String)
Link copied to clipboard
data class GetServiceIamPolicyResult(val auditConfigs: List<GoogleIamV1AuditConfigResponse>, val bindings: List<GoogleIamV1BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetServiceResult(val annotations: Map<String, String>, val binaryAuthorization: GoogleCloudRunV2BinaryAuthorizationResponse, val client: String, val clientVersion: String, val conditions: List<GoogleCloudRunV2ConditionResponse>, val createTime: String, val creator: String, val deleteTime: String, val description: String, val etag: String, val expireTime: String, val generation: String, val ingress: String, val labels: Map<String, String>, val lastModifier: String, val latestCreatedRevision: String, val latestReadyRevision: String, val launchStage: String, val name: String, val observedGeneration: String, val reconciling: Boolean, val satisfiesPzs: Boolean, val template: GoogleCloudRunV2RevisionTemplateResponse, val terminalCondition: GoogleCloudRunV2ConditionResponse, val traffic: List<GoogleCloudRunV2TrafficTargetResponse>, val trafficStatuses: List<GoogleCloudRunV2TrafficTargetStatusResponse>, val uid: String, val updateTime: String, val uri: String)
data class GoogleCloudRunV2BinaryAuthorizationResponse(val breakglassJustification: String, val useDefault: Boolean)

Settings for Binary Authorization feature.

Link copied to clipboard

Represents a set of Cloud SQL instances. Each one will be available under /cloudsql/instance. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.

Link copied to clipboard
data class GoogleCloudRunV2ConditionResponse(val executionReason: String, val lastTransitionTime: String, val message: String, val reason: String, val revisionReason: String, val severity: String, val state: String, val type: String)

Defines a status condition for a resource.

Link copied to clipboard
data class GoogleCloudRunV2ContainerPortResponse(val containerPort: Int, val name: String)

ContainerPort represents a network port in a single container.

Link copied to clipboard
data class GoogleCloudRunV2ContainerResponse(val args: List<String>, val command: List<String>, val dependsOn: List<String>, val env: List<GoogleCloudRunV2EnvVarResponse>, val image: String, val livenessProbe: GoogleCloudRunV2ProbeResponse, val name: String, val ports: List<GoogleCloudRunV2ContainerPortResponse>, val resources: GoogleCloudRunV2ResourceRequirementsResponse, val startupProbe: GoogleCloudRunV2ProbeResponse, val volumeMounts: List<GoogleCloudRunV2VolumeMountResponse>, val workingDir: String)

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.

data class GoogleCloudRunV2EmptyDirVolumeSourceResponse(val medium: String, val sizeLimit: String)

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 GoogleCloudRunV2EnvVarResponse(val name: String, val value: String, val valueSource: GoogleCloudRunV2EnvVarSourceResponse)

EnvVar represents an environment variable present in a Container.

Link copied to clipboard

EnvVarSource represents a source for the value of an EnvVar.

data class GoogleCloudRunV2ExecutionReferenceResponse(val completionTime: String, val createTime: String, val name: String)

Reference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status.

data class GoogleCloudRunV2ExecutionTemplateResponse(val annotations: Map<String, String>, val labels: Map<String, String>, val parallelism: Int, val taskCount: Int, val template: GoogleCloudRunV2TaskTemplateResponse)

ExecutionTemplate describes the data an execution should have when created from a template.

Link copied to clipboard
data class GoogleCloudRunV2GRPCActionResponse(val port: Int, val service: String)

GRPCAction describes an action involving a GRPC port.

Link copied to clipboard
data class GoogleCloudRunV2HTTPGetActionResponse(val httpHeaders: List<GoogleCloudRunV2HTTPHeaderResponse>, val path: String, val port: Int)

HTTPGetAction describes an action based on HTTP Get requests.

Link copied to clipboard
data class GoogleCloudRunV2HTTPHeaderResponse(val name: String, val value: String)

HTTPHeader describes a custom header to be used in HTTP probes

Link copied to clipboard
data class GoogleCloudRunV2ProbeResponse(val failureThreshold: Int, val grpc: GoogleCloudRunV2GRPCActionResponse, val httpGet: GoogleCloudRunV2HTTPGetActionResponse, val initialDelaySeconds: Int, val periodSeconds: Int, val tcpSocket: GoogleCloudRunV2TCPSocketActionResponse, val timeoutSeconds: Int)

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

data class GoogleCloudRunV2ResourceRequirementsResponse(val cpuIdle: Boolean, val limits: Map<String, String>, val startupCpuBoost: Boolean)

ResourceRequirements describes the compute resource requirements.

Link copied to clipboard
data class GoogleCloudRunV2RevisionScalingResponse(val maxInstanceCount: Int, val minInstanceCount: Int)

Settings for revision-level scaling settings.

Link copied to clipboard
data class GoogleCloudRunV2RevisionTemplateResponse(val annotations: Map<String, String>, val containers: List<GoogleCloudRunV2ContainerResponse>, val encryptionKey: String, val executionEnvironment: String, val labels: Map<String, String>, val maxInstanceRequestConcurrency: Int, val revision: String, val scaling: GoogleCloudRunV2RevisionScalingResponse, val serviceAccount: String, val sessionAffinity: Boolean, val timeout: String, val volumes: List<GoogleCloudRunV2VolumeResponse>, val vpcAccess: GoogleCloudRunV2VpcAccessResponse)

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

data class GoogleCloudRunV2SecretKeySelectorResponse(val secret: String, val version: String)

SecretEnvVarSource represents a source for the value of an EnvVar.

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.

Link copied to clipboard
data class GoogleCloudRunV2TaskTemplateResponse(val containers: List<GoogleCloudRunV2ContainerResponse>, val encryptionKey: String, val executionEnvironment: String, val maxRetries: Int, val serviceAccount: String, val timeout: String, val volumes: List<GoogleCloudRunV2VolumeResponse>, val vpcAccess: GoogleCloudRunV2VpcAccessResponse)

TaskTemplate describes the data a task should have when created from a template.

Link copied to clipboard

TCPSocketAction describes an action based on opening a socket

Link copied to clipboard
data class GoogleCloudRunV2TrafficTargetResponse(val percent: Int, val revision: String, val tag: String, val type: String)

Holds a single traffic routing entry for the Service. Allocations can be done to a specific Revision name, or pointing to the latest Ready Revision.

data class GoogleCloudRunV2TrafficTargetStatusResponse(val percent: Int, val revision: String, val tag: String, val type: String, val uri: String)

Represents the observed state of a single TrafficTarget entry.

Link copied to clipboard
data class GoogleCloudRunV2VersionToPathResponse(val mode: Int, val path: String, val version: String)

VersionToPath maps a specific version of a secret to a relative file to mount to, relative to VolumeMount's mount_path.

Link copied to clipboard
data class GoogleCloudRunV2VolumeMountResponse(val mountPath: String, val name: String)

VolumeMount describes a mounting of a Volume within a container.

Link copied to clipboard

Volume represents a named volume in a container.

Link copied to clipboard
data class GoogleCloudRunV2VpcAccessResponse(val connector: String, val egress: String)

VPC Access settings. For more information on creating a VPC Connector, visit https://cloud.google.com/vpc/docs/configure-serverless-vpc-access For information on how to configure Cloud Run with an existing VPC Connector, visit https://cloud.google.com/run/docs/configuring/connecting-vpc

Link copied to clipboard
data class GoogleIamV1AuditConfigResponse(val auditLogConfigs: List<GoogleIamV1AuditLogConfigResponse>, val service: String)

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
data class GoogleIamV1AuditLogConfigResponse(val exemptedMembers: List<String>, val logType: String)

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
data class GoogleIamV1BindingResponse(val condition: GoogleTypeExprResponse, val members: List<String>, val role: String)

Associates members, or principals, with a role.

Link copied to clipboard
data class GoogleTypeExprResponse(val description: String, val expression: String, val location: String, val title: String)

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.