NetApp V1 API - Class Google::Cloud::NetApp::V1::QuotaRule (v2.0.0)

Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::QuotaRule.

QuotaRule specifies the maximum disk space a user or group can use within a volume. They can be used for creating default and individual quota rules.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. Description of the quota rule

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Description of the quota rule
Returns
  • (::String) — Optional. Description of the quota rule

#disk_limit_mib

def disk_limit_mib() -> ::Integer
Returns
  • (::Integer) — Required. The maximum allowed disk space in MiB.

#disk_limit_mib=

def disk_limit_mib=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The maximum allowed disk space in MiB.
Returns
  • (::Integer) — Required. The maximum allowed disk space in MiB.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels of the quota rule

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels of the quota rule
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels of the quota rule

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of the quota rule. Format: projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of the quota rule. Format: projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}.
Returns
  • (::String) — Identifier. The resource name of the quota rule. Format: projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}.

#state

def state() -> ::Google::Cloud::NetApp::V1::QuotaRule::State
Returns

#state_details

def state_details() -> ::String
Returns
  • (::String) — Output only. State details of the quota rule

#target

def target() -> ::String
Returns
  • (::String) — Optional. The quota rule applies to the specified user or group, identified by a Unix UID/GID, Windows SID, or null for default.

#target=

def target=(value) -> ::String
Parameter
  • value (::String) — Optional. The quota rule applies to the specified user or group, identified by a Unix UID/GID, Windows SID, or null for default.
Returns
  • (::String) — Optional. The quota rule applies to the specified user or group, identified by a Unix UID/GID, Windows SID, or null for default.

#type

def type() -> ::Google::Cloud::NetApp::V1::QuotaRule::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::NetApp::V1::QuotaRule::Type
Parameter
Returns