Class: Google::Apis::CloudassetV1::IdentitySelector
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::IdentitySelector
- 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
Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.
Instance Attribute Summary collapse
-
#identity ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IdentitySelector
constructor
A new instance of IdentitySelector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IdentitySelector
Returns a new instance of IdentitySelector.
4180 4181 4182 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4180 def initialize(**args) update!(**args) end |
Instance Attribute Details
#identity ⇒ String
Required. The identity appear in the form of principals in IAM policy binding. The examples of
supported forms are: "user:[email protected]", "group:[email protected]", "
domain:google.com", "serviceAccount:[email protected]".
Notice that wildcard characters (such as * and ?) are not supported. You must
give a specific identity.
Corresponds to the JSON property identity
4178 4179 4180 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4178 def identity @identity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4185 4186 4187 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4185 def update!(**args) @identity = args[:identity] if args.key?(:identity) end |