ApiArgs

data class ApiArgs(val apiId: Output<String>? = null, val displayName: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val managedService: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<ApiArgs>

Creates a new Api in a given project and location. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun ApiArgs(apiId: Output<String>? = null, displayName: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, managedService: Output<String>? = null, project: Output<String>? = null)

Functions

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

Properties

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

Required. Identifier to assign to the API. Must be unique within scope of the parent resource.

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

Optional. Display name.

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

Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

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

Optional. Immutable. The name of a Google Managed Service ( https://cloud.google.com/service-infrastructure/docs/glossary#managed). If not specified, a new Service will automatically be created in the same project as this API.

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