Skip to content

Commit

Permalink
fix: [policysimulator] add missing options for policysimulator (#9672)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 549955120

Source-Link: https://togithub.com/googleapis/googleapis/commit/a66f1880702f105844cb50775585e1a72108a667

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/94e952e64e8856da289a1b9bc254b708bb4f8a5e
Copy-Tag: eyJwIjoiamF2YS1wb2xpY3lzaW11bGF0b3IvLk93bEJvdC55YW1sIiwiaCI6Ijk0ZTk1MmU2NGU4ODU2ZGEyODlhMWI5YmMyNTRiNzA4YmI0ZjhhNWUifQ==
  • Loading branch information
gcf-owl-bot[bot] committed Jul 21, 2023
1 parent 62b5ea1 commit 56c3922
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
Expand Up @@ -103,11 +103,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ANTED\020\002\022\027\n\023UNKNOWN_CONDITIONAL\020\003\022\027\n\023UNKN"
+ "OWN_INFO_DENIED\020\004*O\n\022HeuristicRelevance\022"
+ "#\n\037HEURISTIC_RELEVANCE_UNSPECIFIED\020\000\022\n\n\006"
+ "NORMAL\020\001\022\010\n\004HIGH\020\002B\214\001\n#com.google.cloud."
+ "NORMAL\020\001\022\010\n\004HIGH\020\002B\365\001\n#com.google.cloud."
+ "policysimulator.v1B\021ExplanationsProtoP\001Z"
+ "Mcloud.google.com/go/policysimulator/api"
+ "v1/policysimulatorpb;policysimulatorpb\370\001"
+ "\001b\006proto3"
+ "\001\252\002\037Google.Cloud.PolicySimulator.V1\312\002\037Go"
+ "ogle\\Cloud\\PolicySimulator\\V1\352\002\"Google::"
+ "Cloud::PolicySimulator::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -196,11 +196,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ltsZ<\022:/v1/{parent=organizations/*/locat"
+ "ions/*/replays/*}/results\032R\312A\036policysimu"
+ "lator.googleapis.com\322A.https://www.googl"
+ "eapis.com/auth/cloud-platformB\211\001\n#com.go"
+ "eapis.com/auth/cloud-platformB\362\001\n#com.go"
+ "ogle.cloud.policysimulator.v1B\016Simulator"
+ "ProtoP\001ZMcloud.google.com/go/policysimul"
+ "ator/apiv1/policysimulatorpb;policysimul"
+ "atorpb\370\001\001b\006proto3"
+ "atorpb\370\001\001\252\002\037Google.Cloud.PolicySimulator"
+ ".V1\312\002\037Google\\Cloud\\PolicySimulator\\V1\352\002\""
+ "Google::Cloud::PolicySimulator::V1b\006prot"
+ "o3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -21,10 +21,13 @@ import "google/iam/v1/policy.proto";
import "google/type/expr.proto";

option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.PolicySimulator.V1";
option go_package = "cloud.google.com/go/policysimulator/apiv1/policysimulatorpb;policysimulatorpb";
option java_multiple_files = true;
option java_outer_classname = "ExplanationsProto";
option java_package = "com.google.cloud.policysimulator.v1";
option php_namespace = "Google\\Cloud\\PolicySimulator\\V1";
option ruby_package = "Google::Cloud::PolicySimulator::V1";

// Whether a principal has a permission for a resource.
enum AccessState {
Expand Down
Expand Up @@ -28,10 +28,13 @@ import "google/rpc/status.proto";
import "google/type/date.proto";

option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.PolicySimulator.V1";
option go_package = "cloud.google.com/go/policysimulator/apiv1/policysimulatorpb;policysimulatorpb";
option java_multiple_files = true;
option java_outer_classname = "SimulatorProto";
option java_package = "com.google.cloud.policysimulator.v1";
option php_namespace = "Google\\Cloud\\PolicySimulator\\V1";
option ruby_package = "Google::Cloud::PolicySimulator::V1";

// Policy Simulator API service.
//
Expand Down Expand Up @@ -234,9 +237,7 @@ message CreateReplayRequest {
// resource must be a project, folder, or organization with a location.
//
// Example: `projects/my-example-project/locations/global`
string parent = 1 [
(google.api.field_behavior) = REQUIRED
];
string parent = 1 [(google.api.field_behavior) = REQUIRED];

// Required. The [Replay][google.cloud.policysimulator.v1.Replay] to create.
// Set `Replay.ReplayConfig` to configure the replay.
Expand Down

0 comments on commit 56c3922

Please sign in to comment.