Class: Google::Apis::CloudsearchV1::RbacSubjectProto

Inherits:
Object
  • Object
show all
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 (go/cedi-auth) provisionable (go/sphinx- rbacz-design).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RbacSubjectProto

Returns a new instance of RbacSubjectProto.



13796
13797
13798
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13796

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

Instance Attribute Details

#usernameString

Format "username" without "@domain", e.g., "bogdand". Corresponds to the JSON property username

Returns:

  • (String)


13794
13795
13796
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13794

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13801
13802
13803
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13801

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