Privileged Access Manager V1 API - Class Google::Cloud::PrivilegedAccessManager::V1::ApproveGrantRequest (v0.1.2)

Reference documentation and code samples for the Privileged Access Manager V1 API class Google::Cloud::PrivilegedAccessManager::V1::ApproveGrantRequest.

Request message for ApproveGrant method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the grant resource which is being approved.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the grant resource which is being approved.
Returns
  • (::String) — Required. Name of the grant resource which is being approved.

#reason

def reason() -> ::String
Returns
  • (::String) — Optional. The reason for approving this grant. This is required if the require_approver_justification field of the ManualApprovals workflow used in this grant is true.

#reason=

def reason=(value) -> ::String
Parameter
  • value (::String) — Optional. The reason for approving this grant. This is required if the require_approver_justification field of the ManualApprovals workflow used in this grant is true.
Returns
  • (::String) — Optional. The reason for approving this grant. This is required if the require_approver_justification field of the ManualApprovals workflow used in this grant is true.