Skip to content

Commit 2954ae6

Browse files
Google APIscopybara-github
authored andcommitted
fix!: An existing service CapacityPlanningService is removed
fix!: Changed field behavior for an existing field `cloud_resource_type` in message `.google.cloud.capacityplanner.v1beta.QueryUsageHistoriesRequest` fix!: Changed field behavior for an existing field `cloud_resource_type` in message `.google.cloud.capacityplanner.v1beta.QueryForecastsRequest` fix!: Changed field behavior for an existing field `cloud_resource_type` in message `.google.cloud.capacityplanner.v1beta.QueryReservationsRequest` fix!: Changed field behavior for an existing field `reservation_type` in message `.google.cloud.capacityplanner.v1beta.QueryReservationsRequest` fix!: Changed field behavior for an existing field `reservation_data_level` in message `.google.cloud.capacityplanner.v1beta.QueryReservationsRequest` docs: A comment for field `cloud_resource_type` in message `.google.cloud.capacityplanner.v1beta.QueryUsageHistoriesRequest` is changed docs: A comment for field `cloud_resource_type` in message `.google.cloud.capacityplanner.v1beta.QueryForecastsRequest` is changed docs: A comment for field `cloud_resource_type` in message `.google.cloud.capacityplanner.v1beta.QueryReservationsRequest` is changed docs: A comment for field `reservation_type` in message `.google.cloud.capacityplanner.v1beta.QueryReservationsRequest` is changed docs: A comment for field `reservation_data_level` in message `.google.cloud.capacityplanner.v1beta.QueryReservationsRequest` is changed PiperOrigin-RevId: 816537824
1 parent d9a16f2 commit 2954ae6

File tree

5 files changed

+22
-439
lines changed

5 files changed

+22
-439
lines changed

google/cloud/capacityplanner/v1beta/BUILD.bazel

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ proto_library(
2525
name = "capacityplanner_proto",
2626
srcs = [
2727
"allocation.proto",
28-
"capacity_planning_service.proto",
2928
"future_reservation.proto",
3029
"location.proto",
3130
"resource.proto",
@@ -94,8 +93,6 @@ java_gapic_library(
9493
java_gapic_test(
9594
name = "capacityplanner_java_gapic_test_suite",
9695
test_classes = [
97-
"com.google.cloud.capacityplanner.v1beta.CapacityPlanningServiceClientHttpJsonTest",
98-
"com.google.cloud.capacityplanner.v1beta.CapacityPlanningServiceClientTest",
9996
"com.google.cloud.capacityplanner.v1beta.UsageServiceClientHttpJsonTest",
10097
"com.google.cloud.capacityplanner.v1beta.UsageServiceClientTest",
10198
],
@@ -105,14 +102,14 @@ java_gapic_test(
105102
# Open Source Packages
106103
java_gapic_assembly_gradle_pkg(
107104
name = "google-cloud-capacityplanner-v1beta-java",
105+
include_samples = True,
108106
transport = "grpc+rest",
109107
deps = [
110108
":capacityplanner_java_gapic",
111109
":capacityplanner_java_grpc",
112110
":capacityplanner_java_proto",
113111
":capacityplanner_proto",
114112
],
115-
include_samples = True,
116113
)
117114

118115
##############################################################################
@@ -160,9 +157,9 @@ go_gapic_assembly_pkg(
160157
name = "gapi-cloud-capacityplanner-v1beta-go",
161158
deps = [
162159
":capacityplanner_go_gapic",
163-
":capacityplanner_go_gapic_srcjar-test.srcjar",
164160
":capacityplanner_go_gapic_srcjar-metadata.srcjar",
165161
":capacityplanner_go_gapic_srcjar-snippets.srcjar",
162+
":capacityplanner_go_gapic_srcjar-test.srcjar",
166163
":capacityplanner_go_proto",
167164
],
168165
)
@@ -227,8 +224,8 @@ php_gapic_library(
227224
name = "capacityplanner_php_gapic",
228225
srcs = [":capacityplanner_proto_with_info"],
229226
grpc_service_config = "capacityplanner_grpc_service_config.json",
230-
rest_numeric_enums = True,
231227
migration_mode = "NEW_SURFACE_ONLY",
228+
rest_numeric_enums = True,
232229
service_yaml = "capacityplanner_v1beta.yaml",
233230
transport = "grpc+rest",
234231
deps = [
@@ -282,8 +279,8 @@ nodejs_gapic_assembly_pkg(
282279
# buildifier: disable=same-origin-load
283280
load(
284281
"@com_google_googleapis_imports//:imports.bzl",
285-
"ruby_gapic_assembly_pkg",
286282
"ruby_cloud_gapic_library",
283+
"ruby_gapic_assembly_pkg",
287284
"ruby_grpc_library",
288285
"ruby_proto_library",
289286
)
@@ -302,9 +299,7 @@ ruby_grpc_library(
302299
ruby_cloud_gapic_library(
303300
name = "capacityplanner_ruby_gapic",
304301
srcs = [":capacityplanner_proto_with_info"],
305-
extra_protoc_parameters = [
306-
"ruby-cloud-gem-name=google-cloud-capacity_planner-v1beta",
307-
],
302+
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-capacity_planner-v1beta"],
308303
grpc_service_config = "capacityplanner_grpc_service_config.json",
309304
rest_numeric_enums = True,
310305
service_yaml = "capacityplanner_v1beta.yaml",
@@ -339,7 +334,6 @@ load(
339334

340335
csharp_proto_library(
341336
name = "capacityplanner_csharp_proto",
342-
extra_opts = [],
343337
deps = [":capacityplanner_proto"],
344338
)
345339

0 commit comments

Comments
 (0)