Cloud Asset V1 API - Class Google::Cloud::Asset::V1::IamPolicyAnalysisResult::Access (v1.2.0)

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

An IAM role or permission under analysis.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#analysis_state

def analysis_state() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisState
Returns

#analysis_state=

def analysis_state=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisState
Parameter
Returns

#permission

def permission() -> ::String
Returns
  • (::String) — The permission.

    Note: The following fields are mutually exclusive: permission, role. If a field in that set is populated, all other fields in the set will automatically be cleared.

#permission=

def permission=(value) -> ::String
Parameter
  • value (::String) — The permission.

    Note: The following fields are mutually exclusive: permission, role. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — The permission.

    Note: The following fields are mutually exclusive: permission, role. If a field in that set is populated, all other fields in the set will automatically be cleared.

#role

def role() -> ::String
Returns
  • (::String) — The role.

    Note: The following fields are mutually exclusive: role, permission. If a field in that set is populated, all other fields in the set will automatically be cleared.

#role=

def role=(value) -> ::String
Parameter
  • value (::String) — The role.

    Note: The following fields are mutually exclusive: role, permission. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — The role.

    Note: The following fields are mutually exclusive: role, permission. If a field in that set is populated, all other fields in the set will automatically be cleared.