Class ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource
The "quotaRules" collection of methods.
Inherited Members
Namespace: Google.Apis.NetAppFiles.v1
Assembly: Google.Apis.NetAppFiles.v1.dll
Syntax
public class ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource
Constructors
QuotaRulesResource(IClientService)
Constructs a new resource.
Declaration
public QuotaRulesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(QuotaRule, string)
Creates a new quota rule.
Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource.CreateRequest Create(QuotaRule body, string parent)
Parameters
Type | Name | Description |
---|---|---|
QuotaRule | body | The body of the request. |
string | parent | Required. Parent value for CreateQuotaRuleRequest |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource.CreateRequest |
Delete(string)
Deletes a quota rule.
Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the quota rule. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource.DeleteRequest |
Get(string)
Returns details of the specified quota rule.
Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the quota rule |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource.GetRequest |
List(string)
Returns list of all quota rules in a location.
Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent value for ListQuotaRulesRequest |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource.ListRequest |
Patch(QuotaRule, string)
Updates a quota rule.
Declaration
public virtual ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource.PatchRequest Patch(QuotaRule body, string name)
Parameters
Type | Name | Description |
---|---|---|
QuotaRule | body | The body of the request. |
string | name | Identifier. The resource name of the active directory. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VolumesResource.QuotaRulesResource.PatchRequest |