Class ProjectsResource.LocationsResource.UnitsResource
The "units" collection of methods.
Inherited Members
Namespace: Google.Apis.SaaSServiceManagement.v1beta1
Assembly: Google.Apis.SaaSServiceManagement.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.UnitsResource
Constructors
UnitsResource(IClientService)
Constructs a new resource.
Declaration
public UnitsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(Unit, string)
Create a new unit.
Declaration
public virtual ProjectsResource.LocationsResource.UnitsResource.CreateRequest Create(Unit body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| Unit | body | The body of the request. |
| string | parent | Required. The parent of the unit. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.UnitsResource.CreateRequest |
Delete(string)
Delete a single unit.
Declaration
public virtual ProjectsResource.LocationsResource.UnitsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the resource within a service. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.UnitsResource.DeleteRequest |
Get(string)
Retrieve a single unit.
Declaration
public virtual ProjectsResource.LocationsResource.UnitsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the resource within a service. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.UnitsResource.GetRequest |
List(string)
Retrieve a collection of units.
Declaration
public virtual ProjectsResource.LocationsResource.UnitsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent of the unit. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.UnitsResource.ListRequest |
Patch(Unit, string)
Update a single unit.
Declaration
public virtual ProjectsResource.LocationsResource.UnitsResource.PatchRequest Patch(Unit body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Unit | body | The body of the request. |
| string | name | Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/units/{unit}" |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.UnitsResource.PatchRequest |