(::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.
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.
Returns
(::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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# Policy Simulator V1 API - Class Google::Cloud::PolicySimulator::V1::ReplayConfig (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-ReplayConfig)\n- [1.3.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.3.0/Google-Cloud-PolicySimulator-V1-ReplayConfig)\n- [1.2.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.2.1/Google-Cloud-PolicySimulator-V1-ReplayConfig)\n- [1.1.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.1.0/Google-Cloud-PolicySimulator-V1-ReplayConfig)\n- [1.0.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/1.0.1/Google-Cloud-PolicySimulator-V1-ReplayConfig)\n- [0.4.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.4.0/Google-Cloud-PolicySimulator-V1-ReplayConfig)\n- [0.3.2](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.3.2/Google-Cloud-PolicySimulator-V1-ReplayConfig)\n- [0.2.0](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.2.0/Google-Cloud-PolicySimulator-V1-ReplayConfig)\n- [0.1.1](/ruby/docs/reference/google-cloud-policy_simulator-v1/0.1.1/Google-Cloud-PolicySimulator-V1-ReplayConfig) \nReference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::PolicySimulator::V1::ReplayConfig.\n\nThe configuration used for a\n[Replay](/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay \"Google::Cloud::PolicySimulator::V1::Replay (class)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #log_source\n\n def log_source() -\u003e ::Google::Cloud::PolicySimulator::V1::ReplayConfig::LogSource\n\n**Returns**\n\n- ([::Google::Cloud::PolicySimulator::V1::ReplayConfig::LogSource](./Google-Cloud-PolicySimulator-V1-ReplayConfig-LogSource)) --- The logs to use as input for the [Replay](/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay \"Google::Cloud::PolicySimulator::V1::Replay (class)\").\n\n### #log_source=\n\n def log_source=(value) -\u003e ::Google::Cloud::PolicySimulator::V1::ReplayConfig::LogSource\n\n**Parameter**\n\n- **value** ([::Google::Cloud::PolicySimulator::V1::ReplayConfig::LogSource](./Google-Cloud-PolicySimulator-V1-ReplayConfig-LogSource)) --- The logs to use as input for the [Replay](/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay \"Google::Cloud::PolicySimulator::V1::Replay (class)\"). \n**Returns**\n\n- ([::Google::Cloud::PolicySimulator::V1::ReplayConfig::LogSource](./Google-Cloud-PolicySimulator-V1-ReplayConfig-LogSource)) --- The logs to use as input for the [Replay](/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay \"Google::Cloud::PolicySimulator::V1::Replay (class)\").\n\n### #policy_overlay\n\n def policy_overlay() -\u003e ::Google::Protobuf::Map{::String =\u003e ::Google::Iam::V1::Policy}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::Google::Iam::V1::Policy}) --- A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.\n\n Keys are the full resource names for the resources. For example,\n `//cloudresourcemanager.googleapis.com/projects/my-project`.\n For examples of full resource names for Google Cloud services, see\n https://cloud.google.com/iam/help/troubleshooter/full-resource-names.\n\n Values are [Policy](/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Iam-V1-Policy \"Google::Iam::V1::Policy (class)\") objects representing the policies\n that you want to simulate.\n\n Replays automatically take into account any IAM policies inherited through\n the resource hierarchy, and any policies set on descendant resources. You\n do not need to include these policies in the policy overlay.\n\n### #policy_overlay=\n\n def policy_overlay=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::Google::Iam::V1::Policy}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::Google::Iam::V1::Policy}) --- A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.\n\n\n Keys are the full resource names for the resources. For example,\n `//cloudresourcemanager.googleapis.com/projects/my-project`.\n For examples of full resource names for Google Cloud services, see\n https://cloud.google.com/iam/help/troubleshooter/full-resource-names.\n\n Values are [Policy](/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Iam-V1-Policy \"Google::Iam::V1::Policy (class)\") objects representing the policies\n that you want to simulate.\n\n Replays automatically take into account any IAM policies inherited through\n the resource hierarchy, and any policies set on descendant resources. You\ndo not need to include these policies in the policy overlay. \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::Google::Iam::V1::Policy}) --- A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.\n\n Keys are the full resource names for the resources. For example,\n `//cloudresourcemanager.googleapis.com/projects/my-project`.\n For examples of full resource names for Google Cloud services, see\n https://cloud.google.com/iam/help/troubleshooter/full-resource-names.\n\n Values are [Policy](/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Iam-V1-Policy \"Google::Iam::V1::Policy (class)\") objects representing the policies\n that you want to simulate.\n\n Replays automatically take into account any IAM policies inherited through\n the resource hierarchy, and any policies set on descendant resources. You\n do not need to include these policies in the policy overlay."]]