Cloud Asset V1 API - Class Google::Cloud::Asset::V1::IamPolicyAnalysisQuery (v0.18.0)

Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::IamPolicyAnalysisQuery.

IAM policy analysis query message.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#access_selector

def access_selector() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::AccessSelector
Returns

#access_selector=

def access_selector=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::AccessSelector
Parameter
Returns

#condition_context

def condition_context() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ConditionContext
Returns

#condition_context=

def condition_context=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ConditionContext
Parameter
Returns

#identity_selector

def identity_selector() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::IdentitySelector
Returns

#identity_selector=

def identity_selector=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::IdentitySelector
Parameter
Returns

#options

def options() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::Options
Returns

#options=

def options=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::Options
Parameter
Returns

#resource_selector

def resource_selector() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ResourceSelector
Returns

#resource_selector=

def resource_selector=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ResourceSelector
Parameter
Returns

#scope

def scope() -> ::String
Returns
  • (::String) — Required. The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed.

    This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").

    To know how to get organization id, visit here .

    To know how to get folder or project id, visit here .

#scope=

def scope=(value) -> ::String
Parameter
  • value (::String) — Required. The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed.

    This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").

    To know how to get organization id, visit here .

    To know how to get folder or project id, visit here .

Returns
  • (::String) — Required. The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed.

    This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").

    To know how to get organization id, visit here .

    To know how to get folder or project id, visit here .