Reference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::PolicySimulator::V1::ReplayConfig.
The configuration used for a Replay.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#log_source
def log_source() -> ::Google::Cloud::PolicySimulator::V1::ReplayConfig::LogSource
- (::Google::Cloud::PolicySimulator::V1::ReplayConfig::LogSource) — The logs to use as input for the Replay.
#log_source=
def log_source=(value) -> ::Google::Cloud::PolicySimulator::V1::ReplayConfig::LogSource
- value (::Google::Cloud::PolicySimulator::V1::ReplayConfig::LogSource) — The logs to use as input for the Replay.
- (::Google::Cloud::PolicySimulator::V1::ReplayConfig::LogSource) — The logs to use as input for the Replay.
#policy_overlay
def policy_overlay() -> ::Google::Protobuf::Map{::String => ::Google::Iam::V1::Policy}
-
(::Google::Protobuf::Map{::String => ::Google::Iam::V1::Policy}) — A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
Keys are the full resource names for the resources. For example,
//cloudresourcemanager.googleapis.com/projects/my-project
. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.Values are Policy objects representing the policies that you want to simulate.
Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.
#policy_overlay=
def policy_overlay=(value) -> ::Google::Protobuf::Map{::String => ::Google::Iam::V1::Policy}
-
value (::Google::Protobuf::Map{::String => ::Google::Iam::V1::Policy}) — A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
Keys are the full resource names for the resources. For example,
//cloudresourcemanager.googleapis.com/projects/my-project
. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.Values are Policy objects representing the policies that you want to simulate.
Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.
-
(::Google::Protobuf::Map{::String => ::Google::Iam::V1::Policy}) — A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
Keys are the full resource names for the resources. For example,
//cloudresourcemanager.googleapis.com/projects/my-project
. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.Values are Policy objects representing the policies that you want to simulate.
Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.