Skip to content

Commit 8f7e301

Browse files
Google APIscopybara-github
authored andcommitted
fix: An existing google.api.http annotation http_uri is changed for method GetConsumerGroup in service ManagedKafka
fix: An existing google.api.http annotation `http_uri` is changed for method `UpdateConsumerGroup` in service `ManagedKafka` fix: An existing google.api.http annotation `http_uri` is changed for method `DeleteConsumerGroup` in service `ManagedKafka` docs: A comment for field `subnet` in message `.google.cloud.managedkafka.v1.NetworkConfig` is changed PiperOrigin-RevId: 735883333
1 parent 2f91d30 commit 8f7e301

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

google/cloud/managedkafka/v1/managed_kafka.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,15 @@ service ManagedKafka {
152152
// Returns the properties of a single consumer group.
153153
rpc GetConsumerGroup(GetConsumerGroupRequest) returns (ConsumerGroup) {
154154
option (google.api.http) = {
155-
get: "/v1/{name=projects/*/locations/*/clusters/*/consumerGroups/*}"
155+
get: "/v1/{name=projects/*/locations/*/clusters/*/consumerGroups/**}"
156156
};
157157
option (google.api.method_signature) = "name";
158158
}
159159

160160
// Updates the properties of a single consumer group.
161161
rpc UpdateConsumerGroup(UpdateConsumerGroupRequest) returns (ConsumerGroup) {
162162
option (google.api.http) = {
163-
patch: "/v1/{consumer_group.name=projects/*/locations/*/clusters/*/consumerGroups/*}"
163+
patch: "/v1/{consumer_group.name=projects/*/locations/*/clusters/*/consumerGroups/**}"
164164
body: "consumer_group"
165165
};
166166
option (google.api.method_signature) = "consumer_group,update_mask";
@@ -170,7 +170,7 @@ service ManagedKafka {
170170
rpc DeleteConsumerGroup(DeleteConsumerGroupRequest)
171171
returns (google.protobuf.Empty) {
172172
option (google.api.http) = {
173-
delete: "/v1/{name=projects/*/locations/*/clusters/*/consumerGroups/*}"
173+
delete: "/v1/{name=projects/*/locations/*/clusters/*/consumerGroups/**}"
174174
};
175175
option (google.api.method_signature) = "name";
176176
}

google/cloud/managedkafka/v1/resources.proto

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,6 @@ message NetworkConfig {
139139
// The subnet must be located in the same region as the Kafka cluster. The
140140
// project may differ. Multiple subnets from the same parent network must not
141141
// be specified.
142-
//
143-
// The CIDR range of the subnet must be within the IPv4 address ranges for
144-
// private networks, as specified in RFC 1918.
145142
string subnet = 2 [(google.api.field_behavior) = REQUIRED];
146143
}
147144

0 commit comments

Comments
 (0)