Class: Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy
- Inherits:
-
Object
- Object
- Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy
- 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
Represents all the policies that can be set for Customer Approval.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomerApprovalApprovalPolicy
constructor
A new instance of CustomerApprovalApprovalPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomerApprovalApprovalPolicy
Returns a new instance of CustomerApprovalApprovalPolicy.
447 448 449 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 447 def initialize(**args) update!(**args) end |
Instance Attribute Details
#justification_based_approval_policy ⇒ String
Optional. Policy for approval based on the justification given.
Corresponds to the JSON property justificationBasedApprovalPolicy
445 446 447 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 445 def justification_based_approval_policy @justification_based_approval_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
452 453 454 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 452 def update!(**args) @justification_based_approval_policy = args[:justification_based_approval_policy] if args.key?(:justification_based_approval_policy) end |