getServiceAttributes
abstract suspend fun getServiceAttributes(input: GetServiceAttributesRequest): GetServiceAttributesResponse
Returns the attributes associated with a specified service.
Samples
fun main() {
//sampleStart
// This example gets the attributes for a specified service.
val resp = serviceDiscoveryClient.getServiceAttributes {
serviceId = "srv-e4anhexample0004"
}
//sampleEnd
}