Class: Google::Apis::VaultV1::AddMatterPermissionsRequest
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::AddMatterPermissionsRequest
- 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
Add an account with the permission specified. The role cannot be owner. If an account already has a role in the matter, it will be overwritten.
Instance Attribute Summary collapse
-
#cc_me ⇒ Boolean
(also: #cc_me?)
Only relevant if send_emails is true.
-
#matter_permission ⇒ Google::Apis::VaultV1::MatterPermission
Currently each matter only has one owner, and all others are collaborators.
-
#send_emails ⇒ Boolean
(also: #send_emails?)
True to send notification email to the added account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddMatterPermissionsRequest
constructor
A new instance of AddMatterPermissionsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddMatterPermissionsRequest
Returns a new instance of AddMatterPermissionsRequest.
150 151 152 |
# File 'generated/google/apis/vault_v1/classes.rb', line 150 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cc_me ⇒ Boolean Also known as: cc_me?
Only relevant if send_emails is true.
True to CC requestor in the email message.
False to not CC requestor.
Corresponds to the JSON property ccMe
133 134 135 |
# File 'generated/google/apis/vault_v1/classes.rb', line 133 def cc_me @cc_me end |
#matter_permission ⇒ Google::Apis::VaultV1::MatterPermission
Currently each matter only has one owner, and all others are collaborators.
When an account is purged, its corresponding MatterPermission resources
cease to exist.
Corresponds to the JSON property matterPermission
141 142 143 |
# File 'generated/google/apis/vault_v1/classes.rb', line 141 def @matter_permission end |
#send_emails ⇒ Boolean Also known as: send_emails?
True to send notification email to the added account.
False to not send notification email.
Corresponds to the JSON property sendEmails
147 148 149 |
# File 'generated/google/apis/vault_v1/classes.rb', line 147 def send_emails @send_emails end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
155 156 157 158 159 |
# File 'generated/google/apis/vault_v1/classes.rb', line 155 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 |