Class: Google::Apis::CloudidentityV1::MembershipRole
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudidentityV1::MembershipRole
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1/classes.rb,
 lib/google/apis/cloudidentity_v1/representations.rb,
 lib/google/apis/cloudidentity_v1/representations.rb
Overview
A membership role within the Cloud Identity Groups API. A MembershipRole
defines the privileges granted to a Membership.
Instance Attribute Summary collapse
- 
  
    
      #expiry_detail  ⇒ Google::Apis::CloudidentityV1::ExpiryDetail 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The MembershipRoleexpiry details.
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the MembershipRole.
- 
  
    
      #restriction_evaluations  ⇒ Google::Apis::CloudidentityV1::RestrictionEvaluations 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Evaluations of restrictions applied to parent group on this membership. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MembershipRole 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of MembershipRole. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ MembershipRole
Returns a new instance of MembershipRole.
| 2547 2548 2549 | # File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2547 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#expiry_detail ⇒ Google::Apis::CloudidentityV1::ExpiryDetail
The MembershipRole expiry details.
Corresponds to the JSON property expiryDetail
| 2535 2536 2537 | # File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2535 def expiry_detail @expiry_detail end | 
#name ⇒ String
The name of the MembershipRole. Must be one of OWNER, MANAGER, MEMBER.
Corresponds to the JSON property name
| 2540 2541 2542 | # File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2540 def name @name end | 
#restriction_evaluations ⇒ Google::Apis::CloudidentityV1::RestrictionEvaluations
Evaluations of restrictions applied to parent group on this membership.
Corresponds to the JSON property restrictionEvaluations
| 2545 2546 2547 | # File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2545 def restriction_evaluations @restriction_evaluations end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2552 2553 2554 2555 2556 | # File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2552 def update!(**args) @expiry_detail = args[:expiry_detail] if args.key?(:expiry_detail) @name = args[:name] if args.key?(:name) @restriction_evaluations = args[:restriction_evaluations] if args.key?(:restriction_evaluations) end |