Class: Google::Apis::CloudassetV1::GoogleCloudAssetV1Identity
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::GoogleCloudAssetV1Identity
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
An identity under analysis.
Instance Attribute Summary collapse
-
#analysis_state ⇒ Google::Apis::CloudassetV1::IamPolicyAnalysisState
Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.
-
#name ⇒ String
The identity of members, formatted as appear in an IAM policy binding.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssetV1Identity
constructor
A new instance of GoogleCloudAssetV1Identity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssetV1Identity
Returns a new instance of GoogleCloudAssetV1Identity.
1976 1977 1978 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1976 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analysis_state ⇒ Google::Apis::CloudassetV1::IamPolicyAnalysisState
Represents the detailed state of an entity under analysis, such as a resource,
an identity or an access.
Corresponds to the JSON property analysisState
1965 1966 1967 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1965 def analysis_state @analysis_state end |
#name ⇒ String
The identity of members, formatted as appear in an IAM policy binding. For example, they might be formatted like the following: - user:foo@google.com - group:group1@google.com - serviceAccount:s1@prj1.iam.gserviceaccount.com - projectOwner:some_project_id
- domain:google.com - allUsers
Corresponds to the JSON property
name
1974 1975 1976 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1974 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1981 1982 1983 1984 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1981 def update!(**args) @analysis_state = args[:analysis_state] if args.key?(:analysis_state) @name = args[:name] if args.key?(:name) end |