Class: Google::Apis::CloudsearchV1::RbacSubjectProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::RbacSubjectProto
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Principal associated with a given RBAC subject. This principal is used by Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
Instance Attribute Summary collapse
-
#username ⇒ String
Format "username" without "@domain", e.g., "bogdand".
Instance Method Summary collapse
-
#initialize(**args) ⇒ RbacSubjectProto
constructor
A new instance of RbacSubjectProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RbacSubjectProto
Returns a new instance of RbacSubjectProto.
16959 16960 16961 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16959 def initialize(**args) update!(**args) end |
Instance Attribute Details
#username ⇒ String
Format "username" without "@domain", e.g., "bogdand".
Corresponds to the JSON property username
16957 16958 16959 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16957 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16964 16965 16966 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16964 def update!(**args) @username = args[:username] if args.key?(:username) end |