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

Constructor Details

#initialize(**args) ⇒ Matter

Returns a new instance of Matter.



1328
1329
1330
# File 'generated/google/apis/vault_v1/classes.rb', line 1328

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


1304
1305
1306
# File 'generated/google/apis/vault_v1/classes.rb', line 1304

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)


1310
1311
1312
# File 'generated/google/apis/vault_v1/classes.rb', line 1310

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



1316
1317
1318
# File 'generated/google/apis/vault_v1/classes.rb', line 1316

def matter_permissions
  @matter_permissions
end

#nameString

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

Returns:

  • (String)


1321
1322
1323
# File 'generated/google/apis/vault_v1/classes.rb', line 1321

def name
  @name
end

#stateString

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

Returns:

  • (String)


1326
1327
1328
# File 'generated/google/apis/vault_v1/classes.rb', line 1326

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1333
1334
1335
1336
1337
1338
1339
# File 'generated/google/apis/vault_v1/classes.rb', line 1333

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