Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
chore: migrate monitoring/dashboard/v1 to the PHP microgenerator (#355)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/fa61f2c0-16bd-4909-8e4b-bbae09245d7f/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 369326004
Source-Link: googleapis/googleapis@59cea2c
  • Loading branch information
yoshi-automation committed Apr 23, 2021
1 parent 0e30c62 commit 630d0fa
Show file tree
Hide file tree
Showing 28 changed files with 203 additions and 147 deletions.
Expand Up @@ -166,10 +166,9 @@ public DashboardsServiceStub getStub() {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a new custom dashboard. For examples on how you can use this API to create dashboards,
* see [Managing dashboards by API](https://cloud.google.com/monitoring/dashboards/api-dashboard).
* This method requires the `monitoring.dashboards.create` permission on the specified project.
* For more information about permissions, see [Cloud Identity and Access
* Management](https://cloud.google.com/iam).
* see [Managing dashboards by API](/monitoring/dashboards/api-dashboard). This method requires
* the `monitoring.dashboards.create` permission on the specified project. For more information
* about permissions, see [Cloud Identity and Access Management](/iam).
*
* <p>Sample code:
*
Expand All @@ -194,10 +193,9 @@ public final Dashboard createDashboard(CreateDashboardRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates a new custom dashboard. For examples on how you can use this API to create dashboards,
* see [Managing dashboards by API](https://cloud.google.com/monitoring/dashboards/api-dashboard).
* This method requires the `monitoring.dashboards.create` permission on the specified project.
* For more information about permissions, see [Cloud Identity and Access
* Management](https://cloud.google.com/iam).
* see [Managing dashboards by API](/monitoring/dashboards/api-dashboard). This method requires
* the `monitoring.dashboards.create` permission on the specified project. For more information
* about permissions, see [Cloud Identity and Access Management](/iam).
*
* <p>Sample code:
*
Expand Down
Expand Up @@ -318,8 +318,12 @@ public abstract static class DashboardsServiceImplBase implements io.grpc.Bindab
*
*
* <pre>
* Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see [Managing dashboards by API](https://cloud.google.com/monitoring/dashboards/api-dashboard).
* This method requires the `monitoring.dashboards.create` permission on the specified project. For more information about permissions, see [Cloud Identity and Access Management](https://cloud.google.com/iam).
* Creates a new custom dashboard. For examples on how you can use this API to
* create dashboards, see [Managing dashboards by
* API](/monitoring/dashboards/api-dashboard). This method requires the
* `monitoring.dashboards.create` permission on the specified project. For
* more information about permissions, see [Cloud Identity and Access
* Management](/iam).
* </pre>
*/
public void createDashboard(
Expand Down Expand Up @@ -465,8 +469,12 @@ protected DashboardsServiceStub build(
*
*
* <pre>
* Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see [Managing dashboards by API](https://cloud.google.com/monitoring/dashboards/api-dashboard).
* This method requires the `monitoring.dashboards.create` permission on the specified project. For more information about permissions, see [Cloud Identity and Access Management](https://cloud.google.com/iam).
* Creates a new custom dashboard. For examples on how you can use this API to
* create dashboards, see [Managing dashboards by
* API](/monitoring/dashboards/api-dashboard). This method requires the
* `monitoring.dashboards.create` permission on the specified project. For
* more information about permissions, see [Cloud Identity and Access
* Management](/iam).
* </pre>
*/
public void createDashboard(
Expand Down Expand Up @@ -584,8 +592,12 @@ protected DashboardsServiceBlockingStub build(
*
*
* <pre>
* Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see [Managing dashboards by API](https://cloud.google.com/monitoring/dashboards/api-dashboard).
* This method requires the `monitoring.dashboards.create` permission on the specified project. For more information about permissions, see [Cloud Identity and Access Management](https://cloud.google.com/iam).
* Creates a new custom dashboard. For examples on how you can use this API to
* create dashboards, see [Managing dashboards by
* API](/monitoring/dashboards/api-dashboard). This method requires the
* `monitoring.dashboards.create` permission on the specified project. For
* more information about permissions, see [Cloud Identity and Access
* Management](/iam).
* </pre>
*/
public com.google.monitoring.dashboard.v1.Dashboard createDashboard(
Expand Down Expand Up @@ -683,8 +695,12 @@ protected DashboardsServiceFutureStub build(
*
*
* <pre>
* Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see [Managing dashboards by API](https://cloud.google.com/monitoring/dashboards/api-dashboard).
* This method requires the `monitoring.dashboards.create` permission on the specified project. For more information about permissions, see [Cloud Identity and Access Management](https://cloud.google.com/iam).
* Creates a new custom dashboard. For examples on how you can use this API to
* create dashboards, see [Managing dashboards by
* API](/monitoring/dashboards/api-dashboard). This method requires the
* `monitoring.dashboards.create` permission on the specified project. For
* more information about permissions, see [Cloud Identity and Access
* Management](/iam).
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
Expand Down
Expand Up @@ -90,12 +90,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "google.monitoring.dashboard.v1.Statistic"
+ "alTimeSeriesFilter.Method\022\027\n\017num_time_se"
+ "ries\030\002 \001(\005\"<\n\006Method\022\026\n\022METHOD_UNSPECIFI"
+ "ED\020\000\022\032\n\026METHOD_CLUSTER_OUTLIER\020\001B\247\001\n\"com"
+ "ED\020\000\022\032\n\026METHOD_CLUSTER_OUTLIER\020\001B\316\001\n\"com"
+ ".google.monitoring.dashboard.v1B\013CommonP"
+ "rotoP\001ZGgoogle.golang.org/genproto/googl"
+ "eapis/monitoring/dashboard/v1;dashboard\352"
+ "\002(Google::Cloud::Monitoring::Dashboard::"
+ "V1b\006proto3"
+ "eapis/monitoring/dashboard/v1;dashboard\312"
+ "\002$Google\\Cloud\\Monitoring\\Dashboard\\V1\352\002"
+ "(Google::Cloud::Monitoring::Dashboard::V"
+ "1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -55,12 +55,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\030\t \001(\0132,.google.monitoring.dashboard.v1."
+ "ColumnLayoutH\000:S\352AP\n#monitoring.googleap"
+ "is.com/Dashboard\022)projects/{project}/das"
+ "hboards/{dashboard}B\010\n\006layoutB\253\001\n\"com.go"
+ "hboards/{dashboard}B\010\n\006layoutB\322\001\n\"com.go"
+ "ogle.monitoring.dashboard.v1B\017Dashboards"
+ "ProtoP\001ZGgoogle.golang.org/genproto/goog"
+ "leapis/monitoring/dashboard/v1;dashboard"
+ "\352\002(Google::Cloud::Monitoring::Dashboard:"
+ ":V1b\006proto3"
+ "\312\002$Google\\Cloud\\Monitoring\\Dashboard\\V1\352"
+ "\002(Google::Cloud::Monitoring::Dashboard::"
+ "V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -110,12 +110,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "//www.googleapis.com/auth/monitoring,htt"
+ "ps://www.googleapis.com/auth/monitoring."
+ "read,https://www.googleapis.com/auth/mon"
+ "itoring.writeB\262\001\n\"com.google.monitoring."
+ "itoring.writeB\331\001\n\"com.google.monitoring."
+ "dashboard.v1B\026DashboardsServiceProtoP\001ZG"
+ "google.golang.org/genproto/googleapis/mo"
+ "nitoring/dashboard/v1;dashboard\352\002(Google"
+ "::Cloud::Monitoring::Dashboard::V1b\006prot"
+ "o3"
+ "nitoring/dashboard/v1;dashboard\312\002$Google"
+ "\\Cloud\\Monitoring\\Dashboard\\V1\352\002(Google:"
+ ":Cloud::Monitoring::Dashboard::V1b\006proto"
+ "3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -38,11 +38,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n/google/monitoring/dashboard/v1/drilldo"
+ "wns.proto\022\036google.monitoring.dashboard.v"
+ "1\032+google/monitoring/dashboard/v1/common"
+ ".protoB\253\001\n\"com.google.monitoring.dashboa"
+ ".protoB\322\001\n\"com.google.monitoring.dashboa"
+ "rd.v1B\017DrilldownsProtoP\001ZGgoogle.golang."
+ "org/genproto/googleapis/monitoring/dashb"
+ "oard/v1;dashboard\352\002(Google::Cloud::Monit"
+ "oring::Dashboard::V1b\006proto3"
+ "oard/v1;dashboard\312\002$Google\\Cloud\\Monitor"
+ "ing\\Dashboard\\V1\352\002(Google::Cloud::Monito"
+ "ring::Dashboard::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -83,11 +83,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "oring.dashboard.v1.ColumnLayout.Column\032Q"
+ "\n\006Column\022\016\n\006weight\030\001 \001(\003\0227\n\007widgets\030\002 \003("
+ "\0132&.google.monitoring.dashboard.v1.Widge"
+ "tB\250\001\n\"com.google.monitoring.dashboard.v1"
+ "tB\317\001\n\"com.google.monitoring.dashboard.v1"
+ "B\014LayoutsProtoP\001ZGgoogle.golang.org/genp"
+ "roto/googleapis/monitoring/dashboard/v1;"
+ "dashboard\352\002(Google::Cloud::Monitoring::D"
+ "ashboard::V1b\006proto3"
+ "dashboard\312\002$Google\\Cloud\\Monitoring\\Dash"
+ "board\\V1\352\002(Google::Cloud::Monitoring::Da"
+ "shboard::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -100,11 +100,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ection\022\031\n\025DIRECTION_UNSPECIFIED\020\000\022\t\n\005ABO"
+ "VE\020\001\022\t\n\005BELOW\020\002*Q\n\016SparkChartType\022 \n\034SPA"
+ "RK_CHART_TYPE_UNSPECIFIED\020\000\022\016\n\nSPARK_LIN"
+ "E\020\001\022\r\n\tSPARK_BAR\020\002B\250\001\n\"com.google.monito"
+ "E\020\001\022\r\n\tSPARK_BAR\020\002B\317\001\n\"com.google.monito"
+ "ring.dashboard.v1B\014MetricsProtoP\001ZGgoogl"
+ "e.golang.org/genproto/googleapis/monitor"
+ "ing/dashboard/v1;dashboard\352\002(Google::Clo"
+ "ud::Monitoring::Dashboard::V1b\006proto3"
+ "ing/dashboard/v1;dashboard\312\002$Google\\Clou"
+ "d\\Monitoring\\Dashboard\\V1\352\002(Google::Clou"
+ "d::Monitoring::Dashboard::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -67,11 +67,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "..google.monitoring.dashboard.v1.SparkCh"
+ "artTypeB\003\340A\002\0227\n\024min_alignment_period\030\002 \001"
+ "(\0132\031.google.protobuf.DurationB\013\n\tdata_vi"
+ "ewB\252\001\n\"com.google.monitoring.dashboard.v"
+ "ewB\321\001\n\"com.google.monitoring.dashboard.v"
+ "1B\016ScorecardProtoP\001ZGgoogle.golang.org/g"
+ "enproto/googleapis/monitoring/dashboard/"
+ "v1;dashboard\352\002(Google::Cloud::Monitoring"
+ "::Dashboard::V1b\006proto3"
+ "v1;dashboard\312\002$Google\\Cloud\\Monitoring\\D"
+ "ashboard\\V1\352\002(Google::Cloud::Monitoring:"
+ ":Dashboard::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -36,12 +36,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n,google/monitoring/dashboard/v1/service"
+ ".proto\022\036google.monitoring.dashboard.v1B\262"
+ ".proto\022\036google.monitoring.dashboard.v1B\331"
+ "\001\n\"com.google.monitoring.dashboard.v1B\026S"
+ "erviceMonitoringProtoP\001ZGgoogle.golang.o"
+ "rg/genproto/googleapis/monitoring/dashbo"
+ "ard/v1;dashboard\352\002(Google::Cloud::Monito"
+ "ring::Dashboard::V1b\006proto3"
+ "ard/v1;dashboard\312\002$Google\\Cloud\\Monitori"
+ "ng\\Dashboard\\V1\352\002(Google::Cloud::Monitor"
+ "ing::Dashboard::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -45,11 +45,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "Text\022\017\n\007content\030\001 \001(\t\022;\n\006format\030\002 \001(\0162+."
+ "google.monitoring.dashboard.v1.Text.Form"
+ "at\"7\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022\014\n\010"
+ "MARKDOWN\020\001\022\007\n\003RAW\020\002B\245\001\n\"com.google.monit"
+ "MARKDOWN\020\001\022\007\n\003RAW\020\002B\314\001\n\"com.google.monit"
+ "oring.dashboard.v1B\tTextProtoP\001ZGgoogle."
+ "golang.org/genproto/googleapis/monitorin"
+ "g/dashboard/v1;dashboard\352\002(Google::Cloud"
+ "::Monitoring::Dashboard::V1b\006proto3"
+ "g/dashboard/v1;dashboard\312\002$Google\\Cloud\\"
+ "Monitoring\\Dashboard\\V1\352\002(Google::Cloud:"
+ ":Monitoring::Dashboard::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -241,8 +241,9 @@ public OutputFilterCase getOutputFilterCase() {
*
*
* <pre>
* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
* that identifies the metric types, resources, and projects to query.
* Required. The [monitoring
* filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies
* the metric types, resources, and projects to query.
* </pre>
*
* <code>string filter = 1 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -265,8 +266,9 @@ public java.lang.String getFilter() {
*
*
* <pre>
* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
* that identifies the metric types, resources, and projects to query.
* Required. The [monitoring
* filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies
* the metric types, resources, and projects to query.
* </pre>
*
* <code>string filter = 1 [(.google.api.field_behavior) = REQUIRED];</code>
Expand Down Expand Up @@ -978,8 +980,9 @@ public Builder clearOutputFilter() {
*
*
* <pre>
* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
* that identifies the metric types, resources, and projects to query.
* Required. The [monitoring
* filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies
* the metric types, resources, and projects to query.
* </pre>
*
* <code>string filter = 1 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -1001,8 +1004,9 @@ public java.lang.String getFilter() {
*
*
* <pre>
* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
* that identifies the metric types, resources, and projects to query.
* Required. The [monitoring
* filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies
* the metric types, resources, and projects to query.
* </pre>
*
* <code>string filter = 1 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -1024,8 +1028,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* <pre>
* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
* that identifies the metric types, resources, and projects to query.
* Required. The [monitoring
* filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies
* the metric types, resources, and projects to query.
* </pre>
*
* <code>string filter = 1 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -1046,8 +1051,9 @@ public Builder setFilter(java.lang.String value) {
*
*
* <pre>
* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
* that identifies the metric types, resources, and projects to query.
* Required. The [monitoring
* filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies
* the metric types, resources, and projects to query.
* </pre>
*
* <code>string filter = 1 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -1064,8 +1070,9 @@ public Builder clearFilter() {
*
*
* <pre>
* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
* that identifies the metric types, resources, and projects to query.
* Required. The [monitoring
* filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies
* the metric types, resources, and projects to query.
* </pre>
*
* <code>string filter = 1 [(.google.api.field_behavior) = REQUIRED];</code>
Expand Down
Expand Up @@ -27,8 +27,9 @@ public interface TimeSeriesFilterOrBuilder
*
*
* <pre>
* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
* that identifies the metric types, resources, and projects to query.
* Required. The [monitoring
* filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies
* the metric types, resources, and projects to query.
* </pre>
*
* <code>string filter = 1 [(.google.api.field_behavior) = REQUIRED];</code>
Expand All @@ -40,8 +41,9 @@ public interface TimeSeriesFilterOrBuilder
*
*
* <pre>
* Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
* that identifies the metric types, resources, and projects to query.
* Required. The [monitoring
* filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies
* the metric types, resources, and projects to query.
* </pre>
*
* <code>string filter = 1 [(.google.api.field_behavior) = REQUIRED];</code>
Expand Down
Expand Up @@ -53,11 +53,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "itoring.dashboard.v1.ScorecardH\000\0224\n\004text"
+ "\030\004 \001(\0132$.google.monitoring.dashboard.v1."
+ "TextH\000\022\'\n\005blank\030\005 \001(\0132\026.google.protobuf."
+ "EmptyH\000B\t\n\007contentB\247\001\n\"com.google.monito"
+ "EmptyH\000B\t\n\007contentB\316\001\n\"com.google.monito"
+ "ring.dashboard.v1B\013WidgetProtoP\001ZGgoogle"
+ ".golang.org/genproto/googleapis/monitori"
+ "ng/dashboard/v1;dashboard\352\002(Google::Clou"
+ "d::Monitoring::Dashboard::V1b\006proto3"
+ "ng/dashboard/v1;dashboard\312\002$Google\\Cloud"
+ "\\Monitoring\\Dashboard\\V1\352\002(Google::Cloud"
+ "::Monitoring::Dashboard::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down

0 comments on commit 630d0fa

Please sign in to comment.