ServiceClassArgs

data class ServiceClassArgs(val description: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null, val serviceClassId: Output<String>? = null) : ConvertibleToJava<ServiceClassArgs>

Creates a new ServiceClass in a given project and location.

Constructors

Link copied to clipboard
fun ServiceClassArgs(description: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, requestId: Output<String>? = null, serviceClassId: Output<String>? = null)

Functions

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

Properties

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

A description of this resource.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

User-defined labels.

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

Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names

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

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

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

Optional. Resource ID (i.e. 'foo' in '.../projects/p/locations/l/serviceClasses/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.