V2ApiTargetArgs

data class V2ApiTargetArgs(val methods: Output<List<String>>? = null, val service: Output<String>? = null) : ConvertibleToJava<V2ApiTargetArgs>

A restriction for a specific service and optionally one or multiple specific methods. Both fields are case insensitive.

Constructors

Link copied to clipboard
fun V2ApiTargetArgs(methods: Output<List<String>>? = null, service: Output<String>? = null)

Functions

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

Properties

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

Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: google.cloud.translate.v2.TranslateService.GetSupportedLanguage TranslateText Get* translate.googleapis.com.Get*

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

The service for this restriction. It should be the canonical service name, for example: translate.googleapis.com. You can use /sdk/gcloud/reference/services/list to get a list of services that are enabled in the project.