Class: Google::Apis::VaultV1::AddMatterPermissionsRequest
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::AddMatterPermissionsRequest
- 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
Add an account with the permission specified. The role cannot be owner. If an account already has a role in the matter, the existing role is overwritten.
Instance Attribute Summary collapse
-
#cc_me ⇒ Boolean
(also: #cc_me?)
Only relevant if sendEmails is true.
-
#matter_permission ⇒ Google::Apis::VaultV1::MatterPermission
Users can be matter owners or collaborators.
-
#send_emails ⇒ Boolean
(also: #send_emails?)
To send a notification email to the added account, set to true.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddMatterPermissionsRequest
constructor
A new instance of AddMatterPermissionsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddMatterPermissionsRequest
Returns a new instance of AddMatterPermissionsRequest.
201 202 203 |
# File 'lib/google/apis/vault_v1/classes.rb', line 201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cc_me ⇒ Boolean Also known as: cc_me?
Only relevant if sendEmails is true. To CC the requestor in the email
message, set to true. To not CC requestor, set to false.
Corresponds to the JSON property ccMe
184 185 186 |
# File 'lib/google/apis/vault_v1/classes.rb', line 184 def cc_me @cc_me end |
#matter_permission ⇒ Google::Apis::VaultV1::MatterPermission
Users can be matter owners or collaborators. Each matter has only one owner.
All others users who can access the matter are collaborators. When an account
is purged, its corresponding MatterPermission resources cease to exist.
Corresponds to the JSON property matterPermission
192 193 194 |
# File 'lib/google/apis/vault_v1/classes.rb', line 192 def @matter_permission end |
#send_emails ⇒ Boolean Also known as: send_emails?
To send a notification email to the added account, set to true. To not
send a notification email, set to false.
Corresponds to the JSON property sendEmails
198 199 200 |
# File 'lib/google/apis/vault_v1/classes.rb', line 198 def send_emails @send_emails end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
206 207 208 209 210 |
# File 'lib/google/apis/vault_v1/classes.rb', line 206 def update!(**args) @cc_me = args[:cc_me] if args.key?(:cc_me) @matter_permission = args[:matter_permission] if args.key?(:matter_permission) @send_emails = args[:send_emails] if args.key?(:send_emails) end |