# Policy Simulator V1 API - Class Google::Cloud::OrgPolicy::V2::GetCustomConstraintRequest (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.4.0 0.3.2 0.2.0 0.1.1 Reference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::OrgPolicy::V2::GetCustomConstraintRequest.

The request sent to the \[GetCustomConstraint\]
\[google.cloud.orgpolicy.v2.OrgPolicy.GetCustomConstraint\] method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Resource name of the custom or managed constraint. See the custom constraint entry for naming requirements.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Resource name of the custom or managed constraint. See the custom constraint entry for naming requirements.
**Returns**

- (::String) --- Required. Resource name of the custom or managed constraint. See the custom constraint entry for naming requirements.