Class PoliciesResource
The "policies" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1beta1
Assembly: Google.Apis.CloudIdentity.v1beta1.dll
Syntax
public class PoliciesResource
Constructors
PoliciesResource(IClientService)
Constructs a new resource.
Declaration
public PoliciesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(Policy)
Create a policy.
Declaration
public virtual PoliciesResource.CreateRequest Create(Policy body)
Parameters
| Type | Name | Description |
|---|---|---|
| Policy | body | The body of the request. |
Returns
| Type | Description |
|---|---|
| PoliciesResource.CreateRequest |
Delete(string)
Delete a policy.
Declaration
public virtual PoliciesResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the policy to delete. Format: |
Returns
| Type | Description |
|---|---|
| PoliciesResource.DeleteRequest |
Get(string)
Get a policy.
Declaration
public virtual PoliciesResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the policy to retrieve. Format: |
Returns
| Type | Description |
|---|---|
| PoliciesResource.GetRequest |
List()
List policies.
Declaration
public virtual PoliciesResource.ListRequest List()
Returns
| Type | Description |
|---|---|
| PoliciesResource.ListRequest |
Patch(Policy, string)
Update a policy.
Declaration
public virtual PoliciesResource.PatchRequest Patch(Policy body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Policy | body | The body of the request. |
| string | name | Output only. Identifier. The resource name of the Policy. Format: policies/{policy}. |
Returns
| Type | Description |
|---|---|
| PoliciesResource.PatchRequest |