Skip to content

Commit

Permalink
Regenerate monitoring client (#4642)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and andrey-qlogic committed Mar 6, 2019
1 parent 45f3a1f commit 2b69989
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.monitoring.v3.stub.AlertPolicyServiceStub;
import com.google.cloud.monitoring.v3.stub.AlertPolicyServiceStubSettings;
import com.google.common.util.concurrent.MoreExecutors;
import com.google.monitoring.v3.AlertPolicy;
import com.google.monitoring.v3.AlertPolicyName;
import com.google.monitoring.v3.CreateAlertPolicyRequest;
Expand Down Expand Up @@ -758,7 +759,8 @@ public static ApiFuture<ListAlertPoliciesPagedResponse> createAsync(
public ListAlertPoliciesPagedResponse apply(ListAlertPoliciesPage input) {
return new ListAlertPoliciesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListAlertPoliciesPagedResponse(ListAlertPoliciesPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.monitoring.v3.stub.GroupServiceStub;
import com.google.cloud.monitoring.v3.stub.GroupServiceStubSettings;
import com.google.common.util.concurrent.MoreExecutors;
import com.google.monitoring.v3.CreateGroupRequest;
import com.google.monitoring.v3.DeleteGroupRequest;
import com.google.monitoring.v3.GetGroupRequest;
Expand Down Expand Up @@ -790,7 +791,8 @@ public static ApiFuture<ListGroupsPagedResponse> createAsync(
public ListGroupsPagedResponse apply(ListGroupsPage input) {
return new ListGroupsPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListGroupsPagedResponse(ListGroupsPage page) {
Expand Down Expand Up @@ -869,7 +871,8 @@ public static ApiFuture<ListGroupMembersPagedResponse> createAsync(
public ListGroupMembersPagedResponse apply(ListGroupMembersPage input) {
return new ListGroupMembersPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListGroupMembersPagedResponse(ListGroupMembersPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.monitoring.v3.stub.MetricServiceStub;
import com.google.cloud.monitoring.v3.stub.MetricServiceStubSettings;
import com.google.common.util.concurrent.MoreExecutors;
import com.google.monitoring.v3.CreateMetricDescriptorRequest;
import com.google.monitoring.v3.CreateTimeSeriesRequest;
import com.google.monitoring.v3.DeleteMetricDescriptorRequest;
Expand Down Expand Up @@ -1239,7 +1240,8 @@ public ListMonitoredResourceDescriptorsPagedResponse apply(
ListMonitoredResourceDescriptorsPage input) {
return new ListMonitoredResourceDescriptorsPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListMonitoredResourceDescriptorsPagedResponse(
Expand Down Expand Up @@ -1337,7 +1339,8 @@ public static ApiFuture<ListMetricDescriptorsPagedResponse> createAsync(
public ListMetricDescriptorsPagedResponse apply(ListMetricDescriptorsPage input) {
return new ListMetricDescriptorsPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListMetricDescriptorsPagedResponse(ListMetricDescriptorsPage page) {
Expand Down Expand Up @@ -1424,7 +1427,8 @@ public static ApiFuture<ListTimeSeriesPagedResponse> createAsync(
public ListTimeSeriesPagedResponse apply(ListTimeSeriesPage input) {
return new ListTimeSeriesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListTimeSeriesPagedResponse(ListTimeSeriesPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.monitoring.v3.stub.NotificationChannelServiceStub;
import com.google.cloud.monitoring.v3.stub.NotificationChannelServiceStubSettings;
import com.google.common.util.concurrent.MoreExecutors;
import com.google.monitoring.v3.CreateNotificationChannelRequest;
import com.google.monitoring.v3.DeleteNotificationChannelRequest;
import com.google.monitoring.v3.GetNotificationChannelDescriptorRequest;
Expand Down Expand Up @@ -1043,7 +1044,8 @@ public ListNotificationChannelDescriptorsPagedResponse apply(
ListNotificationChannelDescriptorsPage input) {
return new ListNotificationChannelDescriptorsPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListNotificationChannelDescriptorsPagedResponse(
Expand Down Expand Up @@ -1144,7 +1146,8 @@ public static ApiFuture<ListNotificationChannelsPagedResponse> createAsync(
public ListNotificationChannelsPagedResponse apply(ListNotificationChannelsPage input) {
return new ListNotificationChannelsPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListNotificationChannelsPagedResponse(ListNotificationChannelsPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.monitoring.v3.stub.UptimeCheckServiceStub;
import com.google.cloud.monitoring.v3.stub.UptimeCheckServiceStubSettings;
import com.google.common.util.concurrent.MoreExecutors;
import com.google.monitoring.v3.CreateUptimeCheckConfigRequest;
import com.google.monitoring.v3.DeleteUptimeCheckConfigRequest;
import com.google.monitoring.v3.GetUptimeCheckConfigRequest;
Expand Down Expand Up @@ -714,7 +715,8 @@ public static ApiFuture<ListUptimeCheckConfigsPagedResponse> createAsync(
public ListUptimeCheckConfigsPagedResponse apply(ListUptimeCheckConfigsPage input) {
return new ListUptimeCheckConfigsPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListUptimeCheckConfigsPagedResponse(ListUptimeCheckConfigsPage page) {
Expand Down Expand Up @@ -804,7 +806,8 @@ public static ApiFuture<ListUptimeCheckIpsPagedResponse> createAsync(
public ListUptimeCheckIpsPagedResponse apply(ListUptimeCheckIpsPage input) {
return new ListUptimeCheckIpsPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListUptimeCheckIpsPagedResponse(ListUptimeCheckIpsPage page) {
Expand Down
10 changes: 5 additions & 5 deletions google-cloud-clients/google-cloud-monitoring/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-02-26T08:47:14.055530Z",
"updateTime": "2019-03-06T08:47:52.711546Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.14",
"dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7"
"version": "0.16.15",
"dockerImage": "googleapis/artman@sha256:9caadfa59d48224cba5f3217eb9d61a155b78ccf31e628abef385bc5b7ed3bd2"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "29f098cb03a9983cc9cb15993de5da64419046f2",
"internalRef": "235621085"
"sha": "856117505ff9075b3e9c0b5674113667b6cf9e00",
"internalRef": "236931378"
}
}
],
Expand Down

0 comments on commit 2b69989

Please sign in to comment.