Package-level declarations

Types

Link copied to clipboard
data class AcceleratorResponse(val count: Int, val type: String)

An accelerator card attached to the instance.

Link copied to clipboard
data class AuditConfigResponse(val auditLogConfigs: List<AuditLogConfigResponse>, 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 AuditLogConfigResponse(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 BindingResponse(val condition: ExprResponse, val members: List<String>, val role: String)

Associates members, or principals, with a role.

Link copied to clipboard
data class ContainerResponse(val args: List<String>, val command: List<String>, val env: Map<String, String>, val image: String, val runAsUser: Int, val workingDir: String)

A Docker container.

Link copied to clipboard
data class CustomerEncryptionKeyResponse(val kmsKey: String, val kmsKeyServiceAccount: String)

A customer-managed encryption key for the Compute Engine resources of this workstation configuration.

Link copied to clipboard
data class ExprResponse(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.

Link copied to clipboard
data class GceConfidentialInstanceConfigResponse(val enableConfidentialCompute: Boolean)

A set of Compute Engine Confidential VM instance options.

Link copied to clipboard
data class GceInstanceResponse(val accelerators: List<AcceleratorResponse>, val bootDiskSizeGb: Int, val confidentialInstanceConfig: GceConfidentialInstanceConfigResponse, val disablePublicIpAddresses: Boolean, val machineType: String, val poolSize: Int, val pooledInstances: Int, val serviceAccount: String, val shieldedInstanceConfig: GceShieldedInstanceConfigResponse, val tags: List<String>)

A runtime using a Compute Engine instance.

Link copied to clipboard
data class GceRegionalPersistentDiskResponse(val diskType: String, val fsType: String, val reclaimPolicy: String, val sizeGb: Int, val sourceSnapshot: String)

A PersistentDirectory backed by a Compute Engine regional persistent disk.

Link copied to clipboard
data class GceShieldedInstanceConfigResponse(val enableIntegrityMonitoring: Boolean, val enableSecureBoot: Boolean, val enableVtpm: Boolean)

A set of Compute Engine Shielded instance options.

Link copied to clipboard
data class GetWorkstationClusterResult(val annotations: Map<String, String>, val conditions: List<StatusResponse>, val controlPlaneIp: String, val createTime: String, val degraded: Boolean, val deleteTime: String, val displayName: String, val etag: String, val labels: Map<String, String>, val name: String, val network: String, val privateClusterConfig: PrivateClusterConfigResponse, val reconciling: Boolean, val subnetwork: String, val uid: String, val updateTime: String)
data class GetWorkstationClusterWorkstationConfigIamPolicyResult(val auditConfigs: List<AuditConfigResponse>, val bindings: List<BindingResponse>, val etag: String, val version: Int)
Link copied to clipboard
data class GetWorkstationConfigResult(val annotations: Map<String, String>, val conditions: List<StatusResponse>, val container: ContainerResponse, val createTime: String, val degraded: Boolean, val deleteTime: String, val displayName: String, val enableAuditAgent: Boolean, val encryptionKey: CustomerEncryptionKeyResponse, val etag: String, val host: HostResponse, val idleTimeout: String, val labels: Map<String, String>, val name: String, val persistentDirectories: List<PersistentDirectoryResponse>, val readinessChecks: List<ReadinessCheckResponse>, val reconciling: Boolean, val runningTimeout: String, val uid: String, val updateTime: String)
Link copied to clipboard
data class GetWorkstationResult(val annotations: Map<String, String>, val createTime: String, val deleteTime: String, val displayName: String, val env: Map<String, String>, val etag: String, val host: String, val labels: Map<String, String>, val name: String, val reconciling: Boolean, val state: String, val uid: String, val updateTime: String)
Link copied to clipboard
data class HostResponse(val gceInstance: GceInstanceResponse)

Runtime host for a workstation.

Link copied to clipboard

A directory to persist across workstation sessions.

Link copied to clipboard
data class PrivateClusterConfigResponse(val allowedProjects: List<String>, val clusterHostname: String, val enablePrivateEndpoint: Boolean, val serviceAttachmentUri: String)

Configuration options for private clusters.

Link copied to clipboard
data class ReadinessCheckResponse(val path: String, val port: Int)

A readiness check to be performed on a workstation.

Link copied to clipboard
data class StatusResponse(val code: Int, val details: List<Map<String, String>>, val message: String)

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.