# Privileged Access Manager V1 API - Class Google::Cloud::PrivilegedAccessManager::V1::RevokeGrantRequest (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Privileged Access Manager V1 API class Google::Cloud::PrivilegedAccessManager::V1::RevokeGrantRequest.

Request message for `RevokeGrant` 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 revoked.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Name of the grant resource which is being revoked.
**Returns**

- (::String) --- Required. Name of the grant resource which is being revoked.

### #reason

    def reason() -> ::String

**Returns**

- (::String) --- Optional. The reason for revoking this grant.

### #reason=

    def reason=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The reason for revoking this grant.
**Returns**

- (::String) --- Optional. The reason for revoking this grant.