Class ProjectsResource.CapabilityConfigsResource
The "capabilityConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v3
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class ProjectsResource.CapabilityConfigsResource
Constructors
CapabilityConfigsResource(IClientService)
Constructs a new resource.
Declaration
public CapabilityConfigsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(CapabilityConfig, string)
Creates a CapabilityConfig under a parent Organization, Folder or Project. Creating a CapabilityConfig triggers the creation of a Management Project if one is not supplied.
Declaration
public virtual ProjectsResource.CapabilityConfigsResource.CreateRequest Create(CapabilityConfig body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| CapabilityConfig | body | The body of the request. |
| string | parent | Required. The parent resource under which the CapabilityConfig will be created. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.CapabilityConfigsResource.CreateRequest |
Delete(string)
Deletes the CapabilityConfig identified by the specified name (for example,
folders/123456789/capabilityConfigs/my-capability-config).
Declaration
public virtual ProjectsResource.CapabilityConfigsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the CapabilityConfig to delete. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.CapabilityConfigsResource.DeleteRequest |
Get(string)
Retrieves the CapabilityConfig identified by the specified name (for example,
folders/123456789/capabilityConfigs/my-capability-config).
Declaration
public virtual ProjectsResource.CapabilityConfigsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the CapabilityConfig to retrieve. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.CapabilityConfigsResource.GetRequest |
List(string)
Lists CapabilityConfigs that are direct children of the specified organization, folder or project resource.
Declaration
public virtual ProjectsResource.CapabilityConfigsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The name of the parent resource whose CapabilityConfigs are being listed. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.CapabilityConfigsResource.ListRequest |
Patch(CapabilityConfig, string)
Updates the display_name, types and boundaries of the CapabilityConfig identified by the specified
name (for example, folders/123456789/capabilityConfigs/my-capability-config).
Declaration
public virtual ProjectsResource.CapabilityConfigsResource.PatchRequest Patch(CapabilityConfig body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| CapabilityConfig | body | The body of the request. |
| string | name | Identifier. The unique resource name of the CapabilityConfig. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.CapabilityConfigsResource.PatchRequest |