Class: Google::Apis::VaultV1::Matter

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Matter

Returns a new instance of Matter.



1033
1034
1035
# File 'generated/google/apis/vault_v1/classes.rb', line 1033

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

Instance Attribute Details

#descriptionString

The description of the matter. Corresponds to the JSON property description

Returns:

  • (String)


1009
1010
1011
# File 'generated/google/apis/vault_v1/classes.rb', line 1009

def description
  @description
end

#matter_idString

The matter ID which is generated by the server. Should be blank when creating a new matter. Corresponds to the JSON property matterId

Returns:

  • (String)


1015
1016
1017
# File 'generated/google/apis/vault_v1/classes.rb', line 1015

def matter_id
  @matter_id
end

#matter_permissionsArray<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



1021
1022
1023
# File 'generated/google/apis/vault_v1/classes.rb', line 1021

def matter_permissions
  @matter_permissions
end

#nameString

The name of the matter. Corresponds to the JSON property name

Returns:

  • (String)


1026
1027
1028
# File 'generated/google/apis/vault_v1/classes.rb', line 1026

def name
  @name
end

#stateString

The state of the matter. Corresponds to the JSON property state

Returns:

  • (String)


1031
1032
1033
# File 'generated/google/apis/vault_v1/classes.rb', line 1031

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1038
1039
1040
1041
1042
1043
1044
# File 'generated/google/apis/vault_v1/classes.rb', line 1038

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