-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(policytroubleshooter): v3 PolicyTroubleshooter service added #12403
Changes from 5 commits
2dda00f
a061738
f1845ab
48ec918
2c8604b
f19f6c4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -222,6 +222,8 @@ set(external_googleapis_installed_libraries_list | |
google_cloud_cpp_iam_v1_iam_policy_protos | ||
google_cloud_cpp_iam_v1_options_protos | ||
google_cloud_cpp_iam_v1_policy_protos | ||
google_cloud_cpp_iam_v2_deny_protos | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think If I am right, we need to refactor these common protos to a new library or we need to have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change makes it so that we always build the v2 protos. I think we can clean it up as part of #8022. |
||
google_cloud_cpp_iam_v2_policy_protos | ||
google_cloud_cpp_logging_protos | ||
google_cloud_cpp_longrunning_operations_protos) | ||
|
||
|
@@ -321,6 +323,10 @@ external_googleapis_add_library("google/iam/v1/policy.proto" | |
external_googleapis_add_library("google/rpc/status.proto" | ||
rpc_error_details_protos) | ||
|
||
external_googleapis_add_library( | ||
"google/longrunning/operations.proto" api_annotations_protos | ||
api_client_protos rpc_status_protos) | ||
|
||
external_googleapis_add_library( | ||
"google/iam/v1/iam_policy.proto" | ||
api_annotations_protos | ||
|
@@ -330,9 +336,11 @@ external_googleapis_add_library( | |
iam_v1_options_protos | ||
iam_v1_policy_protos) | ||
|
||
external_googleapis_add_library("google/iam/v2/deny.proto" type_expr_protos) | ||
|
||
external_googleapis_add_library( | ||
"google/longrunning/operations.proto" api_annotations_protos | ||
api_client_protos rpc_status_protos) | ||
"google/iam/v2/policy.proto" api_annotations_protos api_client_protos | ||
api_field_behavior_protos iam_v2_deny_protos longrunning_operations_protos) | ||
|
||
google_cloud_cpp_load_protolist(cloud_common_list "protolists/common.list") | ||
google_cloud_cpp_load_protodeps(cloud_common_deps "protodeps/common.deps") | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
@com_google_googleapis//google/cloud/policytroubleshooter/iam/v3:troubleshooter.proto | ||
@com_google_googleapis//google/cloud/policytroubleshooter/v1:checker.proto | ||
@com_google_googleapis//google/cloud/policytroubleshooter/v1:explanations.proto |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,14 @@ | |
|
||
include(GoogleCloudCppLibrary) | ||
|
||
set(GOOGLE_CLOUD_CPP_SERVICE_DIRS "" "v1/") | ||
set(GOOGLE_CLOUD_CPP_SERVICE_DIRS "" "v1/" "iam/v3/") | ||
|
||
google_cloud_cpp_add_ga_grpc_library(policytroubleshooter | ||
"Policy Troubleshooter API") | ||
set(GOOGLE_CLOUD_CPP_DOXYGEN_EXTRA_INCLUDES | ||
"${PROJECT_BINARY_DIR}/google/cloud/iam_policy") | ||
Comment on lines
+21
to
+22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can remove this. It is handled by CROSS_LIB_DEPS |
||
|
||
google_cloud_cpp_add_ga_grpc_library( | ||
policytroubleshooter "Policy Troubleshooter API" CROSS_LIB_DEPS | ||
"iam_policy") | ||
|
||
if (BUILD_TESTING AND GOOGLE_CLOUD_CPP_ENABLE_CXX_EXCEPTIONS) | ||
add_executable(policytroubleshooter_quickstart "quickstart/quickstart.cc") | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"api_id": "policytroubleshooter.googleapis.com", | ||
"api_shortname": "policytroubleshooter", | ||
"client_documentation": "https://cloud.google.com/cpp/docs/reference/policytroubleshooter/latest", | ||
"distribution_name": "google-cloud-cpp", | ||
"issue_tracker": "https://issuetracker.google.com/issues?q=componentid:690790%20status=open", | ||
"language": "cpp", | ||
"library_type": "GAPIC_AUTO", | ||
"name_pretty": "Policy Troubleshooter API", | ||
"product_documentation": "https://cloud.google.com/policy-intelligence/docs/troubleshoot-access", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This link seems to indicate that the feature is "pre-GA" 🙄 do we need to add an There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It went GA this week. There may be a rollout delay on the documentation. |
||
"release_level": "stable", | ||
"repo": "googleapis/google-cloud-cpp", | ||
"requires_billing": true | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gah!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this.