Skip to content

Commit a0a740c

Browse files
Google APIscopybara-github
authored andcommitted
feat!: replace java_outer_classname option with use_java_stubby_library, add DisableServiceAccountKey and EnableServiceAccountKey, and update comments
PiperOrigin-RevId: 474647927
1 parent f90b329 commit a0a740c

3 files changed

Lines changed: 264 additions & 153 deletions

File tree

google/iam/admin/v1/BUILD.bazel

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ proto_library(
3030
"//google/api:field_behavior_proto",
3131
"//google/api:resource_proto",
3232
"//google/iam/v1:iam_policy_proto",
33-
"//google/iam/v1:options_proto",
3433
"//google/iam/v1:policy_proto",
3534
"//google/type:expr_proto",
36-
"@com_google_protobuf//:any_proto",
3735
"@com_google_protobuf//:empty_proto",
3836
"@com_google_protobuf//:field_mask_proto",
3937
"@com_google_protobuf//:timestamp_proto",
@@ -77,12 +75,16 @@ java_gapic_library(
7775
# This was manually replaced - build_gen shouldn't have removed it.
7876
gapic_yaml = "iam_gapic.yaml",
7977
grpc_service_config = "iam_grpc_service_config.json",
78+
rest_numeric_enums = False,
79+
service_yaml = "iam.yaml",
8080
test_deps = [
8181
":admin_java_grpc",
8282
"//google/iam/v1:iam_java_grpc",
8383
],
84+
transport = "grpc",
8485
deps = [
8586
":admin_java_proto",
87+
"//google/api:api_java_proto",
8688
"//google/iam/v1:iam_java_proto",
8789
],
8890
)
@@ -101,6 +103,8 @@ java_gapic_test(
101103
# Open Source Packages
102104
java_gapic_assembly_gradle_pkg(
103105
name = "google-cloud-iam-admin-v1-java",
106+
include_samples = True,
107+
transport = "grpc",
104108
deps = [
105109
":admin_java_gapic",
106110
":admin_java_grpc",
@@ -138,7 +142,9 @@ go_gapic_library(
138142
grpc_service_config = "iam_grpc_service_config.json",
139143
importpath = "cloud.google.com/go/iam/admin/apiv1;admin",
140144
metadata = True,
145+
rest_numeric_enums = False,
141146
service_yaml = "iam.yaml",
147+
transport = "grpc",
142148
deps = [
143149
":admin_go_proto",
144150
"//google/iam/v1:iam_go_proto",
@@ -227,6 +233,8 @@ php_gapic_library(
227233
name = "admin_php_gapic",
228234
srcs = [":admin_proto_with_info"],
229235
grpc_service_config = "iam_grpc_service_config.json",
236+
rest_numeric_enums = False,
237+
service_yaml = "iam.yaml",
230238
deps = [
231239
":admin_php_grpc",
232240
":admin_php_proto",
@@ -259,6 +267,7 @@ nodejs_gapic_library(
259267
extra_protoc_parameters = ["metadata"],
260268
grpc_service_config = "iam_grpc_service_config.json",
261269
package = "google.iam.admin.v1",
270+
rest_numeric_enums = False,
262271
service_yaml = "iam.yaml",
263272
deps = [],
264273
)
@@ -298,6 +307,8 @@ ruby_cloud_gapic_library(
298307
srcs = [":admin_proto_with_info"],
299308
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-iam-admin-v1"],
300309
grpc_service_config = "iam_grpc_service_config.json",
310+
rest_numeric_enums = False,
311+
service_yaml = "iam.yaml",
301312
deps = [
302313
":admin_ruby_grpc",
303314
":admin_ruby_proto",
@@ -341,6 +352,7 @@ csharp_gapic_library(
341352
srcs = [":admin_proto_with_info"],
342353
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
343354
grpc_service_config = "iam_grpc_service_config.json",
355+
rest_numeric_enums = False,
344356
service_yaml = "iam.yaml",
345357
deps = [
346358
":admin_csharp_grpc",

google/iam/admin/v1/audit_data.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)