Policy Simulator V1 API - Class Google::Cloud::PolicySimulator::V1::ReplayConfig (v0.4.0)

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
Returns

#log_source=

def log_source=(value) -> ::Google::Cloud::PolicySimulator::V1::ReplayConfig::LogSource
Parameter
Returns

#policy_overlay

def policy_overlay() -> ::Google::Protobuf::Map{::String => ::Google::Iam::V1::Policy}
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.

#policy_overlay=

def policy_overlay=(value) -> ::Google::Protobuf::Map{::String => ::Google::Iam::V1::Policy}
Parameter
  • 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.