Class: Google::Apis::VaultV1::Matter
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::Matter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vault_v1/classes.rb,
lib/google/apis/vault_v1/representations.rb,
lib/google/apis/vault_v1/representations.rb
Overview
Represents a matter. To work with Vault resources, the account must have the required Vault privileges and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the View All Matters privilege.
Instance Attribute Summary collapse
-
#description ⇒ String
An optional description for the matter.
-
#matter_id ⇒ String
The matter ID, which is generated by the server.
-
#matter_permissions ⇒ Array<Google::Apis::VaultV1::MatterPermission>
Lists the users and their permission for the matter.
-
#matter_region ⇒ String
Optional.
-
#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.
Constructor Details
#initialize(**args) ⇒ Matter
Returns a new instance of Matter.
1499 1500 1501 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1499 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
An optional description for the matter.
Corresponds to the JSON property description
1470 1471 1472 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1470 def description @description end |
#matter_id ⇒ String
The matter ID, which is generated by the server. Leave blank when creating a
matter.
Corresponds to the JSON property matterId
1476 1477 1478 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1476 def matter_id @matter_id end |
#matter_permissions ⇒ Array<Google::Apis::VaultV1::MatterPermission>
Lists the users and their permission for the matter. Currently there is no
programmer defined limit on the number of permissions a matter can have.
Corresponds to the JSON property matterPermissions
1482 1483 1484 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1482 def @matter_permissions end |
#matter_region ⇒ String
Optional. The requested data region for the matter.
Corresponds to the JSON property matterRegion
1487 1488 1489 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1487 def matter_region @matter_region end |
#name ⇒ String
The name of the matter.
Corresponds to the JSON property name
1492 1493 1494 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1492 def name @name end |
#state ⇒ String
The state of the matter.
Corresponds to the JSON property state
1497 1498 1499 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1497 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1504 1505 1506 1507 1508 1509 1510 1511 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1504 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) @matter_region = args[:matter_region] if args.key?(:matter_region) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end |