From 0344d0c8f3b541accf8a19ac7e12f3528735c6c6 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Tue, 26 Feb 2019 00:46:32 -0800 Subject: [PATCH] Regenerate logging client --- .../google/logging/v2/CreateSinkRequest.java | 12 +- .../v2/CreateSinkRequestOrBuilder.java | 3 +- .../logging/v2/UpdateExclusionRequest.java | 60 ++++++---- .../v2/UpdateExclusionRequestOrBuilder.java | 15 ++- .../proto/google/logging/v2/log_entry.proto | 1 - .../proto/google/logging/v2/logging.proto | 39 ++----- .../google/logging/v2/logging_config.proto | 107 +++++------------- .../google/logging/v2/logging_metrics.proto | 1 - .../google-cloud-logging/synth.metadata | 10 +- 9 files changed, 101 insertions(+), 147 deletions(-) diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java index 65a4f32a7354..c454cf8294c9 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java @@ -221,7 +221,8 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * If this field is set to true, or if the sink is owned by a non-project * resource such as an organization, then the value of `writer_identity` will * be a unique service account used only for exports from the new sink. For - * more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink]. + * more information, see `writer_identity` in + * [LogSink][google.logging.v2.LogSink]. * * * bool unique_writer_identity = 3; @@ -905,7 +906,8 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * If this field is set to true, or if the sink is owned by a non-project * resource such as an organization, then the value of `writer_identity` will * be a unique service account used only for exports from the new sink. For - * more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink]. + * more information, see `writer_identity` in + * [LogSink][google.logging.v2.LogSink]. * * * bool unique_writer_identity = 3; @@ -926,7 +928,8 @@ public boolean getUniqueWriterIdentity() { * If this field is set to true, or if the sink is owned by a non-project * resource such as an organization, then the value of `writer_identity` will * be a unique service account used only for exports from the new sink. For - * more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink]. + * more information, see `writer_identity` in + * [LogSink][google.logging.v2.LogSink]. * * * bool unique_writer_identity = 3; @@ -950,7 +953,8 @@ public Builder setUniqueWriterIdentity(boolean value) { * If this field is set to true, or if the sink is owned by a non-project * resource such as an organization, then the value of `writer_identity` will * be a unique service account used only for exports from the new sink. For - * more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink]. + * more information, see `writer_identity` in + * [LogSink][google.logging.v2.LogSink]. * * * bool unique_writer_identity = 3; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java index 3211c09f92ec..4cde8bc2132b 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java @@ -86,7 +86,8 @@ public interface CreateSinkRequestOrBuilder * If this field is set to true, or if the sink is owned by a non-project * resource such as an organization, then the value of `writer_identity` will * be a unique service account used only for exports from the new sink. For - * more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink]. + * more information, see `writer_identity` in + * [LogSink][google.logging.v2.LogSink]. * * * bool unique_writer_identity = 3; diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java index 84e7249123ae..9401e5dddfe0 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java @@ -226,8 +226,9 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { *
    * Required. A nonempty list of fields to change in the existing exclusion.
    * New values for the fields are taken from the corresponding fields in the
-   * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-   * `update_mask` are not changed and are ignored in the request.
+   * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+   * Fields not mentioned in `update_mask` are not changed and are ignored in
+   * the request.
    * For example, to change the filter and description of an exclusion,
    * specify an `update_mask` of `"filter,description"`.
    * 
@@ -243,8 +244,9 @@ public boolean hasUpdateMask() { *
    * Required. A nonempty list of fields to change in the existing exclusion.
    * New values for the fields are taken from the corresponding fields in the
-   * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-   * `update_mask` are not changed and are ignored in the request.
+   * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+   * Fields not mentioned in `update_mask` are not changed and are ignored in
+   * the request.
    * For example, to change the filter and description of an exclusion,
    * specify an `update_mask` of `"filter,description"`.
    * 
@@ -260,8 +262,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { *
    * Required. A nonempty list of fields to change in the existing exclusion.
    * New values for the fields are taken from the corresponding fields in the
-   * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-   * `update_mask` are not changed and are ignored in the request.
+   * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+   * Fields not mentioned in `update_mask` are not changed and are ignored in
+   * the request.
    * For example, to change the filter and description of an exclusion,
    * specify an `update_mask` of `"filter,description"`.
    * 
@@ -966,8 +969,9 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { *
      * Required. A nonempty list of fields to change in the existing exclusion.
      * New values for the fields are taken from the corresponding fields in the
-     * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-     * `update_mask` are not changed and are ignored in the request.
+     * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+     * Fields not mentioned in `update_mask` are not changed and are ignored in
+     * the request.
      * For example, to change the filter and description of an exclusion,
      * specify an `update_mask` of `"filter,description"`.
      * 
@@ -983,8 +987,9 @@ public boolean hasUpdateMask() { *
      * Required. A nonempty list of fields to change in the existing exclusion.
      * New values for the fields are taken from the corresponding fields in the
-     * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-     * `update_mask` are not changed and are ignored in the request.
+     * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+     * Fields not mentioned in `update_mask` are not changed and are ignored in
+     * the request.
      * For example, to change the filter and description of an exclusion,
      * specify an `update_mask` of `"filter,description"`.
      * 
@@ -1006,8 +1011,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { *
      * Required. A nonempty list of fields to change in the existing exclusion.
      * New values for the fields are taken from the corresponding fields in the
-     * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-     * `update_mask` are not changed and are ignored in the request.
+     * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+     * Fields not mentioned in `update_mask` are not changed and are ignored in
+     * the request.
      * For example, to change the filter and description of an exclusion,
      * specify an `update_mask` of `"filter,description"`.
      * 
@@ -1033,8 +1039,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { *
      * Required. A nonempty list of fields to change in the existing exclusion.
      * New values for the fields are taken from the corresponding fields in the
-     * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-     * `update_mask` are not changed and are ignored in the request.
+     * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+     * Fields not mentioned in `update_mask` are not changed and are ignored in
+     * the request.
      * For example, to change the filter and description of an exclusion,
      * specify an `update_mask` of `"filter,description"`.
      * 
@@ -1057,8 +1064,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal *
      * Required. A nonempty list of fields to change in the existing exclusion.
      * New values for the fields are taken from the corresponding fields in the
-     * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-     * `update_mask` are not changed and are ignored in the request.
+     * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+     * Fields not mentioned in `update_mask` are not changed and are ignored in
+     * the request.
      * For example, to change the filter and description of an exclusion,
      * specify an `update_mask` of `"filter,description"`.
      * 
@@ -1086,8 +1094,9 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { *
      * Required. A nonempty list of fields to change in the existing exclusion.
      * New values for the fields are taken from the corresponding fields in the
-     * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-     * `update_mask` are not changed and are ignored in the request.
+     * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+     * Fields not mentioned in `update_mask` are not changed and are ignored in
+     * the request.
      * For example, to change the filter and description of an exclusion,
      * specify an `update_mask` of `"filter,description"`.
      * 
@@ -1111,8 +1120,9 @@ public Builder clearUpdateMask() { *
      * Required. A nonempty list of fields to change in the existing exclusion.
      * New values for the fields are taken from the corresponding fields in the
-     * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-     * `update_mask` are not changed and are ignored in the request.
+     * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+     * Fields not mentioned in `update_mask` are not changed and are ignored in
+     * the request.
      * For example, to change the filter and description of an exclusion,
      * specify an `update_mask` of `"filter,description"`.
      * 
@@ -1130,8 +1140,9 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { *
      * Required. A nonempty list of fields to change in the existing exclusion.
      * New values for the fields are taken from the corresponding fields in the
-     * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-     * `update_mask` are not changed and are ignored in the request.
+     * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+     * Fields not mentioned in `update_mask` are not changed and are ignored in
+     * the request.
      * For example, to change the filter and description of an exclusion,
      * specify an `update_mask` of `"filter,description"`.
      * 
@@ -1153,8 +1164,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { *
      * Required. A nonempty list of fields to change in the existing exclusion.
      * New values for the fields are taken from the corresponding fields in the
-     * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-     * `update_mask` are not changed and are ignored in the request.
+     * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+     * Fields not mentioned in `update_mask` are not changed and are ignored in
+     * the request.
      * For example, to change the filter and description of an exclusion,
      * specify an `update_mask` of `"filter,description"`.
      * 
diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java index 7fbe481b0474..b08f4c6755e1 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java @@ -79,8 +79,9 @@ public interface UpdateExclusionRequestOrBuilder *
    * Required. A nonempty list of fields to change in the existing exclusion.
    * New values for the fields are taken from the corresponding fields in the
-   * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-   * `update_mask` are not changed and are ignored in the request.
+   * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+   * Fields not mentioned in `update_mask` are not changed and are ignored in
+   * the request.
    * For example, to change the filter and description of an exclusion,
    * specify an `update_mask` of `"filter,description"`.
    * 
@@ -94,8 +95,9 @@ public interface UpdateExclusionRequestOrBuilder *
    * Required. A nonempty list of fields to change in the existing exclusion.
    * New values for the fields are taken from the corresponding fields in the
-   * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-   * `update_mask` are not changed and are ignored in the request.
+   * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+   * Fields not mentioned in `update_mask` are not changed and are ignored in
+   * the request.
    * For example, to change the filter and description of an exclusion,
    * specify an `update_mask` of `"filter,description"`.
    * 
@@ -109,8 +111,9 @@ public interface UpdateExclusionRequestOrBuilder *
    * Required. A nonempty list of fields to change in the existing exclusion.
    * New values for the fields are taken from the corresponding fields in the
-   * [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
-   * `update_mask` are not changed and are ignored in the request.
+   * [LogExclusion][google.logging.v2.LogExclusion] included in this request.
+   * Fields not mentioned in `update_mask` are not changed and are ignored in
+   * the request.
    * For example, to change the filter and description of an exclusion,
    * specify an `update_mask` of `"filter,description"`.
    * 
diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/log_entry.proto b/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/log_entry.proto index 2f1530e23f69..de9786daf733 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/log_entry.proto +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/log_entry.proto @@ -33,7 +33,6 @@ option java_outer_classname = "LogEntryProto"; option java_package = "com.google.logging.v2"; option php_namespace = "Google\\Cloud\\Logging\\V2"; - // An individual entry in a log. message LogEntry { // Required. The resource name of the log to which this log entry belongs: diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging.proto b/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging.proto index b1812e6f82d2..d04cd5c03dd0 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging.proto +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging.proto @@ -33,7 +33,6 @@ option java_outer_classname = "LoggingProto"; option java_package = "com.google.logging.v2"; option php_namespace = "Google\\Cloud\\Logging\\V2"; - // Service for ingesting and querying logs. service LoggingServiceV2 { // Deletes all the log entries in a log. @@ -43,15 +42,9 @@ service LoggingServiceV2 { rpc DeleteLog(DeleteLogRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{log_name=projects/*/logs/*}" - additional_bindings { - delete: "/v2/{log_name=organizations/*/logs/*}" - } - additional_bindings { - delete: "/v2/{log_name=folders/*/logs/*}" - } - additional_bindings { - delete: "/v2/{log_name=billingAccounts/*/logs/*}" - } + additional_bindings { delete: "/v2/{log_name=organizations/*/logs/*}" } + additional_bindings { delete: "/v2/{log_name=folders/*/logs/*}" } + additional_bindings { delete: "/v2/{log_name=billingAccounts/*/logs/*}" } }; } @@ -62,7 +55,8 @@ service LoggingServiceV2 { // A single request may contain log entries for a maximum of 1000 // different resources (projects, organizations, billing accounts or // folders) - rpc WriteLogEntries(WriteLogEntriesRequest) returns (WriteLogEntriesResponse) { + rpc WriteLogEntries(WriteLogEntriesRequest) + returns (WriteLogEntriesResponse) { option (google.api.http) = { post: "/v2/entries:write" body: "*" @@ -80,7 +74,8 @@ service LoggingServiceV2 { } // Lists the descriptors for monitored resource types used by Logging. - rpc ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest) returns (ListMonitoredResourceDescriptorsResponse) { + rpc ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest) + returns (ListMonitoredResourceDescriptorsResponse) { option (google.api.http) = { get: "/v2/monitoredResourceDescriptors" }; @@ -91,18 +86,10 @@ service LoggingServiceV2 { rpc ListLogs(ListLogsRequest) returns (ListLogsResponse) { option (google.api.http) = { get: "/v2/{parent=*/*}/logs" - additional_bindings { - get: "/v2/{parent=projects/*}/logs" - } - additional_bindings { - get: "/v2/{parent=organizations/*}/logs" - } - additional_bindings { - get: "/v2/{parent=folders/*}/logs" - } - additional_bindings { - get: "/v2/{parent=billingAccounts/*}/logs" - } + additional_bindings { get: "/v2/{parent=projects/*}/logs" } + additional_bindings { get: "/v2/{parent=organizations/*}/logs" } + additional_bindings { get: "/v2/{parent=folders/*}/logs" } + additional_bindings { get: "/v2/{parent=billingAccounts/*}/logs" } }; } } @@ -201,9 +188,7 @@ message WriteLogEntriesRequest { // Result returned from WriteLogEntries. // empty -message WriteLogEntriesResponse { - -} +message WriteLogEntriesResponse {} // Error details for WriteLogEntries with partial success. message WriteLogEntriesPartialErrors { diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_config.proto b/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_config.proto index 8803ace8180e..2afea1062df5 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_config.proto +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_config.proto @@ -30,7 +30,6 @@ option java_outer_classname = "LoggingConfigProto"; option java_package = "com.google.logging.v2"; option php_namespace = "Google\\Cloud\\Logging\\V2"; - // Service for configuring sinks used to export log entries out of // Logging. service ConfigServiceV2 { @@ -38,18 +37,10 @@ service ConfigServiceV2 { rpc ListSinks(ListSinksRequest) returns (ListSinksResponse) { option (google.api.http) = { get: "/v2/{parent=*/*}/sinks" - additional_bindings { - get: "/v2/{parent=projects/*}/sinks" - } - additional_bindings { - get: "/v2/{parent=organizations/*}/sinks" - } - additional_bindings { - get: "/v2/{parent=folders/*}/sinks" - } - additional_bindings { - get: "/v2/{parent=billingAccounts/*}/sinks" - } + additional_bindings { get: "/v2/{parent=projects/*}/sinks" } + additional_bindings { get: "/v2/{parent=organizations/*}/sinks" } + additional_bindings { get: "/v2/{parent=folders/*}/sinks" } + additional_bindings { get: "/v2/{parent=billingAccounts/*}/sinks" } }; } @@ -57,18 +48,10 @@ service ConfigServiceV2 { rpc GetSink(GetSinkRequest) returns (LogSink) { option (google.api.http) = { get: "/v2/{sink_name=*/*/sinks/*}" - additional_bindings { - get: "/v2/{sink_name=projects/*/sinks/*}" - } - additional_bindings { - get: "/v2/{sink_name=organizations/*/sinks/*}" - } - additional_bindings { - get: "/v2/{sink_name=folders/*/sinks/*}" - } - additional_bindings { - get: "/v2/{sink_name=billingAccounts/*/sinks/*}" - } + additional_bindings { get: "/v2/{sink_name=projects/*/sinks/*}" } + additional_bindings { get: "/v2/{sink_name=organizations/*/sinks/*}" } + additional_bindings { get: "/v2/{sink_name=folders/*/sinks/*}" } + additional_bindings { get: "/v2/{sink_name=billingAccounts/*/sinks/*}" } }; } @@ -80,18 +63,12 @@ service ConfigServiceV2 { option (google.api.http) = { post: "/v2/{parent=*/*}/sinks" body: "sink" - additional_bindings { - post: "/v2/{parent=projects/*}/sinks" - body: "sink" - } + additional_bindings { post: "/v2/{parent=projects/*}/sinks" body: "sink" } additional_bindings { post: "/v2/{parent=organizations/*}/sinks" body: "sink" } - additional_bindings { - post: "/v2/{parent=folders/*}/sinks" - body: "sink" - } + additional_bindings { post: "/v2/{parent=folders/*}/sinks" body: "sink" } additional_bindings { post: "/v2/{parent=billingAccounts/*}/sinks" body: "sink" @@ -147,15 +124,9 @@ service ConfigServiceV2 { rpc DeleteSink(DeleteSinkRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{sink_name=*/*/sinks/*}" - additional_bindings { - delete: "/v2/{sink_name=projects/*/sinks/*}" - } - additional_bindings { - delete: "/v2/{sink_name=organizations/*/sinks/*}" - } - additional_bindings { - delete: "/v2/{sink_name=folders/*/sinks/*}" - } + additional_bindings { delete: "/v2/{sink_name=projects/*/sinks/*}" } + additional_bindings { delete: "/v2/{sink_name=organizations/*/sinks/*}" } + additional_bindings { delete: "/v2/{sink_name=folders/*/sinks/*}" } additional_bindings { delete: "/v2/{sink_name=billingAccounts/*/sinks/*}" } @@ -166,18 +137,10 @@ service ConfigServiceV2 { rpc ListExclusions(ListExclusionsRequest) returns (ListExclusionsResponse) { option (google.api.http) = { get: "/v2/{parent=*/*}/exclusions" - additional_bindings { - get: "/v2/{parent=projects/*}/exclusions" - } - additional_bindings { - get: "/v2/{parent=organizations/*}/exclusions" - } - additional_bindings { - get: "/v2/{parent=folders/*}/exclusions" - } - additional_bindings { - get: "/v2/{parent=billingAccounts/*}/exclusions" - } + additional_bindings { get: "/v2/{parent=projects/*}/exclusions" } + additional_bindings { get: "/v2/{parent=organizations/*}/exclusions" } + additional_bindings { get: "/v2/{parent=folders/*}/exclusions" } + additional_bindings { get: "/v2/{parent=billingAccounts/*}/exclusions" } }; } @@ -185,18 +148,10 @@ service ConfigServiceV2 { rpc GetExclusion(GetExclusionRequest) returns (LogExclusion) { option (google.api.http) = { get: "/v2/{name=*/*/exclusions/*}" - additional_bindings { - get: "/v2/{name=projects/*/exclusions/*}" - } - additional_bindings { - get: "/v2/{name=organizations/*/exclusions/*}" - } - additional_bindings { - get: "/v2/{name=folders/*/exclusions/*}" - } - additional_bindings { - get: "/v2/{name=billingAccounts/*/exclusions/*}" - } + additional_bindings { get: "/v2/{name=projects/*/exclusions/*}" } + additional_bindings { get: "/v2/{name=organizations/*/exclusions/*}" } + additional_bindings { get: "/v2/{name=folders/*/exclusions/*}" } + additional_bindings { get: "/v2/{name=billingAccounts/*/exclusions/*}" } }; } @@ -254,15 +209,9 @@ service ConfigServiceV2 { rpc DeleteExclusion(DeleteExclusionRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=*/*/exclusions/*}" - additional_bindings { - delete: "/v2/{name=projects/*/exclusions/*}" - } - additional_bindings { - delete: "/v2/{name=organizations/*/exclusions/*}" - } - additional_bindings { - delete: "/v2/{name=folders/*/exclusions/*}" - } + additional_bindings { delete: "/v2/{name=projects/*/exclusions/*}" } + additional_bindings { delete: "/v2/{name=organizations/*/exclusions/*}" } + additional_bindings { delete: "/v2/{name=folders/*/exclusions/*}" } additional_bindings { delete: "/v2/{name=billingAccounts/*/exclusions/*}" } @@ -431,7 +380,8 @@ message CreateSinkRequest { // If this field is set to true, or if the sink is owned by a non-project // resource such as an organization, then the value of `writer_identity` will // be a unique service account used only for exports from the new sink. For - // more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink]. + // more information, see `writer_identity` in + // [LogSink][google.logging.v2.LogSink]. bool unique_writer_identity = 3; } @@ -611,8 +561,9 @@ message UpdateExclusionRequest { // Required. A nonempty list of fields to change in the existing exclusion. // New values for the fields are taken from the corresponding fields in the - // [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in - // `update_mask` are not changed and are ignored in the request. + // [LogExclusion][google.logging.v2.LogExclusion] included in this request. + // Fields not mentioned in `update_mask` are not changed and are ignored in + // the request. // // For example, to change the filter and description of an exclusion, // specify an `update_mask` of `"filter,description"`. diff --git a/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_metrics.proto b/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_metrics.proto index 229fb7ca5ccf..dd3fa87821dc 100644 --- a/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_metrics.proto +++ b/google-api-grpc/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_metrics.proto @@ -32,7 +32,6 @@ option java_outer_classname = "LoggingMetricsProto"; option java_package = "com.google.logging.v2"; option php_namespace = "Google\\Cloud\\Logging\\V2"; - // Service for configuring logs-based metrics. service MetricsServiceV2 { // Lists logs-based metrics. diff --git a/google-cloud-clients/google-cloud-logging/synth.metadata b/google-cloud-clients/google-cloud-logging/synth.metadata index e38d70fae106..187ee79b23c1 100644 --- a/google-cloud-clients/google-cloud-logging/synth.metadata +++ b/google-cloud-clients/google-cloud-logging/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:46:57.311851Z", + "updateTime": "2019-02-26T08:46:31.768482Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.14", + "dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "29f098cb03a9983cc9cb15993de5da64419046f2", + "internalRef": "235621085" } } ],