Class: Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1Identity

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudasset_v1p4beta1/classes.rb,
generated/google/apis/cloudasset_v1p4beta1/representations.rb,
generated/google/apis/cloudasset_v1p4beta1/representations.rb

Overview

An identity that appears in an access control list.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssetV1p4beta1Identity

Returns a new instance of GoogleCloudAssetV1p4beta1Identity.



459
460
461
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 459

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#analysis_stateGoogle::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1AnalysisState

Represents analysis state of each node in the result graph or non-critical errors in the response. Corresponds to the JSON property analysisState



442
443
444
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 442

def analysis_state
  @analysis_state
end

#nameString

The identity name in any form of members appear in IAM policy binding, such as:

Returns:

  • (String)


457
458
459
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 457

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



464
465
466
467
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 464

def update!(**args)
  @analysis_state = args[:analysis_state] if args.key?(:analysis_state)
  @name = args[:name] if args.key?(:name)
end