Skip to content

Commit

Permalink
Regen Monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
landrito committed Oct 21, 2016
1 parent 97207ec commit 4cabe94
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion packages/monitoring/src/v3/group_service_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,10 @@ function GroupServiceApiBuilder(gaxGrpc) {
return new GroupServiceApiBuilder(gaxGrpc);
}

var groupServiceClient = require('grpc-google-monitoring-v3').client;
var groupServiceClient = gaxGrpc.load([{
root: require('google-proto-files')('..'),
file: 'google/monitoring/v3/group_service.proto'
}]);
extend(this, groupServiceClient.google.monitoring.v3);

var grpcClients = {
Expand Down
9 changes: 6 additions & 3 deletions packages/monitoring/src/v3/metric_service_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ MetricServiceApi.prototype.matchProjectFromProjectName = function(projectName) {
/**
* Returns a fully-qualified metric_descriptor resource name string.
* @param {String} project
* @param {String} metric_descriptor
* @param {String} metricDescriptor
* @returns {String}
*/
MetricServiceApi.prototype.metricDescriptorPath = function(project, metricDescriptor) {
Expand Down Expand Up @@ -191,7 +191,7 @@ MetricServiceApi.prototype.matchMetricDescriptorFromMetricDescriptorName = funct
/**
* Returns a fully-qualified monitored_resource_descriptor resource name string.
* @param {String} project
* @param {String} monitored_resource_descriptor
* @param {String} monitoredResourceDescriptor
* @returns {String}
*/
MetricServiceApi.prototype.monitoredResourceDescriptorPath = function(project, monitoredResourceDescriptor) {
Expand Down Expand Up @@ -693,7 +693,10 @@ function MetricServiceApiBuilder(gaxGrpc) {
return new MetricServiceApiBuilder(gaxGrpc);
}

var metricServiceClient = require('grpc-google-monitoring-v3').client;
var metricServiceClient = gaxGrpc.load([{
root: require('google-proto-files')('..'),
file: 'google/monitoring/v3/metric_service.proto'
}]);
extend(this, metricServiceClient.google.monitoring.v3);

var grpcClients = {
Expand Down

0 comments on commit 4cabe94

Please sign in to comment.