package main

import (
	"context"

	talent "cloud.google.com/go/talent/apiv4"
	talentpb "google.golang.org/genproto/googleapis/cloud/talent/v4"
)

func main() {
	ctx := context.Background()
	c, err := talent.NewTenantClient(ctx)
	if err != nil {
		// TODO: Handle error.
	}
	defer c.Close()

	req := &talentpb.DeleteTenantRequest{
		// TODO: Fill request struct fields.
		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/talent/v4#DeleteTenantRequest.
	}
	err = c.DeleteTenant(ctx, req)
	if err != nil {
		// TODO: Handle error.
	}
}

// [END jobs_v4_generated_TenantService_DeleteTenant_sync]
