Class ProjectsResource.LocationsResource.InstancesResource.SharesResource
The "shares" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudFilestore.v1beta1
Assembly: Google.Apis.CloudFilestore.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.SharesResource
Constructors
SharesResource(IClientService)
Constructs a new resource.
Declaration
public SharesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Share, string)
Creates a share.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.SharesResource.CreateRequest Create(Share body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Share | body | The body of the request. |
string | parent | Required. The Filestore Instance to create the share for, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.SharesResource.CreateRequest |
Delete(string)
Deletes a share.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.SharesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The share resource name, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.SharesResource.DeleteRequest |
Get(string)
Gets the details of a specific share.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.SharesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The share resource name, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.SharesResource.GetRequest |
List(string)
Lists all shares for a specified instance.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.SharesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The instance for which to retrieve share information, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.SharesResource.ListRequest |
Patch(Share, string)
Updates the settings of a specific share.
Declaration
public virtual ProjectsResource.LocationsResource.InstancesResource.SharesResource.PatchRequest Patch(Share body, string name)
Parameters
Type | Name | Description |
---|---|---|
Share | body | The body of the request. |
string | name | Output only. The resource name of the share, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.InstancesResource.SharesResource.PatchRequest |