func (c *Client) SetMetricCredentials(application string, credentials []byte) error {
	creds := []params.ApplicationMetricCredential{
		{application, credentials},
	}
	p := params.ApplicationMetricCredentials{Creds: creds}
	results := new(params.ErrorResults)
	err := c.facade.FacadeCall("SetMetricCredentials", p, results)
	if err != nil {
		return errors.Trace(err)
	}
	return errors.Trace(results.OneError())
}
// SetMetricCredentials sets the metric credentials for the application specified.
SetMetricCredentials sets the metric credentials for the application specified.
// SetMetricCredentials sets the metric credentials for the application specified .
func (c *Client) SetMetricCredentials(application string, credentials []byte) error {
	creds := []params.ApplicationMetricCredential{
		{application, credentials},
	}
	p := params.ApplicationMetricCredentials{Creds: creds}
	results := new(params.ErrorResults)
	err := c.facade.FacadeCall("SetMetricCredentials", p, results)
	if err != nil {
		return errors.Trace(err)
	}
	return errors.Trace(results.OneError())
}
func ( c * Client ) SetMetricCredentials ( application string , credentials [ ] byte ) error { creds := [ ] params . ApplicationMetricCredential { { application , credentials } , } p := params . ApplicationMetricCredentials { Creds : creds } results := new ( params . ErrorResults ) err := c . facade . FacadeCall ( " " , p , results ) if err != nil { return errors . Trace ( err ) } return errors . Trace ( results . OneError ( ) ) }
SetMetricCredentials sets the metric credentials for the application specified.
SetMetricCredentials sets the metric credentials for the application specified .