Class: Google::Apis::AccessapprovalV1::ResourceProperties

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/accessapproval_v1/classes.rb,
lib/google/apis/accessapproval_v1/representations.rb,
lib/google/apis/accessapproval_v1/representations.rb

Overview

The properties associated with the resource of the request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResourceProperties

Returns a new instance of ResourceProperties.



485
486
487
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 485

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

Returns:

  • (Boolean)


482
483
484
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 482

def excludes_descendants
  @excludes_descendants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



490
491
492
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 490

def update!(**args)
  @excludes_descendants = args[:excludes_descendants] if args.key?(:excludes_descendants)
end