Skip to main content

GetGroupClient

GetGroupClient retrieves the client compliance profile associated with a specific group.

This allows fetching the compliance details of the client that is owned by the specified group, using the group's resource name as the lookup key.

Method Options​

Authorisation specification of the GetGroupClient method.

TypeMETHOD_TYPE_READ
Access LevelMETHOD_ACCESS_LEVEL_AUTHORISED
Roles
  • ROLE_COMPLIANCE_ADMIN
  • ROLE_COMPLIANCE_VIEWER
  • ROLE_COMPLIANCE_CLIENT_ADMIN
  • ROLE_COMPLIANCE_CLIENT_VIEWER

Parameters​

Request and response parameter message overview:

Input: GetGroupClientRequest Message​

FieldTypeRequiredDescription
Group

string

True

The resource name of the group whose client is to be retrieved. Format: "groups/{group_id}"

Returns: Client Message​

Code Examples​

Select supported SDK in the language of your choice for a full example of how to invoke the this method:

package main

import (
"context"
"log"

clientv1 "github.com/meshtrade/api/go/compliance/client/v1"
)

func main() {
ctx := context.Background()

// Default configuration is used and credentials come from MESH_API_CREDENTIALS
// environment variable or default discovery methods. Zero config required
// unless you want custom configuration.
service, err := clientv1.NewClientService()
if err != nil {
log.Fatalf("Failed to create service: %v", err)
}
defer service.Close()

// Create request with service-specific parameters
request := &clientv1.GetGroupClientRequest{
// FIXME: Populate service-specific request fields
}

// Call the GetGroupClient method
client, err := service.GetGroupClient(ctx, request)
if err != nil {
log.Fatalf("GetGroupClient failed: %v", err)
}

// FIXME: Add relevant response object usage
log.Printf("GetGroupClient successful: %+v", client)
}

Advanced Configuration​

For advanced client configuration options (custom endpoints, TLS settings, timeouts), see the SDK Configuration Guide.

Other Methods​