ServiceConnectionPolicyArgs

data class ServiceConnectionPolicyArgs(val description: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val network: Output<String>? = null, val project: Output<String>? = null, val pscConfig: Output<PscConfigArgs>? = null, val requestId: Output<String>? = null, val serviceClass: Output<String>? = null, val serviceConnectionPolicyId: Output<String>? = null) : ConvertibleToJava<ServiceConnectionPolicyArgs>

Creates a new ServiceConnectionPolicy in a given project and location.

Constructors

Link copied to clipboard
fun ServiceConnectionPolicyArgs(description: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, name: Output<String>? = null, network: Output<String>? = null, project: Output<String>? = null, pscConfig: Output<PscConfigArgs>? = null, requestId: Output<String>? = null, serviceClass: Output<String>? = null, serviceConnectionPolicyId: Output<String>? = null)

Functions

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

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 ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names

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

The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.

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

Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.

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 serviceClass: Output<String>? = null

The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.

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

Optional. Resource ID (i.e. 'foo' in '.../projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.