class Google::Apis::VaultV1::Matter

Represents a matter. To work with Vault resources, the account must have the [ required Vault privileges] (support.google.com/vault/answer/2799699) 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.

Attributes

description[RW]

An optional description for the matter. Corresponds to the JSON property `description` @return [String]

matter_id[RW]

The matter ID, which is generated by the server. Leave blank when creating a matter. Corresponds to the JSON property `matterId` @return [String]

matter_permissions[RW]

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` @return [Array<Google::Apis::VaultV1::MatterPermission>]

name[RW]

The name of the matter. Corresponds to the JSON property `name` @return [String]

state[RW]

The state of the matter. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vault_v1/classes.rb, line 1357
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vault_v1/classes.rb, line 1362
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