# NetApp V1 API - Class Google::Cloud::NetApp::V1::CreateQuotaRuleRequest (v2.11.0)

2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.2 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.6.0 0.5.2 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::CreateQuotaRuleRequest.

CreateQuotaRuleRequest for creating a quota rule.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Parent value for CreateQuotaRuleRequest

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Parent value for CreateQuotaRuleRequest
**Returns**

- (::String) --- Required. Parent value for CreateQuotaRuleRequest

### #quota_rule

    def quota_rule() -> ::Google::Cloud::NetApp::V1::QuotaRule

**Returns**

- ([::Google::Cloud::NetApp::V1::QuotaRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-QuotaRule)) --- Required. Fields of the to be created quota rule.

### #quota_rule=

    def quota_rule=(value) -> ::Google::Cloud::NetApp::V1::QuotaRule

**Parameter**

- **value** ([::Google::Cloud::NetApp::V1::QuotaRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-QuotaRule)) --- Required. Fields of the to be created quota rule.
**Returns**

- ([::Google::Cloud::NetApp::V1::QuotaRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-QuotaRule)) --- Required. Fields of the to be created quota rule.

### #quota_rule_id

    def quota_rule_id() -> ::String

**Returns**

- (::String) --- Required. ID of the quota rule to create. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.

### #quota_rule_id=

    def quota_rule_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. ID of the quota rule to create. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.
**Returns**

- (::String) --- Required. ID of the quota rule to create. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.