Class: Google::Apis::AccessapprovalV1::ResourceProperties
- Inherits:
-
Object
- Object
- Google::Apis::AccessapprovalV1::ResourceProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/accessapproval_v1/classes.rb,
generated/google/apis/accessapproval_v1/representations.rb,
generated/google/apis/accessapproval_v1/representations.rb
Overview
The properties associated with the resource of the request.
Instance Attribute Summary collapse
-
#excludes_descendants ⇒ Boolean
(also: #excludes_descendants?)
Whether an approval will exclude the descendants of the resource being requested.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceProperties
constructor
A new instance of ResourceProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceProperties
Returns a new instance of ResourceProperties.
389 390 391 |
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 389 def initialize(**args) update!(**args) end |
Instance Attribute Details
#excludes_descendants ⇒ Boolean Also known as: excludes_descendants?
Whether an approval will exclude the descendants of the resource being
requested.
Corresponds to the JSON property excludesDescendants
386 387 388 |
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 386 def excludes_descendants @excludes_descendants end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
394 395 396 |
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 394 def update!(**args) @excludes_descendants = args[:excludes_descendants] if args.key?(:excludes_descendants) end |