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
- (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::AccessSelector) — Optional. Specifies roles or permissions for analysis. This is optional.
#access_selector=
def access_selector=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::AccessSelector
- value (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::AccessSelector) — Optional. Specifies roles or permissions for analysis. This is optional.
- (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::AccessSelector) — Optional. Specifies roles or permissions for analysis. This is optional.
#condition_context
def condition_context() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ConditionContext
- (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ConditionContext) — Optional. The hypothetical context for IAM conditions evaluation.
#condition_context=
def condition_context=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ConditionContext
- value (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ConditionContext) — Optional. The hypothetical context for IAM conditions evaluation.
- (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ConditionContext) — Optional. The hypothetical context for IAM conditions evaluation.
#identity_selector
def identity_selector() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::IdentitySelector
- (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::IdentitySelector) — Optional. Specifies an identity for analysis.
#identity_selector=
def identity_selector=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::IdentitySelector
- value (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::IdentitySelector) — Optional. Specifies an identity for analysis.
- (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::IdentitySelector) — Optional. Specifies an identity for analysis.
#options
def options() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::Options
- (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::Options) — Optional. The query options.
#options=
def options=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::Options
- value (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::Options) — Optional. The query options.
- (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::Options) — Optional. The query options.
#resource_selector
def resource_selector() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ResourceSelector
- (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ResourceSelector) — Optional. Specifies a resource for analysis.
#resource_selector=
def resource_selector=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ResourceSelector
- value (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ResourceSelector) — Optional. Specifies a resource for analysis.
- (::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::ResourceSelector) — Optional. Specifies a resource for analysis.
#scope
def scope() -> ::String
-
(::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
-
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 .
-
(::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 .