def METHOD_NAME(self, metric_entity, metric_entity_uuid, metric_ids):
    # To get the metric data need to create metric query object
    mq_req = MetricsQuery()  # protobuf
    mq_req.metric_entity = metric_entity
    mq_req.entity_uuid = metric_entity_uuid
    mq_req.metric_id = metric_ids
    mq_req.step = 300
    mq_req.limit = 12
    # metric data can be fetched from analytics resource
    analytics_resource = sdk.resource(AviObjectType.ANALYTICS)
    metric_obj = analytics_resource.get(mq_req)
    print(metric_obj)