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 name in any form of members appear in IAM policy binding, such as: - user:foo@google.
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.
1212 1213 1214 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1212 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
1202 1203 1204 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1202 def analysis_state @analysis_state end |
#name ⇒ String
The identity name in any form of members appear in IAM policy binding, such as: - user:foo@google. com - group:group1@google.com - serviceAccount:s1@prj1.iam.gserviceaccount.com
- projectOwner:some_project_id - domain:google.com - allUsers - etc.
Corresponds to the JSON property
name
1210 1211 1212 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1210 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1217 1218 1219 1220 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1217 def update!(**args) @analysis_state = args[:analysis_state] if args.key?(:analysis_state) @name = args[:name] if args.key?(:name) end |