Class: Google::Apis::VaultV1::Matter
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::VaultV1::Matter
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vault_v1/classes.rb,
 generated/google/apis/vault_v1/representations.rb,
 generated/google/apis/vault_v1/representations.rb
Overview
Represents a matter.
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The description of the matter. 
- 
  
    
      #matter_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The matter ID which is generated by the server. 
- 
  
    
      #matter_permissions  ⇒ Array<Google::Apis::VaultV1::MatterPermission> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of users and access to the matter. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the matter. 
- 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The state of the matter. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Matter 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Matter. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Matter
Returns a new instance of Matter
| 473 474 475 | # File 'generated/google/apis/vault_v1/classes.rb', line 473 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#description ⇒ String
The description of the matter.
Corresponds to the JSON property description
| 449 450 451 | # File 'generated/google/apis/vault_v1/classes.rb', line 449 def description @description end | 
#matter_id ⇒ String
The matter ID which is generated by the server.
Should be blank when creating a new matter.
Corresponds to the JSON property matterId
| 455 456 457 | # File 'generated/google/apis/vault_v1/classes.rb', line 455 def matter_id @matter_id end | 
#matter_permissions ⇒ Array<Google::Apis::VaultV1::MatterPermission>
List of users and access to the matter. Currently there is no programmer
defined limit on the number of permissions a matter can have.
Corresponds to the JSON property matterPermissions
| 461 462 463 | # File 'generated/google/apis/vault_v1/classes.rb', line 461 def @matter_permissions end | 
#name ⇒ String
The name of the matter.
Corresponds to the JSON property name
| 466 467 468 | # File 'generated/google/apis/vault_v1/classes.rb', line 466 def name @name end | 
#state ⇒ String
The state of the matter.
Corresponds to the JSON property state
| 471 472 473 | # File 'generated/google/apis/vault_v1/classes.rb', line 471 def state @state end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 478 479 480 481 482 483 484 | # File 'generated/google/apis/vault_v1/classes.rb', line 478 def update!(**args) @description = args[:description] if args.key?(:description) @matter_id = args[:matter_id] if args.key?(:matter_id) @matter_permissions = args[:matter_permissions] if args.key?(:matter_permissions) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end |