Class: Google::Apis::CloudsearchV1::RbacRoleProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::RbacRoleProto
- 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 role. This principal is used by Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
Instance Attribute Summary collapse
-
#name ⇒ String
Corresponds to the JSON property
name
. -
#object_id_prop ⇒ String
Corresponds to the JSON property
objectId
. -
#rbac_namespace ⇒ String
DEPRECATED as of 01.11.2019 Corresponds to the JSON property
rbacNamespace
. -
#rbac_role_name ⇒ String
Format: "role/z?" - "role" is the Sphinx globally unique name of the Sphinx role that provisions the RBAC role.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RbacRoleProto
constructor
A new instance of RbacRoleProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RbacRoleProto
Returns a new instance of RbacRoleProto.
16936 16937 16938 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16936 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Corresponds to the JSON property name
16916 16917 16918 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16916 def name @name end |
#object_id_prop ⇒ String
Corresponds to the JSON property objectId
16921 16922 16923 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16921 def object_id_prop @object_id_prop end |
#rbac_namespace ⇒ String
DEPRECATED as of 01.11.2019
Corresponds to the JSON property rbacNamespace
16926 16927 16928 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16926 def rbac_namespace @rbac_namespace end |
#rbac_role_name ⇒ String
Format: "role/z?" - "role" is the Sphinx globally unique name of the Sphinx
role that provisions the RBAC role. - "/z?" suffix indicates which Zanzibar
environment stores the role membership data ("/zd": dev, "/zs": staging, "/zp":
prod, "/zt": local test instance). Example: "mysystem_myrole/zp"
Corresponds to the JSON property rbacRoleName
16934 16935 16936 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16934 def rbac_role_name @rbac_role_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16941 16942 16943 16944 16945 16946 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16941 def update!(**args) @name = args[:name] if args.key?(:name) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @rbac_namespace = args[:rbac_namespace] if args.key?(:rbac_namespace) @rbac_role_name = args[:rbac_role_name] if args.key?(:rbac_role_name) end |