Class: Google::Cloud::NetApp::V1::QuotaRule

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Create time of the quota rule.

Returns:


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

#description::String

Returns Optional. Description of the quota rule.

Returns:

  • (::String)

    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

#disk_limit_mib::Integer

Returns Required. The maximum allowed disk space in MiB.

Returns:

  • (::Integer)

    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

#labels::Google::Protobuf::Map{::String => ::String}

Returns Optional. Labels of the quota rule.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    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

#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}.

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}.


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

#state::Google::Cloud::NetApp::V1::QuotaRule::State (readonly)

Returns Output only. State of the quota rule.

Returns:


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

#state_details::String (readonly)

Returns Output only. State details of the quota rule.

Returns:

  • (::String)

    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

#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.

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.


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

#type::Google::Cloud::NetApp::V1::QuotaRule::Type

Returns Required. The type of quota rule.

Returns:


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