Class: Google::Apis::CloudsearchV1::RbacRoleProto

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 role. 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) ⇒ RbacRoleProto

Returns a new instance of RbacRoleProto.



13772
13773
13774
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13772

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


13754
13755
13756
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13754

def name
  @name
end

#object_id_propString

Corresponds to the JSON property objectId

Returns:

  • (String)


13759
13760
13761
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13759

def object_id_prop
  @object_id_prop
end

#rbac_namespaceString

DEPRECATED as of 01.11.2019 Corresponds to the JSON property rbacNamespace

Returns:

  • (String)


13764
13765
13766
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13764

def rbac_namespace
  @rbac_namespace
end

#rbac_role_nameString

Format: "RbacNamespaceName.RbacRoleName(/field=value)*", e.g., "hr.v1.Reader", "hr.v1.Reader/language=EN_US/country=USA/room=NYC-9th-11A201". Corresponds to the JSON property rbacRoleName

Returns:

  • (String)


13770
13771
13772
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13770

def rbac_role_name
  @rbac_role_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13777
13778
13779
13780
13781
13782
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13777

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