class Google::Apis::CloudassetV1::GoogleCloudAssetV1Identity

An identity 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]

name[RW]

The identity name in any form of members appear in [IAM policy binding](https:/ /cloud.google.com/iam/reference/rest/v1/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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1/classes.rb, line 1212
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 1217
def update!(**args)
  @analysis_state = args[:analysis_state] if args.key?(:analysis_state)
  @name = args[:name] if args.key?(:name)
end