class Google::Apis::CloudassetV1::IdentitySelector
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.
Attributes
identity[RW]
Required. The identity appear in the form of members in [IAM policy binding]( cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: “user:mike@example.com”, “group:admins@example.com”, “ domain:google.com”, “serviceAccount:my-project-id@appspot.gserviceaccount.com”. Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity. Corresponds to the JSON property `identity` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudasset_v1/classes.rb, line 3028 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 3033 def update!(**args) @identity = args[:identity] if args.key?(:identity) end