Class: Google::Apis::AccessapprovalV1beta1::ResourceProperties

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

Overview

The properties associated with the resource of the request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ResourceProperties

Returns a new instance of ResourceProperties.



406
407
408
# File 'generated/google/apis/accessapproval_v1beta1/classes.rb', line 406

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

Instance Attribute Details

#excludes_descendantsBoolean 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)


403
404
405
# File 'generated/google/apis/accessapproval_v1beta1/classes.rb', line 403

def excludes_descendants
  @excludes_descendants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



411
412
413
# File 'generated/google/apis/accessapproval_v1beta1/classes.rb', line 411

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