InstanceArgs

data class InstanceArgs(val featurePolicy: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyArgs>? = null, val instanceId: Output<String>? = null, val location: Output<String>? = null, val parent: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<InstanceArgs>

Creates a new instance in the specified region. Returns a long running operation which contains an instance on completion. While the long running operation is in progress, any call to GetInstance returns an instance in state CREATING. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun InstanceArgs(featurePolicy: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyArgs>? = null, instanceId: Output<String>? = null, location: Output<String>? = null, parent: Output<String>? = null, project: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): InstanceArgs

Properties

Link copied to clipboard

The policy to define whether or not RBE features can be used or how they can be used.

Link copied to clipboard
val instanceId: Output<String>? = null

ID of the created instance. A valid instance_id must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.

Link copied to clipboard
val location: Output<String>? = null

The location is a GCP region. Currently only us-central1 is supported.

Link copied to clipboard
val parent: Output<String>? = null

Resource name of the project containing the instance. Format: projects/[PROJECT_ID].

Link copied to clipboard
val project: Output<String>? = null