Class: Google::Apis::CloudassetV1::GoogleCloudAssetV1DeniedAccessIdentity

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssetV1DeniedAccessIdentity

Returns a new instance of GoogleCloudAssetV1DeniedAccessIdentity.



1877
1878
1879
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1877

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)


1875
1876
1877
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1875

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1882
1883
1884
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1882

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