class Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1Access
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::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1AnalysisState]
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_v1p4beta1/classes.rb, line 398 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_v1p4beta1/classes.rb, line 403 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