// Code generated by sdkgen. DO NOT EDIT.

package metering

import (
	"context"

	"google.golang.org/grpc"
)

// Metering provides access to "metering" component of Yandex.Cloud
type Metering struct {
	getConn func(ctx context.Context) (*grpc.ClientConn, error)
}

// NewMetering creates instance of Metering
func NewMetering(g func(ctx context.Context) (*grpc.ClientConn, error)) *Metering {
	return &Metering{g}
}

// ImageProductUsage gets ImageProductUsageService client
func (m *Metering) ImageProductUsage() *ImageProductUsageServiceClient {
	return &ImageProductUsageServiceClient{getConn: m.getConn}
}
