Class: Google::Cloud::NetApp::V1::QuotaRule
- Inherits:
-
Object
- Object
- Google::Cloud::NetApp::V1::QuotaRule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/netapp/v1/quota_rule.rb
Overview
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.
Defined Under Namespace
Modules: State, Type Classes: LabelsEntry
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
Optional.
-
#disk_limit_mib ⇒ ::Integer
Required.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#name ⇒ ::String
Identifier.
-
#state ⇒ ::Google::Cloud::NetApp::V1::QuotaRule::State
readonly
Output only.
-
#state_details ⇒ ::String
readonly
Output only.
-
#target ⇒ ::String
Optional.
-
#type ⇒ ::Google::Cloud::NetApp::V1::QuotaRule::Type
Required.
Instance Attribute Details
permalink #create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Create time of the quota rule.
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/netapp/v1/quota_rule.rb', line 145 class QuotaRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Types of Quota Rule module Type # Unspecified type for quota rule TYPE_UNSPECIFIED = 0 # Individual user quota rule INDIVIDUAL_USER_QUOTA = 1 # Individual group quota rule INDIVIDUAL_GROUP_QUOTA = 2 # Default user quota rule DEFAULT_USER_QUOTA = 3 # Default group quota rule DEFAULT_GROUP_QUOTA = 4 end # Quota Rule states module State # Unspecified state for quota rule STATE_UNSPECIFIED = 0 # Quota rule is creating CREATING = 1 # Quota rule is updating UPDATING = 2 # Quota rule is deleting DELETING = 3 # Quota rule is ready READY = 4 # Quota rule is in error state. ERROR = 5 end end |
permalink #description ⇒ ::String
Returns Optional. Description of the quota rule.
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/netapp/v1/quota_rule.rb', line 145 class QuotaRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Types of Quota Rule module Type # Unspecified type for quota rule TYPE_UNSPECIFIED = 0 # Individual user quota rule INDIVIDUAL_USER_QUOTA = 1 # Individual group quota rule INDIVIDUAL_GROUP_QUOTA = 2 # Default user quota rule DEFAULT_USER_QUOTA = 3 # Default group quota rule DEFAULT_GROUP_QUOTA = 4 end # Quota Rule states module State # Unspecified state for quota rule STATE_UNSPECIFIED = 0 # Quota rule is creating CREATING = 1 # Quota rule is updating UPDATING = 2 # Quota rule is deleting DELETING = 3 # Quota rule is ready READY = 4 # Quota rule is in error state. ERROR = 5 end end |
permalink #disk_limit_mib ⇒ ::Integer
Returns Required. The maximum allowed disk space in MiB.
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/netapp/v1/quota_rule.rb', line 145 class QuotaRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Types of Quota Rule module Type # Unspecified type for quota rule TYPE_UNSPECIFIED = 0 # Individual user quota rule INDIVIDUAL_USER_QUOTA = 1 # Individual group quota rule INDIVIDUAL_GROUP_QUOTA = 2 # Default user quota rule DEFAULT_USER_QUOTA = 3 # Default group quota rule DEFAULT_GROUP_QUOTA = 4 end # Quota Rule states module State # Unspecified state for quota rule STATE_UNSPECIFIED = 0 # Quota rule is creating CREATING = 1 # Quota rule is updating UPDATING = 2 # Quota rule is deleting DELETING = 3 # Quota rule is ready READY = 4 # Quota rule is in error state. ERROR = 5 end end |
permalink #labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Labels of the quota rule.
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/netapp/v1/quota_rule.rb', line 145 class QuotaRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Types of Quota Rule module Type # Unspecified type for quota rule TYPE_UNSPECIFIED = 0 # Individual user quota rule INDIVIDUAL_USER_QUOTA = 1 # Individual group quota rule INDIVIDUAL_GROUP_QUOTA = 2 # Default user quota rule DEFAULT_USER_QUOTA = 3 # Default group quota rule DEFAULT_GROUP_QUOTA = 4 end # Quota Rule states module State # Unspecified state for quota rule STATE_UNSPECIFIED = 0 # Quota rule is creating CREATING = 1 # Quota rule is updating UPDATING = 2 # Quota rule is deleting DELETING = 3 # Quota rule is ready READY = 4 # Quota rule is in error state. ERROR = 5 end end |
permalink #name ⇒ ::String
Returns Identifier. The resource name of the quota rule.
Format:
projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}
.
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/netapp/v1/quota_rule.rb', line 145 class QuotaRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Types of Quota Rule module Type # Unspecified type for quota rule TYPE_UNSPECIFIED = 0 # Individual user quota rule INDIVIDUAL_USER_QUOTA = 1 # Individual group quota rule INDIVIDUAL_GROUP_QUOTA = 2 # Default user quota rule DEFAULT_USER_QUOTA = 3 # Default group quota rule DEFAULT_GROUP_QUOTA = 4 end # Quota Rule states module State # Unspecified state for quota rule STATE_UNSPECIFIED = 0 # Quota rule is creating CREATING = 1 # Quota rule is updating UPDATING = 2 # Quota rule is deleting DELETING = 3 # Quota rule is ready READY = 4 # Quota rule is in error state. ERROR = 5 end end |
permalink #state ⇒ ::Google::Cloud::NetApp::V1::QuotaRule::State (readonly)
Returns Output only. State of the quota rule.
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/netapp/v1/quota_rule.rb', line 145 class QuotaRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Types of Quota Rule module Type # Unspecified type for quota rule TYPE_UNSPECIFIED = 0 # Individual user quota rule INDIVIDUAL_USER_QUOTA = 1 # Individual group quota rule INDIVIDUAL_GROUP_QUOTA = 2 # Default user quota rule DEFAULT_USER_QUOTA = 3 # Default group quota rule DEFAULT_GROUP_QUOTA = 4 end # Quota Rule states module State # Unspecified state for quota rule STATE_UNSPECIFIED = 0 # Quota rule is creating CREATING = 1 # Quota rule is updating UPDATING = 2 # Quota rule is deleting DELETING = 3 # Quota rule is ready READY = 4 # Quota rule is in error state. ERROR = 5 end end |
permalink #state_details ⇒ ::String (readonly)
Returns Output only. State details of the quota rule.
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/netapp/v1/quota_rule.rb', line 145 class QuotaRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Types of Quota Rule module Type # Unspecified type for quota rule TYPE_UNSPECIFIED = 0 # Individual user quota rule INDIVIDUAL_USER_QUOTA = 1 # Individual group quota rule INDIVIDUAL_GROUP_QUOTA = 2 # Default user quota rule DEFAULT_USER_QUOTA = 3 # Default group quota rule DEFAULT_GROUP_QUOTA = 4 end # Quota Rule states module State # Unspecified state for quota rule STATE_UNSPECIFIED = 0 # Quota rule is creating CREATING = 1 # Quota rule is updating UPDATING = 2 # Quota rule is deleting DELETING = 3 # Quota rule is ready READY = 4 # Quota rule is in error state. ERROR = 5 end end |
permalink #target ⇒ ::String
Returns Optional. The quota rule applies to the specified user or group, identified by a Unix UID/GID, Windows SID, or null for default.
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/netapp/v1/quota_rule.rb', line 145 class QuotaRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Types of Quota Rule module Type # Unspecified type for quota rule TYPE_UNSPECIFIED = 0 # Individual user quota rule INDIVIDUAL_USER_QUOTA = 1 # Individual group quota rule INDIVIDUAL_GROUP_QUOTA = 2 # Default user quota rule DEFAULT_USER_QUOTA = 3 # Default group quota rule DEFAULT_GROUP_QUOTA = 4 end # Quota Rule states module State # Unspecified state for quota rule STATE_UNSPECIFIED = 0 # Quota rule is creating CREATING = 1 # Quota rule is updating UPDATING = 2 # Quota rule is deleting DELETING = 3 # Quota rule is ready READY = 4 # Quota rule is in error state. ERROR = 5 end end |
permalink #type ⇒ ::Google::Cloud::NetApp::V1::QuotaRule::Type
Returns Required. The type of quota rule.
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'proto_docs/google/cloud/netapp/v1/quota_rule.rb', line 145 class QuotaRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Types of Quota Rule module Type # Unspecified type for quota rule TYPE_UNSPECIFIED = 0 # Individual user quota rule INDIVIDUAL_USER_QUOTA = 1 # Individual group quota rule INDIVIDUAL_GROUP_QUOTA = 2 # Default user quota rule DEFAULT_USER_QUOTA = 3 # Default group quota rule DEFAULT_GROUP_QUOTA = 4 end # Quota Rule states module State # Unspecified state for quota rule STATE_UNSPECIFIED = 0 # Quota rule is creating CREATING = 1 # Quota rule is updating UPDATING = 2 # Quota rule is deleting DELETING = 3 # Quota rule is ready READY = 4 # Quota rule is in error state. ERROR = 5 end end |