Class ProjectsResource.LocationsResource.TenantsResource
The "tenants" collection of methods.
Inherited Members
Namespace: Google.Apis.SaaSServiceManagement.v1beta1
Assembly: Google.Apis.SaaSServiceManagement.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.TenantsResource
Constructors
TenantsResource(IClientService)
Constructs a new resource.
Declaration
public TenantsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(Tenant, string)
Create a new tenant.
Declaration
public virtual ProjectsResource.LocationsResource.TenantsResource.CreateRequest Create(Tenant body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| Tenant | body | The body of the request. |
| string | parent | Required. The parent of the tenant. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.TenantsResource.CreateRequest |
Delete(string)
Delete a single tenant.
Declaration
public virtual ProjectsResource.LocationsResource.TenantsResource.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.TenantsResource.DeleteRequest |
Get(string)
Retrieve a single tenant.
Declaration
public virtual ProjectsResource.LocationsResource.TenantsResource.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.TenantsResource.GetRequest |
List(string)
Retrieve a collection of tenants.
Declaration
public virtual ProjectsResource.LocationsResource.TenantsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent of the tenant. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.TenantsResource.ListRequest |
Patch(Tenant, string)
Update a single tenant.
Declaration
public virtual ProjectsResource.LocationsResource.TenantsResource.PatchRequest Patch(Tenant body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Tenant | 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}/tenants/{tenant}" |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.TenantsResource.PatchRequest |