class Google::Apis::CloudassetV1::GoogleCloudAssetV1Access

An IAM role or permission under analysis.

Attributes

analysis_state[RW]

Represents the detailed state of an entity under analysis, such as a resource, an identity or an access. Corresponds to the JSON property `analysisState` @return [Google::Apis::CloudassetV1::IamPolicyAnalysisState]

permission[RW]

The permission. Corresponds to the JSON property `permission` @return [String]

role[RW]

The role. Corresponds to the JSON property `role` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1/classes.rb, line 1026
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudasset_v1/classes.rb, line 1031
def update!(**args)
  @analysis_state = args[:analysis_state] if args.key?(:analysis_state)
  @permission = args[:permission] if args.key?(:permission)
  @role = args[:role] if args.key?(:role)
end